/* ============================================================
   KANDIYAMZ® — Premium Body Oil
   styles.css — Light Theme v3.0 — Chanel-Inspired
   White backgrounds · Black text · Gold accents · Black footer
   ============================================================ */

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Backgrounds */
  --white: #ffffff;
  --off-white: #fafaf8;
  --light: #f5f4f1;
  --light-mid: #eeece8;
  --mid: #e0ddd8;

  /* Text */
  --black: #0a0a0a;
  --dark: #111111;
  --text: #1c1c1c;
  --text-mid: #222222;
  --text-light: #444444;

  /* Gold — true metallic gold */
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #9A7A28;
  --gold-gradient: linear-gradient(135deg, #C9A84C 0%, #E2C97E 50%, #9A7A28 100%);

  /* Footer */
  --footer-bg: #000000;
  --footer-text: #f0ede8;

  /* Borders */
  --border: rgba(0, 0, 0, 0.08);
  --border-mid: rgba(0, 0, 0, 0.15);
  --border-gold: rgba(201, 168, 76, 0.3);

  /* Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;

  /* Legacy font aliases so existing inline styles don't break */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --font-ui: 'Jost', system-ui, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Layout */
  --navbar-height: 72px;
  --max-width: 1320px;
  --section-pad: clamp(80px, 10vw, 130px);

  /* Legacy colour aliases so existing inline styles resolve */
  --cream: #f0ede8;
  --cream-dim: rgba(240, 237, 232, 0.6);
  --obsidian: #ffffff;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }
input, textarea, select { font-family: var(--font-sans); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, .h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--dark);
}
h2, .h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.2;
  color: var(--dark);
}
h3, .h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.3;
}
p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.editorial {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  line-height: 1.55;
  color: var(--dark);
}
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.display-heading {
  font-family: var(--font-serif);
  font-weight: 500;
}

/* ============================================================
   NAVBAR — Chanel style: white, clean, thin border
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--navbar-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06); }

/* Collapsed navbar — logo centers, links fade out */
.navbar.nav-collapsed { justify-content: center; }
.navbar.nav-collapsed .nav-links {
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.navbar.nav-collapsed .nav-actions {
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.navbar.nav-collapsed .nav-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  transition: left 0.35s ease, transform 0.35s ease;
}
.nav-links { transition: opacity 0.35s ease; overflow: visible; }
.nav-actions { transition: opacity 0.35s ease; }
.nav-logo { transition: left 0.35s ease, transform 0.35s ease; }

.nav-logo .logo-img { height: 38px; width: auto; max-width: 200px; display: block; filter: none; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mid);
  position: relative; transition: color 0.3s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--dark); }

/* ─── NAV DROPDOWN ─── */
.nav-has-dropdown > a { display: flex; align-items: center; gap: 0.3rem; }
.dropdown-caret { font-size: 0.45rem; opacity: 0.5; transition: transform .25s ease; }
.nav-has-dropdown.dropdown-open .dropdown-caret { transform: rotate(180deg); opacity: 1; }
#nav-dropdown-portal {
  position: fixed;
  background: #fff; min-width: 190px;
  border-top: 2px solid var(--gold);
  border-left: 1px solid #e8e8e8; border-right: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  list-style: none; padding: 0.6rem 0; margin: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  z-index: 99999;
}
#nav-dropdown-portal.open {
  opacity: 1; pointer-events: all;
}
#nav-dropdown-portal li a {
  display: block; padding: 10px 20px;
  font-family: var(--font-sans); font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mid); text-decoration: none;
  transition: color .2s, background .2s; white-space: nowrap;
}
#nav-dropdown-portal li a::after { display: none !important; }
#nav-dropdown-portal li a:hover { color: var(--gold); background: #fafafa; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.cart-btn {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 6px 10px; border: 1px solid var(--border); background: none;
  transition: all 0.3s ease;
}
.cart-btn:hover { border-color: var(--gold); }
.cart-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.5; }
.cart-count { font-size: 0.65rem; font-weight: 500; color: var(--gold); min-width: 16px; }

.account-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--dark);
  text-decoration: none;
  transition: color .3s;
  position: relative;
}
.account-btn:hover { color: var(--gold); }
.account-btn.logged-in::after {
  content: '';
  position: absolute; bottom: 6px; right: 6px;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  border: 1.5px solid #fff;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); background: var(--dark);
  border: none; padding: 15px 36px; cursor: pointer;
  transition: all 0.35s var(--ease); text-decoration: none;
}
.btn-primary:hover { background: var(--gold); color: var(--white); }
.btn-primary .btn-arrow { transition: transform 0.3s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); background: transparent;
  border: 1px solid rgba(255,255,255,0.6); padding: 14px 35px; cursor: pointer;
  transition: all 0.35s var(--ease); text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); color: var(--white); border-color: #fff; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); background: var(--gold);
  border: none; padding: 15px 36px; cursor: pointer;
  transition: all 0.35s var(--ease); text-decoration: none;
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(166, 124, 78, 0.3);
}

/* Generic .btn class used in older HTML */
.btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 14px 35px; cursor: pointer;
  transition: all 0.35s var(--ease); text-decoration: none; border: none;
}
.btn.btn-gold { color: var(--white); background: var(--gold); }
.btn.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(166,124,78,0.3); }
.btn.btn-ghost { color: var(--dark); background: transparent; border: 1px solid var(--dark); }
.btn.btn-ghost:hover { background: var(--dark); color: var(--white); }
.btn-lg { padding: 17px 44px !important; font-size: 0.65rem !important; }

