/* ============================================================
   Mapambo Households — Storefront CSS
   Colors: Forest Green #1a3a2a · Gold #c9952a · Cream #faf7f0
   Fonts: Cormorant Garamond + Dancing Script + Jost
   ============================================================ */

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest:       #1a3a2a;
  --forest-deep:  #0f2219;
  --forest-light: #2a5040;
  --forest-muted: #1f4433;
  --gold:         #c9952a;
  --gold-light:   #e4b84a;
  --gold-pale:    #f5e6c0;
  --gold-dim:     rgba(201,149,42,0.12);
  --gold-border:  rgba(201,149,42,0.3);
  --cream:        #faf7f0;
  --cream-dark:   #f0ebe0;
  --white:        #ffffff;
  --text-dark:    #1a2820;
  --text-mid:     #4a5a50;
  --text-light:   rgba(232,223,200,0.75);
  --danger:       #dc3545;
  --success:      #059669;
  --border:       rgba(201,149,42,0.15);
  --shadow:       0 4px 24px rgba(10,25,18,0.1);
  --shadow-lg:    0 12px 48px rgba(10,25,18,0.18);
  --radius:       14px;
  --radius-sm:    8px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── KEYFRAMES ───────────────────────────────────────────── */
@keyframes fadeUp      { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn      { from{opacity:0} to{opacity:1} }
@keyframes slideUp     { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes shimmer     { 0%{background-position:-600px 0} 100%{background-position:600px 0} }
@keyframes spin        { to{transform:rotate(360deg)} }

/* marquee */
@keyframes marquee     { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* hero blob morph */
@keyframes morph {
  0%,100%{ border-radius:60% 40% 30% 70%/60% 30% 70% 40%; }
  25%    { border-radius:40% 60% 55% 45%/45% 65% 35% 55%; }
  50%    { border-radius:30% 70% 65% 35%/55% 45% 55% 45%; }
  75%    { border-radius:55% 45% 40% 60%/35% 60% 40% 65%; }
}
@keyframes blobFloat   { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-56%) scale(1.04)} }

/* text reveal */
@keyframes textReveal  { from{opacity:0;transform:translateY(60px) skewY(4deg)} to{opacity:1;transform:translateY(0) skewY(0)} }
@keyframes clipReveal  { from{clip-path:inset(0 100% 0 0)} to{clip-path:inset(0 0% 0 0)} }

/* shimmer sweep on button */
@keyframes shimmerSweep{ 0%{left:-75%} 60%,100%{left:125%} }

/* pulse ring */
@keyframes pulseRing   { 0%{box-shadow:0 0 0 0 rgba(201,149,42,0.5)} 70%{box-shadow:0 0 0 18px rgba(201,149,42,0)} 100%{box-shadow:0 0 0 0 rgba(201,149,42,0)} }

/* floating icon */
@keyframes floatY      { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-10px) scale(1.05)} }

/* glow pulse (badge) */
@keyframes glowPulse   { 0%,100%{opacity:1} 50%{opacity:0.7} }

/* line grow */
@keyframes lineGrow    { from{width:0} to{width:60px} }

/* page loader */
@keyframes loaderBar   { from{width:0} to{width:100%} }

/* ─── PAGE LOADER ──────────────────────────────────────────── */
#page-loader {
  position:fixed; inset:0; z-index:9999;
  background:var(--forest-deep);
  display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:20px;
  transition:opacity 0.4s ease, visibility 0.4s ease;
}
#page-loader.hidden { opacity:0; visibility:hidden; pointer-events:none; }
.loader-logo { font-family:'Dancing Script',cursive; font-size:2.4rem; color:var(--gold-light); animation:glowPulse 1.2s ease-in-out infinite; }
.loader-bar-wrap { width:160px; height:2px; background:rgba(201,149,42,0.2); border-radius:2px; overflow:hidden; }
.loader-bar { height:100%; background:linear-gradient(90deg,var(--gold),var(--gold-light)); animation:loaderBar 0.9s cubic-bezier(0.4,0,0.2,1) forwards; }

