/* ============================================
   AMINA LUXE - Premium CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Brand greens */
  --green: #0E3B2E;
  --green-light: #14543F;
  --green-gradient: linear-gradient(135deg, #0E3B2E 0%, #14543F 100%);

  /* Luxury gold */
  --gold: #C9A227;
  --gold-light: #E8C766;
  --gold-gradient: linear-gradient(135deg, #C9A227 0%, #E8C766 100%);
  --gold-gradient-hover: linear-gradient(135deg, #B8911E 0%, #C9A227 100%);

  /* Surfaces */
  --cream: #F8F1E4;
  --ivory: #FFFDF8;
  --white: #FFFFFF;

  /* Text */
  --text-primary: #1E1E1E;
  --text-secondary: #6B6A5F;

  --border: #E9E1CC;
  --dark-gold: var(--green-light);
  --shadow-sm: 0 2px 10px rgba(14,59,46,0.07);
  --shadow-md: 0 4px 24px rgba(14,59,46,0.10);
  --shadow-lg: 0 10px 40px rgba(14,59,46,0.14);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', 'Inter', sans-serif; color: var(--text-primary); background: #FBF7EE; overflow-x: hidden; }
/* Safety guard: no image may exceed its container (prevents horizontal
   scroll / overflow on small screens). max-width only — height is left
   untouched so components using fixed width/height + object-fit keep
   their intended aspect ratios. */
img { max-width: 100%; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--green);
  color: var(--ivory);
  font-size: 12px;
  padding: 8px 0;
  font-family: 'Poppins', sans-serif;
}
.top-bar a { color: var(--ivory); text-decoration: none; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar .center-text { color: var(--gold-light); font-weight: 500; letter-spacing: 1px; }
.top-bar-icon { margin-right: 5px; }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.main-header {
  background: var(--green);
  border-bottom: 1px solid rgba(201,162,39,0.22);
  position: sticky;
  top: 0;
  z-index: 9999;
  /* No box-shadow here by design: with the header sticky at z-index 9999,
     any drop-shadow extends past its own border and paints OVER whatever
     sits directly beneath it in the stacking order — on the homepage
     that's the Hero Banner image, so the shadow rendered as a visible
     dark strip across its top edge. The border-bottom above provides
     the navbar's edge definition without bleeding onto adjacent content. */
}
.header-inner { padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header-left { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.main-nav { flex: 1; justify-content: center; min-width: 0; overflow: visible; }
.brand-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  background: var(--ivory);
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand-text .brand-word {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1.5px;
  line-height: 1.1;
}
.brand-logo small {
  font-size: 8.5px;
  letter-spacing: 2.5px;
  color: var(--text-secondary);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  margin-top: 3px;
}

.navbar-nav {
  flex-wrap: nowrap;       /* never let items wrap to a second row */
  white-space: nowrap;
}
.navbar-nav .nav-item {
  flex-shrink: 0;          /* items never compress below their min-content */
}
.navbar-nav .nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ivory) !important;
  padding: 8px 11px !important;   /* tightened from 14px — keeps 8 items comfortably */
  transition: var(--transition);
  position: relative;
  white-space: nowrap;             /* individual links never word-wrap */
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 70%; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--gold) !important; }

/* Tablet/small-laptop (992–1199px): container is ~960px wide.
   With "About" + "Contact" now shorter, 8px side-padding is enough. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-nav .nav-link {
    padding: 8px 8px !important;
    font-size: 10.5px;
    letter-spacing: 0.4px;
  }
}
/* Large desktop (≥1200px): restore comfortable spacing */
@media (min-width: 1200px) {
  .navbar-nav .nav-link {
    padding: 8px 12px !important;
    font-size: 12px;
    letter-spacing: 1px;
  }
}

.header-icons .btn-icon {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--ivory);
  padding: 6px 8px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.header-icons .btn-icon:hover { color: var(--gold-light); transform: scale(1.1); }
/* logo image (replaces text brand mark) */
.brand-logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.10));
}
.footer-brand .brand-logo-img {
  height: 52px;
  filter: none;
}
.main-header .d-lg-none .bi { color: var(--ivory); }
@media (max-width: 768px) { .brand-logo-img { height: 36px; } }
.cart-badge {
  position: absolute;
  top: -2px;
  right: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Dropdown */
.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  min-width: 200px;
  animation: fadeDown 0.25s ease;
}
.dropdown-item {
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  color: var(--text-primary);
}
.dropdown-item:hover { background: var(--ivory); color: var(--gold); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 99999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.search-overlay.active { display: flex; animation: fadeIn 0.2s ease; }
.search-box {
  background: var(--white);
  width: min(600px, calc(100vw - 32px));
  padding: 30px;
  border-radius: 4px;
  position: relative;
}
@media (max-width: 600px) {
  .search-box { padding: 20px 16px; }
  .search-box input { font-size: 16px; } /* prevent iOS zoom on focus */
}
.search-box input {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--gold);
  font-size: 20px;
  padding: 10px 0;
  outline: none;
  font-family: 'Playfair Display', serif;
  background: transparent;
}
.search-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
}
.search-results { margin-top: 20px; max-height: 300px; overflow-y: auto; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
}
.search-result-item:hover { color: var(--gold); }
.search-result-item img { width: 50px; height: 50px; object-fit: cover; }

/* ============================================
   HERO SECTION
   ============================================ */
/* ============================================================
   HERO SLIDER v11 — Premium Ecommerce Standard Implementation
   Aspect-ratio-driven container (no fixed pixel heights on the
   container — those fight object-fit and cause per-slide zoom
   inconsistency). The container's height is derived from its
   width via aspect-ratio, so every breakpoint gets a perfectly
   proportional frame regardless of source image dimensions.

   Architecture:
   ─ .hero-section  → aspect-ratio container, clips overflow
   ─ .hero-track    → absolute fill, holds all slide stacks
   ─ .hs-slide      → absolute fill, opacity-fade + subtle X shift
   ─ .hs-img        → absolute fill, object-fit:cover object-position:center center
                       NEVER top center — center is the only value that
                       guarantees identical visual crop on all slides.

   Cloudinary images are served at uniform width (c_scale,w_1920)
   with NO server-side crop/gravity, so the client's object-fit:cover
   applies the same crop logic to every image identically.
   ============================================================ */

