/* ============================================================
   Verdnatum — natural apothecary storefront
   Palette: deep forest + warm bone + clay/ochre accents
   Type: Fraunces (display) × Hanken Grotesk (body/UI)
   ============================================================ */

:root {
  --bg:      #F4EEE1;
  --bg-2:    #ECE2D0;
  --card:    #FBF7EE;
  --ink:     #22201B;
  --forest:  #1E3A2B;
  --forest-2:#2C4E3A;
  --clay:    #C0603A;
  --clay-d:  #A64F2E;
  --ochre:   #B6883F;
  --muted:   #6F675A;
  --line:    rgba(34, 32, 27, 0.14);
  --line-2:  rgba(34, 32, 27, 0.08);
  --shadow:  0 1px 2px rgba(30,58,43,.05), 0 8px 24px -8px rgba(30,58,43,.18);
  --shadow-lg:0 24px 60px -24px rgba(30,58,43,.45);
  --radius:  18px;
  --maxw:    1200px;
  --ease:    cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* fine grain overlay for atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }

.eyebrow {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay-d);
}

/* ---------- Announcement marquee ---------- */
.marquee {
  background: var(--forest);
  color: #EFEAD9;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  padding: 9px 0;
  will-change: transform;
  animation: marquee 34s linear infinite;
}
.marquee span::after { content: "✦"; margin-left: 3rem; color: var(--ochre); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: padding .3s var(--ease), background .3s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  max-width: var(--maxw);
  margin-inline: auto;
  transition: padding .3s var(--ease);
}
.nav.shrunk .nav__inner { padding-top: 11px; padding-bottom: 11px; }

.brand {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  display: inline-flex;
  align-items: center;
  gap: .5ch;
  color: var(--forest);
}
.brand__mark {
  width: 26px; height: 26px; flex: none;
  color: var(--clay);
}
.brand em { font-style: italic; color: var(--clay); }

.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px; background: var(--clay);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 14px; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--forest);
  color: #F4EEE1;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.cart-btn:hover { background: var(--forest-2); transform: translateY(-1px); }
.cart-btn svg { width: 17px; height: 17px; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--clay); color: #fff;
  border-radius: 999px; font-size: .72rem; font-weight: 700;
}

.hamburger {
  display: none;
  background: none; border: none; padding: 6px;
  color: var(--forest);
}
.hamburger svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .55; z-index: 0;
  pointer-events: none;
}
.hero__blob.one { width: 460px; height: 460px; right: -120px; top: -80px;
  background: radial-gradient(circle at 30% 30%, #7E9366, transparent 70%); }
.hero__blob.two { width: 380px; height: 380px; left: -100px; bottom: -140px;
  background: radial-gradient(circle at 60% 40%, #E0A579, transparent 68%); opacity: .4; }

.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -.03em;
}
.hero h1 em { font-style: italic; color: var(--clay); font-weight: 400; }
.hero__lead {
  margin: 26px 0 34px;
  font-size: 1.12rem;
  max-width: 46ch;
  color: var(--muted);
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--clay-d); transform: translateY(-2px); }
.btn--ghost { border-color: var(--forest); color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--bg); transform: translateY(-2px); }

/* hero visual card */
.hero__art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px 26px 26px;
  background:
    radial-gradient(120% 90% at 50% 0%, #3E6152 0%, #223A2E 55%, #182A20 100%);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.hero__art::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(18,28,20,.5) 2%, transparent 42%),
    radial-gradient(60% 40% at 50% 16%, rgba(230,205,150,.18), transparent 70%);
}
.hero__art svg { width: 62%; color: #D8C79A; opacity: .92; position: relative; z-index: 1; }
.hero__badge {
  position: absolute; z-index: 2;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  background: color-mix(in srgb, var(--bg) 90%, #fff);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--forest);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

/* ---------- Trust strip ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 60%, transparent);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust__item {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 20px;
  border-left: 1px solid var(--line-2);
  font-size: .86rem; font-weight: 500;
}
.trust__item:first-child { border-left: none; }
.trust__item svg { width: 26px; height: 26px; color: var(--clay); flex: none; }

/* ---------- Section headers ---------- */
.section { padding: clamp(52px, 8vw, 96px) 0; }
.section__head { max-width: 640px; margin-bottom: 42px; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 14px; }
.section__head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }

/* ---------- Filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 36px;
}
.filter {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--forest); }
.filter.active { background: var(--forest); color: var(--bg); border-color: var(--forest); }

/* ---------- Product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line); }

.card__tile {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  overflow: hidden;
}
.card__tile::before { /* soft top sheen */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 55% at 50% 12%, rgba(255,255,255,.28), transparent 70%);
}
.card__mono {
  position: absolute; z-index: 0;
  font-family: "Fraunces", serif; font-weight: 900;
  font-size: 7rem; line-height: 1;
  color: rgba(255,255,255,.10);
  right: -6px; bottom: -18px;
  user-select: none;
}
.card__icon { width: 44%; color: rgba(255,255,255,.9); position: relative; z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.22)); }
.card__tag {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  background: rgba(255,255,255,.9);
  color: var(--forest);
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}
.card__save {
  position: absolute; z-index: 2; top: 12px; right: 12px;
  background: var(--clay); color: #fff;
  font-size: .64rem; letter-spacing: .06em; font-weight: 700;
  padding: 5px 9px; border-radius: 999px;
}