/* ─── CURSOR SPOTLIGHT ─────────────────────────────────────── */
.cursor-glow {
  position:fixed; pointer-events:none; z-index:1;
  width:480px; height:480px; border-radius:50%;
  background:radial-gradient(circle,rgba(201,149,42,0.045) 0%,transparent 65%);
  transform:translate(-50%,-50%);
  transition:opacity 0.3s;
  will-change:left,top;
}

/* ─── MARQUEE ──────────────────────────────────────────────── */
.announcement-bar { overflow:hidden; padding:0; }
.marquee-track {
  display:inline-flex; white-space:nowrap;
  animation:marquee 32s linear infinite;
}
.marquee-track:hover { animation-play-state:paused; }
.marquee-item { padding:10px 40px; font-size:0.8rem; letter-spacing:0.04em; display:inline-flex; align-items:center; gap:12px; }
.marquee-dot { width:4px; height:4px; border-radius:50%; background:var(--gold); opacity:0.5; flex-shrink:0; }

/* ─── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity:0;
  transform:translateY(48px);
  transition:opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.from-left  { transform:translateX(-50px); }
.reveal.from-right { transform:translateX(50px); }
.reveal.scale-in   { transform:scale(0.88) translateY(20px); }
.reveal.visible    { opacity:1; transform:none; }
.reveal-d1  { transition-delay:0.08s; }
.reveal-d2  { transition-delay:0.16s; }
.reveal-d3  { transition-delay:0.24s; }
.reveal-d4  { transition-delay:0.32s; }
.reveal-d5  { transition-delay:0.40s; }
.reveal-d6  { transition-delay:0.48s; }

/* ─── HERO ENHANCEMENTS ────────────────────────────────────── */
.hero-blob {
  position:absolute; width:720px; height:720px;
  top:50%; left:72%; z-index:1;
  background:radial-gradient(circle,rgba(201,149,42,0.13) 0%,rgba(42,80,64,0.07) 45%,transparent 70%);
  border-radius:60% 40% 30% 70%/60% 30% 70% 40%;
  animation:morph 14s ease-in-out infinite, blobFloat 9s ease-in-out infinite;
  pointer-events:none; filter:blur(48px);
}
.hero-badge   { animation:fadeUp 0.6s ease 0.15s both; }
.hero-title   { animation:textReveal 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s both; }
.hero-sub     { animation:fadeUp 0.7s ease 0.45s both; }
.hero-desc    { animation:fadeUp 0.7s ease 0.55s both; }
.hero-actions { animation:fadeUp 0.7s ease 0.65s both; }
.hero-stats   { animation:fadeUp 0.7s ease 0.75s both; }

/* shimmer sweep on gold CTA */
.btn-gold-hero { position:relative; overflow:hidden; animation:pulseRing 2.8s ease-out 1.8s infinite; }
.btn-gold-hero::after {
  content:''; position:absolute; top:-50%; left:-75%; width:50%; height:200%;
  background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,0.35) 50%,transparent 100%);
  transform:skewX(-20deg);
  animation:shimmerSweep 3.2s ease-in-out infinite;
}

/* hero stat number */
.stat-num { display:block; font-family:'Cormorant Garamond',serif; font-size:1.6rem; font-weight:600; color:var(--white); }

/* ─── SECTION TITLE UNDERLINE ANIMATE ─────────────────────── */
.section-title { position:relative; display:inline-block; }
.section-title::after {
  content:''; position:absolute; bottom:-6px; left:0;
  width:0; height:2px;
  background:linear-gradient(90deg,var(--gold),var(--gold-light),transparent);
  border-radius:2px;
  transition:width 0.7s cubic-bezier(0.22,1,0.36,1);
}
.section-title.animated::after { width:72px; }

