/* ═══════════════════════════════════════════
   VERDANT CO. — DESIGN SYSTEM
   Homepage stylesheet
═══════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────── */
:root {
  --cream:    #F7F4EF;
  --surface:  #FDFCFA;
  --deep:     #1C2B1A;
  --forest:   #2D5016;
  --sage:     #8FA67A;
  --stone:    #C8C0B4;
  --copper:   #A0622A;
  --ink:      #1C2B1A;
  --ink-2:    #5A5A52;
  --ink-3:    #9B9B8E;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Jost', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 1px 3px rgba(28,43,26,.06), 0 1px 2px rgba(28,43,26,.04);
  --shadow-md: 0 4px 24px rgba(28,43,26,.08);
  --shadow-lg: 0 12px 48px rgba(28,43,26,.13);
  --shadow-xl: 0 24px 80px rgba(28,43,26,.18);

  --bar-h:  40px;
  --nav-h:  72px;
  --head-h: 112px; /* bar + nav combined */
}

/* ─── RESET ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; border: none; background: none; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea { font: inherit; }

/* ─── BASE ────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ─── TYPOGRAPHY ──────────────────────── */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 16px;
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -.01em;
}

.display-xl em { font-style: italic; color: var(--sage); }

.display-l {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.05;
}

.display-l em { font-style: italic; }

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
}

h3.card-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.body-copy {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}

.price {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--ink);
}

/* ─── BUTTONS ──────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 4px;
  transition: all 220ms var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--deep);
  color: var(--cream);
  border: 1px solid var(--deep);
}
.btn-primary:hover { background: var(--forest); border-color: var(--forest); }

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247,244,239,.35);
}
.btn-secondary:hover { border-color: var(--cream); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stone);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-copper {
  background: var(--copper);
  color: var(--cream);
}
.btn-copper:hover { background: #8a531f; }

.btn-sm { padding: 11px 22px; font-size: 11px; }

/* ─── 01 NAVIGATION ──────────────────── */
.nav {
  position: fixed;
  top: var(--bar-h); left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 350ms var(--ease), box-shadow 350ms var(--ease), backdrop-filter 350ms var(--ease);
}

.nav.scrolled {
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(200,192,180,.4);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-link { color: var(--ink); }

.nav.scrolled .nav-icon svg path,
.nav.scrolled .nav-icon svg rect,
.nav.scrolled .nav-icon svg circle { stroke: var(--ink); }

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247,244,239,.8);
  transition: color 200ms ease, opacity 200ms ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: currentColor;
  transition: right 280ms var(--ease);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after,
.nav.scrolled .nav-link:hover::after { right: 0; }
.nav.scrolled .nav-link { color: var(--ink-2); }
.nav.scrolled .nav-link:hover { color: var(--ink); }

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  /* fallback text styling */
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--cream);
  text-align: center;
  transition: color 350ms var(--ease);
}

.nav-logo-img {
  height: 80px;
  width: auto;
  display: none; /* hidden over dark hero — white bg logo needs light surface */
  transition: opacity 250ms var(--ease);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--cream);
  transition: opacity 250ms var(--ease);
}

/* Once nav gets white bg, show the real logo — white box vanishes into white nav */
.nav.scrolled .nav-logo-img {
  display: block;
}

.nav.scrolled .nav-logo-text {
  display: none;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* footer is dark — invert the green logo to cream white */
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 16px;
}

.nav-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
}

.nav-icon {
  color: rgba(247,244,239,.8);
  transition: color 200ms ease;
  display: flex;
  align-items: center;
}
.nav-icon:hover { color: var(--cream); }
.nav.scrolled .nav-icon { color: var(--ink-2); }
.nav.scrolled .nav-icon:hover { color: var(--ink); }

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px; right: -8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--copper);
  color: white;
  font-family: var(--font-mono);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 200ms var(--ease);
}
.cart-count.has-items { opacity: 1; transform: scale(1); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: all 280ms var(--ease);
  transform-origin: center;
}
.nav.scrolled .nav-hamburger span { background: var(--ink); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--deep);
  display: flex;
  flex-direction: column;
  padding: 100px 40px 60px;
  transform: translateX(100%);
  transition: transform 400ms var(--ease);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--cream);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: block;
}
.mobile-menu-link em { font-style: italic; color: var(--sage); }