.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__name { font-size: 1.12rem; font-weight: 600; }
.card__desc { color: var(--muted); font-size: .84rem; margin: 7px 0 16px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__price { font-family: "Fraunces", serif; font-size: 1.25rem; font-weight: 600; }
.card__price s { color: var(--muted); font-size: .82rem; font-weight: 400; margin-right: 6px;
  font-family: "Hanken Grotesk", sans-serif; }

.add {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--forest); color: var(--bg);
  border: none; border-radius: 999px;
  padding: 9px 15px; font-size: .8rem; font-weight: 600;
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.add:hover { background: var(--clay); transform: translateY(-1px); }
.add svg { width: 14px; height: 14px; }
.add.added { background: var(--forest-2); }

/* ---------- Story / promise ---------- */
.story { background: var(--forest); color: #EFEAD9; }
.story .section__head h2 { color: #F6F1E2; }
.story .eyebrow { color: var(--ochre); }
.promise {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 12px;
}
.promise__item { padding-top: 24px; border-top: 2px solid rgba(255,255,255,.18); }
.promise__item h3 { font-size: 1.35rem; color: #F6F1E2; margin-bottom: 10px; }
.promise__item p { color: rgba(239,234,217,.72); font-size: .95rem; }
.promise__num { font-family: "Fraunces", serif; font-style: italic; color: var(--ochre); font-size: 1rem; }

/* ---------- Newsletter ---------- */
.news { text-align: center; }
.news__box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(36px, 6vw, 66px);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.news__box::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  right: -120px; top: -120px; filter: blur(60px); opacity: .3;
  background: radial-gradient(circle, var(--ochre), transparent 70%);
}
.news h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.news p { color: var(--muted); margin: 14px auto 26px; max-width: 46ch; }
.news__form { display: flex; gap: 10px; max-width: 440px; margin-inline: auto; position: relative; z-index: 1; }
.news__form input {
  flex: 1; padding: 14px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-family: inherit; font-size: .95rem; color: var(--ink);
}
.news__form input:focus { outline: 2px solid var(--forest); outline-offset: 1px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: #D9D3C6;
  padding: clamp(52px, 7vw, 84px) 0 34px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer .brand { color: #F4EEE1; font-size: 1.7rem; }
.footer .brand__mark { color: var(--ochre); }
.footer__about { color: rgba(217,211,198,.66); max-width: 34ch; margin: 18px 0 20px; font-size: .92rem; }
.footer__col h4 { font-family: "Hanken Grotesk", sans-serif; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ochre); margin-bottom: 16px; font-weight: 700; }
.footer__col a, .footer__col p { display: block; color: rgba(217,211,198,.78); font-size: .92rem;
  margin-bottom: 11px; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 26px; flex-wrap: wrap;
  color: rgba(217,211,198,.55); font-size: .82rem;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.footer__social a:hover { background: rgba(255,255,255,.1); }
.footer__social svg { width: 16px; height: 16px; }

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(24,38,29,.42);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  backdrop-filter: blur(2px);
}
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 201;
  width: min(420px, 92vw); height: 100%;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.drawer__head h3 { font-size: 1.3rem; }
.drawer__close { background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.drawer__close:hover { color: var(--ink); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.drawer__empty svg { width: 46px; margin: 0 auto 16px; color: var(--line); }

.line {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line-2); align-items: center;
}
.line__thumb { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; }
.line__thumb svg { width: 55%; color: rgba(255,255,255,.9); }
.line__name { font-weight: 600; font-size: .92rem; }
.line__price { color: var(--muted); font-size: .82rem; }
.line__qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.line__qty button {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--card); font-size: 1rem; line-height: 1; color: var(--ink);
  display: grid; place-items: center;
}
.line__qty span { min-width: 20px; text-align: center; font-size: .9rem; font-weight: 600; }
.line__remove { background: none; border: none; color: var(--muted); font-size: .74rem;
  text-decoration: underline; padding: 0; margin-top: 6px; }

.drawer__foot { padding: 22px 24px; border-top: 1px solid var(--line); }
.drawer__sub { display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 600; }
.drawer__sub span:last-child { font-family: "Fraunces", serif; font-size: 1.35rem; }
.drawer__note { color: var(--muted); font-size: .78rem; margin-bottom: 16px; }
.drawer__checkout {
  width: 100%; background: var(--clay); color: #fff; border: none;
  padding: 15px; border-radius: 999px; font-size: 1rem; font-weight: 600;
  transition: background .2s var(--ease);
}
.drawer__checkout:hover { background: var(--clay-d); }

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px);
  background: var(--forest); color: var(--bg);
  padding: 13px 22px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow-lg); z-index: 300;
  opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Legal / prose pages ---------- */
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal__head { max-width: 760px; margin: 0 auto clamp(30px, 5vw, 48px); }
.legal__head h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; }
.legal__head .updated { color: var(--muted); font-size: .9rem; margin-top: 16px; }
.legal__toc {
  max-width: 760px; margin: 0 auto 42px; padding: 22px 26px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 16px;
}
.legal__toc h4 { font-family: "Hanken Grotesk", sans-serif; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--clay-d); margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal__toc li { margin-bottom: 7px; }
.legal__toc a:hover { color: var(--clay); text-decoration: underline; }

.prose { max-width: 760px; margin-inline: auto; }
.prose h2 {
  font-size: 1.5rem; margin: 44px 0 14px; padding-top: 14px;
  scroll-margin-top: 110px;
}
.prose h2 .n { font-family: "Hanken Grotesk", sans-serif; color: var(--clay); font-size: 1rem;
  font-weight: 700; margin-right: 10px; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.prose p, .prose li { color: #3a362f; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--clay-d); text-decoration: underline; }
.prose .callout {
  background: var(--card); border-left: 3px solid var(--ochre);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 22px 0; font-size: .95rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

.hero__grid > * .reveal, .hero .reveal { }
.hero [data-d] { animation: rise .9s var(--ease) both; }
.hero [data-d="1"] { animation-delay: .05s; }
.hero [data-d="2"] { animation-delay: .16s; }
.hero [data-d="3"] { animation-delay: .28s; }
.hero [data-d="4"] { animation-delay: .40s; }
.hero__art { animation: rise 1s var(--ease) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 380px; margin-inline: auto; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: none; }
  .promise { grid-template-columns: 1fr; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .legal__toc ol { columns: 1; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 14px 28px 22px;
  }
  .hamburger { display: inline-flex; }
  .cart-btn span.label { display: none; }
}
@media (max-width: 620px) {
  .wrap, .nav__inner { padding-inline: 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card__body { padding: 14px; }
  .card__name { font-size: 1rem; }
  .add span { display: none; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Product renders, ratings, badges, featured, reviews
   ============================================================ */
.prender { width: 100%; height: 100%; display: block; }
.pmedia { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__main .pmedia, .rel__tile .pmedia, .pdp__thumb .pmedia { aspect-ratio: 1 / 1; }
.hero__prod .pmedia { width: 100%; height: 100%; object-fit: cover; }

.hero__prod { width: 100%; height: 100%; position: relative; z-index: 0; }
.hero__prod .prender { width: 88%; height: auto; margin: auto; filter: drop-shadow(0 26px 40px rgba(0,0,0,.4)); }

.card__badge {
  position: absolute; z-index: 2; top: 12px; right: 12px;
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}
.card__badge--best { background: var(--clay); color: #fff; }
.card__badge--new  { background: var(--forest); color: var(--bg); }

.rating { display: flex; align-items: center; gap: 8px; margin: 8px 0 2px; }
.rating__stars { display: inline-flex; color: var(--ochre); }
.rating__stars svg { width: 14px; height: 14px; }
.rating__c { font-size: .76rem; color: var(--muted); font-weight: 500; }

/* Featured */
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.featured__art { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); }
.featured__art .prender { height: auto; }
.featured__copy h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 14px 0 16px; }
.featured__copy > p { color: var(--muted); font-size: 1.05rem; }
.featured__list { list-style: none; padding: 0; margin: 22px 0 28px; }
.featured__list li { position: relative; padding-left: 30px; margin-bottom: 13px; font-weight: 500; }
.featured__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--forest); }
.featured__list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg); }
.featured__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.featured__price { font-family: "Fraunces", serif; font-size: 1.9rem; font-weight: 600; }
.featured__foot .add { padding: 14px 26px; font-size: .95rem; }

/* Reviews */
.reviews { background: color-mix(in srgb, var(--bg-2) 55%, transparent); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: 30px; margin: 0; box-shadow: var(--shadow); }
.review__stars { color: var(--ochre); letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; font-family: "Fraunces", serif; font-size: 1.1rem; line-height: 1.5; color: var(--ink); }
.review figcaption { font-size: .86rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); }

@media (max-width: 900px) {
  .featured__grid { grid-template-columns: 1fr; }
  .featured__art { max-width: 440px; margin-inline: auto; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* Card title link */
.card a { color: inherit; text-decoration: none; }
.card__name-link { display: block; }
.card__name-link:hover .card__name { color: var(--clay); }

/* ============================================================
   Product detail page
   ============================================================ */
.pdp { padding: 18px 0 clamp(56px, 8vw, 96px); }
.crumbs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  font-size: .84rem; color: var(--muted); padding: 12px 0 28px; }
.crumbs a:hover { color: var(--clay); }
.crumbs span:last-child { color: var(--ink); }

.pdp__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.pdp__gallery { position: sticky; top: 96px; }
.pdp__main { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); }
.pdp__main .prender { height: auto; }
.pdp__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp__thumb { width: 82px; height: 82px; border-radius: 14px; overflow: hidden;
  border: 2px solid transparent; background: var(--card); padding: 0; cursor: pointer; transition: border-color .2s var(--ease); }
.pdp__thumb.active { border-color: var(--forest); }
.pdp__thumb .prender { height: 100%; }

.pdp__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pdp__badge { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.pdp__badge--best { background: var(--clay); color: #fff; }
.pdp__badge--new  { background: var(--forest); color: var(--bg); }
.pdp__title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 500; letter-spacing: -.02em; }
.pdp__rating { margin: 16px 0 4px; }
.pdp__price { font-family: "Fraunces", serif; font-size: 1.95rem; font-weight: 600; margin: 12px 0 18px; }
.pdp__size { font-family: "Hanken Grotesk", sans-serif; font-size: .95rem; color: var(--muted); font-weight: 500; }
.pdp__lead { color: #3a362f; font-size: 1.05rem; max-width: 52ch; }
.pdp__benefits { list-style: none; padding: 0; margin: 22px 0; }
.pdp__benefits li { position: relative; padding-left: 30px; margin-bottom: 11px; font-weight: 500; }
.pdp__benefits li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--forest); }
.pdp__benefits li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg); }
.pdp__included { background: var(--card); border-left: 3px solid var(--ochre); padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: .92rem; margin: 0 0 24px; }

