/* ==========================================================================
   KHADIJA LUXURY MODEST FASHION THEME STYLES
   Inspired by: https://fashiond2shop.wpenginepowered.com/khadija/
   Controlled by Theme Options: Palette & Couleurs du Thème
   ========================================================================== */

/* --- ROOT VARIABLES (Default Fallbacks overridden dynamically) --- */
:root {
	--kh-primary: var(--bt-magenta, #001F33);
	--kh-primary-hover: var(--bt-magenta-bright, #0A314A);
	--kh-btn-text: #FFFFFF;
	--kh-title: var(--bt-text-dark-primary, #001F33);
	--kh-text: var(--bt-text-dark-secondary, #736C69);
	--kh-bg: var(--bt-bone, #F0E5DB);
	--kh-card-bg: var(--bt-bone-deep, #FFFFFF);
	--kh-border: var(--bt-border-dark, #DED4CA);
	--kh-accent: #DED4CA;
	--kh-sand-light: #F7F3EE;
	--kh-ticker-bg: #001F33;
	--kh-ticker-text: #FFFFFF;

	--kh-font-serif: 'Cardo', 'Lora', 'Amiri', Georgia, serif;
	--kh-font-sans: 'SN Pro', 'Zain', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--kh-font-arabic: 'Zain', 'Amiri', 'Cairo', sans-serif;

	--kh-radius-sm: 8px;
	--kh-radius-md: 16px;
	--kh-radius-lg: 24px;
	--kh-radius-arch: 140px 140px 20px 20px;
	--kh-radius-pill: 9999px;

	--kh-shadow-sm: 0 4px 12px rgba(0, 31, 51, 0.04);
	--kh-shadow-md: 0 10px 30px rgba(0, 31, 51, 0.08);
	--kh-shadow-lg: 0 20px 50px rgba(0, 31, 51, 0.12);
	--kh-transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Body Styling for Khadija Theme */
body.home {
	background-color: var(--kh-bg);
	color: var(--kh-text);
	font-family: var(--kh-font-sans);
	-webkit-font-smoothing: antialiased;
}

[dir="rtl"] body.home {
	font-family: var(--kh-font-arabic);
}

.kh-container {
	max-width: 1260px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.kh-container {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* ==========================================================================
   COMMON COMPONENTS (Typography, Badges, Buttons)
   ========================================================================== */
.kh-section-header {
	text-align: center;
	margin-bottom: 48px;
	position: relative;
}

.kh-section-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--kh-primary);
	margin-bottom: 10px;
	background: rgba(0, 31, 51, 0.05);
	padding: 4px 16px;
	border-radius: var(--kh-radius-pill);
	border: 1px solid var(--kh-border);
}

.kh-section-title {
	font-family: var(--kh-font-serif);
	font-size: clamp(28px, 4.2vw, 42px);
	font-weight: 700;
	color: var(--kh-title);
	margin: 0 0 12px 0;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

[dir="rtl"] .kh-section-title {
	font-family: var(--kh-font-arabic);
	font-weight: 800;
}

.kh-section-desc {
	font-size: 16px;
	color: var(--kh-text);
	max-width: 580px;
	margin: 0 auto;
	line-height: 1.65;
}

.kh-ornament-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 14px auto 0;
}

.kh-ornament-line {
	width: 50px;
	height: 1px;
	background: var(--kh-border);
}

.kh-ornament-star {
	color: var(--kh-primary);
	font-size: 14px;
	line-height: 1;
}

/* Luxury Khadija Button */
.kh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 34px;
	border-radius: var(--kh-radius-pill);
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
	transition: var(--kh-transition);
	cursor: pointer;
	border: none;
	position: relative;
	overflow: hidden;
}

.kh-btn-primary {
	background: var(--kh-primary);
	color: var(--kh-btn-text) !important;
	box-shadow: 0 4px 18px rgba(0, 31, 51, 0.15);
}

.kh-btn-primary:hover {
	background: var(--kh-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 31, 51, 0.25);
}

.kh-btn-outline {
	background: transparent;
	color: var(--kh-title) !important;
	border: 1.5px solid var(--kh-primary);
}

.kh-btn-outline:hover {
	background: var(--kh-primary);
	color: var(--kh-btn-text) !important;
	transform: translateY(-2px);
}

.kh-btn-arrow {
	transition: transform 0.3s ease;
}

.kh-btn:hover .kh-btn-arrow {
	transform: translateX(4px);
}

[dir="rtl"] .kh-btn:hover .kh-btn-arrow {
	transform: translateX(-4px);
}

/* ==========================================================================
   1. HERO SLIDER SECTION (Khadija Slideshow)
   ========================================================================== */
.kh-hero {
	position: relative;
	width: 100%;
	min-height: 640px;
	background-color: #0b1a24;
	overflow: hidden;
}

@media (min-width: 992px) {
	.kh-hero {
		min-height: 720px;
	}
}

.kh-hero__slider {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: inherit;
}

.kh-hero__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: inherit;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
	z-index: 1;
}

.kh-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.kh-hero__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	transform: scale(1.05);
	transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.kh-hero__slide.is-active .kh-hero__bg {
	transform: scale(1);
}

.kh-hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(0, 31, 51, 0.65) 0%, rgba(0, 31, 51, 0.25) 55%, rgba(0, 31, 51, 0.05) 100%);
}

[dir="rtl"] .kh-hero__overlay {
	background: linear-gradient(-90deg, rgba(0, 31, 51, 0.65) 0%, rgba(0, 31, 51, 0.25) 55%, rgba(0, 31, 51, 0.05) 100%);
}

.kh-hero__content {
	position: relative;
	z-index: 5;
	max-width: 620px;
	padding: 60px 0;
}

.kh-hero__tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 18px;
	border-radius: var(--kh-radius-pill);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 22px;
	transform: translateY(20px);
	opacity: 0;
	transition: all 0.6s ease 0.2s;
}

.kh-hero__title {
	font-family: var(--kh-font-serif);
	font-size: clamp(34px, 5.5vw, 62px);
	font-weight: 700;
	color: #FFFFFF;
	line-height: 1.15;
	margin: 0 0 20px 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	transform: translateY(25px);
	opacity: 0;
	transition: all 0.6s ease 0.35s;
}

[dir="rtl"] .kh-hero__title {
	font-family: var(--kh-font-arabic);
	font-weight: 800;
}

.kh-hero__desc {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.7;
	margin: 0 0 32px 0;
	transform: translateY(25px);
	opacity: 0;
	transition: all 0.6s ease 0.5s;
}

.kh-hero__actions {
	display: flex;
	gap: 16px;
	transform: translateY(25px);
	opacity: 0;
	transition: all 0.6s ease 0.65s;
}

.kh-hero__slide.is-active .kh-hero__tag,
.kh-hero__slide.is-active .kh-hero__title,
.kh-hero__slide.is-active .kh-hero__desc,
.kh-hero__slide.is-active .kh-hero__actions {
	transform: translateY(0);
	opacity: 1;
}

/* Hero Controls */
.kh-hero__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--kh-transition);
}

.kh-hero__nav:hover {
	background: #FFFFFF;
	color: var(--kh-primary);
	transform: translateY(-50%) scale(1.1);
}

.kh-hero__nav--prev {
	left: 30px;
}

.kh-hero__nav--next {
	right: 30px;
}

.kh-hero__dots {
	position: absolute;
	bottom: 35px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 12px;
}

.kh-hero__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: var(--kh-transition);
}

