/* ==========================================================================
   SPROUT THEME — shared tokens, base, chrome, buttons, product card, overlays
   Greenhouse editorial: Instrument Serif for voice, Instrument Sans for UI.
   Arches, new-growth lime and terracotta clay on linen. v1
   ========================================================================== */

/* self-hosted fonts (latin only; the ₱ sign comes from a 1 KB subset) */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/peso-sans.woff2") format("woff2"); unicode-range: U+20B1; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/peso-sans.woff2") format("woff2"); unicode-range: U+20B1; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/peso-sans.woff2") format("woff2"); unicode-range: U+20B1; }

/* metric-matched fallbacks so the swap barely moves the layout */
@font-face { font-family: "Instrument Serif Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 75.7%; ascent-override: 130.8%; descent-override: 41%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 101%; ascent-override: 96%; descent-override: 24.8%; line-gap-override: 0%; }

:root {
  /* 1 · primitives */
  --cream: #f6f2e7;
  --paper: #fbf9f2;
  --stone: #ece6d6;
  --sage-tint: #dce6d0;
  --sage: #cbd8be;
  --sage-2: #a9bf98;
  --fern: #4f8a4b;
  --moss: #245a37;
  --forest: #173d2a;
  --night: #0c2218;
  --lime: #cfea6a;
  --lime-2: #b9d84a;
  --clay: #c2653f;
  --clay-d: #9e4a29;
  --clay-tint: #efd8c2;
  --ink: #14241b;
  --ink-2: #35463b;
  --ink-3: #566559;
  --white: #fff;

  /* 2 · semantic */
  --bg: var(--cream);
  --surface: var(--paper);
  --surface-2: var(--stone);
  --text: var(--ink);
  --text-2: var(--ink-2);
  --text-3: var(--ink-3);
  --line: rgba(20, 36, 27, .12);
  --line-2: rgba(20, 36, 27, .24);
  --line-inv: rgba(246, 242, 231, .18);
  --accent: var(--moss);
  --accent-ink: var(--forest);
  --on-accent: #fff;
  --focus: #1b6b3f;

  /* type */
  --display: "Instrument Serif", "Instrument Serif Fallback", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Instrument Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(3.1rem, .8rem + 7vw, 8.4rem);
  --fs-h2: clamp(2.5rem, 1.35rem + 4.2vw, 5.25rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  --fs-lede: clamp(1.0625rem, .98rem + .35vw, 1.25rem);

  /* shape + space */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1440px;
  --sec: clamp(4.5rem, 9vw, 9rem);
  --header-h: 76px;
  --sh-1: 0 1px 2px rgba(20, 36, 27, .06), 0 10px 28px -14px rgba(20, 36, 27, .22);
  --sh-2: 0 2px 4px rgba(20, 36, 27, .06), 0 28px 60px -24px rgba(20, 36, 27, .38);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* dark sections re-point the semantic tokens */
[data-tone="dark"] {
  --bg: var(--forest);
  --text: var(--cream);
  --text-2: rgba(246, 242, 231, .82);
  --text-3: rgba(246, 242, 231, .76);
  --line: var(--line-inv);
  --line-2: rgba(246, 242, 231, .3);
  --focus: var(--lime);
  color: var(--text);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--lime); color: var(--forest); }
[hidden] { display: none !important; }
html.lock { overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .85rem 1.25rem; background: var(--forest); color: var(--cream); border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 1rem; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }

/* icons */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font: 600 .75rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--moss); flex: none; }
[data-tone="dark"] .eyebrow { color: var(--lime); }
[data-tone="dark"] .eyebrow::before { box-shadow: none; }
.h2 { font: 400 var(--fs-h2)/.96 var(--display); letter-spacing: -.022em; text-wrap: balance; }
.h2 em, .h1 em { font-style: italic; color: var(--fern); }
[data-tone="dark"] .h2 em { color: var(--lime); }
.h3 { font: 400 var(--fs-h3)/1.05 var(--display); letter-spacing: -.01em; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--text-2); max-width: 46ch; text-wrap: pretty; }
.latin { font-family: var(--display); font-style: italic; letter-spacing: .005em; }