.pdp__buy { display: flex; gap: 12px; margin: 24px 0 12px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.qty button { width: 44px; height: 50px; border: none; background: transparent; font-size: 1.2rem; color: var(--ink); }
.qty button:hover { background: var(--bg-2); }
.qty span { min-width: 34px; text-align: center; font-weight: 600; }
.pdp__add { flex: 1; justify-content: center; }
.pdp__buynow { width: 100%; justify-content: center; margin-bottom: 26px; }

.pdp__trust { display: flex; flex-direction: column; gap: 9px; padding: 20px 0; margin-bottom: 6px;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-size: .87rem; color: var(--muted); font-weight: 500; }
.pdp__trust span { color: var(--forest-2); }

.acc { border-bottom: 1px solid var(--line-2); }
.acc summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.35rem; color: var(--clay); font-weight: 400; line-height: 1; }
.acc[open] summary::after { content: "–"; }
.acc__body { padding: 0 0 20px; color: #3a362f; }
.acc__body ul { margin: 0; padding-left: 20px; }
.acc__body li { margin-bottom: 6px; }
.acc__note { font-size: .84rem; color: var(--muted); margin-top: 12px; }

.pdp__section { margin-top: clamp(48px, 7vw, 84px); }
.pdp__h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 26px; }

.rel__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rel { display: block; color: inherit; }
.rel__tile { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  background: var(--card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.rel:hover .rel__tile { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rel__tile .prender { height: 100%; }
.rel__name { font-weight: 600; margin-top: 12px; }
.rel__name:hover { color: var(--clay); }
.rel__meta { color: var(--ochre); display: flex; margin-top: 4px; }
.rel__meta .rating__stars { display: inline-flex; }
.rel__meta svg { width: 13px; height: 13px; }
.rel__price { font-family: "Fraunces", serif; font-weight: 600; margin-top: 3px; }

@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
  .pdp__main { max-width: 460px; }
  .rel__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pdp__buy { flex-wrap: wrap; }
  .pdp__add { width: 100%; flex: none; }
}

/* ============================================================
   Checkout + order confirmation
   ============================================================ */
.co-nav { border-bottom: 1px solid var(--line-2); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.co-nav__inner { max-width: var(--maxw); margin-inline: auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.co-nav__secure { font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.co-nav__secure svg { width: 15px; height: 15px; color: var(--forest); }

.co { padding: 30px 0 clamp(56px, 8vw, 90px); }
.co__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 58px); align-items: start; }
.co__back { font-size: .88rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; }
.co__back:hover { color: var(--clay); }

.co__section { margin-bottom: 30px; }
.co__section h2 { font-size: 1.2rem; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--card); font-family: inherit; font-size: .95rem; color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: transparent; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }

.ship-opts { display: flex; flex-direction: column; gap: 10px; }
.ship-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.ship-opt input { accent-color: var(--forest); width: 18px; height: 18px; }
.ship-opt.selected { border-color: var(--forest); background: color-mix(in srgb, var(--forest) 6%, transparent); }
.ship-opt__name { font-weight: 600; font-size: .92rem; }
.ship-opt__desc { font-size: .8rem; color: var(--muted); }
.ship-opt__price { margin-left: auto; font-weight: 600; font-family: "Fraunces", serif; }

.pay-note { background: color-mix(in srgb, var(--ochre) 15%, var(--card)); border: 1px solid color-mix(in srgb, var(--ochre) 45%, transparent);
  border-radius: 12px; padding: 12px 14px; font-size: .83rem; color: #5b4a1c; margin-bottom: 16px; display: flex; gap: 10px; line-height: 1.45; }
.pay-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ochre); }

.co__summary { position: sticky; top: 92px; background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.co__summary h2 { font-size: 1.15rem; margin-bottom: 16px; }
.co__line { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.co__thumb { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; position: relative; background: var(--bg-2); }
.co__thumb .prender, .co__thumb .pmedia { width: 100%; height: 100%; }
.co__qbadge { position: absolute; top: -7px; right: -7px; width: 21px; height: 21px; background: var(--forest); color: #fff; border-radius: 50%; font-size: .7rem; display: grid; place-items: center; font-weight: 700; border: 2px solid var(--card); }
.co__lname { font-weight: 600; font-size: .9rem; }
.co__lqty { color: var(--muted); font-size: .8rem; }
.co__lprice { font-weight: 600; font-size: .9rem; }
.co__promo { display: flex; gap: 8px; margin: 18px 0 4px; }
.co__promo input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); font-family: inherit; font-size: .9rem; }
.co__promo button { border: 1.5px solid var(--line); background: transparent; border-radius: 10px; padding: 0 16px; font-weight: 600; font-size: .85rem; }
.co__promo button:hover { border-color: var(--forest); }
.co__promo-msg { font-size: .8rem; margin: 4px 0 0; min-height: 1em; }
.co__promo-msg.ok { color: var(--forest-2); }
.co__promo-msg.no { color: var(--clay-d); }
.co__totals { margin-top: 18px; }
.co__trow { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: .92rem; color: var(--muted); }
.co__trow.total { color: var(--ink); font-weight: 700; font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: 15px; margin-top: 6px; }
.co__trow.total span:last-child { font-family: "Fraunces", serif; font-size: 1.4rem; }
.co__pay { width: 100%; justify-content: center; margin-top: 20px; font-size: 1rem; }
.co__secure { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 14px; display: flex; gap: 6px; justify-content: center; align-items: center; }
.co__secure svg { width: 14px; height: 14px; }
.co__empty { text-align: center; padding: 70px 20px; }
.co__empty h1 { font-size: 2rem; margin-bottom: 12px; }
.co__empty p { color: var(--muted); margin-bottom: 22px; }

/* Confirmation */
.confirm { padding: clamp(48px, 8vw, 88px) 0; }
.confirm__box { max-width: 660px; margin-inline: auto; background: var(--card); border: 1px solid var(--line-2);
  border-radius: 24px; padding: clamp(30px, 5vw, 50px); box-shadow: var(--shadow); }
.confirm__icon { width: 66px; height: 66px; border-radius: 50%; background: var(--forest); color: var(--bg);
  display: grid; place-items: center; margin: 0 auto 22px; }
.confirm__icon svg { width: 32px; height: 32px; }
.confirm__box { text-align: center; }
.confirm h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.confirm__sub { color: var(--muted); margin: 12px auto 26px; max-width: 44ch; }
.confirm__meta { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; padding: 20px 0; border-block: 1px solid var(--line-2); margin-bottom: 22px; }
.confirm__meta div { text-align: left; }
.confirm__meta .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.confirm__meta .v { font-weight: 600; }
.confirm__items { text-align: left; margin-bottom: 8px; }
.confirm__addr { text-align: left; font-size: .9rem; color: var(--muted); line-height: 1.5; margin: 18px 0 26px;
  background: var(--bg); border-radius: 14px; padding: 18px 20px; }
.confirm__addr strong { color: var(--ink); }

@media (max-width: 860px) {
  .co__grid { grid-template-columns: 1fr; }
  .co__summary { position: static; order: -1; }
}
@media (max-width: 480px) {
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
}