.kh-hero__dot.is-active {
	width: 34px;
	border-radius: 12px;
	background: #FFFFFF;
}

/* ==========================================================================
   2. MARQUEE STRIP (Announcement Ticker)
   ========================================================================== */
.kh-marquee-strip {
	background: var(--kh-ticker-bg);
	color: var(--kh-ticker-text);
	padding: 14px 0;
	overflow: hidden;
	position: relative;
	border-bottom: 1px solid var(--kh-border);
}

.kh-marquee-track {
	display: flex;
	width: max-content;
	animation: khMarqueeAnim 28s linear infinite;
}

.kh-marquee-track:hover {
	animation-play-state: paused;
}

.kh-marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	padding: 0 24px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.kh-marquee-icon {
	color: var(--kh-accent);
	font-size: 12px;
}

@keyframes khMarqueeAnim {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

[dir="rtl"] .kh-marquee-track {
	animation-name: khMarqueeAnimRTL;
}

@keyframes khMarqueeAnimRTL {
	0% { transform: translateX(0); }
	100% { transform: translateX(50%); }
}

/* ==========================================================================
   3. EID FESTIVE SALE & COUNTDOWN BANNER
   ========================================================================== */
.kh-countdown-section {
	padding: 60px 0;
}

.kh-countdown-card {
	background-color: var(--kh-card-bg);
	background-image: url('../images/khadija/bannerbg-01.jpg');
	background-size: cover;
	background-position: center center;
	border-radius: var(--kh-radius-lg);
	border: 1px solid var(--kh-border);
	padding: 50px 40px;
	position: relative;
	overflow: hidden;
	box-shadow: var(--kh-shadow-md);
}

.kh-countdown-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(240, 229, 219, 0.88);
	backdrop-filter: blur(2px);
	z-index: 1;
}

