/* ==========================================================
   MKStore - Luxury Moroccan E-Commerce Design System
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  /* Brand Color Palette: Luxe Handbags Design System */
  --primary: #4D3142;              /* Deep Dark Smoky Mauve (Primary Accent, Hero Color) */
  --primary-hover: #6E4C5F;        /* Mauve Accent (Subtle Details & Hover) */
  --primary-dark: #37202E;         /* Deepest Mauve Shade */
  --primary-light: #644156;        /* Soft Tinted Mauve */
  
  --accent-mauve: #6E4C5F;         /* Mauve Accent */
  --accent-gold: #D4AF37;          /* Luxury Gold Accent */
  --accent-gold-hover: #C5A028;
  --accent-gold-light: #FDF9EE;
  --accent-gold-border: rgba(212, 175, 55, 0.35);

  --whatsapp-green: #25D366;       /* Moroccan COD WhatsApp Standard */
  --whatsapp-dark: #128C7E;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);
  
  --bg-body: #F3EDE2;              /* Warm Luxury Linen Beige (Background, Primary Space) */
  --bg-card: #FFFFFF;              /* Card & Panel Background */
  --bg-cream: #FAF6EF;             /* Light Cream (Secondary Background) */
  --bg-subtle: #FAF6EF;            /* Light Cream Subtle Background */
  --bg-beige: #EBE2D3;             /* Rich Warm Beige Accent */
  --bg-dark: #24161F;              /* Deep Mauve Noir (Footer & Dark Panels) */
  
  --text-main: #000000;            /* True Black (Text, Headings) */
  --text-muted: #665560;           /* Elegant Smoky Muted Tone */
  --text-light: #9C8C96;           /* Subtle Light Mauve-Gray */
  --text-gold: #B38E25;
  --text-white: #FFFFFF;

  --border-subtle: #E2D7C8;         /* Warm Beige-Linen Border */
  --border-focus: #4D3142;          /* Focused Mauve Border */

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(77, 49, 66, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(77, 49, 66, 0.09);
  --shadow-lg: 0 20px 40px -10px rgba(77, 49, 66, 0.16);
  --shadow-mauve: 0 10px 25px -5px rgba(77, 49, 66, 0.3);
  --shadow-gold: 0 10px 25px -5px rgba(212, 175, 55, 0.28);

  --font-sans: 'Montserrat', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RTL Support & Professional Arabic Typography */
[dir="rtl"] {
  font-family: var(--font-arabic) !important;
  direction: rtl;
  text-align: right;
}

/* CRITICAL: Never use positive letter-spacing in Arabic script because it disconnects letters */
[dir="rtl"] *,
[dir="rtl"] *::before,
[dir="rtl"] *::after {
  letter-spacing: 0 !important;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] .font-serif {
  font-family: var(--font-arabic) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] button {
  line-height: 1.75;
}

[dir="rtl"] .brand-logo {
  direction: ltr; /* Keeps MK STORE logo structure intact */
}

/* Global Reset & Cursor Refinements */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  cursor: default;
}

