/* =========================================================
   fern. — wellness beauty storefront
   Original design system (wellness aesthetic)
   ========================================================= */

/* ----- Design tokens ----- */
:root {
  --cream: #f6f4ef;
  --cream-2: #efeae2;
  --ink: #292826;
  --ink-soft: #6a655e;
  --sage: #8a9a7b;
  --sage-deep: #5f6f50;
  --blush: #e7d6cd;
  --line: #ece8e1;
  --white: #ffffff;

  --shadow-sm: 0 1px 3px rgba(41, 40, 38, 0.05), 0 6px 18px rgba(41, 40, 38, 0.04);
  --shadow-md: 0 18px 44px rgba(41, 40, 38, 0.10);

  --font-display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 18px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Reset ----- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.4px;
}
h1 em, h2 em, h3 em { font-style: normal; }

/* ----- Layout helpers ----- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 9vw, 120px); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 400;
  color: var(--sage-deep);
  display: inline-block;
  margin-bottom: 18px;
}

.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft); max-width: 56ch; }

.center { text-align: center; margin-inline: auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 13px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border-radius: 100px;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.4s var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* =========================================================
   Announcement bar
   ========================================================= */
.announce {
  background: var(--sage-deep);
  color: var(--cream);
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 16px;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.header.is-stuck { border-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  height: 76px;
}
.burger { order: -2; }
.brand { order: -1; }
.nav__menu { order: 0; flex: 1; display: flex; gap: 30px; justify-content: center; }
.nav__actions { order: 1; }
.nav__menu a {
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  position: relative;
  padding-block: 6px;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.4s var(--ease);
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after { width: 100%; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
  white-space: nowrap;
}
.brand__mark { width: 31px; height: 31px; color: var(--sage-deep); flex: none; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__a {
  font-family: "Dancing Script", cursive;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-left: 10px;
  line-height: 1;
}
.brand__f {
  font-family: "Great Vibes", cursive;
  font-size: 33px;
  font-weight: 400;
  color: var(--ink);
  line-height: 0.78;
  -webkit-text-stroke: 0.7px var(--ink);
  text-stroke: 0.7px var(--ink);
}
/* Real logo wordmark + botanicals (from brand artwork) */
.brand__wordmark { height: 48px; width: auto; display: block; }
.brand__leaf, .brand__lav { height: 58px; width: auto; display: block; flex: none; }

.nav__actions { display: flex; gap: 22px; justify-content: flex-end; align-items: center; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; letter-spacing: 1px; min-width: 40px; min-height: 40px; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  background: var(--ink); color: var(--cream);
  font-size: 11px; min-width: 18px; height: 18px;
  border-radius: 50%; display: inline-grid; place-items: center;
  padding: 0 5px;
}

.burger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.burger span { height: 1.5px; background: var(--ink); transition: 0.4s var(--ease); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 10%, #cdd6c0 0%, transparent 55%),
    radial-gradient(120% 100% at 10% 90%, var(--blush) 0%, transparent 50%),
    var(--cream-2);
}
.hero__inner { position: relative; z-index: 2; max-width: 640px; }
.hero h1 { font-size: clamp(30px, 8vw, 96px); font-weight: 600; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: var(--sage-deep); }
.hero .lead { margin-block: 26px 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.6;
  animation: float 16s ease-in-out infinite;
}
.blob--1 { width: 360px; height: 360px; right: 8%; top: 14%; background: radial-gradient(circle at 30% 30%, #aebd9c, #7d8e6c); }
.blob--2 { width: 220px; height: 220px; right: 30%; bottom: 12%; background: radial-gradient(circle at 30% 30%, #f0ddd3, #d9bdb0); animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-26px) scale(1.04); }
}

/* =========================================================
   Marquee / trust strip
   ========================================================= */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
}
.marquee__track {
  display: flex;
  gap: 60px;
  padding: 18px 0;
  white-space: nowrap;
  width: max-content;
  animation: scroll 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee__track span::after { content: "✦"; color: var(--sage); font-style: normal; font-size: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =========================================================
   Section heading
   ========================================================= */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(30px, 4.5vw, 52px); }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }

/* =========================================================
   Product grid + cards
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px 12px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
}
.card__cat, .card__title, .card__price { padding-inline: 6px; }
.card__media .bottle { transition: transform 0.7s var(--ease); }
.card:hover .card__media .bottle { transform: scale(1.06) rotate(-2deg); }

.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--cream);
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; z-index: 2;
}
.card__add {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  background: var(--cream); color: var(--ink);
  text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px;
  padding: 13px; border-radius: 100px; text-align: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s;
}
.card:hover .card__add { opacity: 1; transform: translateY(0); }
.card__add:hover { background: var(--ink); color: var(--cream); }

/* Touch / narrow screens have no hover — show Add to cart as a real, tappable button */
@media (hover: none), (max-width: 760px) {
  .card__media { aspect-ratio: 1 / 1; }
  .card__add {
    opacity: 1;
    transform: none;
    background: var(--ink);
    color: var(--cream);
  }
}

/* ===== Real product photos ===== */
.card__media img,
.pdp__media img,
.banner__media img,
.split__media img,
.sustain__media img,
.popular__thumb img,
.dropdown__thumb img,
.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner__media, .popular__thumb, .dropdown__thumb, .cart-item__thumb { overflow: hidden; }
/* Show the whole product (fit inside the frame with margin) instead of cropping */
.card__media { padding: 8%; }
.pdp__media { padding: 6%; }
.card__media img, .pdp__media img { object-fit: contain; }

/* ===== Legal / policy pages ===== */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(22px, 3vw, 28px); margin: 38px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--sage-deep); text-decoration: underline; }
.legal .updated { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 24px; }

.card__cat { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sage-deep); }
.card__title { font-family: var(--font-display); font-size: 22px; margin: 4px 0 2px; }
.card__price { color: var(--ink-soft); }
.card__price del { opacity: 0.5; margin-right: 8px; }

/* =========================================================
   Feature split
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.split--reverse .split__media { order: 2; }
.split__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: grid; place-items: center;
}
.split h2 { font-size: clamp(30px, 4.5vw, 54px); margin-bottom: 22px; }
.split .lead { margin-bottom: 30px; }

.tick { display: grid; gap: 16px; margin-bottom: 34px; }
.tick li { display: flex; gap: 14px; align-items: flex-start; }
.tick svg { width: 22px; height: 22px; flex: none; color: var(--sage-deep); margin-top: 2px; }
.tick strong { font-weight: 500; }

/* =========================================================
   Ingredient / values cards
   ========================================================= */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cream-2); display: grid; place-items: center;
  margin-bottom: 22px; color: var(--sage-deep);
}
.value__icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 24px; margin-bottom: 10px; }
.value p { color: var(--ink-soft); font-size: 15px; }