/* Zero out any browser / Bootstrap gap between header and hero */
main { margin: 0; padding: 0; display: block; }
.main-header + main,
header + main { margin-top: 0; padding-top: 0; }

/* ── Hero section container ──────────────────────────────────
   aspect-ratio is the single source of truth for height.
   We clamp with min/max so it never shrinks too small on mobile
   or stretches too tall on ultra-wide screens.
   ---------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  /* 16:6 = desktop banner ratio (approx 600px @ 1600px wide) */
  aspect-ratio: 16 / 6;
  min-height: 380px;   /* floor: never collapse below this on mobile  */
  max-height: 680px;   /* ceiling: never exceed this on ultra-wide    */
  overflow: hidden;
  background: var(--green);   /* shown during shimmer / before image loads */
  display: block;
  /* -1px closes any sub-pixel gap between the navbar border and the hero */
  margin-top: -1px;
}

/* ── Track: absolute fill of the section ── */
.hero-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Individual slide: absolutely stacked, zero height of its own ── */
.hs-slide {
  position: absolute;
  inset: 0;           /* top/right/bottom/left: 0 — inherits container height */
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  pointer-events: none;
  will-change: opacity, transform;
}

/* Active slide: fully visible, at natural position */
.hs-slide.hs-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

/* Slide entering from a direction — JS sets inline transform/opacity */
.hs-slide.hs-entering {
  /* intentionally empty — JS handles the inline style before transition */
}

/* ── Banner image ─────────────────────────────────────────────
   object-fit:cover fills the container without distortion.
   object-position:center center is the ONLY safe value that
   guarantees identical visual centering on every slide.
   "top center" was causing slides with taller source images to
   appear more zoomed-in because more of the top was revealed.
   ---------------------------------------------------------- */
.hs-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;   /* ← critical: same focal point for ALL slides */
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ── Gradient overlay ── */
.hs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14,59,46,0.88) 0%,
    rgba(14,59,46,0.62) 40%,
    rgba(14,59,46,0.22) 68%,
    rgba(14,59,46,0.04) 100%
  );
  z-index: 1;
}

/* ── Text content wrapper ── */
.hs-inner {
  position: relative;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
}
.hs-content {
  max-width: 580px;
  padding: 0;
}

/* ── Eyebrow label ── */
.hs-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.92;
}
.hs-label::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold-light);
  flex-shrink: 0;
}

/* ── Heading ── */
.hs-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFDF8;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.hs-title .hero-line    { display: block; }
.hs-title .hero-highlight {
  color: var(--gold);
  display: block;
  font-style: italic;
}

/* ── Description ── */
.hs-desc {
  font-size: 15px;
  color: rgba(255,253,248,0.82);
  line-height: 1.82;
  max-width: 440px;
  margin: 0 0 36px;
  font-weight: 300;
}

/* ── CTA buttons row ── */
.hs-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  row-gap: 12px;
}

/* ── Loading shimmer ── */
.hero-section.hero-loading .hero-track {
  opacity: 0;
  pointer-events: none;
}
.hero-section.hero-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 30;
  background:
    linear-gradient(100deg,
      rgba(255,255,255,0.00) 25%,
      rgba(255,255,255,0.05) 50%,
      rgba(255,255,255,0.00) 75%),
    var(--green);
  background-size: 250% 100%, auto;
  animation: heroShimmer 1.4s ease-in-out infinite;
}
@keyframes heroShimmer {
  0%   { background-position: 160% 0, 0 0; }
  100% { background-position: -60% 0, 0 0; }
}

/* ── Text elements (legacy aliases kept for any other page using them) ── */
.hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.92;
}
.hero-label::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold-light);
  flex-shrink: 0;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFDF8;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-title .hero-line    { display: block; }
.hero-title .highlight    { color: var(--gold); display: block; font-style: italic; }
.hero-desc {
  font-size: 15px;
  color: rgba(255,253,248,0.82);
  line-height: 1.82;
  max-width: 440px;
  margin-bottom: 36px;
  font-weight: 300;
}
.btn-gold {
  background: var(--gold-gradient);
  color: var(--green);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 30px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-gold:hover {
  background: var(--gold-gradient-hover);
  color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,0.4);
}
.btn-outline-gold {
  background: transparent;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 1px solid var(--text-primary);
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-gold:hover {
  background: var(--gold-gradient);
  border-color: var(--gold);
  color: var(--green);
  transform: translateY(-2px);
}

/* Hero-only CTA variants — used over the dark image overlay */
.btn-hero-primary {
  background: #C9A227;
  color: #0E3B2E;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.btn-hero-outline {
  background: transparent;
  color: #FFFDF8;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 1.5px solid #FFFDF8;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-outline:hover { background: #FFFDF8; color: var(--green); transform: translateY(-2px); }

/* Hero Arrows + Dots (rendered dynamically by js/slider.js) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,253,248,0.12);
  border: 1px solid rgba(255,253,248,0.4);
  color: #FFFDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
  font-size: 16px;
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--green); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 26px;
  height: 3px;
  background: rgba(255,253,248,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.hero-dot.active { background: var(--gold); width: 34px; }

/* ============================================
   TRUST BAR  (sits just above the footer)
   ============================================ */
.trust-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
}
.trust-icon {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(201,162,39,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--gold);
  background: var(--ivory);
  flex-shrink: 0;
  transition: var(--transition);
}
.trust-item:hover .trust-icon { background: var(--gold-gradient); color: var(--green); border-color: transparent; }
.trust-text h6 {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 2px;
}
.trust-text p { font-size: 11.5px; color: var(--text-secondary); margin: 0; }

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
  text-align: center;
  margin-bottom: 50px;
}
.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.section-heading .gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.gold-divider::before,
.gold-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--gold);
}
.gold-divider .diamond { color: var(--gold); font-size: 8px; }
.section-heading p { color: var(--text-secondary); font-size: 14px; max-width: 500px; margin: 0 auto; }