/* Prevent accidental text cursor & selection on UI elements */
h1, h2, h3, h4, h5, h6,
p, span, .badge, .btn,
.brand-logo, .nav-menu, .site-header, .site-footer,
.mobile-bottom-bar, .mobile-nav-drawer,
.product-card, .category-card, .trust-card,
.section-tag, .hero-pill, .filter-pill, .sort-select {
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

a, button, [role="button"], select, .lang-btn, .category-pill, .product-thumb-link {
  cursor: pointer !important;
}

/* Explicitly enable text cursor ONLY inside real inputs */
input, textarea, [contenteditable="true"] {
  cursor: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}
.gold-text {
  color: var(--accent-gold);
}
.gold-gradient-text {
  background: linear-gradient(135deg, #D4AF37 0%, #F5DE88 50%, #B38F26 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Top Promo Bar */
.promo-bar {
  background: linear-gradient(90deg, #0F1014 0%, #1E1F28 50%, #0F1014 100%);
  color: #F8F5EE;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  text-align: center;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  letter-spacing: 0.02em;
}
.promo-bar strong {
  color: var(--accent-gold);
}

/* Header & Navigation */
.site-header {
  background: rgba(245, 240, 233, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  user-select: none;
}
.brand-logo-emblem {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(77, 49, 66, 0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  flex-shrink: 0;
  display: block;
}
.brand-logo:hover .brand-logo-emblem {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(77, 49, 66, 0.2);
}
.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--primary);
  text-transform: uppercase;
}
.brand-subtitle {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-mauve);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.6rem;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  user-select: none;
}
.nav-link:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary);
  transform: translateY(-1px);
}
.nav-link:active {
  transform: scale(0.92);
  background: rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15), 0 0 14px rgba(212, 175, 55, 0.4);
}
.nav-link.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 16, 20, 0.22);
  padding-bottom: 0.65rem;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2.5px;
  background: var(--accent-gold);
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.7);
}
.nav-link.active:hover {
  background: var(--primary-light);
  color: #FFFFFF;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 0.2rem;
  border: 1px solid var(--border-subtle);
}
.lang-btn {
  border: none;
  background: transparent;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.lang-btn.active {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.cart-btn-trigger {
  background: var(--primary);
  color: var(--text-white);
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.cart-btn-trigger:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.cart-count {
  background: var(--accent-gold);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #F3EDE2 0%, #FAF5EC 50%, #EDE4D4 100%);
  color: var(--text-main);
  padding: 5rem 0 6rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77, 49, 66, 0.08) 0%, rgba(243, 237, 226, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 10;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(77, 49, 66, 0.08);
  border: 1px solid rgba(77, 49, 66, 0.2);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  line-height: 1.7;
  max-width: 580px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-image-wrapper {
  position: relative;
}
.hero-card-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -15px rgba(77, 49, 66, 0.25);
  border: 2px solid var(--border-subtle);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition-slow);
}
.hero-card-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}
.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  backdrop-filter: blur(8px);
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(77, 49, 66, 0.15);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
}
[dir="rtl"] .hero-floating-badge {
  left: auto;
  right: -20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  user-select: none;
  min-height: 48px;
  touch-action: manipulation;
}
.btn-gold {
  background: var(--primary); /* Deep Dark Smoky Mauve #4D3142 */
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(77, 49, 66, 0.28);
}
.btn-gold:hover {
  background: var(--primary-hover); /* Mauve Accent #6E4C5F */
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(77, 49, 66, 0.38);
}
.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px var(--whatsapp-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
}
.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}
.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px var(--whatsapp-glow);
}
.btn-dark {
  background: var(--primary);
  color: #FFFFFF;
}
.btn-dark:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF;
}
.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}
.btn-outline-white:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-main);
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  background: var(--bg-subtle);
}
.btn-block {
  width: 100%;
}