.btn-add-bag {
  width: 100%; font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); background: var(--dark);
  border: none; padding: 16px 24px; cursor: pointer;
  transition: all 0.35s var(--ease); margin-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.btn-add-bag:hover { background: var(--gold); }
.btn-add-bag .bag-arrow { transition: transform 0.3s ease; }
.btn-add-bag:hover .bag-arrow { transform: translateX(6px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero,
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: flex-start;
  position: relative; overflow: hidden;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  padding: 0 clamp(2rem, 6vw, 8rem);
  padding-top: var(--navbar-height);
}
/* Dark overlay over photo for text legibility */
.hero::before,
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; background: transparent; pointer-events: none; }
/* Hide canvas particles — not needed on white site */
.particles-canvas { display: none !important; }

.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-eyebrow {
  font-family: var(--font-sans); font-weight: 400; font-size: 0.6rem;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1.5rem; display: block;
}
.hero-headline, .hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.12; color: #ffffff; margin-bottom: 1.5rem; max-width: 480px;
}
.hero-headline em, .hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub, .hero-subtext {
  font-size: 0.9rem; color: rgba(255,255,255,0.8);
  line-height: 1.85; max-width: 480px; margin-bottom: 2.5rem;
}
.hero-ctas, .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: clamp(2rem, 6vw, 8rem);
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); z-index: 1;
}
.hero-scroll-indicator svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.6); animation: bounce 2s ease infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ============================================================
   BRAND MARQUEE STRIP
   ============================================================ */
.brand-strip,
.marquee-strip {
  background: var(--dark);
  padding: 14px 0;
  overflow: hidden;
}
.brand-strip-track,
.marquee-inner {
  display: flex; gap: 0;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.brand-strip-track span,
.marquee-inner span {
  font-family: var(--font-sans); font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7); padding: 0 2rem;
}
.brand-strip-track .sep,
.marquee-inner .marquee-dot { color: var(--gold) !important; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   FLORAL DIVIDER
   ============================================================ */
.floral-divider {
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 0; background: var(--white);
}
.floral-divider-icon { font-size: 1rem; color: var(--gold); opacity: 0.5; }

/* ============================================================
   COLLECTION NAV STRIP
   ============================================================ */
.collection-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.collection-nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: stretch;
}
.collection-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.4rem 1rem; gap: 0.3rem;
  transition: background 0.3s ease; text-align: center;
}
.collection-nav-item:hover { background: var(--light); }
.collection-nav-label { font-family: var(--font-serif); font-size: 1rem; color: var(--dark); display: block; }
.collection-nav-sub {
  font-family: var(--font-sans); font-size: 0.58rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); opacity: 0.9; display: block;
}
.collection-nav-divider { width: 1px; background: var(--border); align-self: stretch; }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-pad { padding: var(--section-pad) clamp(1.5rem, 4vw, 4rem); }
.section-alt { background: var(--off-white); }
.section { padding: var(--section-pad) clamp(1.5rem, 4vw, 4rem); background: var(--white); }
.container { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header .eyebrow { justify-content: center; }

/* Legacy section header classes */
.section-label {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.2; color: var(--dark); margin-bottom: 1rem;
}
.section-subtitle, .section-subtext {
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.85;
}

/* ============================================================
   FEATURED PRODUCTS SECTION
   ============================================================ */
.featured-products {
  padding: var(--section-pad) clamp(1.5rem, 4vw, 4rem);
  background: var(--white);
}
.featured-products .eyebrow { text-align: center; display: block; }
.featured-products h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--dark); text-align: center; margin-bottom: 0.6rem;
}
.featured-products .section-subtext { text-align: center; margin-bottom: 3rem; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--white);
}
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRODUCT CARDS — Chanel level, clean white
   ============================================================ */
.product-card {
  background: var(--white);
  cursor: pointer; position: relative; overflow: hidden;
  transition: box-shadow 0.4s ease;
}
.product-card:hover { box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1); }

/* YAMZ Butter special treatment */
.product-card--butter .product-img-area,
.product-card--butter .product-img-wrap {
  background: #ffffff;
}
.product-card--butter .product-badge {
  background: linear-gradient(135deg, #e6b800 0%, #ff9900 100%);
  color: #000;
}

/* Image area — pure white */
.product-img-area,
.product-img-wrap {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.product-img-area img,
.product-img-wrap img {
  max-height: 85%; width: auto; object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.product-card:hover .product-img-area img,
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

/* Hover overlay */
.product-img-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1.5rem; gap: 0.5rem;
  opacity: 0; transition: opacity 0.4s ease;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.7) 0%, transparent 60%);
}
.product-card:hover .product-img-overlay { opacity: 1; }

.product-quick-view,
.product-quick-btn {
  font-family: var(--font-sans); font-size: 0.55rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dark);
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border-mid);
  padding: 9px 16px; cursor: pointer; transition: all 0.3s ease;
}
.product-quick-view:hover,
.product-quick-btn:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

.product-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-sans); font-size: 0.5rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--dark); color: var(--white);
  padding: 4px 10px; z-index: 2;
}
.product-badge.badge-gold { background: var(--gold); }