/* ─── CATEGORY CARDS ───────────────────────────────────────── */
.cat-card { position:relative; overflow:hidden; }
.cat-card::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse at 50% -20%,rgba(201,149,42,0.15) 0%,transparent 65%);
  opacity:0; transition:opacity 0.4s ease;
}
.cat-card:hover::before { opacity:1; }
.cat-icon {
  display:block; font-size:2.4rem;
  transition:transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.cat-card:hover .cat-icon { transform:scale(1.3) translateY(-4px); }

/* ─── PRODUCT CARD 3D + SHINE ──────────────────────────────── */
.product-card {
  transform-style:preserve-3d;
  will-change:transform;
}
/* shine sweep */
.product-img-wrap::after {
  content:''; position:absolute; inset:0; z-index:4;
  background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,0.12) 50%,transparent 80%);
  transform:translateX(-100%);
  transition:transform 0.55s ease;
  pointer-events:none;
}
.product-card:hover .product-img-wrap::after { transform:translateX(100%); }

/* overlay gradient upgrade */
.product-overlay {
  background:linear-gradient(to top,rgba(10,25,18,0.88) 0%,rgba(10,25,18,0.25) 55%,transparent 100%);
}
.btn-add-cart { backdrop-filter:blur(4px); }
.product-card:hover .btn-add-cart { box-shadow:0 6px 20px rgba(201,149,42,0.4); }

/* ─── VALUE PROPS ──────────────────────────────────────────── */
.value-prop:hover .value-icon { animation:floatY 1.4s ease-in-out infinite; }

/* ─── BADGE ANIMATIONS ─────────────────────────────────────── */
.badge-new      { animation:glowPulse 2.4s ease-in-out infinite; }
.badge-featured { animation:glowPulse 2.4s ease-in-out 0.4s infinite; }

/* ─── FOOTER LINK UNDERLINE ────────────────────────────────── */
.footer-col a { position:relative; display:inline-block; }
.footer-col a::after {
  content:''; position:absolute; bottom:-1px; left:0;
  width:0; height:1px;
  background:var(--gold-light);
  transition:width 0.3s ease;
}
.footer-col a:hover::after { width:100%; }

/* ─── NAV LINK UNDERLINE SLIDE ─────────────────────────────── */
.nav-links a { position:relative; }
.nav-links a::after {
  content:''; position:absolute; bottom:2px; left:14px; right:14px;
  height:1.5px; background:var(--gold);
  transform:scaleX(0); transform-origin:right;
  transition:transform 0.3s ease;
}
.nav-links a:hover::after { transform:scaleX(1); transform-origin:left; }

/* ─── ANNOUNCEMENT MARQUEE ─────────────────────────────────── */
/* (overrides static announcement-bar padding set above) */