/* Trust Badges Strip */
.trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.25rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}
.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-gold-light);
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.trust-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--primary);
}
.trust-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Section Common Styling */
.section-padding {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: 2.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Categories Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.category-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  group: pointer;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15,16,20,0.85) 100%);
  transition: background var(--transition-fast);
}
.category-card:hover img {
  transform: scale(1.08);
}
.category-card-content {
  position: relative;
  z-index: 10;
  color: #FFFFFF;
}
.category-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.category-card span {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Products Grid & Product Card */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.product-thumb-link {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F4F1EA;
}
.product-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-thumb-link img {
  transform: scale(1.06);
}

.product-badge-group {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}
[dir="rtl"] .product-badge-group {
  left: auto;
  right: 12px;
}
.badge-discount {
  background: #E11D48;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-urgency {
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 6px rgba(77, 49, 66, 0.25);
}

.product-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-category-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}
.price-current .currency {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}
.price-old {
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

/* Cadeau Pour Elle Highlight Section */
.gift-feature-section {
  background: linear-gradient(135deg, #24161F 0%, #3B2432 50%, #4D3142 100%);
  color: #FFFFFF;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.gift-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 4rem;
}
.gift-media-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Reviews Carousel */
.reviews-section {
  background: var(--bg-subtle);
  padding: 5rem 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.review-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  flex-grow: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.review-city {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 5rem 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.active {
  border-color: var(--accent-gold);
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
[dir="rtl"] .faq-question {
  text-align: right;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.25rem;
}

/* Catalog Filter Bar */
.catalog-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.category-pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.category-pill {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: all var(--transition-fast);
}
.category-pill:hover,
.category-pill.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}
.catalog-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.search-input-box {
  position: relative;
}
.search-input-box input {
  padding: 0.5rem 1rem 0.5rem 2.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  outline: none;
  background: #FFFFFF;
  min-width: 220px;
}
.search-input-box svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}
[dir="rtl"] .search-input-box input {
  padding: 0.5rem 2.2rem 0.5rem 1rem;
}
[dir="rtl"] .search-input-box svg {
  left: auto;
  right: 0.8rem;
}
.sort-select {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  background: #FFFFFF;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

/* Product Detail Page */
.pdp-section {
  padding: 4rem 0 5rem;
}
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.pdp-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}
.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Detail Interactive Gallery Slider */
.pdp-gallery-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pdp-slider-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}

.pdp-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pdp-slider-track::-webkit-scrollbar {
  display: none;
}

.pdp-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}
.pdp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.pdp-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}
.pdp-slider-arrow:hover {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.pdp-slider-arrow.prev {
  left: 12px;
}
.pdp-slider-arrow.next {
  right: 12px;
}
[dir="rtl"] .pdp-slider-arrow.prev {
  left: auto;
  right: 12px;
}
[dir="rtl"] .pdp-slider-arrow.next {
  right: auto;
  left: 12px;
}

.pdp-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 20px;
}
.pdp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  padding: 0;
}
.pdp-dot.active {
  background: #FFFFFF;
  width: 22px;
  border-radius: 11px;
}

/* Thumbnail strip */
.pdp-thumbnails {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
}
.pdp-thumbnails::-webkit-scrollbar {
  display: none;
}
.pdp-thumb-item {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-thumb-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(77, 49, 66, 0.25);
}

/* Product Image Zoom Modal */
.pdp-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  touch-action: none;
}
.pdp-zoom-overlay.open {
  display: flex;
  opacity: 1;
}
.pdp-zoom-container {
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  position: relative;
  cursor: zoom-out;
}
.pdp-zoom-image {
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  transition: transform 0.3s ease;
  transform-origin: center center;
}
.pdp-zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}
.pdp-zoom-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.pdp-zoom-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: none;
  text-align: center;
}
.pdp-zoom-hint svg {
  display: block;
  margin: 0 auto 0.25rem;
  width: 24px;
  height: 24px;
}

/* Pull-to-Refresh Indicator */
.pull-to-refresh-indicator {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 20px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(77, 49, 66, 0.3);
}
.pull-to-refresh-indicator svg {
  animation: spin 1s linear infinite paused;
}
.pull-to-refresh-indicator.refreshing svg {
  animation-play-state: running;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Search Autocomplete */
.search-autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 0.5rem;
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}
.search-autocomplete-results.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.search-suggestion-header {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.search-suggestion-list {
  padding: 0.5rem 0;
}
.search-suggestion-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  text-decoration: none;
  transition: background var(--transition-fast);
  font-size: 0.9rem;
}
.search-suggestion-item:hover {
  background: var(--bg-subtle);
  color: var(--primary);
}
.search-product-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}
.search-product-item:last-child {
  border-bottom: none;
}
.search-product-item:hover {
  background: var(--bg-subtle);
}
.search-product-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.search-product-info {
  flex: 1;
  min-width: 0;
}
.search-product-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}
.search-product-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
}