/* ============================================
   SHOP BY CATEGORY
   ============================================ */
.category-section { padding: 64px 0; background: var(--ivory); }
.category-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.category-divider .cat-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}
.category-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}
.cat-circle-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(201,162,39,0.35);
  transition: var(--transition);
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.cat-circle:hover .cat-circle-img {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,0.15);
  transform: translateY(-4px);
}
.cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-circle span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-primary);
}
.cat-circle:hover span { color: var(--gold); }

.view-all-btn {
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 40px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.view-all-btn:hover { background: var(--gold-gradient); color: var(--white); }

/* ============================================
   COLLECTION BANNERS
   ============================================ */
.collection-banners { padding: 50px 0; background: var(--ivory); }
.banner-card {
  position: relative;
  overflow: hidden;
  height: 290px;
  cursor: pointer;
}
.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.banner-card:hover img { transform: scale(1.04); }
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}
.banner-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}
.banner-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}
@media (max-width: 575px) {
  .banner-overlay { padding: 24px 20px; }
  .banner-overlay h3 { font-size: 22px; margin-bottom: 14px; }
  .banner-card { height: 240px; }
}

/* ============================================
   PRODUCT CARD — Uniform Grid System
   ============================================
   AUDIT FIXES:
   • All cards same height — achieved via flex column layout
     (.product-card is flex-column; .product-info fills space)
   • 3/4 aspect-ratio image on all breakpoints — never clips
     or stretches differently across pages
   • .btn-cart is always pinned to the card bottom
   • Consistent padding, typography, spacing on desktop/tablet/mobile
   • Slider cards (.product-slide) and grid cards (col-lg-3 etc.)
     share the same .product-card — one source of truth
   ============================================ */
.product-section { padding: 64px 0; }
.product-section.bg-ivory { background: var(--cream); }

/* Card container — flex-column ensures .product-info can grow
   and .btn-cart is always at the bottom */
.product-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(14,59,46,0.05);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  position: relative;
  overflow: hidden;
  /* Flex column so info grows and button stays at the bottom */
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  box-shadow: 0 12px 32px rgba(14,59,46,0.13);
  transform: translateY(-5px);
  border-color: rgba(201,162,39,0.55);
}

/* ── Image area: locked 3:4 aspect ratio on ALL screen sizes ── */
.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--cream);
  border-radius: 12px 12px 0 0;
  flex-shrink: 0; /* never compress the image area */
}
.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
  display: block;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

/* ── Badge ── */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--white);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 9px;
  text-transform: uppercase;
  z-index: 2;
}
.product-badge.sale { background: #1a1a1a; }

/* ── Quick-action buttons (wishlist + quick-view) ── */
.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 2;
}
.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}
.btn-action {
  width: 32px;
  height: 32px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  color: var(--text-primary);
  text-decoration: none;
}
.btn-action:hover { background: var(--gold); color: var(--white); }
.btn-action.wishlisted { color: #e74c3c; }

/* ── Info area: grows to fill remaining card space ── */
.product-info {
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  flex: 1; /* fill all vertical space the image doesn't use */
}

.product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.45;
  text-decoration: none;
  /* Clamp to 2 lines for uniformity across all cards */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em; /* always reserve 2-line height */
}
.product-name:hover { color: var(--gold); }
a.product-name { display: -webkit-box; }

.product-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 6px;
}
.price-current {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.price-old {
  font-size: 10.5px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.stars {
  color: var(--gold);
  font-size: 10px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 3px;
  /* Push .stars (and any element below it) to the bottom of .product-info */
  margin-top: auto;
  padding-bottom: 2px;
}
.review-count {
  font-size: 9px;
  color: var(--text-secondary);
  margin-left: 2px;
}

/* ── Add-to-cart button: OUTSIDE .product-info, sits at card bottom ── */
/* Card is flex-column; .product-info has flex:1; btn-cart is last child → bottom */
.btn-cart {
  display: block;
  width: calc(100% - 24px);
  margin: 10px 12px 12px;
  background: var(--green);
  color: var(--ivory);
  border: none;
  padding: 10px;
  font-size: 9.5px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  border-radius: 0;
  text-align: center;
  /* Ensure button never shrinks smaller than its label */
  flex-shrink: 0;
}
.btn-cart:hover { background: var(--gold-gradient); color: var(--green); }

/* Section Header Row */
.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section-header-row h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--text-primary);
}
.view-all-link {
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.view-all-link:hover { color: var(--dark-gold); }

/* Slider */
.products-slider-wrap { position: relative; }
.products-slider {
  display: flex;
  gap: 18px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  /* Align top so cards whose .product-info varies don't shift  */
  align-items: stretch;
}
/* Trending marquee: continuous drift, no manual scroll snap, no arrows */
.products-slider.marquee { scroll-behavior: auto; cursor: default; }
#trending-wrap .slider-btn { display: none; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 14px;
}
.slider-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.slider-btn.prev { left: -18px; }
.slider-btn.next { right: -18px; }

/* Slider cards — fixed width + full height to match each other */
.product-slide {
  width: 224px;
  flex: 0 0 224px;
  display: flex; /* so .product-card inside stretches full height */
}
/* Card inside slider must fill the slide container */
.product-slide .product-card { width: 100%; }

@media (max-width: 1200px) { .product-slide { width: 204px; flex-basis: 204px; } }
@media (max-width: 992px)  { .product-slide { width: 188px; flex-basis: 188px; } }
@media (max-width: 768px)  { .product-slide { width: 164px; flex-basis: 164px; } }
@media (max-width: 480px)  { .product-slide { width: 148px; flex-basis: 148px; } }

/* ============================================
   TESTIMONIALS
   ============================================ */
/* ============================================
   WHY CHOOSE AMINA LUXE
   ============================================ */