.kh-countdown-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

@media (max-width: 900px) {
	.kh-countdown-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
}

.kh-countdown-info {
	max-width: 500px;
}

.kh-countdown-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--kh-primary);
	margin-bottom: 12px;
	padding: 4px 14px;
	border: 1px solid var(--kh-primary);
	border-radius: var(--kh-radius-pill);
}

.kh-countdown-title {
	font-family: var(--kh-font-serif);
	font-size: clamp(30px, 4vw, 44px);
	color: var(--kh-title);
	margin: 0 0 14px 0;
	line-height: 1.2;
}

[dir="rtl"] .kh-countdown-title {
	font-family: var(--kh-font-arabic);
	font-weight: 800;
}

.kh-countdown-desc {
	font-size: 15.5px;
	color: var(--kh-text);
	line-height: 1.6;
	margin: 0;
}

.kh-countdown-timer-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 24px;
}

@media (max-width: 900px) {
	.kh-countdown-timer-wrap {
		align-items: center;
	}
}

.kh-timer-boxes {
	display: flex;
	gap: 16px;
}

.kh-timer-box {
	background: #FFFFFF;
	border: 1.5px solid var(--kh-border);
	border-radius: var(--kh-radius-md);
	width: 84px;
	height: 94px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: var(--kh-shadow-sm);
	transition: var(--kh-transition);
}

.kh-timer-box:hover {
	border-color: var(--kh-primary);
	transform: translateY(-3px);
}

.kh-timer-num {
	font-family: var(--kh-font-serif);
	font-size: 32px;
	font-weight: 700;
	color: var(--kh-primary);
	line-height: 1;
	margin-bottom: 4px;
}

.kh-timer-label {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--kh-text);
}

/* ==========================================================================
   4. POPULAR BRANDS CATEGORIES (WoodMart Style Cards)
   ========================================================================== */
.rm-brands-section {
	padding: 40px 0 50px;
	background: #fff;
}

.rm-brands-header {
	margin-bottom: 24px;
}

.rm-brands-title {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[dir="rtl"] .rm-brands-title {
	font-family: 'Tajawal', 'Cairo', -apple-system, sans-serif;
}

.rm-brands-slider-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.rm-brands-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e0e0e0;
	background: rgba(255, 255, 255, 0.95);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease;
	color: #555;
}

.rm-brands-nav:hover {
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	color: #1a1a2e;
}

.rm-brands-nav--prev {
	left: -18px;
	right: auto;
}

.rm-brands-nav--next {
	right: -18px;
	left: auto;
}