/* =========================================================
   Testimonials
   ========================================================= */
.quotes { background: var(--ink); color: var(--cream); }
.quotes .eyebrow { color: var(--blush); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.quote {
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.stars { color: var(--blush); letter-spacing: 4px; margin-bottom: 18px; }
.quote p { font-family: var(--font-body); font-weight: 400; font-size: 19px; line-height: 1.55; }
.quote footer { margin-top: 22px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blush); }

/* =========================================================
   Banner / CTA
   ========================================================= */
.cta-band {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 85% 20%, #cdd6c0 0%, transparent 55%),
    radial-gradient(120% 120% at 10% 90%, var(--blush) 0%, transparent 55%),
    var(--cream-2);
  padding: clamp(48px, 8vw, 96px);
  text-align: center;
}
.cta-band h2 { font-size: clamp(32px, 5vw, 60px); margin-bottom: 18px; }
.cta-band p { margin-bottom: 30px; }

/* =========================================================
   Newsletter
   ========================================================= */
.news-form { display: flex; gap: 12px; max-width: 460px; margin: 26px auto 0; flex-wrap: wrap; }
.news-form input {
  flex: 1 1 220px;
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
  font-family: inherit; font-size: 16px;
}
.news-form input:focus { outline: 2px solid var(--sage); outline-offset: 1px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--cream-2); border-top: 1px solid var(--line); padding-top: clamp(50px, 7vw, 90px); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__top h4 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 500; margin-bottom: 20px; color: var(--ink-soft); }
.footer__links li { margin-bottom: 12px; }
.footer__links a { color: var(--ink-soft); transition: color 0.3s; }
.footer__links a:hover { color: var(--ink); }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand .brand__mark { width: 44px; height: 44px; }
.footer__brand .brand__a { font-size: 19px; margin-left: 12px; }
.footer__brand .brand__f { font-size: 44px; }
.footer__brand .brand__wordmark { height: 70px; }
.footer__brand .brand__leaf, .footer__brand .brand__lav { height: 88px; }
.footer__brand p { color: var(--ink-soft); max-width: 34ch; }
.socials { display: flex; gap: 14px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: 0.4s var(--ease); }
.socials a:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 30px 0; margin-top: clamp(40px, 6vw, 70px); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }

/* =========================================================
   Cart drawer + overlay
   ========================================================= */
.overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(46,42,38,0.4);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; z-index: 100;
  width: min(420px, 90vw); height: 100%;
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  box-shadow: var(--shadow-md);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 24px; }
.drawer__close { font-size: 26px; line-height: 1; }
.drawer__body { flex: 1; overflow-y: auto; padding: 24px; }
.drawer__empty { text-align: center; color: var(--ink-soft); margin-top: 60px; }

.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item__thumb { width: 64px; height: 80px; border-radius: 8px; display: grid; place-items: center; }
.cart-item__title { font-family: var(--font-display); font-size: 18px; }
.cart-item__meta { font-size: 13px; color: var(--ink-soft); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; border: 1px solid var(--line); border-radius: 100px; padding: 2px 8px; }
.qty button { font-size: 16px; width: 20px; }
.cart-item__remove { font-size: 12px; color: var(--ink-soft); text-decoration: underline; }

.drawer__foot { padding: 24px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 8px; }
.drawer__total span:last-child { font-family: var(--font-display); font-size: 24px; }
.drawer__note { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }

/* =========================================================
   Page hero (interior pages)
   ========================================================= */
.page-hero { background: var(--cream-2); text-align: center; padding-block: clamp(50px, 8vw, 110px); }
.page-hero h1 { font-size: clamp(40px, 7vw, 82px); }
.page-hero p { margin-top: 14px; }
.crumbs { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }

/* ----- Shop toolbar ----- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 20px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  transition: 0.3s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.select { border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px; font-family: inherit; background: var(--white); }

/* =========================================================
   Product detail (PDP)
   ========================================================= */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.pdp__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; display: grid; place-items: center; position: sticky; top: 100px; }
.pdp__cat { color: var(--sage-deep); letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; }
.pdp h1 { font-size: clamp(34px, 5vw, 58px); margin: 10px 0 14px; }
.pdp__price { font-size: 26px; font-family: var(--font-display); margin-bottom: 8px; }
.pdp__rating { color: var(--sage); margin-bottom: 24px; }
.pdp__rating span { color: var(--ink-soft); font-size: 14px; margin-left: 6px; }
.pdp__opts { margin: 28px 0; }
.pdp__opts h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.pillset { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch-pill { border: 1px solid var(--line); border-radius: 100px; padding: 10px 20px; font-size: 13px; letter-spacing: 0.5px; transition: 0.3s var(--ease); background: var(--white); }
.swatch-pill:hover { border-color: var(--ink); }
.swatch-pill.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.swatches { display: flex; gap: 10px; }
.swatch { width: 42px; height: 42px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid var(--line); transition: 0.3s; }
.swatch.is-active { border-color: var(--ink); }
.pdp__buy { display: flex; gap: 12px; align-items: stretch; margin: 30px 0; flex-wrap: wrap; }
.pdp__buy .btn { flex: 1 1 200px; justify-content: center; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; text-align: left; }
.acc__head span { font-size: 22px; transition: transform 0.4s var(--ease); }
.acc__item.is-open .acc__head span { transform: rotate(45deg); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); color: var(--ink-soft); }
.acc__body p { padding-bottom: 22px; }