.why-choose {
  position: relative;
  background: var(--green) url('../assets/images/why-choose.jpg') center right / cover no-repeat;
  padding: 58px 0;
  overflow: hidden;
}
.why-choose::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,42,33,0.94) 0%, rgba(11,42,33,0.82) 38%, rgba(11,42,33,0.35) 62%, rgba(11,42,33,0) 100%);
}
.why-choose .container { position: relative; z-index: 2; }
.why-choose-head h2 { font-family: 'Playfair Display', serif; color: var(--ivory); font-size: 32px; margin: 0; }
.wc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  max-width: 580px;
  margin-top: 24px;
}
.wc-item { display: flex; align-items: flex-start; gap: 14px; }
.wc-ico {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.55);
  background: rgba(255,255,255,0.05);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.wc-item h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--ivory);
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  margin: 2px 0 4px;
}
.wc-item p { color: rgba(255,253,248,0.72); font-size: 12.5px; line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
  .why-choose { padding: 56px 0; background-position: center; }
  .why-choose::before { background: linear-gradient(180deg, rgba(11,42,33,0.86) 0%, rgba(11,42,33,0.94) 100%); }
  .wc-grid { grid-template-columns: 1fr; max-width: 100%; gap: 20px; }
}

.testimonials { padding: 44px 0; background: var(--cream); }
.testimonial-card {
  background: var(--white);
  padding: 36px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  position: relative;
  transition: var(--transition);
  /* Equal height across the row so cards never look compressed/stretched
     or misaligned when reviews differ in length; author block pinned to
     the bottom. Harmless when cards stack full-width on mobile. */
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}
.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.author-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.author-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.author-tag { font-size: 11px; color: var(--gold); }

/* ============================================
   INSTAGRAM — Luxury Gallery
   ============================================ */
.instagram-section { padding: 72px 0; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 991px) and (min-width: 769px) {
  .ig-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
.ig-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-radius: 16px;
  border: 1.5px solid #C9A227;
  box-shadow:
    0 4px 18px rgba(201, 162, 39, 0.13),
    0 1.5px 6px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.3s ease;
  background: #f8f1e4;
}
.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: block;
}
.ig-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 39, 0.72) 0%,
    rgba(14, 59, 46, 0.55) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.32s ease;
  border-radius: 14px;
  gap: 6px;
}
.ig-overlay i {
  font-size: 24px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.ig-overlay span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  font-family: 'Poppins', sans-serif;
}
/* Hover: zoom + gold glow */
.ig-item:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: #E8C766;
  box-shadow:
    0 0 0 2.5px #C9A227,
    0 8px 32px rgba(201, 162, 39, 0.38),
    0 2px 12px rgba(0, 0, 0, 0.12);
}
.ig-item:hover img { transform: scale(1.12); }
.ig-item:hover .ig-overlay { opacity: 1; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter { padding: 20px 0; background: var(--green-gradient); position: relative; overflow: hidden; }
.newsletter::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(232,199,102,0.18);
  border-radius: 50%;
}
.newsletter-icon { font-size: 20px; color: var(--gold-light); margin-bottom: 2px; }
.newsletter h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--ivory);
  margin-bottom: 2px;
}
.newsletter p { color: rgba(255,253,248,0.75); font-size: 12px; margin: 0; }
.newsletter-form { display: flex; gap: 0; max-width: 480px; }
.newsletter-form input {
  flex: 1;
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.96);
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  outline: none;
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form .btn-sub {
  background: var(--gold-gradient);
  color: var(--green);
  border: none;
  padding: 11px 26px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form .btn-sub:hover { background: var(--gold-gradient-hover); color: var(--green); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  /* Premium emerald footer — static brand asset, do not manage from Admin */
  background:
    linear-gradient(160deg, rgba(7,35,27,0.96) 0%, rgba(11,45,35,0.92) 50%, rgba(6,28,22,0.98) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(201,162,39,0.04) 18px,
      rgba(201,162,39,0.04) 19px
    );
  background-color: #071C16;
  border-top: 1px solid rgba(201,162,39,0.18);
  padding: 56px 0 26px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent 100%);
  opacity: 0.6;
}
.footer-brand .brand-logo { align-items: center; }
.footer-brand .brand-text .brand-word { color: #FFFDF8; }
.footer-brand .brand-mark { background: rgba(255,253,248,0.08); }
.footer-brand .brand-logo small { color: rgba(255,255,255,0.55); }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.8; margin: 16px 0; max-width: 240px; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--green); border-color: var(--gold); }

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFDF8;
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact { list-style: none; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.footer-contact i { color: var(--gold); margin-top: 2px; min-width: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.55); }
.payment-icons { display: flex; gap: 8px; align-items: center; }
.payment-icon {
  background: rgba(255,253,248,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   PAGE STYLES
   ============================================ */
.page-banner {
  background: var(--green-gradient);
  padding: 54px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201,162,39,0.28);
}
/* soft gold glow from the top */
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(201,162,39,0.16), transparent 58%);
  pointer-events: none;
}
/* faint decorative ring motif */
.page-banner::after {
  content: '';
  position: absolute; right: -90px; top: -90px;
  width: 280px; height: 280px;
  border: 1px solid rgba(232,199,102,0.12);
  border-radius: 50%;
  pointer-events: none;
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: var(--ivory);
  margin-bottom: 14px;
}
/* gold gradient divider under the heading */
.page-banner h1::after {
  content: '';
  display: block;
  width: 78px; height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.breadcrumb-custom { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 12px; }
.breadcrumb-custom a { color: var(--gold); text-decoration: none; }
.breadcrumb-custom a:hover { color: var(--gold-light); }
.breadcrumb-custom span { color: var(--text-secondary); }
/* light variants when the breadcrumb sits inside the green banner */
.page-banner .breadcrumb-custom a { color: var(--gold-light); }
.page-banner .breadcrumb-custom a:hover { color: var(--ivory); }
.page-banner .breadcrumb-custom span { color: rgba(255,253,248,0.6); }
/* banner subtitle text stays legible on green */
.page-banner p { color: rgba(255,253,248,0.8); }

/* Shop Sidebar */
.shop-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
}
/* On mobile, sidebar stacks above grid — add visible toggle affordance */
@media (max-width: 991px) {
  .shop-sidebar { margin-bottom: 8px; }
  .shop-sidebar .filter-heading { cursor: pointer; user-select: none; }
}
.filter-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.filter-group { margin-bottom: 24px; }
.filter-group h6 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.filter-check { display: flex; flex-direction: column; gap: 8px; }
.filter-check label { font-size: 13px; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.filter-check input { accent-color: var(--gold); }
.price-range-input { width: 100%; accent-color: var(--gold); }
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
  width: 24px; height: 24px; border-radius: 50%;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition);
}
.color-swatch:hover, .color-swatch.active { border-color: var(--gold); transform: scale(1.2); }