[dir="rtl"] .rm-brands-nav--prev {
	right: -18px;
	left: auto;
}

[dir="rtl"] .rm-brands-nav--next {
	left: -18px;
	right: auto;
}

.rm-brands-grid {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 8px 4px;
}

.rm-brands-grid::-webkit-scrollbar {
	display: none;
}

.rm-brand-card {
	flex: 0 0 calc(50% - 7px);
	min-width: 150px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: var(--brand-bg, #f8f9fa);
	border-radius: 16px;
	padding: 24px 16px 18px;
	border: 1px solid #f0f0f0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.rm-brand-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 16px;
	border: 2px solid transparent;
	transition: border-color 0.3s ease;
	pointer-events: none;
}

.rm-brand-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.rm-brand-card:hover::before {
	border-color: #3366ff;
}

.rm-brand-logo-wrap {
	width: 100%;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

.rm-brand-logo {
	max-width: 100px;
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.rm-brand-card:hover .rm-brand-logo {
	transform: scale(1.08);
}

.rm-brand-info {
	text-align: center;
}

.rm-brand-name {
	font-size: 14px;
	font-weight: 600;
	color: #2d2d2d;
	margin: 0 0 2px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[dir="rtl"] .rm-brand-name {
	font-family: 'Tajawal', 'Cairo', -apple-system, sans-serif;
}

.rm-brand-count {
	font-size: 12px;
	color: #888;
	font-weight: 400;
}

/* Tablet: 3 cards visible */
@media (min-width: 768px) {
	.rm-brand-card {
		flex: 0 0 calc(33.333% - 10px);
		min-width: 170px;
		padding: 28px 20px 22px;
	}

	.rm-brands-title {
		font-size: 26px;
	}

	.rm-brand-name {
		font-size: 15px;
	}

	.rm-brand-logo {
		max-width: 120px;
		max-height: 65px;
	}
}

/* Desktop: 4-5 cards visible */
@media (min-width: 1024px) {
	.rm-brand-card {
		flex: 0 0 calc(20% - 12px);
		min-width: 180px;
		padding: 32px 20px 24px;
	}

	.rm-brands-section {
		padding: 50px 0 60px;
	}

	.rm-brands-title {
		font-size: 28px;
	}

	.rm-brand-logo-wrap {
		height: 90px;
	}

	.rm-brand-logo {
		max-width: 130px;
		max-height: 70px;
	}
}

/* Hide old categories section styles - keeping for backward compatibility */
.kh-categories-section {
	display: none;
}

.kh-categories-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

@media (max-width: 1024px) {
	.kh-categories-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 576px) {
	.kh-categories-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
}

.kh-cat-card {
	position: relative;
	text-decoration: none;
	display: block;
	border-radius: var(--kh-radius-arch);
	overflow: hidden;
	background: var(--kh-card-bg);
	border: 1px solid var(--kh-border);
	box-shadow: var(--kh-shadow-sm);
	transition: var(--kh-transition);
}

.kh-cat-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--kh-shadow-lg);
	border-color: var(--kh-primary);
}

.kh-cat-thumb {
	position: relative;
	width: 100%;
	padding-top: 145%; /* Tall regal portrait ratio */
	overflow: hidden;
}

.kh-cat-thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.kh-cat-card:hover .kh-cat-thumb img {
	transform: scale(1.08);
}

.kh-cat-scrim {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 55%;
	background: linear-gradient(to top, rgba(0, 31, 51, 0.75) 0%, rgba(0, 31, 51, 0) 100%);
	z-index: 2;
}

.kh-cat-info {
	position: absolute;
	bottom: 24px;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 3;
	padding: 0 16px;
	box-sizing: border-box;
}

.kh-cat-title {
	font-family: var(--kh-font-serif);
	font-size: 24px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 6px 0;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
	transition: var(--kh-transition);
}

[dir="rtl"] .kh-cat-title {
	font-family: var(--kh-font-arabic);
	font-weight: 800;
}

.kh-cat-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--kh-accent);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.9;
	transition: var(--kh-transition);
}