/* ─── UTILITY ─────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 72px 0; }
.bg-cream-dark { background: var(--cream-dark); }
.bg-forest { background: var(--forest-deep); }
.section-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.section-label.light { color: var(--gold-light); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--forest-deep); margin-bottom: 32px; }
.section-title.light { color: var(--white); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.view-all { font-size: 0.82rem; font-weight: 500; color: var(--gold); transition: opacity 0.2s; }
.view-all.light { color: var(--gold-light); }
.view-all:hover { opacity: 0.7; }

/* ─── ANNOUNCEMENT ────────────────────────────────────────── */
.announcement-bar {
  background: var(--forest-deep);
  color: var(--gold-pale);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ─── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,240,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 24px; height: 72px; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-dim); border: 1.5px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Dancing Script', cursive; font-size: 1.3rem; color: var(--gold);
}
.logo-name { font-family: 'Dancing Script', cursive; font-size: 1.1rem; color: var(--forest-deep); display: block; }
.logo-tagline { font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 8px 14px; font-size: 0.85rem; color: var(--text-mid); transition: color 0.2s; border-radius: 8px; }
.nav-links a:hover { color: var(--forest-deep); background: var(--gold-dim); }
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: 14px; padding: 8px; min-width: 200px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: none; z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; animation: fadeIn 0.2s ease; }
.dropdown-menu a { display: block; padding: 9px 14px; font-size: 0.83rem; border-radius: 8px; }
.dropdown-menu a:hover { background: var(--gold-dim); color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; position: relative; transition: background 0.2s; }
.nav-btn:hover { background: var(--gold-dim); }
.nav-account { background: var(--forest); color: var(--white); font-weight: 700; font-size: 0.78rem; }
.nav-cart { position: relative; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--gold); color: var(--forest-deep);
  font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.3rem; color: var(--forest); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  background: var(--forest-deep); position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 70% 50%, rgba(201,149,42,0.07) 0%, transparent 60%),
              radial-gradient(ellipse 40% 60% at 20% 80%, rgba(42,80,64,0.5) 0%, transparent 50%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 600px; padding: 80px 24px 80px 8%;
  animation: fadeUp 0.9s ease;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold-light); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px;
}
.hero-title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--white); line-height: 1.1; margin-bottom: 8px;
}
.hero-title em { color: var(--gold-light); font-style: normal; }
.hero-sub {
  font-family: 'Jost', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.22em; color: var(--gold-light); margin-bottom: 20px;
}
.hero-desc { font-size: 1.05rem; color: rgba(232,223,200,0.7); max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-gold-hero {
  padding: 15px 32px; background: linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%);
  color: var(--forest-deep); font-family: 'Jost',sans-serif; font-weight: 600;
  border-radius: 12px; font-size: 0.9rem; border: none;
  transition: all 0.25s; letter-spacing: 0.04em;
}
.btn-gold-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,149,42,0.35); }
.btn-outline-hero {
  padding: 15px 32px; background: transparent;
  border: 1px solid rgba(201,149,42,0.35); color: var(--gold-light);
  border-radius: 12px; font-size: 0.9rem; font-family: 'Jost',sans-serif;
  transition: all 0.25s;
}
.btn-outline-hero:hover { background: var(--gold-dim); }
.hero-stats { display: flex; align-items: center; gap: 20px; }
.hero-stat { text-align: center; }
.stat-num { display: block; font-family: 'Cormorant Garamond',serif; font-size: 1.6rem; font-weight: 600; color: var(--white); }
.stat-lbl { font-size: 0.7rem; color: rgba(232,223,200,0.5); letter-spacing: 0.06em; }
.hero-stat-div { width: 1px; height: 40px; background: rgba(201,149,42,0.2); }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(201,149,42,0.5); font-size: 1.2rem;
  animation: fadeUp 1s ease 0.5s both;
}