/* Product Detail */
.product-detail-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 540px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--cream);
  cursor: zoom-in;
  display: block;
  transition: var(--transition);
}
.product-thumbnails { display: flex; gap: 10px; margin-top: 12px; }
.thumb-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.thumb-img.active, .thumb-img:hover { border-color: var(--gold); }
.product-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.size-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.size-btn {
  min-width: 44px; height: 42px; padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
}
.size-btn:hover { border-color: var(--green); color: var(--green); }
.size-btn.active { border-color: var(--green); background: var(--green); color: var(--white); box-shadow: 0 2px 8px rgba(14,59,46,0.18); }
.size-btn.out-of-stock { opacity: 0.38; cursor: not-allowed; text-decoration: line-through; }
.size-btn.out-of-stock:hover { border-color: var(--border); color: var(--text-secondary); }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); width: fit-content; }
.qty-control button {
  width: 38px; height: 38px; border: none; background: var(--white);
  font-size: 16px; cursor: pointer; transition: var(--transition);
}
.qty-control button:hover { background: var(--gold); color: var(--white); }
.qty-control input {
  width: 50px; height: 38px; border: none; border-left: 1px solid var(--border);
  border-right: 1px solid var(--border); text-align: center; font-size: 14px;
  outline: none; font-family: 'Poppins', sans-serif;
}

/* Cart */
.cart-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cart-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.cart-table th {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; padding: 12px 0; border-bottom: 2px solid var(--border);
}
.cart-table td { padding: 20px 0; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product-img { width: 80px; height: 90px; object-fit: cover; margin-right: 16px; }
.cart-product-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.cart-product-meta { font-size: 11px; color: var(--text-secondary); }
.btn-remove { background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 16px; }
.btn-remove:hover { color: #e74c3c; }
@media (max-width: 575px) {
  .cart-product-img { width: 60px; height: 68px; margin-right: 10px; }
  .cart-table th, .cart-table td { padding: 14px 6px; }
  .cart-product-name { font-size: 12px; }
}

.order-summary-card { background: var(--ivory); padding: 28px; border: 1px solid var(--border); }
.order-summary-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 13px; }
.summary-row.total { font-weight: 700; font-size: 15px; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.coupon-input { display: flex; gap: 0; }
.coupon-input input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); font-size: 12px; outline: none; }
.coupon-input button { padding: 10px 20px; background: var(--green); color: var(--white); border: none; font-size: 11px; font-weight: 600; cursor: pointer; letter-spacing: 1px; }
.coupon-input button:hover { background: var(--gold); }

/* Track Order */
.track-form-wrap { max-width: 500px; margin: 0 auto 50px; text-align: center; }
.track-input-row { display: flex; gap: 0; }
.track-input-row input { flex: 1; padding: 14px 20px; border: 1px solid var(--border); font-size: 14px; outline: none; }
.order-timeline { position: relative; padding: 30px 0; }
.timeline-step {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 30px; position: relative;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: 19px; top: 40px;
  width: 2px; height: calc(100% + 10px);
  background: var(--border);
}
.timeline-step:last-child::before { display: none; }
.step-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  background: var(--border); color: var(--text-secondary); border: 2px solid var(--border);
  z-index: 1; position: relative;
}
.timeline-step.active .step-icon { background: var(--gold-gradient); color: var(--white); border-color: var(--gold); }
.timeline-step.done .step-icon { background: var(--green); color: var(--ivory); border-color: var(--green); }
.step-content h6 { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.step-content p { font-size: 12px; color: var(--text-secondary); }

/* Wishlist */
.wishlist-empty { text-align: center; padding: 80px 20px; }
.wishlist-empty i { font-size: 60px; color: var(--border); margin-bottom: 20px; }
.wishlist-empty h4 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--text-secondary); }

/* About */
.about-stat { text-align: center; padding: 30px; }
.about-stat .number { font-family: 'Playfair Display', serif; font-size: 48px; color: var(--gold); }
.about-stat p { font-size: 13px; color: var(--text-secondary); letter-spacing: 1px; text-transform: uppercase; }

/* Contact */
.contact-form-wrap {
  background: var(--white); padding: 40px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.form-control-luxury {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 16px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  width: 100%;
  transition: var(--transition);
}
.form-control-luxury:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.1); }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 30px; align-items: flex-start; }
.contact-icon-wrap {
  width: 48px; height: 48px;
  background: var(--gold-gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px; flex-shrink: 0;
}
.map-placeholder {
  height: 300px; background: var(--ivory);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; color: var(--text-secondary);
}
.map-embed-wrap {
  height: 300px; border: 1px solid var(--border);
  overflow: hidden;
}
.map-embed-wrap iframe { width: 100%; height: 100%; display: block; }

/* Policy Pages */
.policy-content h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin: 30px 0 12px; color: var(--text-primary); }
.policy-content p, .policy-content li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.policy-content ul { padding-left: 20px; }

/* FAQ */
.faq-accordion .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--white);
  box-shadow: none;
  padding: 18px 20px;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--gold); background: var(--ivory); }
.faq-accordion .accordion-button::after { filter: none; }
.faq-accordion .accordion-body { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }

/* Checkout */
.checkout-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; gap: 10px;
}
.checkout-section-title span {
  width: 28px; height: 28px; background: var(--gold-gradient);
  border-radius: 50%; color: var(--white); font-size: 12px;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.payment-method-option {
  border: 2px solid var(--border); padding: 16px 20px;
  cursor: pointer; transition: var(--transition); margin-bottom: 10px;
  display: flex; align-items: center; gap: 14px;
}
.payment-method-option.selected { border-color: var(--gold); background: rgba(201,162,39,0.05); }

/* Whatsapp Float */
.wa-float {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 24px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 9999; text-decoration: none;
  animation: pulse 2s infinite;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); color: var(--white); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.8); }
}

/* Mobile Menu */
.offcanvas-header { border-bottom: 1px solid var(--border); }
.offcanvas-brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: var(--gold); font-weight: 700; letter-spacing: 2px;
}
.mobile-nav { list-style: none; padding: 20px 0; }
.mobile-nav li a {
  display: block; padding: 14px 0;
  font-size: 14px; font-weight: 500;
  color: var(--text-primary); text-decoration: none;
  border-bottom: 1px solid var(--border);
  letter-spacing: 1px; text-transform: uppercase;
}
.mobile-nav li a:hover { color: var(--gold); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
/* fade-up kept for non-hero use cases; hero slider v8 no longer uses staggered delays */
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ── Hero slider responsive breakpoints ─────────────────────
   We adjust aspect-ratio per breakpoint so the hero is naturally
   taller on narrow viewports (where a 16:6 ratio would be too
   short) and we never touch the height directly — aspect-ratio
   IS the height. The min-height/max-height on .hero-section act
   as hard guards for extreme viewport sizes.
   ---------------------------------------------------------- */
.hs-btns { row-gap: 12px; }
.hero-cta-row { row-gap: 12px; }

/* Large desktop (≥1200px): default 16:6 ratio */
@media (max-width: 1199px) {
  /* 16:6.5 — slightly taller on medium desktop */
  .hero-section               { aspect-ratio: 16 / 6.5; }
  .hs-title, .hero-title      { font-size: 46px; }
}
@media (max-width: 991px) {
  /* 4:2 — tablet: noticeably taller, still widescreen feel */
  .hero-section               { aspect-ratio: 4 / 2; }
  .hs-title, .hero-title      { font-size: 38px; }
  .hs-desc,  .hero-desc       { font-size: 14px; max-width: 360px; }
  .trust-item                 { padding: 10px 8px; }
  .trust-text h6              { font-size: 13px; }
}
@media (max-width: 768px) {
  /* 4:2.4 — mobile landscape: portrait-adjacent ratio */
  .hero-section               { aspect-ratio: 4 / 2.4; }
  .hs-title, .hero-title      { font-size: 30px; }
  .hs-desc,  .hero-desc       { font-size: 13px; margin-bottom: 22px; max-width: 300px; }
  .hero-arrow                 { width: 36px; height: 36px; font-size: 14px; }
  .hero-arrow-prev            { left: 10px; }
  .hero-arrow-next            { right: 10px; }
  .ig-grid                    { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .footer-bottom              { flex-direction: column; gap: 16px; text-align: center; }
  .newsletter-form            { flex-direction: column; }
  .top-bar .d-none-mobile     { display: none !important; }
}
@media (max-width: 575px) {
  /* 3:2 — small mobile: more vertical real-estate for content */
  .hero-section               { aspect-ratio: 3 / 2; }
  .hero-arrow                 { display: none; }
  .hs-label, .hero-label      { font-size: 13px; letter-spacing: 2px; }
  .hs-title, .hero-title      { font-size: 26px; line-height: 1.2; }
  .hs-desc,  .hero-desc       { font-size: 12.5px; display: block; margin-bottom: 20px; }
  .btn-hero-primary, .btn-hero-outline { padding: 11px 18px; font-size: 10px; }
  .trust-bar .row > div       { width: 50%; flex: 0 0 50%; margin-bottom: 16px; }
}
@media (max-width: 480px) {
  .hs-btns,
  .hero-cta-row               { flex-direction: column; align-items: flex-start; width: 100%; max-width: 300px; }
  .hs-btns .btn-hero-primary,
  .hs-btns .btn-hero-outline,
  .hero-cta-row .btn-hero-primary,
  .hero-cta-row .btn-hero-outline { width: 100%; justify-content: center; }
  .hs-title, .hero-title      { font-size: 24px; }
  /* 1:1 — very small: square hero gives enough height for text content */
  .hero-section               { aspect-ratio: 1 / 1; }
}


/* ============================================================
   PRODUCT GRID — Uniform card height across ALL pages
   (shop.html, category.html, search.html, wishlist.html,
    product.html related-products, home page sliders)
   
   Grid wrapper uses Bootstrap row with align-items-stretch so
   every card in a row grows to the same height. The flex
   column inside .product-card (defined above) ensures the
   image stays at top and CTA button is pinned to the bottom.
   ============================================================ */

/* Make every Bootstrap grid row containing product cards stretch
   cards to equal height — one rule covers every page */
#shop-grid,
#category-grid,
#search-grid,
.wishlist-grid,
.related-grid,
.row:has(> [class*="col"] > .product-card) {
  align-items: stretch;
}

/* Ensure grid col wrappers participate in stretch */
#shop-grid > [class*="col"],
#category-grid > [class*="col"],
#search-grid > [class*="col"],
.wishlist-grid > [class*="col"],
.related-grid > [class*="col"] {
  display: flex;
  flex-direction: column;
}

/* Cards inside grid cols fill their col height */
#shop-grid .product-card,
#category-grid .product-card,
#search-grid .product-card,
.wishlist-grid .product-card,
.related-grid .product-card,
.row:has(> [class*="col"] > .product-card) .product-card {
  flex: 1 1 auto;
}

/* ── Wishlist card consistent with product card ── */
.wishlist-card-info { padding: 12px 12px 0; display: flex; flex-direction: column; flex: 1; }

/* ── Product name on grid pages: same 2-line clamp ── */
#shop-grid .product-name,
#category-grid .product-name,
#search-grid .product-name,
.wishlist-grid .product-name {
  -webkit-line-clamp: 2;
  min-height: 2.9em;
}

/* ── Responsive grid gutters ── */
@media (max-width: 575px) {
  /* On phones, 2-column grid: cards need slightly smaller padding */
  #shop-grid .product-info,
  #category-grid .product-info {
    padding: 9px 9px 0;
  }
  #shop-grid .btn-cart,
  #category-grid .btn-cart {
    margin: 8px 9px 9px;
    width: calc(100% - 18px);
    font-size: 8.5px;
    padding: 9px;
  }
  #shop-grid .product-name,
  #category-grid .product-name {
    font-size: 11px;
    min-height: 2.75em;
  }
  .price-current { font-size: 13px; }
}