/* =========================================================
   About + values strip
   ========================================================= */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 30px; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(42px, 6vw, 72px); color: var(--sage-deep); line-height: 1; }
.stat p { color: var(--ink-soft); margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,6vw,70px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; padding: 14px 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); font-family: inherit; font-size: 16px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-info svg { width: 22px; color: var(--sage-deep); flex: none; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--ink); color: var(--cream); padding: 14px 26px; border-radius: 100px;
  font-size: 14px; letter-spacing: 0.5px; z-index: 120; box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease); white-space: nowrap;
}
.toast.is-show { transform: translateX(-50%) translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .split, .pdp, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .pdp__media { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav { height: 64px; gap: 14px; }
  .nav__menu { display: none; }
  .burger { display: flex; }
  .brand { margin-right: auto; }
  .brand { gap: 5px; }
  .brand__wordmark { height: 34px; }
  .brand__leaf, .brand__lav { height: 40px; }
  /* Hide the region selector on mobile to save room; keep the cart count visible */
  .nav__actions [aria-label="Region"] { display: none; }
  .nav__actions { gap: 14px; }

  /* Burger animates into an X while the menu is open */
  .burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Mobile slide nav (sits below the header so the burger stays tappable to close) */
  .mobile-nav {
    position: fixed; inset: 64px 0 0; z-index: 55;
    background: var(--cream); padding: 48px var(--gutter) 40px;
    transform: translateX(-100%); transition: transform 0.5s var(--ease);
    display: flex; flex-direction: column; gap: 6px;
    overflow-y: auto;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a { font-family: var(--font-display); font-size: 34px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 761px) { .mobile-nav { display: none; } }

@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
  .quote p { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   WONDER-STYLE STRUCTURE — added sections
   (faithful layout/structure, original content)
   ========================================================= */

/* ----- Header dropdown (Shop mega menu) ----- */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 22px; width: min(640px, 86vw);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  opacity: 0; visibility: hidden; transition: 0.35s var(--ease); z-index: 70;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 10px; transition: background 0.3s; }
.dropdown a:hover { background: var(--cream); }
.dropdown__thumb { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; }
.dropdown a span { font-size: 13px; letter-spacing: 0.5px; text-transform: none; }
.dropdown a::after { display: none; }

/* ----- Full-width hero with overlay ----- */
.hero--full {
  min-height: min(92vh, 820px);
  display: grid; place-items: center; text-align: center;
  color: var(--cream); position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(46,42,38,0.18), rgba(46,42,38,0.42)),
    radial-gradient(120% 90% at 75% 20%, #aebd9c 0%, transparent 55%),
    radial-gradient(120% 100% at 15% 90%, #cbab9c 0%, transparent 55%),
    #6f7d5e;
}
.hero--full .hero__inner { max-width: 760px; color: var(--cream); }
.hero--full .eyebrow { color: var(--blush); }
.hero--full h1 { font-size: clamp(30px, 8.5vw, 110px); color: var(--cream); }
.hero--full h1 em { color: var(--blush); }
.hero--full .lead { color: rgba(255,255,255,0.9); margin-inline: auto; }
.hero--full .hero__actions { justify-content: center; }

/* ----- Shop row: popular list + carousel ----- */
.shop-row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.shop-row > * { min-width: 0; }
.popular h3 { font-size: 26px; margin-bottom: 22px; }
.popular__list { display: grid; gap: 6px; }
.popular__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; transition: background 0.3s; }
.popular__item:hover { background: var(--white); }
.popular__thumb { width: 64px; height: 64px; border-radius: 10px; display: grid; place-items: center; }
.popular__item h4 { font-family: var(--font-display); font-size: 19px; }
.popular__item .price { font-size: 14px; color: var(--ink-soft); }
.popular__rank { font-family: var(--font-display); font-size: 30px; color: var(--line); }

/* ----- Carousel ----- */
.carousel { position: relative; min-width: 0; }
.carousel__track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 clamp(220px, 30%, 280px); }
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--white); transition: 0.3s var(--ease);
}
.carousel__btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.carousel__btn svg { width: 20px; height: 20px; }