.kh-cat-card:hover .kh-cat-action {
	color: #FFFFFF;
	transform: translateY(-2px);
}

/* ==========================================================================
   5. SPLIT LUXURY EDITORIAL BANNER (Reflects Beauty Of Faith)
   ========================================================================== */
.kh-dual-banner {
	padding: 50px 0;
}

.kh-dual-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

@media (max-width: 900px) {
	.kh-dual-grid {
		grid-template-columns: 1fr;
	}
}

.kh-dual-card {
	background: var(--kh-card-bg);
	border: 1px solid var(--kh-border);
	border-radius: var(--kh-radius-lg);
	padding: 48px;
	position: relative;
	overflow: hidden;
	box-shadow: var(--kh-shadow-sm);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 380px;
}

.kh-dual-card--img-right {
	background-image: url('../images/khadija/khadija-patter-bg-shop.png');
	background-size: 180px;
}

.kh-dual-card__badge {
	align-self: flex-start;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--kh-primary);
	margin-bottom: 14px;
	padding: 4px 12px;
	border-radius: var(--kh-radius-pill);
	background: rgba(0, 31, 51, 0.06);
	border: 1px solid var(--kh-border);
}

.kh-dual-card__title {
	font-family: var(--kh-font-serif);
	font-size: clamp(26px, 3vw, 36px);
	color: var(--kh-title);
	margin: 0 0 16px 0;
	line-height: 1.25;
	max-width: 360px;
}

[dir="rtl"] .kh-dual-card__title {
	font-family: var(--kh-font-arabic);
	font-weight: 800;
}

.kh-dual-card__desc {
	font-size: 15px;
	color: var(--kh-text);
	line-height: 1.65;
	margin: 0 0 28px 0;
	max-width: 340px;
}

.kh-dual-card__graphic {
	position: absolute;
	right: 10px;
	bottom: -10px;
	max-height: 320px;
	width: auto;
	pointer-events: none;
	transition: transform 0.6s ease;
}

[dir="rtl"] .kh-dual-card__graphic {
	right: auto;
	left: 10px;
}

.kh-dual-card:hover .kh-dual-card__graphic {
	transform: scale(1.05) translateY(-5px);
}

/* ==========================================================================
   6. CLASSY COLLECTIONS (Products Grid Showcase)
   ========================================================================== */
.kh-products-section {
	padding: 60px 0;
}

.kh-products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

@media (max-width: 1024px) {
	.kh-products-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.kh-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 480px) {
	.kh-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

.kh-product-card {
	background: var(--kh-card-bg);
	border: 1px solid var(--kh-border);
	border-radius: var(--kh-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: var(--kh-transition);
	position: relative;
	box-shadow: var(--kh-shadow-sm);
}

.kh-product-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--kh-shadow-md);
	border-color: var(--kh-primary);
}

.kh-product-thumb {
	position: relative;
	width: 100%;
	padding-top: 130%; /* High fashion aspect ratio */
	overflow: hidden;
	background: #f5efe9;
	display: block;
}

.kh-product-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.5s ease, transform 0.6s ease;
}

.kh-product-img--primary {
	opacity: 1;
	z-index: 1;
}

.kh-product-img--secondary {
	opacity: 0;
	z-index: 2;
}

.kh-product-card:hover .kh-product-img--secondary {
	opacity: 1;
}

.kh-product-card:hover .kh-product-img--primary {
	transform: scale(1.04);
}

/* Badges */
.kh-product-badges {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	z-index: 5;
}

[dir="rtl"] .kh-product-badges {
	left: auto;
	right: 14px;
}

.kh-badge {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 4px 10px;
	border-radius: var(--kh-radius-pill);
	line-height: 1;
}

.kh-badge--sale {
	background: var(--kh-primary);
	color: var(--kh-btn-text);
}