/* ─── CATEGORIES ──────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--white); border-radius: 16px; padding: 24px 16px;
  text-align: center; border: 1px solid var(--border);
  transition: all 0.3s; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--gold-border); box-shadow: var(--shadow-lg); }
.cat-icon { font-size: 2.2rem; }
.cat-name { font-family: 'Cormorant Garamond',serif; font-size: 1rem; font-weight: 600; color: var(--forest-deep); }
.cat-count { font-size: 0.72rem; color: var(--text-mid); }

/* ─── PRODUCTS ────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: all 0.3s;
  animation: fadeUp 0.5s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.product-card.dark { background: rgba(255,255,255,0.05); border-color: rgba(201,149,42,0.15); }

.product-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream-dark); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img { transform: scale(1.06); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gold); background: var(--gold-dim); }
.product-img-placeholder.dark { background: rgba(201,149,42,0.08); }

.product-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,18,0.75) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 16px; gap: 8px;
}
.product-card:hover .product-overlay { opacity: 1; }

.btn-add-cart {
  background: linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%);
  color: var(--forest-deep); border: none; border-radius: 8px;
  padding: 9px 18px; font-size: 0.8rem; font-weight: 600;
  font-family: 'Jost',sans-serif; transition: all 0.2s;
  transform: translateY(8px);
}
.product-card:hover .btn-add-cart { transform: translateY(0); }
.btn-add-cart:hover { opacity: 0.88; }
.btn-add-cart:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-view {
  background: rgba(255,255,255,0.15); color: var(--white);
  border: 1px solid rgba(255,255,255,0.3); border-radius: 8px;
  padding: 9px 14px; font-size: 0.8rem; font-weight: 500;
  transform: translateY(8px); transition: all 0.2s;
}
.product-card:hover .btn-view { transform: translateY(0); }

.badge-discount {
  position: absolute; top: 10px; left: 10px;
  background: var(--danger); color: var(--white);
  font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}
.badge-featured {
  position: absolute; top: 10px; left: 10px;
  background: var(--gold-dim); color: var(--gold-light);
  border: 1px solid var(--gold-border); font-size: 0.65rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px; letter-spacing: 0.06em;
}
.badge-new {
  position: absolute; top: 10px; left: 10px;
  background: var(--forest); color: var(--gold-light);
  font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}
.btn-wishlist {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  transition: all 0.2s; z-index: 5;
}
.btn-wishlist:hover { transform: scale(1.1); }
.btn-wishlist.active { background: #fff5f5; }

.product-body { padding: 16px; }
.product-cat { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.product-cat.light { color: var(--gold-light); }
.product-name { font-family: 'Cormorant Garamond',serif; font-size: 1.05rem; font-weight: 600; color: var(--forest-deep); margin-bottom: 5px; line-height: 1.3; }
.product-name.light a { color: var(--white); }
.product-name a:hover { color: var(--gold); }
.product-desc { font-size: 0.78rem; color: var(--text-mid); margin-bottom: 8px; line-height: 1.4; }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; margin-bottom: 8px; }
.rating-count { color: var(--text-mid); }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.product-price { font-family: 'Cormorant Garamond',serif; font-size: 1.2rem; font-weight: 600; color: var(--gold); }
.product-price.gold { color: var(--gold-light); }
.product-compare { font-size: 0.82rem; color: rgba(26,58,42,0.35); text-decoration: line-through; }
.product-compare.light { color: rgba(232,223,200,0.35); }
.product-stock { font-size: 0.72rem; font-weight: 500; color: var(--success); }
.product-stock.low { color: #d97706; }

/* ─── VALUE PROPS ─────────────────────────────────────────── */
.value-props {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.value-prop {
  text-align: center; padding: 32px 20px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: all 0.3s;
}
.value-prop:hover { transform: translateY(-3px); border-color: var(--gold-border); }
.value-icon { font-size: 2rem; margin-bottom: 10px; }
.value-title { font-family: 'Cormorant Garamond',serif; font-size: 1.05rem; font-weight: 600; color: var(--forest-deep); margin-bottom: 4px; }
.value-desc { font-size: 0.8rem; color: var(--text-mid); }

/* ─── NEWSLETTER ──────────────────────────────────────────── */
.newsletter-section { background: var(--cream-dark); }
.newsletter-box { max-width: 520px; margin: 0 auto; text-align: center; }
.newsletter-icon { font-size: 2.5rem; margin-bottom: 12px; }
.newsletter-title { font-family: 'Cormorant Garamond',serif; font-size: 1.8rem; font-weight: 600; color: var(--forest-deep); margin-bottom: 8px; }
.newsletter-desc { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 0; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.newsletter-form input { flex: 1; border: none; outline: none; padding: 14px 18px; font-family: 'Jost',sans-serif; font-size: 0.9rem; }
.newsletter-form button { background: linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%); color: var(--forest-deep); border: none; padding: 14px 24px; font-weight: 600; font-family: 'Jost',sans-serif; white-space: nowrap; transition: opacity 0.2s; }
.newsletter-form button:hover { opacity: 0.85; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--forest-deep); color: rgba(232,223,200,0.7); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-dim); border: 1.5px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-family: 'Dancing Script',cursive; color: var(--gold-light); font-size: 1.3rem; flex-shrink: 0; }
.footer-logo-name { font-family: 'Dancing Script',cursive; color: var(--white); font-size: 1.05rem; display: block; }
.footer-logo-tag { font-size: 0.52rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); display: block; }
.footer-about { font-size: 0.82rem; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { font-size: 0.75rem; color: var(--gold-light); background: rgba(201,149,42,0.1); border: 1px solid var(--gold-border); padding: 5px 12px; border-radius: 20px; transition: all 0.2s; }
.footer-social a:hover { background: var(--gold-dim); }
.footer-col h4 { font-family: 'Cormorant Garamond',serif; font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 14px; }
.footer-col a, .footer-contact-item { display: block; font-size: 0.8rem; margin-bottom: 8px; color: rgba(232,223,200,0.6); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(201,149,42,0.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; flex-wrap: wrap; gap: 12px; }
.payment-icons { display: flex; gap: 8px; }
.payment-icons span { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; }

/* ─── CART TOAST ──────────────────────────────────────────── */
.cart-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--forest); color: var(--white);
  padding: 12px 24px; border-radius: 30px; font-size: 0.85rem; font-weight: 500;
  z-index: 500; box-shadow: var(--shadow-lg);
}