/* ─── 02 HERO ─────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,8,.18) 0%, rgba(10,20,8,.42) 45%, rgba(10,20,8,.82) 100%),
    url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=1920&q=80') center 40% / cover no-repeat;
  animation: heroZoom 22s ease infinite alternate;
  transform-origin: center bottom;
}

@keyframes heroZoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 80px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: flex-end;
  gap: 60px;
}

.hero-headline { color: var(--cream); margin-bottom: 24px; }
.hero-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(247,244,239,.6);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}

.hero-stats { display: flex; flex-direction: column; gap: 20px; }
.hero-stat { text-align: right; }
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}
.hero-stat-key {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,244,239,.45);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(247,244,239,.35));
}
.hero-scroll::after {
  content: 'Scroll';
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247,244,239,.3);
  writing-mode: vertical-lr;
  white-space: nowrap;
}

.hero-badge {
  position: absolute;
  top: 120px;
  right: 40px;
  background: rgba(247,244,239,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(247,244,239,.15);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero-badge-icon { font-size: 20px; }
.hero-badge-text { font-family: var(--font-ui); font-size: 12px; color: var(--cream); line-height: 1.4; }
.hero-badge-text strong { display: block; font-weight: 500; }
.hero-badge-text span { color: rgba(247,244,239,.55); font-size: 11px; }

/* ─── 03 CATEGORIES ───────────────────── */
.categories {
  background: var(--cream);
  padding: 100px 0;
}

.categories-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.cats-link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--ink-2);
  padding-bottom: 2px;
  transition: color 200ms ease, border-color 200ms ease;
}
.cats-link:hover { color: var(--ink); border-color: var(--ink); }

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

.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: var(--deep);
}

.cat-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 600ms var(--ease);
  background-size: cover;
  background-position: center;
}

.cat-card:hover .cat-card-bg { transform: scale(1.04); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,43,26,.85) 0%, transparent 55%);
  transition: opacity 300ms ease;
}

.cat-card-info { position: relative; z-index: 1; }
.cat-card-name {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--cream);
  display: block;
  margin-bottom: 4px;
}
.cat-card-count {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(247,244,239,.5);
  letter-spacing: .06em;
}