.product-info {
  padding: 1.4rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.product-collection,
.product-collection-tag {
  font-family: var(--font-sans); font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.5rem;
}
.product-name,
.product-title {
  font-family: var(--font-serif); font-weight: 500; font-size: 1.25rem;
  color: var(--dark); line-height: 1.2; margin-bottom: 0.4rem;
}
.product-tagline,
.product-tagline-text {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 0.82rem; color: var(--text-light);
  margin-bottom: 0.9rem; line-height: 1.6;
}
.product-price,
.product-price-tag {
  font-family: var(--font-sans); font-weight: 400; font-size: 0.85rem;
  letter-spacing: 0.05em; color: var(--text); display: block; margin-bottom: 0.4rem;
}
.product-size {
  font-family: var(--font-sans); font-size: 0.72rem;
  color: var(--text-light); letter-spacing: 0.05em; margin-bottom: 1rem;
}
.product-footer {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 0.5rem;
  margin-top: 0.6rem; text-align: left;
}
.add-to-bag-btn,
.product-add-btn {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.55rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); background: var(--dark);
  border: none; padding: 10px 16px; cursor: pointer;
  transition: all 0.35s var(--ease); white-space: nowrap;
}
.add-to-bag-btn:hover,
.product-add-btn:hover { background: var(--gold); }

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel-wrap {
  position: relative; display: flex; align-items: center; gap: 1rem;
}
.carousel-track-wrap { flex: 1; overflow: hidden; }
.carousel-track { display: flex; gap: 1.5rem; transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
/* 4 cards visible at desktop — compact, elegant */
.carousel-track .product-card { flex: 0 0 calc(25% - 1.15rem); min-width: 180px; }
/* Shorter image area in carousel so bottles don't dominate */
.carousel-track .product-img-wrap { aspect-ratio: 3/4; padding: 16px; }
@media (max-width: 1200px) { .carousel-track .product-card { flex: 0 0 calc(33.333% - 1rem); } }
@media (max-width: 768px) { .carousel-track .product-card { flex: 0 0 calc(50% - 0.75rem); } }
@media (max-width: 480px) { .carousel-track .product-card { flex: 0 0 100%; } }

.carousel-btn {
  width: 44px; height: 44px; border: 1px solid var(--border-mid);
  background: var(--white); display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: all 0.3s ease; color: var(--dark);
}
.carousel-btn:hover { border-color: var(--dark); background: var(--dark); color: var(--white); }
.carousel-btn svg { width: 18px; height: 18px; }

.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mid); border: none; cursor: pointer; transition: all 0.3s ease;
}
.carousel-dot.active { background: var(--dark); transform: scale(1.3); }

/* ============================================================
   PRODUCT MODAL — white/light
   ============================================================ */
.modal-overlay,
.product-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open,
.product-modal.open { opacity: 1; pointer-events: all; }

.modal-box,
.product-modal-inner {
  position: relative; z-index: 1; background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr;
  width: min(90vw, 960px); max-height: 90vh; overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}
.modal-overlay.open .modal-box,
.product-modal.open .product-modal-inner { transform: translateY(0); }

@media (max-width: 768px) {
  .modal-box, .product-modal-inner {
    grid-template-columns: 1fr; width: 95vw; overflow-y: auto;
  }
}

.modal-img-side,
.modal-img-panel {
  background: #f7f5f0;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 32px; min-height: 480px;
}
.modal-img-side img,
.modal-img-panel img { max-height: 380px; width: auto; object-fit: contain; }

.modal-info-side,
.modal-info-panel {
  padding: 2.5rem; display: flex; flex-direction: column;
  overflow-y: auto; border-left: 1px solid var(--border);
}
.modal-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light); cursor: pointer; background: none; border: none;
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); transition: color 0.3s ease;
}
.modal-close:hover { color: var(--dark); }

.modal-collection,
.modal-eyebrow {
  font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
  font-family: var(--font-sans); font-weight: 500;
}
.modal-name,
.modal-product-name {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1; color: var(--dark); margin-bottom: 0.4rem;
}
.modal-tagline {
  font-family: var(--font-serif); font-style: italic; font-size: 0.95rem;
  color: var(--text-light); margin-bottom: 1.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.modal-divider { height: 1px; background: var(--border); margin: 1rem 0; }
.modal-description,
.modal-desc {
  font-size: 0.85rem; line-height: 1.9; color: var(--text-mid);
  margin-bottom: 1.5rem; font-family: var(--font-sans);
}
.modal-details { margin-bottom: 1.2rem; }
.modal-detail-item {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
}
.modal-detail-label {
  font-family: var(--font-sans); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); font-size: 0.6rem;
}
.modal-detail-value { color: var(--dark); font-family: var(--font-sans); font-size: 0.75rem; }
.modal-size {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 1.5rem; font-family: var(--font-sans);
}
.modal-price-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem;
}
.modal-price {
  font-family: var(--font-sans); font-weight: 500; font-size: 1.1rem; color: var(--dark);
}
.modal-qty { display: flex; align-items: center; border: 1px solid var(--border-mid); }
.modal-qty-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--dark); cursor: pointer;
  font-size: 1rem; transition: background 0.2s ease;
}
.modal-qty-btn:hover { background: var(--light); }
.modal-qty-num {
  width: 40px; text-align: center; font-size: 0.85rem; color: var(--dark);
  border-left: 1px solid var(--border-mid); border-right: 1px solid var(--border-mid);
  line-height: 36px;
}
.modal-flavor-label,
.flavor-label {
  font-size: 0.55rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 0.5rem;
  display: block; font-family: var(--font-sans); font-weight: 500;
}
.flavor-options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.flavor-option {
  font-family: var(--font-sans); font-size: 0.72rem;
  padding: 6px 14px; border: 1px solid var(--border-mid);
  cursor: pointer; transition: all 0.3s ease; color: var(--text);
}
.flavor-option:hover,
.flavor-option.selected { background: var(--dark); color: var(--white); border-color: var(--dark); }