/* ─── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: 'Jost',sans-serif; font-size: 0.88rem; color: var(--text-dark);
  outline: none; transition: all 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,149,42,0.1);
}
.form-group input::placeholder { color: rgba(26,58,42,0.35); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-error { color: var(--danger); font-size: 0.75rem; margin-top: 4px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; border-radius: var(--radius-sm); font-family: 'Jost',sans-serif; font-size: 0.88rem; font-weight: 500; border: none; transition: all 0.2s; text-decoration: none; }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest-light); transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%); color: var(--forest-deep); font-weight: 600; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201,149,42,0.3); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-dark); }
.btn-outline:hover { border-color: var(--gold-border); background: var(--gold-dim); }
.btn-danger { background: rgba(220,53,69,0.1); color: var(--danger); border: 1px solid rgba(220,53,69,0.2); }
.btn-full { width: 100%; justify-content: center; padding: 14px; }
.btn-lg { padding: 14px 28px; font-size: 0.95rem; }

/* ─── AUTH PAGES ──────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; background: var(--forest-deep); }
.auth-card { max-width: 480px; width: 100%; margin: 20px auto; background: var(--auth-card-bg, rgba(15,34,25,0.9)); border: 1px solid var(--gold-border); border-radius: 22px; padding: 44px 40px; backdrop-filter: blur(20px); }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo-circle { width: 80px; height: 80px; border-radius: 50%; background: var(--gold-dim); border: 1.5px solid var(--gold-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 2rem; font-weight: 600; color: var(--gold-light); }
.auth-logo-name { color: var(--white); font-size: 1.3rem; font-weight: 500; letter-spacing: 0.04em; }
.auth-logo-tag { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-top: 2px; }
.auth-title { font-size: 1.5rem; color: var(--white); text-align: center; margin-bottom: 4px; }
.auth-sub { text-align: center; font-size: 0.82rem; color: rgba(232,223,200,0.5); margin-bottom: 24px; }
.auth-input { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid var(--form-input-border, rgba(201,149,42,0.22)); border-radius: 10px; padding: 13px 16px; color: var(--white); font-size: 0.88rem; outline: none; transition: all 0.2s; }
.auth-input:focus { border-color: var(--gold); background: var(--form-input-focus, rgba(201,149,42,0.06)); }
.auth-input::placeholder { color: rgba(255,255,255,0.25); }
.auth-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 7px; }
.auth-btn { width: 100%; padding: 14px; background: linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%); color: var(--forest-deep); font-weight: 700; border: none; border-radius: 10px; font-size: 0.9rem; letter-spacing: 0.04em; transition: all 0.25s; margin-top: 8px; }
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(201,149,42,0.3); }
.auth-link { color: var(--gold-light); font-size: 0.8rem; text-align: center; display: block; margin-top: 16px; }
.auth-link a { color: var(--gold); text-decoration: underline; }
.auth-error { background: rgba(220,53,69,0.12); border: 1px solid rgba(220,53,69,0.3); border-radius: 8px; padding: 10px 14px; color: #ff8a9a; font-size: 0.8rem; margin-bottom: 14px; }
.auth-success { background: rgba(5,150,105,0.12); border: 1px solid rgba(5,150,105,0.3); border-radius: 8px; padding: 10px 14px; color: #6ee7b7; font-size: 0.8rem; margin-bottom: 14px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: rgba(255,255,255,0.2); font-size: 0.8rem; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background:rgba(201,149,42,0.15); }

/* ─── PRODUCT DETAIL ──────────────────────────────────────── */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 40px 0; }
.product-gallery-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cream-dark); margin-bottom: 12px; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 8px; }
.thumb { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.thumb.active { border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-title { font-family: 'Cormorant Garamond',serif; font-size: 2rem; font-weight: 600; margin-bottom: 12px; }
.product-detail-price { font-family: 'Cormorant Garamond',serif; font-size: 2.2rem; font-weight: 600; color: var(--gold); }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; width: fit-content; }
.qty-btn { width: 40px; height: 44px; background: var(--cream); border: none; font-size: 1.1rem; color: var(--forest); transition: background 0.15s; }
.qty-btn:hover { background: var(--gold-dim); }
.qty-val { width: 48px; height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 600; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }

/* ─── CART PAGE ───────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 40px 0; }
.cart-item { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; transition: border-color 0.2s; }
.cart-item:hover { border-color: var(--gold-border); }
.cart-item-img { width: 90px; height: 90px; border-radius: 10px; object-fit: cover; background: var(--cream-dark); flex-shrink: 0; }
.order-summary-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }

/* ─── ACCOUNT ─────────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 40px 0; }
.account-sidebar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; height: fit-content; }
.account-sidebar a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 0.85rem; color: var(--text-mid); margin-bottom: 4px; transition: all 0.2s; }
.account-sidebar a:hover, .account-sidebar a.active { background: var(--gold-dim); color: var(--gold); }

/* ─── CHECKOUT ────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 40px 0; }
.checkout-step-header { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px; }
.checkout-step-title { font-family: 'Cormorant Garamond',serif; font-size: 1.15rem; font-weight: 600; color: var(--forest-deep); }

/* ─── PAYMENT METHOD CARDS ────────────────────────────────── */
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-option { border: 2px solid var(--border); border-radius: 12px; padding: 16px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 12px; }
.payment-option:hover { border-color: var(--gold-border); background: var(--gold-dim); }
.payment-option.selected { border-color: var(--gold); background: var(--gold-dim); }
.payment-icon-box { width: 44px; height: 44px; border-radius: 10px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.payment-label { font-weight: 600; font-size: 0.88rem; color: var(--forest-deep); }
.payment-sub { font-size: 0.72rem; color: var(--text-mid); }

/* ─── ALERTS ──────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 0.85rem; margin-bottom: 16px; }
.alert-success { background: rgba(5,150,105,0.1); border: 1px solid rgba(5,150,105,0.2); color: #059669; }
.alert-error { background: rgba(220,53,69,0.1); border: 1px solid rgba(220,53,69,0.2); color: var(--danger); }
.alert-info { background: var(--gold-dim); border: 1px solid var(--gold-border); color: var(--gold); }

/* ─── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { padding: 14px 0; font-size: 0.8rem; color: var(--text-mid); }
.breadcrumb a { color: var(--text-mid); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); margin: 0 8px; }

/* ─── SKELETON LOADER ─────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg,#f0ebe0 25%,#e8e0d0 50%,#f0ebe0 75%); background-size: 600px 100%; animation: shimmer 1.6s infinite; border-radius: 8px; }

/* ─── CART ITEM (missing classes) ────────────────────────── */
.cart-item-name { font-weight: 600; font-size: 0.92rem; color: var(--forest-deep); line-height: 1.3; margin-bottom: 4px; }
.cart-item-cat  { font-size: 0.78rem; color: var(--text-mid); }
.cart-item.removing { opacity: 0; transform: translateX(24px); transition: opacity 0.3s, transform 0.3s; pointer-events: none; }

/* ─── CHECKOUT PROGRESS STEPS ─────────────────────────────── */
.checkout-progress {
  display: flex; align-items: center; margin-bottom: 32px; gap: 0;
}
.checkout-step {
  display: flex; align-items: center; gap: 10px; flex: 1;
}
.checkout-step:last-child { flex: 0; }
.step-circle {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: var(--text-mid);
  flex-shrink: 0; background: var(--white); transition: all 0.3s;
}
.step-circle.active { border-color: var(--gold); background: var(--gold); color: var(--forest-deep); }
.step-circle.done   { border-color: var(--success); background: var(--success); color: var(--white); }
.step-label { font-size: 0.78rem; font-weight: 500; color: var(--text-mid); white-space: nowrap; }
.step-label.active { color: var(--forest-deep); font-weight: 600; }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 12px; }
.step-line.done { background: var(--success); }

/* ─── MOBILE FILTER DRAWER ────────────────────────────────── */
.filter-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10,25,18,0.5); z-index: 200; backdrop-filter: blur(4px);
}
.filter-overlay.open { display: block; animation: fadeIn 0.2s ease; }
.filter-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 90vw;
  background: var(--white); z-index: 201; overflow-y: auto;
  padding: 20px; transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}