/* Category background colors (replace with real photos) */
.cat-garden  { background: linear-gradient(155deg, #2a3e20 0%, #1a2e12 60%, #0d1c0a 100%); }
.cat-light   { background: linear-gradient(155deg, #3d3020 0%, #2a2010 60%, #1a1408 100%); }
.cat-water   { background: linear-gradient(155deg, #1a2e3e 0%, #0d1e2c 60%, #071420 100%); }
.cat-tools   { background: linear-gradient(155deg, #2e2e2e 0%, #1e1e1e 60%, #111111 100%); }

/* ─── 04 BEST SELLERS ─────────────────── */
.best-sellers {
  background: var(--surface);
  padding: 100px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1.1;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 18px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.product-card:hover .product-card-image img { transform: scale(1.04); }

.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDE9E3;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-sale { background: var(--copper); color: white; }
.badge-new  { background: var(--deep); color: var(--cream); }
.badge-best { background: rgba(28,43,26,.75); color: var(--cream); backdrop-filter: blur(8px); }

.product-card-quick {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--deep);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 13px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 280ms var(--ease);
}
.product-card:hover .product-card-quick { transform: translateY(0); }

.product-card-cat {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.product-card-name {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-card-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-card-price {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink);
}
.product-card-orig {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: line-through;
}
.product-card-save {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  color: var(--copper);
  background: rgba(160,98,42,.1);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ─── 05 LIFESTYLE SPLIT ──────────────── */
.lifestyle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.lifestyle-img {
  position: relative;
  overflow: hidden;
  background:
    /* Replace with: url('/images/lifestyle.jpg') center/cover no-repeat */
    linear-gradient(135deg, #1a2e12 0%, #2d4a1e 40%, #3a5a26 70%, #1a3010 100%);
}

.lifestyle-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(28,43,26,.3) 100%);
}

.lifestyle-text {
  background: var(--deep);
  padding: clamp(64px, 8vw, 120px) clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lifestyle-eyebrow { color: var(--sage); }
.lifestyle-headline { color: var(--cream); margin-bottom: 20px; }
.lifestyle-headline em { color: var(--sage); }
.lifestyle-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(247,244,239,.55);
  max-width: 380px;
  margin-bottom: 36px;
}

/* ─── 06 WHY CHOOSE US ────────────────── */
.trust {
  background: var(--forest);
  padding: 100px 0;
}

.trust-head {
  text-align: center;
  margin-bottom: 72px;
}
.trust-head .section-title { color: var(--cream); }
.trust-head .body-copy { color: rgba(247,244,239,.55); max-width: 480px; margin: 16px auto 0; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.trust-item { text-align: center; }
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(247,244,239,.06);
  border: 1px solid rgba(247,244,239,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
}
.trust-stat {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 6px;
}
.trust-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(247,244,239,.7);
  margin-bottom: 8px;
}
.trust-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(247,244,239,.4);
}

/* ─── 07 COMPARISON ───────────────────── */
.comparison {
  background: var(--cream);
  padding: 100px 0;
}

.comparison-head { text-align: center; margin-bottom: 56px; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th {
  background: var(--deep);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 20px 28px;
  text-align: left;
}

.comparison-table th:first-child { width: 40%; }

.comparison-table th.verdant-col {
  background: var(--forest);
  text-align: center;
}

.comparison-table td {
  padding: 18px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid rgba(200,192,180,.4);
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:nth-child(even) td { background: rgba(247,244,239,.6); }
.comparison-table td:not(:first-child) { text-align: center; }

.check { color: var(--forest); font-size: 18px; font-weight: 700; }
.cross { color: #C4412C; font-size: 18px; font-weight: 300; opacity: .6; }
.check-v { color: var(--sage); }

/* ─── 08 TESTIMONIALS ─────────────────── */
.testimonials {
  background: var(--surface);
  padding: 100px 0;
}

.testimonials-head {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-pull {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 300;
  font-style: italic;
  color: var(--deep);
  max-width: 720px;
  margin: 16px auto 48px;
  line-height: 1.25;
}

.testimonials-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}
.testimonials-stars span { color: var(--copper); font-size: 18px; }

.testimonials-source {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 32px;
  border: 1px solid rgba(200,192,180,.5);
  transition: box-shadow 300ms ease;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-stars { color: var(--copper); font-size: 14px; margin-bottom: 14px; }
.testimonial-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.testimonial-author { font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--ink); }
.testimonial-meta {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 4px;
}
.testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--sage);
  margin-top: 8px;
}

/* ─── 09 COLLECTIONS ──────────────────── */
.collections {
  background: var(--cream);
  padding: 100px 0;
}

.collections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.collection-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

.collection-card-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  transition: transform 600ms var(--ease);
}
.collection-card:hover .collection-card-img { transform: scale(1.03); }

.col-a { background: linear-gradient(140deg, #3d3020, #1a1408); }
.col-b { background: linear-gradient(140deg, #1a2e3e, #071420); }

.collection-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,43,26,.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.collection-card-info .eyebrow { margin-bottom: 8px; }
.collection-card-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 12px;
}
.collection-card-link {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(247,244,239,.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms ease, gap 200ms ease;
}
.collection-card:hover .collection-card-link { color: var(--cream); gap: 12px; }

/* ─── 10 BEFORE / AFTER ───────────────── */
.before-after {
  background: var(--deep);
  padding: 100px 0;
}

.before-after .section-title,
.before-after .eyebrow { text-align: center; display: block; }
.before-after .section-title { color: var(--cream); }

.slider-wrap {
  position: relative;
  max-width: 900px;
  margin: 56px auto 0;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.slider-after {
  position: absolute;
  inset: 0;
  background:
    /* Replace: url('/images/after.jpg') center/cover */
    linear-gradient(135deg, #2d4a1e 0%, #3a5e28 50%, #1a3010 100%);
}

.slider-before {
  position: absolute;
  inset: 0;
  background:
    /* Replace: url('/images/before.jpg') center/cover */
    linear-gradient(135deg, #888 0%, #bbb 50%, #999 100%);
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0ms;
}

.slider-labels {
  position: absolute;
  top: 20px; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}
.slider-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
}

.slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: white;
  pointer-events: none;
}
.slider-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.slider-handle::after {
  content: '⟵  ⟶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: var(--deep);
  font-weight: 700;
  letter-spacing: -.04em;
  pointer-events: none;
}

/* ─── 11 UGC / INSTAGRAM ─────────────── */
.ugc {
  background: var(--cream);
  padding: 100px 0;
}

.ugc-head { text-align: center; margin-bottom: 48px; }
.ugc-handle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--sage);
  margin-top: 8px;
}

.ugc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.ugc-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: #ddd;
}

.ugc-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
.ugc-item:nth-child(1) { background: linear-gradient(135deg, #2d4a1e, #1a3010); }
.ugc-item:nth-child(2) { background: linear-gradient(135deg, #3d3020, #1a1408); }
.ugc-item:nth-child(3) { background: linear-gradient(135deg, #1a2e3e, #071420); }
.ugc-item:nth-child(4) { background: linear-gradient(135deg, #2e2e2e, #111); }
.ugc-item:nth-child(5) { background: linear-gradient(135deg, #1e3218, #0d1a0d); }
.ugc-item:nth-child(6) { background: linear-gradient(135deg, #3a2a1a, #1a1208); }

.ugc-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,43,26,.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 300ms ease;
}
.ugc-item:hover .ugc-item-overlay { background: rgba(28,43,26,.55); }

.ugc-item-overlay-icon {
  font-size: 24px;
  color: white;
  opacity: 0;
  transform: scale(0.8);
  transition: all 280ms var(--ease);
}
.ugc-item:hover .ugc-item-overlay-icon { opacity: 1; transform: scale(1); }

/* ─── 12 EDUCATION ────────────────────── */
.education {
  background: var(--surface);
  padding: 100px 0;
}

.education-head { text-align: center; margin-bottom: 56px; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.article-card {
  cursor: pointer;
}

.article-card-img {
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--cream);
}
.article-card-img-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 500ms var(--ease);
}
.article-card:hover .article-card-img-inner { transform: scale(1.04); }

.art-1 { background: linear-gradient(135deg, #2d4a1e, #3a5e28); }
.art-2 { background: linear-gradient(135deg, #3a2a1a, #1a1208); }
.art-3 { background: linear-gradient(135deg, #1a2e3e, #071420); }

.article-card-cat {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}
.article-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}
.article-card-excerpt {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.article-card-link {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms ease;
}
.article-card:hover .article-card-link { gap: 10px; }

/* ─── 13 FAQ ──────────────────────────── */
.faq {
  background: var(--cream);
  padding: 100px 0;
}

.faq-head { text-align: center; margin-bottom: 64px; }

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(200,192,180,.6);
}
.faq-item:first-child { border-top: 1px solid rgba(200,192,180,.6); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 200ms ease;
}
.faq-question:hover { color: var(--forest); }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 300ms var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 300ms var(--ease), opacity 300ms ease;
}
.faq-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after  { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }

.faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease);
}
.faq-answer-inner {
  padding: 0 0 28px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 640px;
}

/* ─── 14 NEWSLETTER ───────────────────── */
.newsletter {
  background: var(--deep);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(45,80,22,.5) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner { position: relative; z-index: 1; }
.newsletter-title { color: var(--cream); margin-bottom: 12px; }
.newsletter-sub {
  font-size: 16px;
  color: rgba(247,244,239,.45);
  max-width: 380px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto 16px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(247,244,239,.15);
}

.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: none;
  padding: 16px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--cream);
  outline: none;
}
.newsletter-input::placeholder { color: rgba(247,244,239,.3); }

.newsletter-btn {
  background: var(--sage);
  color: var(--deep);
  padding: 16px 24px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 200ms ease;
  flex-shrink: 0;
}
.newsletter-btn:hover { background: #9dbf8a; }

.newsletter-fine {
  font-size: 12px;
  color: rgba(247,244,239,.25);
}

/* ─── 15 FOOTER ───────────────────────── */
.footer {
  background: #0f1c0e;
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-brand-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(247,244,239,.35);
  margin-bottom: 28px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(247,244,239,.5);
  transition: all 200ms ease;
}
.footer-social-link:hover {
  background: rgba(255,255,255,.1);
  color: var(--cream);
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247,244,239,.4);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link {
  font-size: 14px;
  color: rgba(247,244,239,.55);
  transition: color 200ms ease;
}
.footer-link:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright {
  font-size: 12px;
  color: rgba(247,244,239,.25);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(247,244,239,.25);
  transition: color 200ms ease;
}
.footer-legal a:hover { color: rgba(247,244,239,.55); }

/* ─── CART DRAWER ──────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,43,26,.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms var(--ease);
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--surface);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 380ms var(--ease);
  box-shadow: var(--shadow-xl);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--stone);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
}
.cart-close:hover { background: var(--cream); border-color: var(--stone); }
.cart-close svg { pointer-events: none; }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(200,192,180,.4);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--cream);
  overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-name {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
  line-height: 1.3;
}
.cart-item-variant {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item-price {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink);
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--stone);
  border-radius: 999px;
  padding: 6px 14px;
}
.cart-qty-btn {
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-2);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 200ms ease;
  line-height: 1;
}
.cart-qty-btn:hover { color: var(--ink); }
.cart-qty-val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  min-width: 16px;
  text-align: center;
}

.cart-drawer-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--stone);
  flex-shrink: 0;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cart-subtotal-label {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink-2);
}
.cart-subtotal-val {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
}
.cart-shipping-note {
  font-size: 12px;
  color: var(--sage);
  margin-bottom: 20px;
}
.cart-checkout-btn {
  width: 100%;
  background: var(--deep);
  color: var(--cream);
  border: none;
  border-radius: 4px;
  padding: 18px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease;
}
.cart-checkout-btn:hover { background: var(--forest); }
.cart-continue {
  display: block;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 14px;
  cursor: pointer;
  transition: color 200ms ease;
}
.cart-continue:hover { color: var(--ink); }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  gap: 12px;
}
.cart-empty-icon { font-size: 40px; opacity: .3; }
.cart-empty-text {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink-3);
}

/* ─── SCROLL REVEAL ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ─── ANNOUNCEMENT BAR ────────────────── */
.announcement-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--bar-h);
  background: var(--deep);
  color: var(--cream);
  text-align: center;
  padding: 0 40px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: .06em;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.announcement-bar em { color: var(--sage); font-style: normal; }

/* ─── BACK TO TOP ─────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: all 300ms var(--ease);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; transform: none; }
.back-to-top:hover { background: var(--forest); transform: translateY(-2px); }

/* ─── RESPONSIVE ──────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .lifestyle { grid-template-columns: 1fr; }
  .lifestyle-img { min-height: 320px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr; gap: 40px; }
  .comparison-table { font-size: 13px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .collections-grid { grid-template-columns: 1fr; }
  .ugc-grid { grid-template-columns: repeat(3, 1fr); }
  .ugc-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 0 24px 64px; }

  .categories { padding: 72px 0; }
  .cats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .best-sellers { padding: 72px 0; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .trust { padding: 72px 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .ugc-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .cart-drawer { width: 100vw; }

  .newsletter-form { flex-direction: column; border-radius: 4px; overflow: visible; border: none; gap: 12px; }
  .newsletter-input { border-radius: 4px; border: 1px solid rgba(247,244,239,.15); }
  .newsletter-btn { border-radius: 4px; padding: 15px 24px; }

  .comparison { overflow-x: auto; }
  .comparison-table { min-width: 600px; }
}

@media (max-width: 480px) {
  .cats-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .ugc-grid { grid-template-columns: 1fr 1fr; }
}
