/* Lune theme: design system
   Shared by the Liquid sections and the static preview. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Night and amber glass. Paper is a cool bone so the amber is the only warm thing on the page. */
  --paper: #eeefea;
  --mist: #e1e3dd;
  --card: #f7f7f3;
  --night: #171c2b;
  --night-soft: #333a4d;
  --dusk: #3a4664;
  --moon: #f3ead6;
  --amber: #a3521b;
  --amber-dark: #86420f;
  --glass: #e3a15c;
  --muted: #545a68;
  --line: rgba(23, 28, 43, 0.14);
  --line-strong: rgba(23, 28, 43, 0.32);
  --on-night: #eeefea;
  --on-night-muted: rgba(238, 239, 234, 0.72);
  --on-night-line: rgba(238, 239, 234, 0.18);
  --danger: #9b2c1f;

  /* Legacy names kept so merchant colour settings in theme.liquid still map. */
  --cream: var(--paper);
  --espresso: var(--night);

  --radius: 2px;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', system-ui, sans-serif;
  --max: 1240px;
  --gutter: clamp(1.15rem, 4.5vw, 3.5rem);
  --space-section: clamp(3.5rem, 8vw, 7rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --z-header: 30;
  --z-sticky: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
cart-drawer, mobile-menu, sticky-atc, quantity-stepper, cart-lines { display: contents; }

.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link:focus { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 50; width: auto; height: auto; margin: 0; clip: auto; padding: 0.7rem 1rem; background: var(--espresso); color: var(--on-night); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Announcement ---------- */
.announcement {
  background: var(--espresso);
  color: var(--on-night);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.55rem 1rem;
}
.announcement a { color: var(--glass); text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}
.logo {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav { display: flex; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--night-soft);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 9px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease-out);
}
.nav a[aria-current="page"] { color: var(--espresso); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 0.25rem; justify-self: end; }
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--espresso);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--amber);
  color: #fffdf8;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 60px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.25rem var(--gutter) 1rem;
  }
  .nav.open a { justify-content: flex-start; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav.open a::after { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 50px;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.14s var(--ease-out);
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--amber); color: #fffdf8; }
.btn-dark { background: var(--espresso); color: var(--on-night); }
.btn-outline { border-color: var(--line-strong); color: var(--espresso); background: transparent; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--espresso);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--espresso); }
  .nav a:hover::after { transform: scaleX(1); }
  .icon-btn:hover { background: var(--mist); }
  .btn-primary:hover { background: var(--amber-dark); }
  .btn-dark:hover { background: var(--night-soft); }
  .btn-outline:hover { border-color: var(--espresso); }
  .text-link:hover { text-decoration-color: var(--amber); }
}

/* ---------- Stage: where a product stands ---------- */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--mist);
  border-radius: var(--radius);
}
.stage img, .stage .bottle { position: relative; }
.stage--night { background: var(--dusk); }
/* The moon. Lune's one decorative idea: the bottle always stands in front of it. */
.stage--night::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(78%, 62vh);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--moon);
  transform: translate(-50%, -50%);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
  min-height: min(46rem, calc(100dvh - 104px));
}
.hero-copy { align-self: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-eyebrow { font-size: 0.9rem; color: var(--amber); font-weight: 600; margin-bottom: 1.2rem; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  max-width: 11ch;
}
.hero-text { margin-top: 1.5rem; max-width: 30rem; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.6rem; margin-top: 2.1rem; }
.hero-note { margin-top: 1.1rem; font-size: 0.88rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.hero-note svg { flex: none; color: var(--amber); }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  max-width: 34rem;
  list-style: none;
  font-size: 0.86rem;
  color: var(--muted);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 0.45rem; }
.proof-rating .stars { color: var(--amber); font-size: 0.85rem; }
.proof-rating strong { color: var(--espresso); }
.proof-pill { color: var(--night-soft); }
/* The stage bleeds to the right edge of the viewport. */
.hero-stage {
  margin-right: calc((min(var(--max), 100vw - var(--gutter) * 2) - 100vw) / 2);
  border-radius: 0;
}
.hero-stage img { position: absolute; inset: 5% 0; width: 100%; height: 90%; object-fit: contain; }
.hero-stage .bottle { width: auto; height: 62%; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { padding: 2.2rem 0 2.4rem; }
  .hero-stage { margin-inline: calc(var(--gutter) * -1); aspect-ratio: 16 / 10; order: -1; }
  .hero-stage::before { width: auto; height: 84%; top: 50%; }
  .hero-stage img { inset: -7% 0; height: 114%; }
  .hero h1 { max-width: none; }
}

/* One page-load sequence, in the hero only. */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage::before { animation: moonrise 1.1s var(--ease-out) both; }
  .hero-stage img, .hero-stage .bottle { animation: settle 0.9s 0.12s var(--ease-out) both; }
  .hero-copy > * { animation: rise 0.7s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(n+5) { animation-delay: 0.24s; }
}
@keyframes moonrise { from { opacity: 0; transform: translate(-50%, -38%); } }
@keyframes settle { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--mist); }
.section-tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
}
.lede { color: var(--muted); max-width: 34rem; margin-top: 0.9rem; }
.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); max-width: 44rem; }
.section-head h1, .section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; }
.section-head p { color: var(--muted); max-width: 34rem; margin-top: 0.9rem; }
.section-head .text-link { margin-top: 0.6rem; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem) clamp(1.2rem, 2.6vw, 2rem); }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--mist);
  border-radius: var(--radius);
}
.product-card .media .bottle { width: 38%; }
.product-card .media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease-out); }
.product-card .badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--card);
  color: var(--espresso);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
}
.product-card .body { padding-top: 1rem; display: flex; flex-direction: column; flex: 1; }
.product-card .when { font-size: 0.82rem; font-weight: 600; color: var(--amber); margin-bottom: 0.25rem; }
.product-card .name { font-family: var(--display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; text-decoration: none; }
/* The whole card is the link; the add button sits above it. */
.product-card .name::after { content: ""; position: absolute; inset: 0; }
.product-card .desc { font-size: 0.94rem; color: var(--muted); margin-top: 0.3rem; max-width: 26rem; }
.product-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: auto; padding-top: 1rem; }
.product-card .foot form, .product-card .add-btn { position: relative; z-index: 1; }
.price { font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-weight: 400; margin-left: 0.4rem; }
.price small { font-weight: 400; color: var(--muted); font-size: 0.9em; margin-left: 0.35rem; }
.add-btn { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.88rem; }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .media img { transform: scale(1.04); }
}