.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4.5vw, 3.75rem); }
.sec-head__t { display: grid; gap: 1.1rem; }
.sec-head__t .h2 { max-width: 12ch; }
.sec-head__t.wide .h2 { max-width: 17ch; }

/* breadcrumbs (collection + product) */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .875rem; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .55; }
.crumbs a { padding: .5rem 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s, color .2s; }
.crumbs a:hover { color: var(--text); text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--text-2); font-weight: 500; }

/* star rating (home reviews, product) */
.stars { display: inline-flex; gap: .1rem; color: var(--clay); vertical-align: -.15em; }
.stars .i { width: 1rem; height: 1rem; }

/* accordions (product, contact) */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; cursor: pointer; list-style: none; font: 400 1.5rem/1.1 var(--display); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { width: 1.1rem; height: 1.1rem; transition: transform .3s var(--ease); }
.acc details[open] summary .i { transform: rotate(45deg); }
.acc__b { display: grid; gap: .8rem; padding-bottom: 1.4rem; color: var(--text-2); font-size: .9375rem; line-height: 1.6; max-width: 56ch; }
.acc__b ul { padding-left: 1.1rem; margin: 0; display: grid; gap: .4rem; }
.acc__b b { color: var(--text); font-weight: 600; }
.acc__b table { border-collapse: collapse; width: 100%; font-size: .875rem; }
.acc__b td { padding: .5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.acc__b td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); font-weight: 500; }

/* ---------- buttons ---------- */
.btn { --b-bg: var(--forest); --b-fg: var(--cream); --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 3.25rem; padding: 0 1.6rem;
  border-radius: 999px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font: 600 .9375rem/1 var(--sans); letter-spacing: .005em; white-space: nowrap; position: relative; isolation: isolate; overflow: hidden;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:active { transform: scale(.985); }
.btn--primary { padding-right: .5rem; }
.btn__arrow { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--lime); color: var(--forest); transition: transform .35s var(--ease); }
.btn__arrow .i { width: 1.05rem; height: 1.05rem; stroke-width: 2; }
.btn--primary:hover .btn__arrow { transform: translateX(3px) rotate(-45deg); }
.btn--primary:hover { --b-bg: var(--moss); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--text); --b-bd: var(--line-2); }
.btn--ghost:hover { --b-bg: var(--text); --b-fg: var(--bg); --b-bd: var(--text); }
.btn--light { --b-bg: var(--cream); --b-fg: var(--forest); }
.btn--light:hover { --b-bg: var(--lime); }
.btn--lime { --b-bg: var(--lime); --b-fg: var(--forest); }
.btn--lime:hover { --b-bg: #dcf27f; }
.btn--clay { --b-bg: var(--clay-d); --b-fg: #fff; }
.btn--clay:hover { --b-bg: #873d20; }
.btn--sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn--ghost.on-dark { --b-fg: var(--cream); --b-bd: var(--line-2); }
.btn--ghost.on-dark:hover { --b-bg: var(--cream); --b-fg: var(--forest); --b-bd: var(--cream); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9375rem; padding-block: .35rem; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size .35s var(--ease), gap .25s; }
.link-arrow .i { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.link-arrow:hover .i { transform: translateX(3px); }

.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); font: 500 .875rem/1 var(--sans); background: transparent; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip.is-on { background: var(--forest); color: var(--cream); border-color: var(--forest); }
[data-tone="dark"] .chip[aria-pressed="true"], [data-tone="dark"] .chip[aria-selected="true"], [data-tone="dark"] .chip.is-on { background: var(--lime); color: var(--forest); border-color: var(--lime); }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- announcement bar ---------- */
.bar { background: var(--forest); color: var(--cream); font-size: .8125rem; line-height: 1.3; position: relative; z-index: 60; }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.bar__msg { display: flex; align-items: center; gap: .6rem; margin-inline: auto; padding-block: .5rem; text-align: center; }
.bar__msg b { font-weight: 600; color: var(--lime); }
.bar__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); flex: none; animation: pulse 2.4s ease-out 3; }
.bar__links { display: none; gap: 1.4rem; }
.bar__links a { padding: .5rem 0; opacity: .85; transition: opacity .2s; }
.bar__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.bar__status { display: none; align-items: center; gap: .5rem; opacity: .9; }
.bar__status i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--sage-2); }
.bar__status[data-open="true"] i { background: var(--lime); box-shadow: 0 0 0 3px rgba(207, 234, 106, .25); }
@media (min-width: 900px) { .bar__links, .bar__status { display: flex; } .bar__msg { margin-inline: 0; } .bar__in { justify-content: space-between; } .bar__status, .bar__links { flex: 1 1 0; } .bar__links { justify-content: flex-end; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(207, 234, 106, .55); } 100% { box-shadow: 0 0 0 .6rem rgba(207, 234, 106, 0); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 55; background: var(--cream); transition: box-shadow .3s, background-color .3s; }
.header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(20, 36, 27, .35); }
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font: 400 2rem/1 var(--display); letter-spacing: -.02em; color: var(--forest); padding-block: .4rem; }
.logo svg { width: 1.75rem; height: 1.75rem; }
.logo:hover svg .lf-a { transform: rotate(-8deg); }
.logo svg path { transition: transform .5s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: 0 .85rem; border-radius: 999px; font-weight: 500; font-size: .9375rem; transition: background-color .2s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--sage-tint); }
.nav__link .i { width: .9rem; height: .9rem; transition: transform .25s var(--ease); }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__link--hot { color: var(--clay-d); }