.filter-drawer.open { transform: translateX(0); }
.filter-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.filter-drawer-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--forest-deep); }
.filter-close-btn { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-mid); padding: 4px; }
.mobile-filter-btn {
  display: none; align-items: center; gap: 8px;
  padding: 9px 16px; background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; font-family: 'Jost', sans-serif; font-size: 0.84rem;
  font-weight: 500; color: var(--forest-deep); cursor: pointer; transition: all 0.2s;
}
.mobile-filter-btn:hover { border-color: var(--gold-border); background: var(--gold-dim); }
.mobile-filter-badge { background: var(--gold); color: var(--forest-deep); font-size: 0.65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }

/* ─── ACTIVE FILTER CHIPS ─────────────────────────────────── */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); border-radius: 20px; padding: 4px 12px;
  font-size: 0.75rem; font-weight: 500;
}
.filter-chip a { color: var(--gold); font-size: 0.9rem; line-height: 1; }
.filter-chip a:hover { color: var(--danger); }

/* ─── SHOP SORT BAR ───────────────────────────────────────── */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--white);
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 20px;
  flex-wrap: wrap; gap: 10px;
}
.shop-count { font-size: 0.84rem; color: var(--text-mid); }
.shop-sort { display: flex; align-items: center; gap: 8px; }
.sort-select {
  background: var(--cream); border: 1px solid var(--border); border-radius: 8px;
  padding: 7px 12px; font-family: 'Jost', sans-serif; font-size: 0.82rem;
  outline: none; color: var(--text-dark); cursor: pointer; transition: border-color 0.2s;
}
.sort-select:focus { border-color: var(--gold); }

