/* Rangura Promo Tiles — horizontal scrolling row (Amazon.ae-style) */

.rpt-carousel,
.rpt-carousel * {
	box-sizing: border-box;
}

.rpt-carousel {
	position: relative;
	margin: 0 0 24px;
}

.rpt-grid.rpt-track {
	display: flex;
	gap: 16px;
	width: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 2px 2px 10px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.rpt-grid.rpt-track::-webkit-scrollbar {
	display: none;
}

.rpt-tile {
	position: relative;
	flex: 0 0 auto;
	width: 240px;
	min-height: 360px;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	text-decoration: none;
	overflow: hidden;
	scroll-snap-align: start;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rpt-tile::before {
	content: '';
	position: absolute;
	top: -30%;
	right: -20%;
	width: 65%;
	height: 65%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 70%);
	pointer-events: none;
	z-index: 0;
}

.rpt-tile:not(.rpt-tile-has-photo)::after {
	content: '';
	position: absolute;
	bottom: -18%;
	left: -12%;
	width: 60%;
	height: 60%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	pointer-events: none;
	z-index: 0;
}

.rpt-tile:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.rpt-tile:hover .rpt-photo {
	transform: scale(1.05);
}

.rpt-tile-text {
	position: relative;
	z-index: 1;
	padding: 18px 18px 6px;
}

.rpt-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.85);
	color: #a12727;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 3px 9px;
	border-radius: 20px;
	margin-bottom: 8px;
}

.rpt-title {
	display: block;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
}

.rpt-note {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	opacity: 0.8;
	margin-top: 6px;
}

.rpt-note-icon {
	flex-shrink: 0;
}

.rpt-photo-wrap {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0 14px 14px;
	min-height: 0;
}

.rpt-photo {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.rpt-shop-now {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	align-self: flex-start;
	margin: 10px 18px 16px;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 10px 5px 12px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(2px);
}

.rpt-tile:not(.rpt-tile-has-photo) .rpt-shop-now {
	margin-top: auto;
}

.rpt-nav {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	z-index: 3;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #222;
	padding: 0;
}

.rpt-nav:hover {
	background: #fff;
}

.rpt-nav-prev {
	left: -6px;
}

.rpt-nav-next {
	right: -6px;
}

@media (max-width: 900px) {
	.rpt-tile {
		width: 200px;
		min-height: 320px;
	}

	.rpt-title {
		font-size: 17px;
	}
}

@media (max-width: 480px) {
	.rpt-tile {
		width: 168px;
		min-height: 280px;
	}

	.rpt-tile-text {
		padding: 14px 14px 4px;
	}

	.rpt-title {
		font-size: 15px;
	}

	.rpt-nav {
		display: none;
	}
}

/* Shop by Category icon grid */

.rpt-cat-grid,
.rpt-cat-grid * {
	box-sizing: border-box;
}

.rpt-cat-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 22px 10px;
	width: 100%;
	margin: 0 0 24px;
}

.rpt-cat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: #222;
}

.rpt-cat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	margin-bottom: 8px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rpt-cat-item:hover .rpt-cat-icon {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.rpt-cat-label {
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
}

@media (max-width: 1000px) {
	.rpt-cat-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

@media (max-width: 700px) {
	.rpt-cat-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 18px 8px;
	}

	.rpt-cat-icon {
		width: 54px;
		height: 54px;
		border-radius: 15px;
	}
}

@media (max-width: 420px) {
	.rpt-cat-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