/* ----- Stacked alternating banners ----- */
.banner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: clamp(20px, 3vw, 36px);
  min-height: 360px;
}
.banner--reverse .banner__media { order: 2; }
.banner__media { display: grid; place-items: center; }
.banner__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 64px); background: var(--white); }
.banner__body h3 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 16px; }
.banner__body p { color: var(--ink-soft); margin-bottom: 24px; }

/* ----- Benefits 6-up ----- */
.benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; text-align: center; }
.benefit__icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--sage-deep); }
.benefit__icon svg { width: 28px; height: 28px; }
.benefit h4 { font-family: var(--font-body); font-weight: 400; font-size: 14px; letter-spacing: 0.5px; }

/* ----- Press logo strip ----- */
.press { border-block: 1px solid var(--line); background: var(--white); overflow: hidden; }
.press__track { display: flex; gap: 70px; padding: 30px 0; width: max-content; animation: scroll 30s linear infinite; align-items: center; }
.press__track span { font-family: var(--font-display); font-weight: 600; letter-spacing: 1px; font-size: 22px; color: var(--ink-soft); white-space: nowrap; opacity: 0.55; }

/* ----- Blog grid ----- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.post__media { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; display: grid; place-items: center; transition: transform 0.5s var(--ease); }
.post:hover .post__media { transform: translateY(-6px); }
.post__date { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sage-deep); }
.post h3 { font-size: 24px; margin: 8px 0 10px; }
.post p { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }

/* ----- Sustainability band ----- */
.sustain {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 460px; display: grid; align-items: center; color: var(--cream);
  background: linear-gradient(90deg, rgba(46,42,38,0.55), rgba(46,42,38,0.15)),
    radial-gradient(120% 120% at 80% 30%, #8a9a7b 0%, transparent 60%), #5b6b4e;
}
.sustain__inner { max-width: 520px; padding: clamp(34px, 6vw, 70px); }
.sustain .eyebrow { color: var(--blush); }
.sustain h2 { color: var(--cream); font-size: clamp(30px, 4.5vw, 52px); margin-bottom: 18px; }
.sustain p { color: rgba(255,255,255,0.9); margin-bottom: 26px; }

/* ----- Reviews carousel (with avatars) ----- */
.review { flex: 0 0 clamp(280px, 40%, 380px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.review .stars { color: var(--sage); }
.review p { font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 1.55; margin: 14px 0 20px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--cream); font-family: var(--font-display); font-size: 20px; }
.review__name { font-weight: 400; }
.review__badge { font-size: 12px; color: var(--sage-deep); }

/* ----- Footer 5-column ----- */
.footer__top--5 { grid-template-columns: 1.1fr 1fr 1fr 1.1fr 1fr; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay span { width: 40px; height: 26px; border: 1px solid var(--line); border-radius: 5px; display: grid; place-items: center; font-size: 9px; letter-spacing: 0.5px; color: var(--ink-soft); background: var(--white); }

@media (max-width: 1100px) {
  .footer__top--5 { grid-template-columns: 1fr 1fr 1fr; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .shop-row { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; }
  .banner--reverse .banner__media { order: 0; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer__top--5 { grid-template-columns: 1fr 1fr; }
}