/* ─── EMPTY STATE ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 72px 20px; }
.empty-icon  { font-size: 3.5rem; margin-bottom: 16px; }
.empty-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--forest-deep); margin-bottom: 8px; }
.empty-sub   { font-size: 0.88rem; color: var(--text-mid); }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .product-detail-grid, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* Mobile nav — slide down with transition */
  .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 12px; z-index: 99;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu-toggle { display: block; }
  .hero-content { padding: 60px 24px; }
  .hero-title { font-size: 3rem; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* Shop: show filter button, hide sidebar */
  .shop-sidebar { display: none !important; }
  .mobile-filter-btn { display: inline-flex; }
  .shop-layout { grid-template-columns: 1fr !important; }
  /* Cart items on mobile */
  .cart-item { flex-wrap: wrap; }
  .cart-item-img { width: 70px; height: 70px; }
  /* Checkout progress — hide labels */
  .step-label { display: none; }
  .step-line { margin: 0 6px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .auth-card { padding: 32px 20px; }
  .hero-actions { flex-direction: column; }
  .checkout-progress { gap: 0; }
}

/* ─── BACK TO TOP ─────────────────────────────────────────── */
#backToTop {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--white); border: none;
  display: none; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow-lg);
  cursor: pointer; transition: all 0.25s;
}
#backToTop:hover { background: var(--forest-light); transform: translateY(-3px); }

/* ─── HERO CAROUSEL PANEL ─────────────────────────────────── */
.hero { flex-direction: row; align-items: stretch; }
.hero-content { flex: 0 0 55%; display: flex; flex-direction: column; justify-content: center; }
.hero-carousel-panel { flex: 0 0 45%; }
@media (max-width: 900px) {
  .hero { flex-direction: column; min-height: auto; }
  .hero-content { flex: none; padding: 60px 24px 32px; }
  .hero-carousel-panel { flex: none; padding: 0 24px 40px; }
}
@media (max-width: 600px) {
  .hero-carousel-panel { display: none; }
  .hero-content { padding: 50px 20px 50px; }
}