.flavor-selector select {
  width: 100%; background: var(--white); border: 1px solid var(--border-mid);
  color: var(--dark); font-family: var(--font-sans); font-size: 0.8rem;
  padding: 11px 14px; outline: none; appearance: none; cursor: pointer;
}
.qty-label {
  font-size: 0.55rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-light); font-family: var(--font-sans); font-weight: 500;
}
.qty-controls { display: flex; align-items: center; border: 1px solid var(--border-mid); }
.qty-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--dark); cursor: pointer;
  transition: background 0.2s ease;
}
.qty-btn:hover { background: var(--light); }
.qty-display {
  width: 40px; text-align: center; font-size: 0.85rem; color: var(--dark);
  border-left: 1px solid var(--border-mid); border-right: 1px solid var(--border-mid);
  line-height: 36px;
}
.modal-add-btn {
  width: 100%; font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); background: var(--dark);
  border: none; padding: 16px 24px; cursor: pointer;
  transition: all 0.35s var(--ease); margin-top: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.modal-add-btn:hover { background: var(--gold); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--navbar-height) + 48px) clamp(1.5rem, 4vw, 4rem) 56px;
  text-align: center;
  background: var(--light) !important;
}
.page-hero-eyebrow {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 1rem;
}
.page-hero-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.1; color: var(--dark); margin-bottom: 1.2rem;
}
.page-hero-sub {
  font-size: 0.9rem; color: var(--text-mid);
  line-height: 1.85; max-width: 560px; margin: 0 auto;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex; justify-content: center; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.filter-btn {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light); border: none;
  border-bottom: 2px solid transparent; background: transparent;
  padding: 1rem 1.6rem; cursor: pointer; white-space: nowrap;
  transition: all 0.3s ease;
}
.filter-btn:hover { color: var(--dark); }
.filter-btn.active { color: var(--dark); border-bottom-color: var(--dark); }
@media (max-width: 600px) {
  .filter-bar { justify-content: flex-start; }
  .filter-btn { padding: 0.85rem 1rem; font-size: 0.55rem; flex: 1 1 auto; text-align: center; }
}

/* ============================================================
   RITUAL STEPS
   ============================================================ */
.ritual-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--light); margin-top: 3rem;
}
@media (max-width: 768px) { .ritual-steps { grid-template-columns: 1fr; } }
.ritual-step { background: var(--white); padding: 3rem 2.5rem; }
.ritual-step-num {
  font-family: var(--font-serif); font-size: 3rem; font-weight: 400;
  color: #C9A84C; line-height: 1; margin-bottom: 1.5rem; display: block;
}
.ritual-step-name {
  font-family: var(--font-sans); font-size: 0.6rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.ritual-step-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 1.3rem; color: var(--dark); margin-bottom: 0.8rem;
}
.ritual-step-desc,
p.ritual-step-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.8; }

/* ============================================================
   BRAND QUOTE / QUOTE SECTION
   ============================================================ */
.quote-section,
.brand-quote-section {
  background: var(--dark);
  padding: var(--section-pad) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
}
.quote-mark {
  font-family: var(--font-serif); font-size: 8rem;
  color: var(--gold); line-height: 0.8;
  display: block; margin-bottom: -2rem;
}
blockquote.brand-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem); line-height: 1.55;
  color: var(--footer-text); max-width: 760px; margin: 0 auto 1.5rem;
  background: none; padding: 0;
}
.brand-quote-attr,
.quote-attr {
  font-family: var(--font-sans); font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); display: block;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card { padding: 2rem; border: 1px solid var(--border); background: var(--white); }
.testimonial-stars { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.testimonial-text,
p.testimonial-text {
  font-family: var(--font-serif); font-style: italic; font-size: 1rem;
  color: var(--dark); line-height: 1.7; margin-bottom: 1.2rem;
}
.testimonial-author {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light); font-family: var(--font-sans); font-weight: 500;
}

/* ============================================================
   LA SIRENE TEASER / SECTION
   ============================================================ */
.sirene-section,
.sirene-teaser {
  background: #000000 !important;
  padding: var(--section-pad) clamp(1.5rem, 4vw, 4rem);
  position: relative; overflow: hidden; text-align: center;
}
.sirene-eyebrow {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: #C9A84C; display: block; margin-bottom: 1rem;
}
.sirene-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.5rem); color: #ffffff; margin-bottom: 1.5rem; }
.sirene-sub { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.85; max-width: 600px; margin: 0 auto 2.5rem; }
.sirene-teaser h2 { font-family: var(--font-serif); color: #ffffff !important; }
.sirene-teaser p { color: rgba(255,255,255,0.85) !important; }
.sirene-teaser .eyebrow { color: #C9A84C !important; }

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section { background: var(--light); padding: var(--section-pad) clamp(1.5rem, 4vw, 4rem); text-align: center; }
.newsletter-wrap { max-width: 600px; margin: 0 auto; }
.newsletter-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 3.5vw, 3rem); color: var(--dark); margin-bottom: 0.8rem; }
.newsletter-sub, p.newsletter-sub { font-size: 0.9rem; color: var(--text-mid); line-height: 1.85; }
.newsletter-form {
  display: flex; max-width: 480px; margin: 2rem auto 0; gap: 0;
}
.newsletter-input {
  flex: 1; padding: 14px 20px;
  border: 1px solid var(--border-mid); border-right: none;
  font-size: 0.85rem; outline: none;
  background: var(--white); color: var(--dark); font-family: var(--font-sans);
}
.newsletter-input::placeholder { color: var(--text-light); }
.newsletter-input:focus { border-color: var(--dark); }
.newsletter-btn {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--dark); color: var(--white);
  border: none; padding: 14px 24px; cursor: pointer;
  transition: background 0.3s ease; white-space: nowrap;
}
.newsletter-btn:hover { background: var(--gold); }
.newsletter-privacy { font-size: 0.72rem; color: var(--text-light); margin-top: 1rem; }