.actions { display: flex; align-items: center; justify-content: flex-end; gap: .15rem; }
.act { position: relative; display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border-radius: 50%; transition: background-color .2s; }
.act:hover { background: var(--sage-tint); }
.act .i { width: 1.375rem; height: 1.375rem; }
.act--bag { display: inline-flex; align-items: center; gap: .5rem; padding: 0 .9rem 0 .8rem; border-radius: 999px; background: var(--forest); color: var(--cream); margin-left: .4rem; font-weight: 600; font-size: .875rem; }
.act--bag:hover { background: var(--moss); }
.act--bag .i { width: 1.2rem; height: 1.2rem; }
.act__n { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 .3rem; border-radius: 999px; background: var(--lime); color: var(--forest); font-size: .75rem; font-weight: 700; transition: transform .35s var(--ease); }
.act__n.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.act--menu { display: inline-grid; justify-self: start; margin-left: -.6rem; }
.hide-sm { display: none; }
@media (min-width: 1080px) {
  .nav { display: block; }
  .act--menu { display: none; }
  .hide-sm { display: inline-grid; }
}

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 54; pointer-events: none; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.mega[data-open="true"] { pointer-events: auto; visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega__card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); gap: clamp(1.5rem, 3vw, 3rem); padding: clamp(1.5rem, 2.6vw, 2.5rem); margin-top: .25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.mega__h { font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem; }
.mega ul { list-style: none; padding: 0; display: grid; gap: .1rem; }
.mega li a { display: flex; align-items: center; gap: .65rem; padding: .5rem .6rem; margin-inline: -.6rem; border-radius: 12px; font-size: 1rem; transition: background-color .2s, transform .2s var(--ease); }
.mega li a:hover { background: var(--sage-tint); transform: translateX(3px); }
.mega li a small { margin-left: auto; color: var(--text-3); font-size: .8125rem; }
.mega .i { color: var(--moss); width: 1.15rem; height: 1.15rem; }
.mega__feat { position: relative; border-radius: var(--r); overflow: hidden; color: var(--cream); min-height: 15rem; display: flex; align-items: flex-end; }
.mega__feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(12, 34, 24, .82)); }
.mega__feat div { position: relative; z-index: 1; padding: 1.25rem; display: grid; gap: .5rem; }
.mega__feat b { font: 400 1.75rem/1 var(--display); }
.mega__feat span { font-size: .875rem; opacity: .9; }