.kh-badge--stock {
	background: rgba(255, 255, 255, 0.95);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.kh-product-details {
	padding: 20px 18px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	text-align: center;
}

@media (max-width: 576px) {
	.kh-product-details {
		padding: 14px 12px;
	}
}

.kh-product-stars {
	color: #f59e0b;
	font-size: 13px;
	margin-bottom: 8px;
	display: inline-flex;
	justify-content: center;
	gap: 2px;
}

.kh-product-title {
	font-family: var(--kh-font-serif);
	font-size: 17.5px;
	font-weight: 600;
	color: var(--kh-title);
	margin: 0 0 10px 0;
	line-height: 1.35;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.25s ease;
}

[dir="rtl"] .kh-product-title {
	font-family: var(--kh-font-arabic);
	font-weight: 700;
	font-size: 17px;
}

.kh-product-title:hover {
	color: var(--kh-primary);
}

.kh-product-price-group {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: auto;
	margin-bottom: 16px;
}

.kh-price-current {
	font-size: 18px;
	font-weight: 800;
	color: var(--kh-primary);
}

.kh-price-old {
	font-size: 14px;
	color: #9ca3af;
	text-decoration: line-through;
}

.kh-product-buy-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px 16px;
	background: var(--kh-primary);
	color: var(--kh-btn-text) !important;
	border-radius: var(--kh-radius-pill);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: var(--kh-transition);
	border: none;
	cursor: pointer;
}

.kh-product-buy-btn:hover {
	background: var(--kh-primary-hover);
	transform: translateY(-2px);
}

/* ==========================================================================
   7. PROMOTIONAL COUPON RIBBON
   ========================================================================== */
.kh-promo-ribbon {
	background: var(--kh-primary);
	color: var(--kh-btn-text);
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kh-promo-ribbon__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

@media (max-width: 768px) {
	.kh-promo-ribbon__inner {
		justify-content: center;
		text-align: center;
	}
}

.kh-promo-ribbon__text {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 16px;
	font-weight: 700;
}

.kh-promo-ribbon__code {
	background: var(--kh-accent);
	color: var(--kh-primary);
	font-family: monospace;
	font-size: 15px;
	font-weight: 800;
	padding: 6px 16px;
	border-radius: var(--kh-radius-pill);
	letter-spacing: 0.1em;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: var(--kh-transition);
}

.kh-promo-ribbon__code:hover {
	background: #FFFFFF;
	transform: scale(1.05);
}

/* ==========================================================================
   8. "BUY THE LOOK" (Lookbook Spotlight)
   ========================================================================== */
.kh-buy-look-section {
	padding: 60px 0;
}

.kh-look-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
	background: var(--kh-card-bg);
	border: 1px solid var(--kh-border);
	border-radius: var(--kh-radius-lg);
	padding: 40px;
	box-shadow: var(--kh-shadow-sm);
}

@media (max-width: 992px) {
	.kh-look-grid {
		grid-template-columns: 1fr;
		padding: 24px;
	}
}

.kh-look-visual {
	position: relative;
	border-radius: var(--kh-radius-md);
	overflow: hidden;
}

.kh-look-visual img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	max-height: 520px;
}

/* Pulsing Hotspot */
.kh-hotspot {
	position: absolute;
	top: 45%;
	left: 48%;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--kh-primary);
	border: 3px solid #FFFFFF;
	box-shadow: 0 0 0 0 rgba(0, 31, 51, 0.7);
	animation: khHotspotPulse 2s infinite;
	cursor: pointer;
	z-index: 10;
}

@keyframes khHotspotPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 31, 51, 0.7);
	}
	70% {
		box-shadow: 0 0 0 16px rgba(0, 31, 51, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(0, 31, 51, 0);
	}
}

.kh-look-info {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.kh-look-tag {
	align-self: flex-start;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--kh-primary);
	padding: 4px 14px;
	border-radius: var(--kh-radius-pill);
	border: 1px solid var(--kh-border);
	background: rgba(0, 31, 51, 0.04);
}