/* ============================================================
   BRAND STORY (About page)
   ============================================================ */
.brand-story {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 4rem; align-items: center; margin-bottom: 4rem;
}
@media (max-width: 1024px) { .brand-story { grid-template-columns: 1fr; } }
.brand-story-text h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 3.5vw, 3rem); color: var(--dark); margin-bottom: 1.5rem; }
.brand-story-text p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 1.2rem; }
.brand-story-visual { display: flex; align-items: center; justify-content: center; }
.brand-story-emblem {
  width: 100%; max-width: 540px; height: auto; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; position: relative; padding: 1rem;
}
.brand-story-emblem::before { display: none; }
.emblem-title { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; color: var(--dark); text-align: center; line-height: 1.1; letter-spacing: 0.1em; }
.emblem-sub { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.emblem-year { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); }

/* Collection blocks on about page — override dark inline styles */
.sucre-block,
.sirene-about-block {
  background: var(--light) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  padding: 48px 56px; margin-top: 24px;
  position: relative; overflow: hidden;
}
.sucre-block::before { color: rgba(0,0,0,0.03) !important; }
.sirene-about-block::before { color: rgba(0,0,0,0.02) !important; }
.about-collection-label { font-family: var(--font-sans) !important; font-size: 0.6rem !important; letter-spacing: 0.3em !important; text-transform: uppercase !important; color: var(--gold) !important; margin-bottom: 16px !important; display: block !important; }
.about-collection-label.sirene { color: var(--gold) !important; }
.about-collection-title { font-family: var(--font-serif) !important; color: var(--dark) !important; font-size: 2rem !important; font-weight: 500 !important; margin-bottom: 20px !important; }
.about-collection-body,
.about-collection-body p { font-family: var(--font-sans) !important; color: var(--text-mid) !important; line-height: 1.9 !important; font-size: 0.9rem !important; }
.about-collection-body p + p { margin-top: 16px; }
.founder-note-quote { font-family: var(--font-serif) !important; color: #ffffff !important; }
.founder-note-attr { color: var(--gold) !important; font-family: var(--font-sans) !important; }

/* Founder section — override dark bg */
.founder-note { padding: 60px 0; text-align: center; position: relative; }

/* ============================================================
   VALUES GRID
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { padding: 2.5rem 2rem; border: 1px solid var(--border); background: var(--white); transition: box-shadow 0.3s ease; }
.value-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.value-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; border: 1px solid var(--border-gold); }
.value-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }
.value-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--dark); margin-bottom: 0.6rem; }
.value-desc, p.value-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.8; }

/* ============================================================
   GLASS CARD (FAQ / Contact page)
   ============================================================ */
.glass-card {
  background: var(--light) !important;
  border: 1px solid var(--border) !important;
  transition: box-shadow 0.3s ease;
}
.glass-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form-wrap { max-width: 680px; margin: 0 auto 3rem; }
.contact-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 0; }
.contact-info-card { padding: 1.8rem; border: 1px solid var(--border); background: var(--white); }
.contact-info-icon { width: 40px; height: 40px; border: 1px solid var(--border-gold); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.contact-info-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; }
.contact-info-title { font-family: var(--font-sans); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dark); margin-bottom: 0.4rem; }
.contact-info-value { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }
.contact-info-value a { color: var(--gold); transition: color 0.3s ease; }
.contact-info-value a:hover { color: var(--gold-dark); }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 500;
  color: var(--text-mid); margin-bottom: 0.6rem; font-family: var(--font-sans);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border-mid); background: var(--white); color: var(--dark);
  font-size: 0.9rem; outline: none; transition: border-color 0.3s ease;
  font-family: var(--font-sans); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--dark); }
.form-input.error,
.form-textarea.error { border-color: #c0392b; }
.form-textarea { min-height: 100px; resize: vertical; }
.form-error { font-family: var(--font-sans); font-size: 0.72rem; color: #c0392b; margin-top: 0.4rem; display: none; }
.form-error.visible { display: block; }
.form-submit-wrap { margin-top: 2rem; }
.form-submit-btn {
  width: 100%; font-family: var(--font-sans); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); background: var(--dark);
  border: none; padding: 16px; cursor: pointer; transition: background 0.3s ease;
}
.form-submit-btn:hover { background: var(--gold); }
.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-success {
  margin-top: 1.5rem; padding: 1rem 1.5rem;
  border: 1px solid var(--border-gold);
  font-family: var(--font-serif); font-style: italic; font-size: 0.9rem;
  color: var(--gold); display: none;
}
.form-success.visible { display: block; }

/* ============================================================
   GIFT CARD PAGE
   ============================================================ */
.gift-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 768px) { .gift-cards-grid { grid-template-columns: repeat(2, 1fr); } }
.gift-card-option {
  padding: 1rem; border: 1px solid var(--border-mid);
  text-align: center; cursor: pointer; transition: all 0.3s ease; background: var(--white);
}
.gift-card-option:hover,
.gift-card-option.selected { border-color: var(--gold); background: rgba(166,124,78,0.04); }
.gift-card-amount { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; color: var(--dark); }
.gift-card-option.selected .gift-card-amount { color: var(--gold); }
.gift-card-label { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-top: 0.3rem; }
.gift-custom-wrap { text-align: center; margin: 1.5rem 0; }
.gift-custom-label { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); display: block; margin-bottom: 0.8rem; }
.gift-custom-input {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border-mid);
  background: var(--white); color: var(--dark);
  font-family: var(--font-serif); font-size: 1.5rem; text-align: center;
  outline: none; -moz-appearance: textfield;
}
.gift-custom-input::-webkit-outer-spin-button,
.gift-custom-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.gift-custom-input:focus { border-color: var(--dark); }