/* ---------- overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(12, 34, 24, .55); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.scrim[data-open="true"] { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(28.5rem, 100%); background: var(--paper); color: var(--ink); display: flex; flex-direction: column; transform: translateX(104%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; box-shadow: var(--sh-2); }
.drawer[data-open="true"] { transform: none; visibility: visible; transition-delay: 0s; }
.drawer--left { right: auto; left: 0; transform: translateX(-104%); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 400 1.75rem/1 var(--display); }
.drawer__head h2 span { font: 500 .9375rem/1 var(--sans); color: var(--text-3); margin-left: .4rem; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem 1.5rem; }
.drawer__foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; background: var(--cream); }
.iconbtn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; transition: background-color .2s; }
.iconbtn:hover { background: var(--sage-tint); }

.ship { display: grid; gap: .55rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--sage-tint); font-size: .875rem; margin-bottom: 1.25rem; }
.ship__bar { height: .5rem; border-radius: 999px; background: rgba(36, 90, 55, .18); position: relative; overflow: hidden; }
.ship__bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--moss), var(--fern)); border-radius: inherit; transition: transform .7s var(--ease); }
.lines { list-style: none; padding: 0; display: grid; gap: 1.15rem; }
.line { display: grid; grid-template-columns: 5.25rem 1fr; gap: 1rem; }
.line__img { aspect-ratio: 4 / 5; border-radius: 999px 999px 12px 12px; overflow: hidden; background: var(--stone); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__b { display: grid; gap: .3rem; align-content: start; }
.line__name { font: 400 1.375rem/1.05 var(--display); }
.line__opt { font-size: .8125rem; color: var(--text-3); }
.line__row { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; gap: .5rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; }
.qty button:hover { background: var(--sage-tint); }
.qty output { min-width: 1.5rem; text-align: center; font-weight: 600; font-size: .9rem; }
.line__rm { font-size: .8125rem; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; padding: .5rem 0; }
.line__rm:hover { color: var(--clay-d); }
.empty { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 3rem 1rem; color: var(--text-2); }
.empty svg { width: 5rem; height: 5rem; color: var(--sage-2); }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.sum b { font: 400 1.875rem/1 var(--display); }
.fine { font-size: .8125rem; color: var(--text-3); display: flex; gap: .5rem; align-items: center; }
.fine .i { color: var(--moss); width: 1rem; height: 1rem; }

/* search */
.search { position: fixed; z-index: 90; left: 0; right: 0; top: 0; background: var(--paper); transform: translateY(-104%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; box-shadow: var(--sh-2); border-radius: 0 0 var(--r-lg) var(--r-lg); max-height: 92dvh; overflow-y: auto; }
.search[data-open="true"] { transform: none; visibility: visible; transition-delay: 0s; }
.search__in { padding-block: 1.25rem 2.25rem; display: grid; gap: 1.5rem; }
.search__field { display: flex; align-items: center; gap: 1rem; border-bottom: 1.5px solid var(--ink); padding-block: .5rem; }
.search__field .i { width: 1.75rem; height: 1.75rem; color: var(--moss); }
.search__field input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem)/1.1 var(--display); outline: none; padding: .4rem 0; }
.search__field input::placeholder { color: var(--ink-3); opacity: .8; }
.search__field:focus-within { border-bottom-color: var(--moss); box-shadow: 0 2px 0 var(--moss); }
.search__hint { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .875rem; color: var(--text-3); }
.search__res { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); list-style: none; padding: 0; }
.sres { display: grid; gap: .6rem; }
.sres__img { aspect-ratio: 4 / 5; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--stone); }
.sres__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sres:hover .sres__img img { transform: scale(1.05); }
.sres b { font: 400 1.25rem/1.1 var(--display); display: block; }
.sres span { font-size: .875rem; color: var(--text-3); }

/* mobile nav */
.mnav__list { list-style: none; padding: 0; display: grid; }
.mnav__list > li > a, .mnav__list summary { display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; font: 400 2.125rem/1 var(--display); border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.mnav__list summary::-webkit-details-marker { display: none; }
.mnav__list details[open] summary .i { transform: rotate(180deg); }
.mnav__list summary .i { transition: transform .3s var(--ease); }
.mnav__sub { display: grid; padding: .5rem 0 1rem; }
.mnav__sub a { padding: .65rem 0; color: var(--text-2); display: flex; align-items: center; gap: .6rem; }
.mnav__sub .i { color: var(--moss); width: 1.1rem; height: 1.1rem; }
.mnav__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1.5rem; font-size: .9375rem; color: var(--text-2); }