.kh-look-title {
	font-family: var(--kh-font-serif);
	font-size: clamp(28px, 3.5vw, 38px);
	color: var(--kh-title);
	margin: 0;
	line-height: 1.25;
}

[dir="rtl"] .kh-look-title {
	font-family: var(--kh-font-arabic);
	font-weight: 800;
}

.kh-look-desc {
	font-size: 16px;
	color: var(--kh-text);
	line-height: 1.7;
	margin: 0;
}

.kh-look-price {
	font-size: 24px;
	font-weight: 800;
	color: var(--kh-primary);
}

/* ==========================================================================
   9. TESTIMONIALS (What Clients Say About Us)
   ========================================================================== */
.kh-testimonials-section {
	padding: 70px 0;
	background: var(--kh-sand-light);
	border-top: 1px solid var(--kh-border);
	border-bottom: 1px solid var(--kh-border);
}

.kh-test-slider {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
}

.kh-test-track {
	position: relative;
	min-height: 280px;
}

.kh-test-card {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s ease;
	text-align: center;
	padding: 30px;
	background: var(--kh-card-bg);
	border: 1px solid var(--kh-border);
	border-radius: var(--kh-radius-lg);
	box-shadow: var(--kh-shadow-sm);
	box-sizing: border-box;
}

.kh-test-card.is-active {
	opacity: 1;
	visibility: visible;
	position: relative;
}

.kh-test-quote-icon {
	color: var(--kh-accent);
	font-size: 42px;
	line-height: 1;
	margin-bottom: 16px;
	font-family: var(--kh-font-serif);
}

.kh-test-stars {
	color: #f59e0b;
	font-size: 18px;
	margin-bottom: 18px;
	display: inline-flex;
	gap: 4px;
}

.kh-test-text {
	font-family: var(--kh-font-serif);
	font-size: clamp(17px, 2.2vw, 21px);
	font-style: italic;
	color: var(--kh-title);
	line-height: 1.7;
	margin: 0 0 24px 0;
}

[dir="rtl"] .kh-test-text {
	font-family: var(--kh-font-arabic);
	font-style: normal;
	font-size: 19px;
}

.kh-test-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.kh-test-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--kh-primary);
	color: var(--kh-btn-text);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 18px;
}

.kh-test-author-info {
	text-align: start;
}

.kh-test-name {
	font-size: 16px;
	font-weight: 700;
	color: var(--kh-title);
	display: block;
}

.kh-test-role {
	font-size: 13px;
	color: var(--kh-text);
	display: flex;
	align-items: center;
	gap: 6px;
}

.kh-test-verified-badge {
	color: #10b981;
	display: inline-flex;
}

.kh-test-nav {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 24px;
}

.kh-test-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 1px solid var(--kh-border);
	color: var(--kh-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--kh-transition);
}

.kh-test-btn:hover {
	background: var(--kh-primary);
	color: var(--kh-btn-text);
	border-color: var(--kh-primary);
}

/* ==========================================================================
   10. INSTAGRAM GALLERY FEED
   ========================================================================== */
.kh-instagram-section {
	padding: 60px 0;
}

.kh-insta-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

@media (max-width: 768px) {
	.kh-insta-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
}

.kh-insta-card {
	position: relative;
	border-radius: var(--kh-radius-md);
	overflow: hidden;
	aspect-ratio: 1;
	display: block;
	border: 1px solid var(--kh-border);
}

.kh-insta-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.kh-insta-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 31, 51, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.kh-insta-card:hover .kh-insta-overlay {
	opacity: 1;
}

.kh-insta-card:hover img {
	transform: scale(1.08);
}

/* ==========================================================================
   11. SERVICE PERKS / TRUST BADGES (Slider - One Next One)
   ========================================================================== */
.kh-perks-section {
	padding: 40px 0 50px;
	border-top: 1px solid var(--kh-border, #eef0f3);
	background: #ffffff;
}

.kh-perks-slider-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.kh-perks-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #e0e0e0;
	background: rgba(255, 255, 255, 0.95);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease;
	color: #555;
}