/* Two products: wider cards, no empty third column. */
@media (min-width: 901px) { .product-grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 58rem; } }

/* Editorial merchandising: the lead product gets the weight. */
.product-grid--editorial { grid-template-columns: 1.35fr 1fr 1fr; align-items: start; }
.product-grid--editorial .product-card--featured .media { aspect-ratio: 4 / 5; background: var(--dusk); }
.product-grid--editorial .product-card--featured .media::before {
  content: "";
  position: absolute;
  left: 50%; top: 47%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--moon);
  transform: translate(-50%, -50%);
}
.product-grid--editorial .product-card--featured .media img { position: relative; }
.product-grid--editorial .product-card--featured .name { font-size: 1.8rem; }
.product-grid--editorial .product-card--featured .desc { font-size: 1rem; }
.product-grid--editorial .product-card:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.product-grid--editorial .product-card:nth-child(3) { margin-top: clamp(3rem, 8vw, 7rem); }
@media (max-width: 900px) {
  .product-grid--editorial { grid-template-columns: 1fr 1fr; }
  .product-grid--editorial .product-card--featured { grid-column: 1 / -1; }
  .product-grid--editorial .product-card--featured .media { aspect-ratio: 16 / 11; }
  .product-grid--editorial .product-card--featured .media::before { width: auto; height: 78%; }
  .product-grid--editorial .product-card:nth-child(2),
  .product-grid--editorial .product-card:nth-child(3) { margin-top: 0; }
}
@media (max-width: 560px) {
  .product-grid--editorial { grid-template-columns: 1fr; }
  .product-grid--editorial .product-card--featured .media { aspect-ratio: 1 / 1; }
}