/* Exit-Intent Popup */
.exit-intent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.exit-intent-overlay.open {
  opacity: 1;
  visibility: visible;
}
.exit-intent-modal {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.exit-intent-overlay.open .exit-intent-modal {
  transform: scale(1);
}
.exit-intent-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--bg-subtle);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.exit-intent-close:hover {
  background: var(--primary);
  color: #FFFFFF;
}
.exit-intent-content {
  text-align: center;
}
.exit-intent-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.exit-intent-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.exit-intent-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.exit-intent-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.exit-intent-input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.exit-intent-input:focus {
  border-color: var(--accent-gold);
}
.exit-intent-submit {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.exit-intent-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.exit-intent-submit:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}
.exit-intent-code {
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-top: 1rem;
  animation: fadeIn 0.3s ease;
}
.exit-intent-terms {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .exit-intent-modal {
    padding: 1.5rem;
    border-radius: 16px;
  }
  .exit-intent-form {
    flex-direction: column;
  }
  .exit-intent-title {
    font-size: 1.5rem;
  }
}
.pdp-info {
  display: flex;
  flex-direction: column;
}
.pdp-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 1rem;
}
.pdp-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.pdp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}
.pdp-price-now {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
}
.pdp-price-old {
  font-size: 1.25rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.pdp-savings-tag {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}
.pdp-stock-urgency {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #D97706;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}
.pdp-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.pdp-trust-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.pdp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.pdp-trust-item:last-child {
  margin-bottom: 0;
}

/* Cart Drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}
.cart-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #FFFFFF;
  z-index: 101;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
}
[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition-fast);
}
.cart-close-btn:hover {
  background: var(--bg-subtle);
  color: var(--primary);
}

/* Free Shipping Progress in Drawer */
.free-shipping-progress-box {
  background: var(--accent-gold-light);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--accent-gold-border);
}
.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #78350F;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}
.progress-bar-track {
  height: 7px;
  background: rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #D4AF37 0%, #10B981 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cart-item-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}
.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #F3EFEA;
  flex-shrink: 0;
}
.cart-item-meta {
  flex-grow: 1;
}
.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary);
}
.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-gold);
}
.cart-qty-ctrls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.qty-btn:hover {
  background: var(--bg-subtle);
}
.qty-num {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}
.cart-remove-btn {
  background: none;
  border: none;
  color: #EF4444;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.3rem;
  margin-left: auto;
}
[dir="rtl"] .cart-remove-btn {
  margin-left: 0;
  margin-right: auto;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: #FFFFFF;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

/* Floating WhatsApp Button (FAB) */
.whatsapp-fab {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 90;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
[dir="rtl"] .whatsapp-fab {
  right: auto;
  left: 25px;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.7);
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Checkout Form Layout */
.checkout-section {
  padding: 4rem 0 6rem;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.checkout-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 1.35rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--primary);
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  background: #FAF8F5;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--accent-gold);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Footer */
.site-footer {
  background: #0B0C0E;
  color: #D1D5DB;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a:hover {
  color: var(--accent-gold);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #9CA3AF;
}

/* ==========================================================
   Mobile-First Optimizations (Moroccan Phone Buyers)
   ========================================================== */

/* Touch-action and tap highlights */
html {
  -webkit-tap-highlight-color: transparent;
}
button, a, input, select {
  touch-action: manipulation;
}

/* Phone input group with Moroccan flag */
.phone-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.phone-flag-addon {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.85rem;
  background: #F3EFEA;
  border: 1px solid var(--border-subtle);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  white-space: nowrap;
}
[dir="rtl"] .phone-flag-addon {
  border-right: 1px solid var(--border-subtle);
  border-left: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.phone-input-addon {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}
[dir="rtl"] .phone-input-addon {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid,
  .pdp-grid,
  .checkout-grid,
  .gift-feature-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Base styles for mobile-only elements (hidden on desktop) */
.mobile-bottom-bar {
  display: none;
}
.mobile-nav-drawer {
  display: none;
}
.mobile-drawer-backdrop {
  display: none;
}
.mobile-sticky-pdp-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Prevent fixed bottom bar from covering content */
  }

  /* Form control font size to prevent iOS Safari auto-zoom */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }

  .site-header {
    height: 64px;
  }
  .header-inner {
    height: 64px;
  }
  .brand-logo-emblem {
    width: 44px;
    height: 44px;
  }
  .brand-title {
    font-size: 1.18rem;
  }
  .brand-subtitle {
    font-size: 0.52rem;
  }
  .brand-logo {
    gap: 0.55rem;
  }
  .header-lang-switch {
    display: none; /* Accessible in the mobile drawer */
  }
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    min-width: 44px;
    min-height: 44px;
  }
  .mobile-nav-toggle svg {
    width: 26px;
    height: 26px;
  }

  /* Sticky Bottom Mobile Bar */
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(245, 240, 233, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-subtle);
    z-index: 95;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(77, 49, 66, 0.08);
    justify-content: space-around;
    align-items: center;
  }
  .mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    flex: 1;
    height: 100%;
    text-decoration: none;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px;
    margin: 0 2px;
    user-select: none;
    position: relative;
    padding-bottom: 3px;
  }
  .mobile-bar-item:active {
    transform: scale(0.86);
    background: rgba(212, 175, 55, 0.16);
  }
  .mobile-bar-item:active svg {
    transform: scale(1.1);
  }
  .mobile-bar-item svg {
    width: 22px;
    height: 22px;
    transition: transform 0.15s ease, stroke 0.15s ease;
  }
  .mobile-bar-item.active {
    color: var(--primary);
    font-weight: 800;
  }
  .mobile-bar-item.active svg {
    stroke: var(--accent-gold);
    stroke-width: 2.3px;
  }
  .mobile-bar-item.active::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
  }
  /* Special styling for WhatsApp item when active - green instead of gold */
  .mobile-bar-item.mobile-bar-whatsapp.active svg {
    stroke: #25D366;
    fill: #25D366;
  }
  .mobile-bar-item.mobile-bar-whatsapp.active::after {
    background: #25D366;
    box-shadow: 0 0 6px rgba(37, 211, 102, 0.8);
  }
  .mobile-bar-item.mobile-bar-whatsapp.active .mobile-wa-label {
    color: #059669;
  }
  .mobile-bar-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 28px;
    border-radius: 14px;
    transition: all 0.15s ease;
  }
  .mobile-bar-item.active .mobile-bar-icon-wrap {
    background: rgba(212, 175, 55, 0.16);
  }
  .mobile-bar-whatsapp {
    position: relative;
    top: 0;
  }
  .mobile-wa-icon-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.45);
    margin-bottom: 2px;
    border: none;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease;
  }
  .mobile-bar-whatsapp:active .mobile-wa-icon-bubble {
    transform: scale(0.9);
    box-shadow: 0 1px 4px rgba(37, 211, 102, 0.3);
  }
  .mobile-wa-icon-bubble svg {
    width: 24px !important;
    height: 24px !important;
    fill: #FFFFFF !important;
    display: block;
  }
  .mobile-wa-label {
    color: #059669;
    font-weight: 700;
    font-size: 0.68rem;
  }
  .mobile-cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--accent-gold);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    border-radius: 50%;
    text-align: center;
    padding: 0 2px;
  }

  /* Slide-Out Mobile Navigation Drawer */
  .mobile-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
  }
  .mobile-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    background: #FFFFFF;
    z-index: 102;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    overflow-y: auto;
  }
  [dir="rtl"] .mobile-nav-drawer {
    left: auto;
    right: 0;
    transform: translateX(100%);
  }
  .mobile-nav-drawer.open {
    transform: translateX(0);
  }
  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .mobile-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-subtle);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
  }
  .mobile-drawer-body {
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  .mobile-drawer-section {
    margin-bottom: 1.5rem;
  }
  .lang-switch-drawer {
    display: flex;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.4rem;
  }
  .drawer-lang-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    border: 1.5px solid var(--border-subtle);
    background: #FFFFFF;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    user-select: none;
  }
  .drawer-lang-btn:active {
    transform: scale(0.94);
    background: var(--bg-subtle);
  }
  .drawer-lang-btn.active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(15, 16, 20, 0.22);
  }
  .drawer-lang-btn.active span {
    color: #FFFFFF;
  }
  .flag-icon-svg {
    border-radius: 50%;
    flex-shrink: 0;
  }

  .mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .drawer-link-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: stroke 0.15s ease, transform 0.15s ease;
  }
  .mobile-drawer-links a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    border: 1px solid transparent;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
  }
  .mobile-drawer-links a:hover {
    background: var(--bg-subtle);
    color: var(--primary);
    transform: translateX(4px);
  }
  [dir="rtl"] .mobile-drawer-links a:hover {
    transform: translateX(-4px);
  }
  .mobile-drawer-links a:active {
    transform: scale(0.95);
    background: rgba(212, 175, 55, 0.16);
    border-color: var(--accent-gold);
  }
  .mobile-drawer-links a.active {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(15, 16, 20, 0.2);
  }
  .mobile-drawer-links a.active .drawer-link-icon {
    stroke: var(--accent-gold);
  }

  /* 2-Column Product Grid on Mobile Phones */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .product-card {
    border-radius: var(--radius-sm);
  }
  .product-details {
    padding: 0.75rem 0.65rem;
  }
  .product-category-label {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
  }
  .product-title {
    font-size: 0.86rem;
    height: 2.5em;
    -webkit-line-clamp: 2;
    margin-bottom: 0.35rem;
  }
  .product-pricing {
    margin-bottom: 0.65rem;
    gap: 0.4rem;
  }
  .price-current {
    font-size: 1.05rem;
  }
  .price-current .currency {
    font-size: 0.78rem;
  }
  .price-old {
    font-size: 0.78rem;
  }
  .product-badge-group {
    top: 6px;
    left: 6px;
    gap: 4px;
  }
  [dir="rtl"] .product-badge-group {
    left: auto;
    right: 6px;
  }
  .badge-discount,
  .badge-urgency {
    font-size: 0.62rem;
    padding: 0.15rem 0.4rem;
  }
  .product-actions {
    gap: 0.5rem;
  }
  .product-actions .btn {
    font-size: 0.82rem !important;
    padding: 0.65rem 0.6rem !important;
    min-height: 44px;
  }

  /* Mobile Trust Strip (2x2 Grid) */
  .trust-strip {
    padding: 1.5rem 0;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem 0.75rem !important;
  }
  .trust-card {
    padding: 0.2rem;
    gap: 0.65rem;
  }
  .trust-icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .trust-card h4 {
    font-size: 0.82rem;
  }
  .trust-card p {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  /* Hero Section on Mobile */
  .hero-section {
    padding: 2.75rem 0 3.25rem;
  }
  .hero-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
    margin-bottom: 1rem;
  }
  .hero-title {
    font-size: 1.85rem !important;
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
    min-height: 52px;
  }
  .hero-cta-group .btn-whatsapp svg {
    width: 20px;
    height: 20px;
  }
  .hero-card-frame {
    transform: none !important;
  }
  .hero-floating-badge {
    bottom: 10px;
    left: 10px;
    padding: 0.6rem 0.9rem;
    font-size: 0.78rem;
  }
  [dir="rtl"] .hero-floating-badge {
    left: auto;
    right: 10px;
  }

  /* Categories & Section Headings */
  .section-padding {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .category-card {
    height: 220px;
    padding: 1.25rem;
  }
  .category-card h3 {
    font-size: 1.2rem;
  }

  /* Product Detail Page Mobile */
  .pdp-section {
    padding: 1.5rem 0 5rem;
  }
  .pdp-title {
    font-size: 1.55rem;
  }
  .pdp-price-now {
    font-size: 1.75rem;
  }
  .pdp-gallery-main {
    border-radius: var(--radius-md);
  }

  /* Improve PDP buttons on mobile */
  .pdp-ctas {
    gap: 0.75rem;
  }
  .pdp-ctas .btn {
    min-height: 52px;
    font-size: 0.95rem;
    padding: 0.95rem 1.25rem;
  }
  .pdp-ctas .btn-whatsapp svg {
    width: 20px;
    height: 20px;
  }

  /* Mobile Sticky PDP Purchase Bar */
  .mobile-sticky-pdp-bar {
    display: flex;
    position: fixed;
    bottom: 62px; /* Docks right above the mobile bottom bar */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
    padding: 0.5rem 0.65rem;
    z-index: 94;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08);
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
  }
  .mobile-pdp-price-wrap {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-width: 48px;
    margin-right: 0.15rem;
  }
  [dir="rtl"] .mobile-pdp-price-wrap {
    margin-right: 0;
    margin-left: 0.15rem;
  }
  .mobile-pdp-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.05;
  }
  .mobile-pdp-price .gold-text {
    font-size: 0.7rem;
    font-weight: 700;
  }
  .mobile-pdp-oldprice {
    font-size: 0.55rem;
    color: var(--text-light);
    text-decoration: line-through;
  }
  .mobile-pdp-btn-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-grow: 1;
    justify-content: flex-end;
  }
  .mobile-pdp-cart-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    background: #F3EFEA;
    border: 1px solid var(--border-subtle);
    color: var(--primary);
  }
  .mobile-pdp-cart-btn svg {
    width: 16px;
    height: 16px;
  }
  .mobile-pdp-express-btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    min-height: 38px;
    flex-shrink: 0;
    white-space: nowrap;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
  }
  .mobile-pdp-wa-btn {
    flex-grow: 1;
    padding: 0.4rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 34px;
    flex-direction: row;
    line-height: 1;
  }
  .mobile-pdp-wa-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .mobile-wa-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
    align-items: flex-start;
  }
  .mobile-wa-text-top {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
  }
  .mobile-wa-text-bottom {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
  }

  /* Cart Drawer Full-Width on Mobile */
  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }

  /* Improve cart drawer touch targets */
  .cart-header {
    padding: 1rem 1.25rem;
  }
  .cart-close-btn {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  .cart-items-list {
    padding: 1rem 1.25rem;
  }
  .cart-item-img {
    width: 64px;
    height: 64px;
  }
  .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .cart-remove-btn {
    font-size: 1.3rem;
    padding: 0.4rem;
  }
  .cart-footer {
    padding: 1.25rem;
  }
  .cart-footer .btn {
    min-height: 52px;
    font-size: 1rem;
    padding: 1rem;
  }

  /* Hide Desktop WhatsApp FAB on Mobile so it doesn't obstruct or clash */
  .whatsapp-fab {
    display: none;
  }

  /* Checkout on Mobile */
  .checkout-section {
    padding: 2rem 0 4rem;
  }
  .checkout-card {
    padding: 1.35rem;
  }

  /* Improve catalog on mobile */
  .catalog-header {
    padding: 2rem 0 1.5rem;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .category-pills {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-pills::-webkit-scrollbar {
    display: none;
  }
  .category-pill {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    min-height: 40px;
  }
  .search-input-box input {
    width: 100%;
    min-width: unset;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    font-size: 16px;
  }
  .sort-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 16px;
    min-height: 48px;
  }

  /* Improve form controls on mobile */
  .form-control {
    padding: 0.9rem 1rem;
    font-size: 16px;
    min-height: 52px;
  }
  .phone-input-group .phone-flag-addon {
    padding: 0 0.75rem;
    font-size: 0.88rem;
  }
  .phone-input-group input {
    padding: 0.9rem 0.75rem;
    font-size: 16px;
  }

  /* Modal improvements on mobile */
  .modal-content {
    max-height: 85vh;
    padding: 1.5rem 1.25rem;
  }
  .modal-header {
    padding: 1rem 1.25rem;
  }
  .modal-close {
    width: 40px;
    height: 40px;
  }
  .modal-footer .btn {
    min-height: 52px;
    font-size: 1rem;
  }

  /* WhatsApp button improvements on mobile */
  .btn-whatsapp {
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
    min-height: 52px;
  }
  .btn-whatsapp svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================
   Storefront Modals (Express Buy COD)
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 20, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal-content {
  transform: scale(1);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E5E7EB;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #9CA3AF;
  line-height: 1;
}
.modal-close:hover {
  color: #111827;
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-content {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    transform: translateY(100%);
  }
  .modal-overlay.open .modal-content {
    transform: translateY(0);
  }
}