.kh-perks-nav:hover {
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	color: #1a1a2e;
}

.kh-perks-nav--prev {
	left: -18px;
	right: auto;
}

.kh-perks-nav--next {
	right: -18px;
	left: auto;
}

[dir="rtl"] .kh-perks-nav--prev {
	right: -18px;
	left: auto;
}

[dir="rtl"] .kh-perks-nav--next {
	left: -18px;
	right: auto;
}

.kh-perks-grid {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 10px 4px;
	width: 100%;
}

.kh-perks-grid::-webkit-scrollbar {
	display: none;
}

.kh-perk-card {
	flex: 0 0 calc(72% - 10px);
	min-width: 220px;
	background: #fbfbfd;
	border: 1px solid #ececec;
	border-radius: 18px;
	padding: 26px 20px;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.kh-perk-card:hover {
	transform: translateY(-4px);
	border-color: #3366ff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	background: #ffffff;
}

.kh-perk-icon-wrap {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(0, 31, 51, 0.04);
	border: 1px solid #e5e7eb;
	color: #1a1a2e;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	transition: all 0.3s ease;
}

.kh-perk-card:hover .kh-perk-icon-wrap {
	background: #1a1a2e;
	color: #ffffff;
	transform: scale(1.08);
}

.kh-perk-title {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 6px 0;
}

[dir="rtl"] .kh-perk-title {
	font-family: 'Tajawal', 'Cairo', -apple-system, sans-serif;
	font-weight: 800;
}

.kh-perk-desc {
	font-size: 13.5px;
	color: #777;
	line-height: 1.5;
	margin: 0;
}

@media (min-width: 768px) {
	.kh-perk-card {
		flex: 0 0 calc(33.333% - 10px);
		min-width: 220px;
	}
}

@media (min-width: 1024px) {
	.kh-perk-card {
		flex: 0 0 calc(20% - 12px);
		min-width: 190px;
	}
}

/* ==========================================================================
   12. NEWSLETTER VIP CLUB
   ========================================================================== */
.kh-newsletter-section {
	padding: 60px 0 80px;
}

.kh-newsletter-card {
	background: var(--kh-card-bg);
	background-image: url('../images/khadija/Home-2-newsletter-img.jpg');
	background-size: cover;
	background-position: center center;
	border: 1px solid var(--kh-border);
	border-radius: var(--kh-radius-lg);
	padding: 60px 40px;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: var(--kh-shadow-md);
}

.kh-newsletter-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(240, 229, 219, 0.92);
	backdrop-filter: blur(3px);
	z-index: 1;
}

.kh-newsletter-inner {
	position: relative;
	z-index: 2;
	max-width: 600px;
	margin: 0 auto;
}

.kh-newsletter-form {
	display: flex;
	gap: 12px;
	margin-top: 28px;
}

@media (max-width: 600px) {
	.kh-newsletter-form {
		flex-direction: column;
	}
}

.kh-newsletter-input {
	flex-grow: 1;
	padding: 14px 20px;
	border-radius: var(--kh-radius-pill);
	border: 1.5px solid var(--kh-border);
	background: #FFFFFF;
	font-size: 15px;
	outline: none;
	transition: var(--kh-transition);
}

.kh-newsletter-input:focus {
	border-color: var(--kh-primary);
	box-shadow: 0 0 0 3px rgba(0, 31, 51, 0.1);
}

.kh-newsletter-btn {
	padding: 14px 32px;
	border-radius: var(--kh-radius-pill);
	background: var(--kh-primary);
	color: var(--kh-btn-text);
	font-weight: 700;
	font-size: 14.5px;
	border: none;
	cursor: pointer;
	transition: var(--kh-transition);
	white-space: nowrap;
}

.kh-newsletter-btn:hover {
	background: var(--kh-primary-hover);
	transform: translateY(-2px);
}