/* ---------- Formula: what is in the drop ---------- */
.formula { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.formula-head { position: sticky; top: 6.5rem; }
.actives { border-top: 1px solid var(--line-strong); }
.actives > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.3rem 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.actives dt { grid-column: 2; font-family: var(--display); font-size: 1.4rem; font-weight: 500; line-height: 1.2; }
.actives .dose { grid-column: 1; grid-row: 1 / span 2; font-family: var(--display); font-size: 2rem; line-height: 1.05; color: var(--amber); font-variant-numeric: tabular-nums; }
.actives dd { grid-column: 2; color: var(--muted); font-size: 0.98rem; max-width: 34rem; }
.formula-note { margin-top: 1.2rem; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 820px) {
  .formula { grid-template-columns: 1fr; }
  .formula-head { position: static; }
  .actives > div { grid-template-columns: 4.8rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 1.2rem 0; }
  .actives .dose { font-size: 1.5rem; }
  .actives dt { font-size: 1.2rem; }
}

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: end; }
.story h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.04; }
.story .rte { color: var(--night-soft); }
.story .rte p + p { margin-top: 1rem; }
.rich-text { max-width: 46rem; }
.rich-text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; }
.rich-text p { margin-top: 1rem; color: var(--muted); }
.rich-text.center { margin-inline: auto; text-align: center; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Product (featured and main) ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.86rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.breadcrumb [aria-current] { color: var(--espresso); }
.featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.featured--top { align-items: start; }
.featured .stage { aspect-ratio: 4 / 5; }
.featured .stage img { width: 100%; height: 100%; object-fit: contain; }
.featured .stage .bottle { width: 42%; }
.featured--top .stage { position: sticky; top: 5.5rem; }
.featured .info h1, .featured .info h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; }
.featured .info .tagline { margin-top: 0.6rem; font-size: 1.1rem; color: var(--night-soft); }
.featured .info .price { display: block; font-size: 1.3rem; margin-top: 1.1rem; }
.featured .info .rating { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; font-size: 0.88rem; color: var(--muted); }
.featured .info .rating .stars { color: var(--amber); }
.featured .info .rte, .featured .info > p { margin-top: 1.1rem; color: var(--muted); max-width: 34rem; }
.featured .info .rte p + p { margin-top: 0.8rem; }
.spec-row { list-style: none; margin: 1.5rem 0 0; border-top: 1px solid var(--line); font-size: 0.94rem; max-width: 34rem; }
.spec-row li { display: flex; align-items: baseline; gap: 0.7rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); color: var(--night-soft); }
.spec-row li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; transform: translateY(-2px); }
.buy { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: stretch; max-width: 34rem; }
.buy .btn { flex: 1 1 12rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); min-height: 50px; }
.qty button { width: 44px; height: 48px; background: none; border: 0; cursor: pointer; font-size: 1.15rem; line-height: 1; }
.qty input { width: 44px; height: 48px; border: 0; background: none; text-align: center; font-size: 1rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ship-note { margin-top: 1rem; font-size: 0.88rem; color: var(--muted); max-width: 34rem; }
.form-status { margin-top: 0.7rem; font-size: 0.9rem; color: var(--danger); }
.form-status:empty { display: none; }
@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; gap: 1.6rem; }
  .featured .stage { aspect-ratio: 1 / 1; }
  .featured--top .stage { position: relative; top: 0; }
}