/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-sidebar {
  position: fixed; top: 0; right: 0;
  width: 400px; max-width: 95vw; height: 100vh;
  background: var(--white); z-index: 1500;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column; border-left: 1px solid var(--border);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.3);
  z-index: 1400; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.cart-sidebar-overlay.open,
.cart-sidebar-overlay.visible { opacity: 1; pointer-events: all; }
.cart-header { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; color: var(--dark); }
.cart-header-count { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-top: 2px; }
.cart-close { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); cursor: pointer; font-family: var(--font-sans); transition: color 0.3s ease; background: none; border: none; }
.cart-close:hover { color: var(--dark); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; }
.cart-empty svg { width: 40px; height: 40px; stroke: var(--text-light); fill: none; margin: 0 auto 1rem; }
.cart-empty p { font-family: var(--font-serif); font-style: italic; color: var(--text-light); }
.cart-empty span { font-size: 0.75rem; color: var(--text-light); }
.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 72px; height: 72px; background: #f7f5f0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.cart-item-img img { max-height: 60px; width: auto; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: var(--font-serif); font-size: 0.95rem; color: var(--dark); margin-bottom: 2px; }
.cart-item-collection { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.6rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.3rem; }
.cart-item-controls .qty-btn { width: 28px; height: 28px; font-size: 0.9rem; border: 1px solid var(--border-mid); }
.cart-item-controls .qty-display { width: 32px; font-size: 0.8rem; border-left: none; border-right: none; line-height: 28px; }
.cart-item-remove { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); background: none; border: none; cursor: pointer; margin-left: 0.5rem; padding: 0 4px; transition: color 0.3s ease; }
.cart-item-remove:hover { color: #c0392b; }
.cart-item-price { font-family: var(--font-sans); font-size: 0.9rem; color: var(--dark); font-weight: 500; flex-shrink: 0; }
.cart-footer { padding: 1.5rem; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.cart-subtotal span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; font-family: var(--font-sans); }
.cart-subtotal-amount { font-family: var(--font-serif); font-size: 1.1rem; color: var(--dark); }
.cart-note { font-family: var(--font-sans); font-size: 0.72rem; color: var(--text-light); margin-bottom: 1rem; }
.cart-checkout-btn { width: 100%; font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; background: var(--dark); color: var(--white); border: none; padding: 15px; cursor: pointer; margin-bottom: 0.8rem; transition: background 0.3s ease; }
.cart-checkout-btn:hover { background: var(--gold); }
.cart-continue-btn { width: 100%; font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; background: transparent; color: var(--text-light); border: 1px solid var(--border); padding: 12px; cursor: pointer; transition: all 0.3s ease; }
.cart-continue-btn:hover { border-color: var(--dark); color: var(--dark); }

/* ============================================================
   FOOTER — BLACK like Chanel
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 5rem clamp(1.5rem, 4vw, 4rem) 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .footer-logo img { height: 30px; filter: none; }
/* Legacy text logo */
.footer-brand-logo { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; letter-spacing: 0.15em; color: var(--footer-text); margin-bottom: 1rem; }
.footer-brand-tagline,
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: 0.9rem; color: rgba(255,255,255,0.82); margin-top: 1rem; line-height: 1.6; max-width: 260px; }
.footer-col-title { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500; color: var(--footer-text); margin-bottom: 1.2rem; }
.footer-col ul,
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; list-style: none; }
.footer-col ul a,
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.82); transition: color 0.3s ease; }
.footer-col ul a:hover,
.footer-links a:hover { color: var(--footer-text); }
.footer-contact-item { font-size: 0.82rem; color: rgba(255,255,255,0.82); margin-bottom: 0.6rem; line-height: 1.6; }
.footer-contact-item a { color: var(--gold); transition: color 0.3s ease; }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-link,
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; color: rgba(255,255,255,0.75); }
.social-link:hover,
.footer-social a:hover { border-color: rgba(255,255,255,0.4); color: var(--footer-text); }
.social-link svg,
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copyright,
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.65); letter-spacing: 0.05em; }
.footer-email { font-size: 0.72rem; color: var(--gold); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.72rem; color: rgba(255,255,255,0.65); transition: color 0.3s ease; }
.footer-legal a:hover { color: var(--footer-text); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--dark); transition: all 0.3s ease; }
@media (max-width: 1024px) { .nav-links { display: none; } .hamburger { display: flex; } }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.25); z-index: 1100; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.mobile-nav-overlay.open,
.mobile-nav-overlay.visible { opacity: 1; pointer-events: all; }
.mobile-nav { position: fixed; top: 0; right: 0; width: 320px; height: 100vh; background: var(--white); z-index: 1200; transform: translateX(100%); transition: transform 0.4s var(--ease); padding: 5rem 2.5rem 2.5rem; border-left: 1px solid var(--border); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .nav-links { display: flex !important; flex-direction: column; gap: 2rem; }
.mobile-nav .nav-links a { font-family: var(--font-serif); font-size: 1.5rem; color: var(--dark); letter-spacing: 0; text-transform: none; }
.nav-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); cursor: pointer; background: none; border: none; font-family: var(--font-sans); }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--dark); color: var(--footer-text);
  padding: 1rem 1.5rem; min-width: 260px; max-width: 380px; z-index: 9999;
  transform: translateY(120%); opacity: 0; transition: all 0.4s var(--ease);
  border-left: 3px solid var(--gold); font-family: var(--font-sans); font-size: 0.82rem;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-title { font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; font-weight: 500; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.admin-body { background: #050505 !important; color: var(--footer-text); font-family: 'Inter', sans-serif; }
.admin-login-screen { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.07) 0%, #050505 65%); z-index: 100; }
.admin-login-box { width: 420px; background: #0d0d0d; border: 1px solid rgba(201,168,76,0.28); padding: 52px 48px; box-shadow: 0 0 80px rgba(0,0,0,0.7); }
.admin-logo-wrap { text-align: center; margin-bottom: 2.2rem; }
.admin-logo { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.2em; color: var(--footer-text); margin-bottom: 0.4rem; }
.admin-login-title { font-family: 'Inter', sans-serif; font-size: 9px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-top: 12px; }
.admin-login-error { background: rgba(192,57,43,0.1); border: 1px solid rgba(192,57,43,0.3); color: #e74c3c; font-size: 0.75rem; padding: 10px 14px; margin-bottom: 1.5rem; display: none; font-family: 'Inter', sans-serif; }
.admin-login-error.visible { display: block; }
.admin-login-box .form-label { color: rgba(201,168,76,0.65); font-family: 'Inter', sans-serif; font-size: 9px; letter-spacing: 0.25em; }
.admin-login-box .form-input { background: #111; border-color: rgba(201,168,76,0.15); color: var(--footer-text); font-family: 'Inter', sans-serif; font-size: 14px; }
.admin-login-box .form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.08); }
.admin-login-box .form-input::placeholder { color: rgba(255,255,255,0.25); }
.admin-dashboard { display: none; min-height: 100vh; }
.admin-dashboard.visible { display: flex; flex-direction: column; }
.admin-topbar { height: 64px; background: #0a0a0a; border-bottom: 1px solid rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; flex-shrink: 0; }
.admin-topbar-logo { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--footer-text); }
.admin-topbar-right { display: flex; align-items: center; gap: 1.5rem; }
.admin-user-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; }
.admin-logout-btn { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.2s; background: none; border: 1px solid rgba(255,255,255,0.1); padding: 7px 16px; }
.admin-logout-btn:hover { color: #fff; border-color: rgba(201,168,76,0.5); }
.admin-layout { display: flex; flex: 1; overflow: hidden; }
.admin-sidebar { width: 230px; background: #080808; border-right: 1px solid rgba(201,168,76,0.12); padding: 1.5rem 0; flex-shrink: 0; display: flex; flex-direction: column; gap: 2px; }
.admin-nav-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 1.5rem; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.02em; border-left: 2px solid transparent; }
.admin-nav-item svg { width: 15px; height: 15px; stroke: currentColor; fill: none; flex-shrink: 0; }
.admin-nav-item:hover { color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.03); }
.admin-nav-item.active { color: var(--gold); border-left-color: var(--gold); background: rgba(201,168,76,0.07); font-weight: 600; }
.admin-main { flex: 1; overflow-y: auto; padding: 2rem 2.5rem; background: #060606; }
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-tab-title { font-family: 'Inter', sans-serif; font-size: 1.4rem; font-weight: 600; color: var(--footer-text); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.admin-tab-sub { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,0.35); margin-bottom: 2rem; letter-spacing: 0.04em; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 1024px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
.stat-card { background: #000; border: 1px solid rgba(201,168,76,0.15); padding: 1.5rem 1.75rem; }
.stat-label { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 0.8rem; }
.stat-value { font-family: 'Inter', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--footer-text); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.stat-change { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,0.4); }
.stat-change.up { color: #5cb85c; }
.admin-chart-wrap { background: #000; border: 1px solid rgba(201,168,76,0.15); padding: 1.75rem; margin-bottom: 1.5rem; }
.admin-chart-title { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }
.css-chart { display: flex; align-items: flex-end; gap: 8px; height: 160px; }
.chart-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; gap: 6px; justify-content: flex-end; }
.chart-bar { width: 100%; background: linear-gradient(to top, rgba(166,124,78,0.6), rgba(201,160,106,0.8)); border-radius: 2px 2px 0 0; min-height: 4px; transition: opacity 0.3s ease; }
.chart-bar:hover { opacity: 0.8; }
.chart-label { font-family: 'Inter', sans-serif; font-size: 9px; letter-spacing: 0.04em; color: rgba(255,255,255,0.4); text-align: center; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; font-size: 13px; }
.admin-table th { font-size: 9px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-table td { padding: 0.9rem 1rem; color: rgba(240,237,232,0.75); border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 13px; line-height: 1.4; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(201,168,76,0.03); }
.status-badge { font-family: var(--font-sans); font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; padding: 3px 10px; }
.status-fulfilled { background: rgba(92,184,92,0.1); color: #5cb85c; }
.status-shipped { background: rgba(91,192,222,0.1); color: #5bc0de; }
.status-processing { background: rgba(240,173,78,0.1); color: #f0ad4e; }
.toggle-switch { position: relative; display: inline-block; width: 40px; height: 22px; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: rgba(255,255,255,0.1); border-radius: 22px; transition: 0.3s ease; cursor: pointer; }
.toggle-slider::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; bottom: 3px; background: rgba(240,237,232,0.4); border-radius: 50%; transition: 0.3s ease; }
.toggle-switch input:checked + .toggle-slider { background: rgba(166,124,78,0.5); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); background: var(--gold); }
.progress-bar-wrap { margin-bottom: 1.2rem; }
.progress-bar-label { display: flex; justify-content: space-between; font-family: var(--font-sans); font-size: 0.72rem; color: rgba(255,255,255,0.82); margin-bottom: 0.4rem; }
.progress-bar-track { height: 3px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, #C9A84C, #c9a06a); border-radius: 3px; transition: width 0.6s ease; }

/* ============================================================
   RESPONSIVE — FULL MOBILE COVERAGE
   ============================================================ */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-track .product-card { flex: 0 0 calc(50% - 1rem); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .brand-story { grid-template-columns: 1fr !important; }
  .contact-layout { grid-template-columns: 1fr !important; }
  .testimonials-grid { grid-template-columns: 1fr !important; }
}

/* ── Phone (≤ 768px) ── */
@media (max-width: 768px) {
  /* Hero — center on mobile, keep readable overlay */
  .hero, .hero-section {
    padding: calc(var(--navbar-height) + 2.5rem) 1.5rem 4rem;
    justify-content: center;
    text-align: center;
    min-height: 100svh;
  }
  .hero::before, .hero-section::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.58) 60%, rgba(0,0,0,0.5) 100%);
  }
  .hero-content { max-width: 100%; }
  .hero-headline, .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); max-width: 100%; }
  .hero-sub, .hero-subtext { max-width: 100%; font-size: 0.85rem; }
  .hero-ctas, .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-scroll-indicator { left: 1.5rem; }

  /* Sections — tighter padding */
  .section, .section-pad { padding: 56px 1.25rem; }
  .featured-products { padding: 56px 1.25rem; }
  .section-title { font-size: clamp(1.5rem, 5vw, 2.2rem); }

  /* Collection nav */
  .collection-nav-inner { flex-wrap: wrap; }
  .collection-nav-item { flex: 1 1 calc(50% - 1px); min-width: 140px; padding: 1rem; }

  /* Product cards */
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-info { padding: 1rem 1rem 1.5rem; }
  .product-name, .product-title { font-size: 1.05rem; }
  .product-footer { flex-direction: column; align-items: center; gap: 0.75rem; }
  .add-to-bag-btn, .product-add-btn { width: 100%; text-align: center; justify-content: center; }

  /* Carousel — keep arrows, stack dots below */
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-wrap { flex-direction: row; }

  /* Modal */
  .modal-box, .product-modal-inner {
    grid-template-columns: 1fr;
    width: 95vw;
    max-height: 95vh;
    overflow-y: auto;
  }
  .modal-img-side, .modal-img-panel { min-height: 220px; padding: 2rem; }
  .modal-info-side, .modal-info-panel {
    padding: 1.5rem;
    border-left: none;
    border-top: 1px solid var(--border);
    overflow-y: unset;
  }

  /* Gift cards — keep 4-col on phone so tiles stay compact */
  .gift-cards-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; }

  /* Contact FAQ grid — single column on mobile */
  .faq-grid { grid-template-columns: 1fr !important; }
  .glass-card { padding: 20px 18px !important; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .contact-info-card { padding: 1.2rem; }
  .contact-info-icon { width: 32px; height: 32px; margin-bottom: 0.6rem; }

  /* Ritual steps */
  .ritual-steps { grid-template-columns: 1fr !important; }

  /* Values */
  .values-grid { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  /* Admin */
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; flex-direction: row; padding: 0.5rem; overflow-x: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .admin-nav-item { flex-shrink: 0; border-left: none; border-bottom: 2px solid transparent; }
  .admin-nav-item.active { border-left-color: transparent; border-bottom-color: var(--gold); }

  /* Mobile nav — full width on small phones */
  .mobile-nav { width: 85vw; max-width: 320px; }

  /* Toast — full width */
  .toast { left: 1rem; right: 1rem; bottom: 1rem; min-width: unset; max-width: unset; }

  /* Cart sidebar */
  .cart-sidebar { width: 100% !important; max-width: 420px; }
}

/* ── Small Phone (≤ 480px) ── */
@media (max-width: 480px) {
  /* Base type */
  h1, .h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  h2, .h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }

  /* Gift card form — compact on all phones */
  .form-input, .form-textarea { font-size: 0.85rem; padding: 9px 12px; }
  .form-textarea { min-height: 80px !important; }
  .form-label { font-size: 0.55rem; }
  .form-group { margin-bottom: 1rem; }
  .gift-custom-wrap { margin: 10px 0; }
  .gift-cards-grid { gap: 6px; }
  .delivery-options { gap: 8px; }

  /* Sections */
  .section, .section-pad, .featured-products { padding: 48px 1rem; }

  /* Hero */
  .hero, .hero-section { padding: calc(var(--navbar-height) + 1.5rem) 1rem 3rem; }
  .hero-headline, .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-ctas, .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-ghost, .btn-gold { width: 100%; justify-content: center; }

  /* Collection nav — full width items */
  .collection-nav-item { flex: 1 1 100%; border-right: none !important; border-bottom: 1px solid var(--border); }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }

  /* Gift cards */
  .gift-cards-grid { grid-template-columns: 1fr !important; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; }
  .newsletter-btn { padding: 14px; width: 100%; }
  .newsletter-input { border-right: 1px solid var(--border-mid); border-bottom: none; width: 100%; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { flex-wrap: wrap; gap: 0.75rem; }

  /* Stats */
  .stat-cards { grid-template-columns: 1fr 1fr; }

  /* Buttons full width in CTA sections */
  .bc-cta-btns { flex-direction: column; align-items: center; }
  .bc-cta-btn, .bc-cta-btn-ghost { width: 100%; text-align: center; padding: 16px 24px; }
}