/* ── About Us page banner image ── */
.about-hero-banner img {
  display: block;
  width: 100%;
  object-fit: cover;
  height: 520px;
}
@media (max-width: 768px) {
  .about-hero-banner img { height: 320px; }
}
@media (max-width: 480px) {
  .about-hero-banner img { height: 240px; }
}

/* ── Reduced-motion: disable slide animation ── */
@media (prefers-reduced-motion: reduce) {
  .hs-slide { transition: opacity 0.01ms !important; }
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 100px; right: 30px;
  background: var(--text-primary);
  color: var(--white);
  padding: 14px 22px;
  border-left: 4px solid var(--gold);
  font-size: 13px;
  z-index: 99999;
  transform: translateX(120%);
  transition: transform 0.4s ease;
  max-width: 280px;
}
.toast-notification.show { transform: translateX(0); }
.toast-notification:empty { display: none; }

/* Utility */
.text-gold { color: var(--gold); }
.bg-ivory { background: var(--ivory); }
.font-playfair { font-family: 'Playfair Display', serif; }
.section-padding { padding: 64px 0; }
.label-sm { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ============================================================
   COLOR CONSISTENCY FIXES — Green as Primary, Gold as Accent
   ============================================================ */
.text-gold { color: var(--green) !important; }
.price-current { color: var(--green) !important; }
.product-price .price-current { color: var(--green) !important; }

/* Product count / filter badges in green */
.filter-count { background: var(--green) !important; color: #fff !important; }

/* Breadcrumb active green */
.breadcrumb-custom span:last-child { color: var(--green) !important; }

/* Accordion active border green */
.accordion-button:not(.collapsed) {
  color: var(--green) !important;
  border-left: 3px solid var(--green) !important;
  background: rgba(14,59,46,0.04) !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed)::after {
  filter: hue-rotate(40deg) saturate(2) !important;
}

/* Page section numbers / stats in green */
.section-stat .num { color: var(--green) !important; }

/* Footer links hover in gold (keep) */
.footer-links a:hover { color: var(--gold-light) !important; }

/* Product overlay hearts in green when active */
.btn-action.wishlisted { background: var(--green) !important; color: var(--white) !important; }

/* Cart badge in green */
.cart-badge { background: var(--green) !important; }

/* Payment badge in green */
.payment-icon { 
  border: 1px solid rgba(201,162,39,0.3);
  color: var(--text-secondary);
  background: rgba(14,59,46,0.04);
}


/* ── ORDER STATUS BADGES ─────────────────────────────────── */
.order-status {
  font-size: 11px; font-weight: 600;
  border-radius: 20px; letter-spacing: 0.5px;
  text-transform: uppercase; padding: 5px 12px;
  display: inline-block;
}
.status-confirmed        { background: rgba(201,162,39,0.12); color: #b58a10; }
.status-processing       { background: rgba(230,126,22,0.10); color: #c96a00; }
.status-shipped          { background: rgba(52,152,219,0.10); color: #1f6ea3; }
.status-out-for-delivery { background: rgba(155,89,182,0.10); color: #7d3c98; }
.status-delivered        { background: rgba(39,174,96,0.10);  color: #1e8449; }
.status-cancelled        { background: rgba(231,76,60,0.10);  color: #c0392b; }

/* ── ORDER TIMELINE (track page & account modal) ─────────── */
.order-timeline { padding: 8px 0; }
.timeline-step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 12px 0; position: relative;
}
.timeline-step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 18px; top: 46px; bottom: -12px; width: 2px;
  background: var(--border);
}
.timeline-step.done::after, .timeline-step.active::after { background: var(--gold); }
.step-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
  background: var(--border); color: var(--text-secondary);
  border: 2px solid transparent;
}
.timeline-step.done  .step-icon { background: rgba(201,162,39,0.15); color: var(--gold); border-color: var(--gold); }
.timeline-step.active .step-icon { background: var(--gold); color: #fff; border-color: var(--gold); }
.step-content h6 { font-size: 13px; font-weight: 600; margin: 0; color: var(--text-primary); }
.step-content p  { font-size: 12px; color: var(--text-secondary); margin: 2px 0 0; }
.timeline-step:not(.done):not(.active) .step-content h6,
.timeline-step:not(.done):not(.active) .step-content p { color: var(--text-secondary); }


/* ============================================================
   DYNAMIC SECTION — SKELETON / PLACEHOLDER STYLES
   ============================================================ */

/* Category circle placeholder */
.cat-placeholder-img {
  background: linear-gradient(135deg, #EDE8DC 0%, #E0D9CB 50%, #EDE8DC 100%);
  background-size: 200% 200%;
  animation: al-shimmer 1.6s ease-in-out infinite;
}
.cat-skeleton .cat-circle-img { overflow: hidden; }
.cat-skeleton span { color: #C9B89A; }

/* Collection banner placeholder */
.banner-placeholder-bg {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1B4A38 0%, #0E2E22 50%, #1B4A38 100%);
  background-size: 200% 200%;
  animation: al-shimmer 1.6s ease-in-out infinite;
}
.banner-card-placeholder { position: relative; min-height: 300px; }
.banner-card-placeholder .banner-overlay { position: relative; z-index: 2; }

/* Instagram grid skeleton */
.ig-skeleton {
  background: linear-gradient(135deg, #EDE8DC 0%, #E0D9CB 50%, #EDE8DC 100%);
  background-size: 200% 200%;
  animation: al-shimmer 1.6s ease-in-out infinite;
  aspect-ratio: 1;
}

/* Shimmer keyframe */
@keyframes al-shimmer {
  0%   { background-position: 200% 200%; }
  100% { background-position: -200% -200%; }
}

/* IG item as <a> tag — inherits all .ig-item luxury styles */
a.ig-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   RESPONSIVENESS AUDIT FIXES — v14 Production
   Applied: 2026-06-24
   ============================================================ */

/* ── 1. Search overlay: safe padding on very small screens ── */
.search-overlay {
  padding: 80px 16px 16px;
}

/* ── 2. Page banner heading scale for mobile ── */
@media (max-width: 575px) {
  .page-banner h1 { font-size: 28px; }
  .page-banner { padding: 36px 0 32px; }
}

/* ── 3. Section headings scale for mobile ── */
@media (max-width: 575px) {
  .section-heading h2 { font-size: 26px; }
  .section-header-row h2 { font-size: 22px; }
}

/* ── 4. Product detail page: image stacks cleanly on mobile ── */
@media (max-width: 575px) {
  .product-detail-img-main { max-height: 380px; }
  .product-detail-title { font-size: 24px; }
  .product-thumbnails { gap: 6px; }
  .thumb-img { width: 60px; height: 60px; }
}

/* ── 5. Checkout form: city/state/pin — stack on very small screens ── */
@media (max-width: 400px) {
  .col-md-4 > .form-control-luxury { font-size: 12px; }
}

/* ── 6. Footer: contact column wraps cleanly on tablet ── */
@media (max-width: 767px) {
  .footer-brand p { max-width: 100%; }
  .footer-contact li { font-size: 12px; }
}

/* ── 7. Trust bar: 5-item grid — ensure clean 2-col wrap on xs ── */
@media (max-width: 575px) {
  .trust-bar .col-md.col-6:last-child {
    /* 5th item: stretch full width on xs so it doesn't sit alone left-aligned */
    width: 100%;
    flex: 0 0 100%;
  }
  .trust-item { justify-content: flex-start; }
}

/* ── 8. Testimonial cards: reduce padding on mobile ── */
@media (max-width: 575px) {
  .testimonial-card { padding: 24px 20px; }
  .testimonial-card::before { font-size: 60px; top: 14px; left: 18px; }
}

/* ── 9. Order summary card: padding on mobile ── */
@media (max-width: 575px) {
  .order-summary-card { padding: 20px 16px; }
  .coupon-input input { font-size: 12px; }
}

/* ── 10. Why Choose section: heading responsive ── */
@media (max-width: 575px) {
  .why-choose-head h2 { font-size: 26px; }
  .why-choose { padding: 44px 0; }
  .wc-ico { width: 40px; height: 40px; font-size: 17px; }
  .wc-item h5 { font-size: 13px; }
  .wc-item p { font-size: 12px; }
}

/* ── 11. Newsletter: input doesn't shrink below usable size on mobile ── */
@media (max-width: 575px) {
  .newsletter-form input { min-height: 46px; font-size: 14px; }
  .newsletter-form .btn-sub { min-height: 46px; }
}

/* ── 12. Collection banners: equal height on mobile stacked layout ── */
@media (max-width: 767px) {
  .banner-card { height: 260px; }
}

/* ── 13. About page stats: clean 2x2 grid on mobile (already col-md-3 col-6) ── */
@media (max-width: 575px) {
  .about-stat .number { font-size: 36px; }
}

/* ── 14. Large screen (≥1400px): contain content gracefully ── */
@media (min-width: 1400px) {
  .hs-title, .hero-title { font-size: 58px; }
  .hs-content { max-width: 640px; }
}

/* ── 15. Ultra-wide (≥1600px): prevent overly stretched sections ── */
@media (min-width: 1600px) {
  .ig-grid { gap: 16px; }
  .product-section { padding: 80px 0; }
}

/* ── 16. Touch devices: increase tap target sizes ── */
@media (hover: none) and (pointer: coarse) {
  .btn-action { width: 38px; height: 38px; }
  .qty-control button { width: 44px; height: 44px; }
  .slider-btn { width: 44px; height: 44px; }
  .size-btn { min-width: 48px; height: 48px; }
  .filter-check label { padding: 4px 0; min-height: 32px; }
}

/* ── 17. Prevent horizontal overflow globally ── */
html, body {
  max-width: 100%;
}

/* ============================================================
   MOBILE MENU FIX — open the offcanvas drawer BELOW the navbar
   ------------------------------------------------------------
   Previously the Bootstrap offcanvas (and its backdrop) covered the
   whole viewport, including the top-bar + header, so the drawer slid
   in OVER the navbar. We now:
     • keep the header above the drawer + backdrop (it stays visible
       and tappable while the menu is open),
     • push the drawer's top edge to the bottom of the header
       (the offset is set at runtime via the --amina-header-offset
       CSS variable in app.js, with a sensible fallback here),
     • push the backdrop down by the same offset so it never dims
       the navbar.
   The hamburger only exists below Bootstrap's lg breakpoint
   (d-lg-none), so this is scoped to <992px.
   ============================================================ */
@media (max-width: 991.98px) {
  /* Header must paint above the drawer and the backdrop. */
  .top-bar     { position: relative; z-index: 10000; }
  .main-header { z-index: 10000; }

  /* Drawer opens below the navbar (full height minus the header). */
  #mobileMenu.offcanvas-start {
    top: var(--amina-header-offset, 104px);
    height: calc(100% - var(--amina-header-offset, 104px));
    z-index: 1045;            /* below the header (10000), above the page */
    border-top: 1px solid var(--border);
  }

  /* Backdrop starts below the navbar too, so the header is never dimmed. */
  .offcanvas-backdrop.show {
    top: var(--amina-header-offset, 104px);
    height: calc(100% - var(--amina-header-offset, 104px));
  }
}