/* ---------- Questions ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
  padding: 0.9rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s var(--ease-out);
}
.faq-list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-list details p { padding: 0 2.5rem 1.4rem 0; color: var(--muted); max-width: 38rem; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--on-night-muted); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr; gap: 2.5rem 2rem; }
.site-footer h3 { font-family: var(--body); font-size: 0.86rem; font-weight: 600; color: var(--on-night); margin-bottom: 0.5rem; }
.site-footer a { text-decoration: none; }
.site-footer ul { list-style: none; display: grid; font-size: 0.94rem; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .logo { color: var(--on-night); font-size: 2.2rem; }
.footer-blurb { margin-top: 1rem; max-width: 22rem; font-size: 0.94rem; }
.newsletter-text { font-size: 0.94rem; margin-bottom: 0.9rem; max-width: 24rem; }
.newsletter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.newsletter input { flex: 1; min-width: 0; min-height: 48px; padding: 0.6rem 0.9rem; border: 1px solid rgba(238, 239, 234, 0.4); background: transparent; color: var(--on-night); font-family: var(--body); font-size: 1rem; border-radius: var(--radius); }
.newsletter input::placeholder { color: rgba(238, 239, 234, 0.6); }
.newsletter button { min-width: 44px; min-height: 48px; padding: 0 1.3rem; border: 0; background: var(--glass); color: var(--night); font-weight: 700; border-radius: var(--radius); cursor: pointer; transition: transform 0.14s var(--ease-out); }
.newsletter button:active { transform: scale(0.97); }
.newsletter-status { flex-basis: 100%; margin-top: 0.1rem; font-size: 0.88rem; color: var(--glass); min-height: 1.4em; }
.footer-bottom { border-top: 1px solid var(--on-night-line); margin-top: 3rem; padding-top: 1.3rem; font-size: 0.84rem; color: var(--on-night-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; }
.site-footer :focus-visible { outline-color: var(--glass); }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--on-night); } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; } }

/* ---------- Cart lines (drawer and cart page) ---------- */
.cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 1rem; align-items: start; }
.cart-thumb { width: 72px; height: 88px; border-radius: var(--radius); background: var(--mist); object-fit: contain; }
.cart-item-name { display: block; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 1.1rem; line-height: 1.2; }
.cart-item-variant { font-size: 0.86rem; color: var(--muted); }
.cart-item-qty { font-size: 0.86rem; color: var(--muted); margin-top: 0.3rem; }
.cart-item-price { font-weight: 600; font-size: 0.98rem; font-variant-numeric: tabular-nums; text-align: right; }
.cart-item-tools { display: flex; align-items: center; gap: 0.3rem; margin-top: 0.5rem; }
.qty--small { min-height: 44px; }
.qty--small button, .qty--small input { height: 42px; }
.qty--small input { width: 34px; }
.link-btn { min-width: 44px; min-height: 44px; padding: 0 0.6rem; background: none; border: 0; font-size: 0.86rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 0.3rem; }
.cart-subtotal strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.cart-note { font-size: 0.86rem; color: var(--muted); margin-bottom: 1rem; }
.cart-note:last-child { margin: 0.6rem 0 0; text-align: center; }
.cart-note a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.cart-status { font-size: 0.88rem; color: var(--danger); }
.cart-status:empty { display: none; }
.cart-empty { display: grid; gap: 1.2rem; justify-items: start; padding: 1.5rem 0; }
.cart-empty p { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
.cart-empty span { display: block; font-family: var(--body); font-size: 0.96rem; color: var(--muted); margin-top: 0.4rem; }
[hidden] { display: none !important; }

/* Free-shipping progress */
.ship-meter { font-size: 0.88rem; color: var(--night-soft); }
.ship-meter-track { height: 3px; margin-top: 0.5rem; background: var(--line); border-radius: 2px; overflow: hidden; }
.ship-meter-fill { height: 100%; width: 100%; background: var(--amber); transform-origin: left; transform: scaleX(var(--fill, 0)); transition: transform 0.4s var(--ease-out); }

/* ---------- Cart drawer ---------- */
dialog.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(440px, 100vw);
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  padding: 0;
  background: var(--cream);
  color: var(--espresso);
  transform: translateX(100%);
  transition: transform 0.24s var(--ease-drawer), overlay 0.24s allow-discrete, display 0.24s allow-discrete;
}
dialog.cart-drawer[open] { transform: translateX(0); transition-duration: 0.36s; }
@starting-style { dialog.cart-drawer[open] { transform: translateX(100%); } }
dialog.cart-drawer::backdrop { background: rgba(23, 28, 43, 0); transition: background-color 0.24s ease, overlay 0.24s allow-discrete, display 0.24s allow-discrete; }
dialog.cart-drawer[open]::backdrop { background: rgba(23, 28, 43, 0.55); }
@starting-style { dialog.cart-drawer[open]::backdrop { background: rgba(23, 28, 43, 0); } }
.cart-drawer .inner { display: flex; flex-direction: column; height: 100%; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0.9rem 0.9rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.cart-drawer .ship-meter { padding: 1rem 1.5rem 0; }
.cart-drawer .cart-items { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.3rem 1.5rem; display: grid; gap: 1.4rem; align-content: start; }
.cart-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.5rem calc(1.2rem + env(safe-area-inset-bottom)); }

/* ---------- Cart page ---------- */
.cart-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.cart-page .cart-items { display: grid; border-top: 1px solid var(--line-strong); }
.cart-page .cart-item { grid-template-columns: 96px minmax(0, 1fr) auto; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.cart-page .cart-thumb { width: 96px; height: 116px; }
.cart-page .cart-item-name { font-size: 1.3rem; }
.cart-summary { position: sticky; top: 6rem; background: var(--mist); padding: 1.6rem; border-radius: var(--radius); display: grid; gap: 0.9rem; }
.cart-summary .cart-note { margin: 0; }
.cart-summary .cart-subtotal { margin: 0; }
.cart-actions { display: grid; gap: 0.6rem; }
@media (max-width: 820px) {
  .cart-page { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-page .cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .cart-page .cart-thumb { width: 72px; height: 88px; }
}

/* ---------- Collection ---------- */
.collection-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-bottom: 1rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.collection-bar label { display: inline-flex; align-items: center; gap: 0.6rem; }
.collection-bar select { min-height: 44px; padding: 0 2rem 0 0.8rem; font-size: 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--cream); }
.pagination { margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: center; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }

/* ---------- Sticky mobile add-to-cart ---------- */
.sticky-atc {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.24s var(--ease-out), visibility 0s 0.24s;
}
.sticky-atc.is-visible { transform: translateY(0); visibility: visible; transition-delay: 0s; }
.sticky-atc .info { display: flex; flex-direction: column; font-size: 0.86rem; color: var(--muted); line-height: 1.3; }
.sticky-atc .info strong { font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: var(--espresso); }
.sticky-atc .btn { min-height: 48px; padding-inline: 1.4rem; }
@media (max-width: 700px) {
  .sticky-atc { display: flex; }
  body:has(.sticky-atc) .site-footer { padding-bottom: calc(2rem + 76px + env(safe-area-inset-bottom)); }
}

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

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