/* toast */
.toasts { position: fixed; z-index: 120; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: grid; gap: .5rem; width: min(26rem, calc(100% - 2rem)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; border-radius: 999px; background: var(--forest); color: var(--cream); font-size: .9375rem; box-shadow: var(--sh-2); animation: toast-in .5s var(--ease) both; pointer-events: auto; }
.toast .i { color: var(--lime); flex: none; }
.toast.out { animation: toast-out .35s var(--ease) both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ---------- care chips + pips (shared by cards, finder, hotspots) ---------- */
.care { display: flex; flex-wrap: wrap; gap: .35rem .45rem; list-style: none; padding: 0; }
.care li { display: inline-flex; align-items: center; gap: .35rem; min-height: 1.75rem; padding: 0 .6rem 0 .5rem; border-radius: 999px; background: var(--stone); font-size: .75rem; font-weight: 500; line-height: 1; color: var(--ink-2); white-space: nowrap; }
.care .i { width: .95rem; height: .95rem; color: var(--moss); }
.care li.pet { background: var(--sage-tint); color: var(--moss); font-weight: 600; }
.pips { display: inline-flex; gap: 2px; margin-left: .1rem; }
.pips i { width: .3rem; height: .3rem; border-radius: 50%; background: rgba(20, 36, 27, .18); }
.pips i.on { background: var(--moss); }
[data-tone="dark"] .care li { background: rgba(246, 242, 231, .1); color: var(--cream); }
[data-tone="dark"] .care .i { color: var(--lime); }
[data-tone="dark"] .pips i { background: rgba(246, 242, 231, .25); }
[data-tone="dark"] .pips i.on { background: var(--lime); }

/* ---------- product card ---------- */
.pcard { display: grid; gap: .9rem; align-content: start; position: relative; min-width: 0; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px var(--r) var(--r); background: var(--stone); isolation: isolate; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__badge { position: absolute; z-index: 2; left: .85rem; bottom: .85rem; display: inline-flex; align-items: center; min-height: 1.6rem; padding: 0 .75rem; border-radius: 999px; background: var(--cream); color: var(--forest); font: 600 .6875rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(20, 36, 27, .5); }
.pcard__badge.is-new { background: var(--lime); }
.pcard__badge.is-sale { background: var(--clay-d); color: #fff; }
.pcard__badge.is-rare { background: var(--forest); color: var(--lime); }
.pcard__wish { position: absolute; z-index: 3; top: .85rem; left: 50%; margin-left: -1.25rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(251, 249, 242, .92); transition: transform .25s var(--ease), background-color .2s; }
.pcard__wish:hover { transform: scale(1.08); }
.pcard__wish .i { width: 1.15rem; height: 1.15rem; }
.pcard__wish[aria-pressed="true"] { background: var(--clay-d); color: #fff; }
.pcard__wish[aria-pressed="true"] .i { fill: currentColor; }
.pcard__add { position: absolute; z-index: 3; right: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .5rem; height: 2.75rem; padding: 0 .85rem; border-radius: 999px; background: var(--forest); color: var(--cream); font-weight: 600; font-size: .875rem; transition: background-color .2s, transform .3s var(--ease); }
.pcard__add:hover { background: var(--moss); transform: translateY(-2px); }
.pcard__add .i { width: 1.15rem; height: 1.15rem; }
.pcard__add span { display: none; }
.pcard__body { display: grid; gap: .4rem; padding-inline: .15rem; min-width: 0; }
.pcard__latin { font-size: 1.0625rem; color: var(--text-3); line-height: 1.1; }
.pcard__name { font: 400 clamp(1.5rem, 1.3rem + .7vw, 1.9375rem)/1.02 var(--display); letter-spacing: -.01em; }
.pcard__name a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease); }
.pcard__name a:hover { background-size: 100% 1.5px; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard .care { margin-block: .15rem .2rem; }
.pcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; }
.price { display: inline-flex; align-items: baseline; gap: .5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.price s { font-weight: 400; font-size: .875em; color: var(--text-3); }
.price em { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--clay-d); }
.swatches { display: flex; align-items: center; gap: .1rem; border: 0; padding: 0; margin: 0; position: relative; z-index: 2; }
.swatches legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sw { position: relative; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; cursor: pointer; }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw i { width: 1.0625rem; height: 1.0625rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(20, 36, 27, .22); transition: transform .25s var(--ease); }
.sw input:checked + i { box-shadow: inset 0 0 0 1px rgba(20, 36, 27, .22), 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); transform: scale(1.04); }
.sw input:focus-visible + i { outline: 3px solid var(--focus); outline-offset: 3px; }
.sw:hover i { transform: scale(1.15); }
@media (hover: hover) and (min-width: 900px) {
  .pcard__add { padding: 0 .85rem; }
  .pcard__add span { display: inline; max-width: 0; overflow: hidden; white-space: nowrap; margin-left: -.5rem; opacity: 0; transition: max-width .35s var(--ease), margin .35s var(--ease), opacity .25s; }
  .pcard:hover .pcard__add span, .pcard__add:focus-visible span { max-width: 6rem; margin-left: 0; opacity: 1; }
}

@media (max-width: 699px) { .pcard .care .pips { display: none; } .pcard .care li { white-space: normal; } }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--cream); position: relative; overflow: hidden; --text-3: rgba(246, 242, 231, .66); --focus: var(--lime); }
.footer__top { display: grid; gap: 3rem; padding-block: clamp(3.5rem, 7vw, 6rem) 3rem; position: relative; z-index: 1; }
.footer__brand { display: grid; gap: 1.25rem; align-content: start; max-width: 26rem; }
.footer__brand .logo { color: var(--cream); font-size: 2.5rem; }
.footer__brand p { color: rgba(246, 242, 231, .78); }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.footer h2 { font: 600 .75rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .15rem; }
.footer li a { display: inline-block; padding: .35rem 0; color: rgba(246, 242, 231, .82); transition: color .2s, transform .25s var(--ease); }
.footer li a:hover { color: #fff; transform: translateX(3px); }
.footer__hours { display: grid; gap: .25rem; font-size: .9375rem; color: rgba(246, 242, 231, .82); }
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-inv); transition: background-color .2s, color .2s; }
.social a:hover { background: var(--lime); color: var(--forest); border-color: var(--lime); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--line-inv); font-size: .8125rem; color: rgba(246, 242, 231, .7); position: relative; z-index: 1; }
.pay { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay span { display: inline-flex; align-items: center; height: 1.75rem; padding: 0 .7rem; border-radius: 6px; border: 1px solid var(--line-inv); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
/* giant outlined wordmark, cropped by the bottom edge of the footer */
.footer__mark { display: block; margin: 0 auto -.2em; text-align: center; font: 400 clamp(8rem, 30vw, 30rem)/.78 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(246, 242, 231, .14); white-space: nowrap; pointer-events: none; user-select: none; }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); } .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- growing vine (page progress) ---------- */
.vine { position: fixed; z-index: 40; left: 6px; top: 0; width: 34px; height: 100vh; height: 100dvh; pointer-events: none; display: none; color: var(--moss); transition: color .5s; }
.vine svg { width: 100%; height: 100%; overflow: visible; }
.vine .stem { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.vine .lf { fill: var(--fern); transform-box: fill-box; transform-origin: var(--o, 0% 100%); transform: scale(clamp(0, calc((var(--p, 0) - var(--t)) * 14), 1)); }
.vine .lf.alt { fill: var(--lime-2); }
html.vine-dark .vine { color: var(--lime); }
html.vine-dark .vine .lf { fill: var(--sage-2); }
html.vine-dark .vine .lf.alt { fill: var(--lime); }
@media (min-width: 1360px) { .vine { display: block; } }

/* ---------- accessibility + motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (forced-colors: active) {
  .btn, .chip, .act--bag { border: 1px solid ButtonText; }
  .pcard__media, .line__img { border: 1px solid CanvasText; }
}
@media print { .bar, .header, .vine, .drawer, .scrim, .search, .toasts { display: none !important; } }
