/*
 * Fresh modern — a Farm to Fork storefront theme that behaves like a shopping app on a phone.
 * Rounded white cards on a soft green ground, a plus button on every card that can be added in one tap, a bag bar
 * pinned to the bottom of the screen, and the shopper's next delivery day as a chip in the app bar.
 * Colours and lettering come from the theme settings as :root variables printed by the layout (--ground, --paper,
 * --surface, --ink, --muted, --accent, --accent-ink, --field, --field-ink, --field-muted, --band-1..4,
 * --font-display, --font-text …). The accent is only ever a fill under --accent-ink, never text on the ground,
 * because one palette's accent is ackee yellow. Shadows only on what floats: the bag bar, sheets, pop-overs, toasts.
 */

:root {
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
  --margin: clamp(16px, 3.2vw, 40px);
  --gap: clamp(12px, 1.4vw, 20px);
  --section: clamp(56px, 6.5vw, 104px);
  --max: 1360px;
  --bar-h: 64px;
  --control: 52px;
  --s-small: 0.875rem;
  --s-ui: 1rem;
  --s-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --s-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --s-h3: var(--s-lead);
  --s-title: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  --s-h2: clamp(1.75rem, 1.35rem + 1.7vw, 2.75rem);
  --s-h1: clamp(2.25rem, 1.5rem + 3.4vw, 4.5rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 140ms;
  --danger: #b3261e;
  --danger-ink: #7a1712;
  --danger-wash: #fde9e6;
  --star: #e3a008;
  --star-edge: #8a5d00;
  --wash: color-mix(in srgb, var(--accent) 14%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --edge: color-mix(in srgb, var(--muted) 72%, var(--paper));
  --scrim: color-mix(in srgb, var(--ink) 48%, transparent);
  --lift: 0 14px 34px -12px color-mix(in srgb, var(--ink) 34%, transparent), 0 3px 8px -2px color-mix(in srgb, var(--ink) 14%, transparent);
  --focus: var(--ink);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--bar-h) + 24px);
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--s-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
}
h1 { font-size: var(--s-h1); }
h2 { font-size: var(--s-h2); }
h3, h4 { font-family: var(--font-text); font-weight: 700; font-size: var(--s-h3); line-height: 1.25; letter-spacing: -0.01em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(var(--margin), env(safe-area-inset-left)) max(var(--margin), env(safe-area-inset-right));
}
.lead { font-size: var(--s-lead); line-height: 1.4; max-width: 48ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 700; }
.skip:focus { top: 12px; }
main { display: block; padding-bottom: var(--section); }
main:focus { outline: none; }
[hidden] { display: none !important; }
.tone-0 { --band: var(--band-1); --band-ink: var(--band-1-ink); }
.tone-1 { --band: var(--band-2); --band-ink: var(--band-2-ink); }
.tone-2 { --band: var(--band-3); --band-ink: var(--band-3-ink); }
.tone-3 { --band: var(--band-4); --band-ink: var(--band-4-ink); }

/* ------------------------------------------------------------------ controls */

a, button, [role="button"], summary, label { touch-action: manipulation; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--control); padding: 0 24px;
  border: 0; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-text); font-weight: 700; font-size: var(--s-ui); line-height: 1.1;
  text-decoration: none; text-align: center; cursor: pointer;
  -webkit-user-select: none; user-select: none;
  transition: transform var(--dur-press) var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.quiet { background: var(--surface); color: var(--ink); }
.btn.on-field { background: var(--field-ink); color: var(--field); }
.btn.ghost-field { background: color-mix(in srgb, var(--field-ink) 16%, var(--field)); color: var(--field-ink); }
.btn-wide { width: 100%; }
.btn[disabled], .btn.is-busy { cursor: progress; }
.btn.is-busy { background: var(--muted); color: var(--paper); }
.btn.is-off { cursor: default; color: var(--muted); }
.btn .icon { margin-right: -4px; }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 0.22em; }
.text-btn { background: none; border: 0; padding: 8px 0; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; color: inherit; font-size: var(--s-small); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: inherit; cursor: pointer; transition: transform var(--dur-press) var(--ease-out); }
.icon-btn:active { transform: scale(0.94); }
.see-all { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.see-all .icon { transition: transform 220ms var(--ease-out); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--paper); color: var(--ink);
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease, transform var(--dur-press) var(--ease-out);
}
.pill:active { transform: scale(0.97); }
.pill.is-on, .pill[aria-current="page"] { background: var(--ink); color: var(--paper); }
.pill-row { list-style: none; margin: 0; padding: 2px 0 6px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pill-row::-webkit-scrollbar { display: none; }
.pill-row > li { flex: none; }

.input, .select, .textarea {
  display: block; width: 100%;
  min-height: var(--control); padding: 12px 16px;
  border: 1.5px solid var(--edge); border-radius: var(--r-md);
  background: var(--paper); color: var(--ink);
  font-size: max(16px, 1rem); line-height: 1.3;
  transition: border-color 160ms ease, outline-color 160ms ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.textarea { min-height: 112px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; max-width: 100%; text-overflow: ellipsis; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.input:focus, .select:focus, .textarea:focus { outline: 3px solid color-mix(in srgb, var(--ink) 22%, transparent); outline-offset: 0; border-color: var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .label { font-weight: 700; font-size: var(--s-ui); }
.hint { font-size: var(--s-small); color: var(--muted); margin: 0; }
.field-error { margin: 4px 0 0; font-size: var(--s-small); font-weight: 700; color: var(--danger-ink); }
.row-2 { display: grid; gap: 0 12px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding-top: 10px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check > span > .hint, .choice .hint { display: block; }
.notice { background: var(--wash); border-radius: var(--r-lg); padding: 14px 18px; margin: 0 0 16px; }
.notice.is-error { background: var(--danger-wash); color: var(--danger-ink); }
.notice p:last-child { margin: 0; }
.notice ul { margin: 8px 0 0; padding-left: 20px; }
.notice a { font-weight: 700; color: inherit; }
.pre { white-space: pre-line; }

/* Quantity stepper (bag, drawer, product page): big targets, the number in the middle */
.stepper { display: inline-grid; grid-template-columns: 44px 48px 44px; height: 44px; border-radius: var(--r-pill); background: var(--surface); }
.stepper .step { display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink); transition: transform var(--dur-press) var(--ease-out); }
.stepper .step:active { transform: scale(0.86); }
.stepper .qty { width: 100%; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: max(16px, 1rem); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.stepper .qty::-webkit-outer-spin-button, .stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .qty:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: var(--r-sm); }

/* ------------------------------------------------------------------ the app bar */

.announce { background: var(--field); color: var(--field-ink); font-size: var(--s-small); font-weight: 600; text-align: center; --focus: var(--field-ink); }
.announce a, .announce p { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; margin: 0; padding: 6px var(--margin); text-decoration: none; }
.announce .icon { transition: transform 220ms var(--ease-out); }

.bar {
  position: sticky; top: 0; z-index: 40;
  padding-top: env(safe-area-inset-top);
  background: var(--ground);
  transition: box-shadow 220ms ease;
}
.bar.is-stuck { box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--ink) 60%, transparent); } /* taste-skill-ignore: the app bar floats over the page once scrolled */
.bar-row { position: relative; display: flex; align-items: center; gap: 4px; min-height: var(--bar-h); padding-block: 8px; }
.brand-col { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; }
.brand {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking);
  font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.15; text-decoration: none;
}
.brand img { width: var(--logo-w, 120px); max-width: 44vw; max-height: 44px; height: auto; object-fit: contain; object-position: left center; }
.where { position: static; max-width: calc(100% + 10px); margin: -2px 0 -4px -10px; }
.where-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  min-height: 36px; padding: 4px 10px;
  border-radius: var(--r-pill); list-style: none; cursor: pointer;
  font-size: var(--s-small); font-weight: 600; line-height: 1.2; color: var(--ink);
  -webkit-user-select: none; user-select: none;
  transition: background-color 160ms ease;
}
.where-chip::-webkit-details-marker { display: none; }
.where-chip::marker { content: ""; }
.where-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.where-caret { transition: transform 200ms var(--ease-out); }
.where[open] .where-chip { background: var(--surface); }
.where[open] .where-caret { transform: rotate(180deg); }
.where-pop {
  position: absolute; z-index: 5; top: calc(100% - 4px);
  left: max(var(--margin), env(safe-area-inset-left)); right: max(var(--margin), env(safe-area-inset-right));
  padding: 20px; border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink);
  transform-origin: 24px top;
}
.where:not([open]) .where-pop { display: none; }
.where[open] .where-pop { box-shadow: var(--lift); animation: pop 200ms var(--ease-out); } /* taste-skill-ignore: an open pop-over floats */
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(0.97); } to { opacity: 1; transform: none; } }
.where-h { margin: 0 0 12px; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--s-title); line-height: 1.1; }
.where-more { margin: 12px 0 0; font-size: var(--s-small); }
@media (min-width: 700px) { .where-pop { right: auto; width: 420px; } }

.bar-search { display: none; }
.bar-tools { display: flex; align-items: center; gap: 2px; flex: none; }
.tool {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: var(--r-pill);
  text-decoration: none; font-weight: 700; font-size: var(--s-ui); color: var(--ink);
  transition: background-color 160ms ease, transform var(--dur-press) var(--ease-out);
}
.tool:active { transform: scale(0.95); }
.tool-label { display: none; }
.bag-ico { position: relative; display: inline-grid; place-items: center; }
.bag-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  font-size: 0.75rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1;
  transition: transform 260ms var(--ease-out);
}
.bag-ico .bag-count { position: absolute; top: -8px; right: -11px; outline: 2px solid var(--ground); }
.bag-count.is-bumped { transform: scale(1.3); }

.chips-nav { position: relative; }
.chips { list-style: none; margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 2px; padding-bottom: 14px; scroll-padding-inline: var(--margin); }
.chips::-webkit-scrollbar { display: none; }
.chips::after { content: ""; flex: 0 0 1px; }
.chips > li { flex: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: var(--r-pill); background: var(--paper); color: var(--ink);
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease, transform var(--dur-press) var(--ease-out);
}
.chip:active { transform: scale(0.96); }
.chip[aria-current="page"] { background: var(--ink); color: var(--paper); }

.bar.is-minimal .bar-row { justify-content: space-between; gap: 12px; }
.bar.is-minimal .brand-col { flex: 0 1 auto; align-items: center; }
.bar-back { flex: 1 1 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; }
.secure { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; font-weight: 700; font-size: var(--s-small); }
@media (max-width: 599px) { .bar-back span, .secure span { display: none; } }

@media (min-width: 900px) {
  :root { --bar-h: 76px; }
  .bar-row { gap: 16px; }
  .brand-col { flex: 0 1 auto; max-width: 36%; }
  .bar-search {
    position: relative; display: flex; align-items: center; flex: 1 1 360px; max-width: 520px; margin-left: auto;
    height: 48px; padding-left: 16px; border-radius: var(--r-pill); background: var(--paper);
    color: var(--muted); outline: 3px solid transparent; transition: outline-color 160ms ease;
  }
  .bar-search:focus-within { outline-color: var(--ink); color: var(--ink); }
  .bar-q { flex: 1; min-width: 0; height: 100%; padding: 0 16px 0 10px; border: 0; background: transparent; color: var(--ink); font-size: 1rem; outline: none; }
  .bar-q::placeholder { color: var(--muted); opacity: 1; }
  .tool-search { display: none; }
  .tool-label { display: inline; }
  .bag-btn { background: var(--ink); color: var(--paper); padding: 0 18px 0 14px; min-height: 48px; margin-left: 6px; }
  .bag-btn .bag-ico .bag-count { outline-color: var(--ink); }
  .chips { padding-bottom: 16px; }
}

/* ------------------------------------------------------------------ section scaffolding */

.sec { padding-top: var(--section); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 16px; margin-bottom: clamp(16px, 2vw, 28px); }
.sec-head > :first-child { flex: 1 1 auto; min-width: 0; }
.sec-head > .see-all { flex: none; margin-bottom: -6px; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.sec-head h2 { max-width: 20ch; }
.sec-sub { margin: 10px 0 0; max-width: 52ch; }
.sub-h { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--s-title); line-height: 1.1; margin: 32px 0 14px; }
.page-head { padding-block: clamp(16px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { margin: 12px 0 0; }
.empty-note { padding: 20px; border-radius: var(--r-lg); background: var(--paper); margin: 0; }
.count-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--paper); font-size: var(--s-small); font-weight: 700; margin: 14px 0 0; }
.crumb { margin: 0 auto; }
.crumb a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; }

/* Shelves: swipe sideways on a phone, a grid on a wide screen */
.shelf {
  list-style: none; margin: 0 auto; max-width: var(--max);
  padding: 2px max(var(--margin), env(safe-area-inset-right)) 10px max(var(--margin), env(safe-area-inset-left));
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.shelf::-webkit-scrollbar { display: none; }
.shelf > li { min-width: 0; scroll-snap-align: start; }
@media (min-width: 640px) { .shelf { grid-auto-columns: 31%; } }
@media (min-width: 1000px) {
  .shelf { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); overflow: visible; gap: 14px; padding-bottom: 0; }
}

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; } }
.grid > li { min-width: 0; }

/* ------------------------------------------------------------------ product card */

.pcard { position: relative; height: 100%; background: var(--paper); border-radius: var(--r-lg); container-type: inline-size; }
.pcard:has(.card-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card-pic { position: relative; aspect-ratio: 1 / 1; margin: 6px 6px 0; overflow: hidden; border-radius: calc(var(--r-lg) - 6px); background: var(--band); }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.card-field {
  position: absolute; inset: 0; display: flex; align-items: flex-start; padding: 14px 14px 64px;
  color: var(--band-ink); font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking);
  font-size: clamp(1.125rem, 11.5cqi, 2rem); line-height: 1.02; overflow-wrap: anywhere; hyphens: auto;
}
.card-flag { position: absolute; top: 10px; left: 10px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-size: var(--s-small); font-weight: 700; }
.card-choose {
  position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 2px;
  min-height: 40px; padding: 0 8px 0 14px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink);
  font-size: var(--s-small); font-weight: 700;
}
.card-body { display: grid; gap: 2px; align-content: start; padding: 10px 14px 16px; }
.card-name { font-family: var(--font-text); font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { order: -1; margin: 0 0 2px; font-weight: 800; font-size: 1.0625rem; }
.card-was { color: var(--muted); font-weight: 500; font-size: var(--s-small); }
.card-unit, .card-meta { margin: 0; font-size: var(--s-small); color: var(--muted); line-height: 1.35; }
.card-unit, .card-meta { font-size: var(--s-ui); }
.card-meta { margin-top: 6px; }
.card-low { justify-self: start; margin: 8px 0 0; padding: 3px 10px; border-radius: var(--r-pill); background: var(--wash); font-size: var(--s-small); font-weight: 700; line-height: 1.35; }
.pcard.is-out .card-pic img { filter: grayscale(0.6); opacity: 0.75; }
.pcard.is-out .card-price { color: var(--muted); }

/* The plus on the picture's corner, and the stepper it becomes once the crop is in the bag */
.card-act {
  position: absolute; top: 6px; left: 6px; right: 6px; aspect-ratio: 1 / 1;
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 8px;
  pointer-events: none;
}
.card-act > * { pointer-events: auto; }
.qadd { margin: 0; }
.qadd-btn {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 3px solid var(--paper); border-radius: 50%; background: var(--accent); color: var(--accent-ink); cursor: pointer;
  -webkit-user-select: none; user-select: none;
  transition: transform var(--dur-press) var(--ease-out), background-color 160ms ease;
}
.qadd-btn:active { transform: scale(0.9); }
.qadd-btn[disabled] { cursor: progress; }
.qadd-btn .icon { transition: transform 260ms var(--ease-out); }
.qadd-btn.is-added .icon { transform: rotate(90deg); }
.qstep {
  display: inline-flex; align-items: center; height: 52px; padding: 0 1px;
  border: 3px solid var(--paper); border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink);
  -webkit-user-select: none; user-select: none;
}
.qstep-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: transform var(--dur-press) var(--ease-out), background-color 160ms ease; }
.qstep-btn:active { transform: scale(0.84); }
.qstep-n { min-width: 24px; text-align: center; font-weight: 800; font-size: 1.0625rem; }
.qstep-n .num { display: inline-block; }
.qstep-n .num.is-ticking { animation: tick 260ms var(--ease-out); }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; filter: blur(2px); } to { transform: none; opacity: 1; filter: none; } }
.qstep :focus-visible, .qadd-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ------------------------------------------------------------------ home: welcome card */

.welcome-grid { display: grid; gap: 10px; }
.welcome-card {
  --focus: var(--field-ink);
  display: grid; gap: 24px; align-content: space-between;
  padding: clamp(24px, 4.2vw, 64px);
  border-radius: var(--r-xl); background: var(--field); color: var(--field-ink);
}
.welcome-title { font-size: clamp(2.5rem, min(11.5vw, calc(270vw / var(--chars))), 5.75rem); line-height: var(--display-leading); max-width: 16ch; }
.welcome-sentence { margin: 16px 0 0; max-width: 40ch; font-size: var(--s-lead); line-height: 1.4; }
.welcome-actions { margin: 24px 0 0; }
.status {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--field-ink) 10%, var(--field));
}
.status-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--field-ink); color: var(--field); }
.status p { margin: 0; }
.status-day { display: grid; line-height: 1.15; }
.status-day strong { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--s-title); }
.status-cut { font-size: var(--s-small); line-height: 1.4; }
.status-left { display: inline-block; margin-left: 4px; padding: 1px 9px; border-radius: var(--r-pill); background: var(--field-ink); color: var(--field); font-weight: 700; white-space: nowrap; }
.status .text-link { color: var(--field-ink); }
.welcome-pic { position: relative; margin: 0; min-height: 260px; overflow: hidden; border-radius: var(--r-xl); background: var(--surface); }
.welcome-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.welcome-pic figcaption { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-size: var(--s-small); font-weight: 600; }
.welcome-tabs { margin-top: 10px; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cats > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cat {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  height: 100%; min-height: 60px; padding: 12px 16px 12px 18px; border-radius: var(--r-lg);
  background: var(--band, var(--paper)); color: var(--band-ink, var(--ink));
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: 1.125rem; line-height: 1.1;
  text-decoration: none;
  transition: transform var(--dur-press) var(--ease-out);
}
.cat:active { transform: scale(0.97); }
.cat .icon { transition: transform 220ms var(--ease-out); }
.cat.is-all { background: var(--paper); color: var(--ink); }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } .cats > li:last-child:nth-child(odd) { grid-column: auto; } .cat { min-height: 72px; font-size: var(--s-lead); } }
@media (min-width: 960px) {
  .welcome-card { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); align-items: end; column-gap: 48px; min-height: min(520px, 62svh); }
  .welcome.has-pic .welcome-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .welcome.has-pic .welcome-card { grid-template-columns: 1fr; }
  .welcome.has-pic .welcome-title { font-size: clamp(2.5rem, min(6vw, calc(140vw / var(--chars))), 5rem); }
  .welcome-pic { min-height: 100%; }
}

/* ------------------------------------------------------------------ home: the quick list */

.quick-head { align-items: flex-end; }
.quick-meta { margin: 8px 0 0; font-size: var(--s-small); color: var(--muted); }
.quick-groups { display: grid; gap: 28px; }
.quick-type { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.quick-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--r-pill); background: var(--surface); font-size: var(--s-small); font-weight: 700; }
.quick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 900px) { .quick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.qrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 12px 12px 16px; border-radius: var(--r-lg); background: var(--paper); }
.qrow.has-pic { grid-template-columns: 56px minmax(0, 1fr); padding-left: 12px; }
.qrow-pic { display: block; width: 56px; height: 56px; overflow: hidden; border-radius: var(--r-md); background: var(--surface); }
.qrow-pic img { width: 100%; height: 100%; object-fit: cover; }
.qrow-main { min-width: 0; }
.qrow-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 2px 0 10px; }
.qrow-name { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; text-decoration: none; }
.qrow-picked { font-size: var(--s-small); color: var(--muted); }
.qrow-low { padding: 1px 9px; border-radius: var(--r-pill); background: var(--wash); font-size: var(--s-small); font-weight: 700; }
.sizes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.size { display: flex; }
.size-form { margin: 0; display: flex; }
.size-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 5px 0 14px;
  border: 0; border-radius: var(--r-pill); background: var(--ground); color: var(--ink);
  font-size: var(--s-small); font-weight: 600; text-align: left; text-decoration: none; cursor: pointer;
  -webkit-user-select: none; user-select: none;
  transition: transform var(--dur-press) var(--ease-out), background-color 160ms ease;
}
.size-pill:active { transform: scale(0.96); }
.size-price { font-weight: 800; }
.size-plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); transition: transform 260ms var(--ease-out); }
.size-plus::before, .size-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 1px; background: currentColor; }
.size-plus::after { transform: rotate(90deg); }
.size-plus.is-go::before, .size-plus.is-go::after { width: 9px; margin-left: -6px; transform-origin: right center; }
.size-plus.is-go::before { transform: rotate(40deg); }
.size-plus.is-go::after { transform: rotate(-40deg); }
.size-pill.is-added .size-plus { transform: rotate(90deg); }
.size.is-out .size-pill { background: transparent; color: var(--muted); padding-right: 14px; cursor: default; }
.size.is-out .size-unit, .size.is-out .size-price { text-decoration: line-through; }
.size-state { font-weight: 700; }
.size-step { height: 44px; border-width: 0; }
.size-step .qstep-btn { width: 40px; height: 40px; }
.size-of { font-size: var(--s-small); font-weight: 600; }

/* ------------------------------------------------------------------ home: delivery days */

.deliv-grid { display: grid; gap: 12px; }
.deliv-pick { margin-top: 20px; padding: 18px; border-radius: var(--r-xl); background: var(--paper); }
.area-form > label { display: block; margin-bottom: 8px; font-weight: 700; }
.area-row { display: flex; flex-wrap: wrap; gap: 8px; }
.area-row .select-wrap { flex: 1 1 220px; min-width: 0; }
.area-answer {
  --focus: var(--field-ink);
  margin-top: 12px; padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--field); color: var(--field-ink);
}
.answer-day { margin: 0 0 6px; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--s-title); line-height: 1.05; }
.answer-text { margin: 0; }
.area-answer:not(:has(.answer-day)) { background: var(--ground); color: var(--ink); }
.deliv-fees { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-weight: 600; }
.runs { padding: 18px; border-radius: var(--r-xl); background: var(--paper); }
.runs-h { margin-bottom: 12px; }
.run-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.run { padding: 12px 16px; border-radius: var(--r-lg); background: var(--ground); }
.run-day { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; }
.run-day span { color: var(--muted); font-size: var(--s-small); }
.run-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.slip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; margin-inline: -10px; padding: 6px 10px; border-radius: var(--r-sm); transition: background-color 200ms ease; }
.slip-what { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.slip-when { flex: none; font-size: var(--s-small); color: var(--muted); text-align: right; }
.slip-row.is-mine { background: var(--paper); }
.slip-row.is-mine .slip-what::after { content: "Your area"; margin-left: 4px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.slip-row.is-full .slip-when { font-weight: 700; }
@media (min-width: 960px) {
  .deliv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
  .runs { padding: 24px; }
  .deliv-pick { padding: 24px; }
}

/* ------------------------------------------------------------------ farm boxes */

.plans { display: grid; gap: 12px; }
@media (min-width: 800px) { .plans { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); } }
.plan { display: grid; gap: 18px; align-content: start; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl); background: var(--paper); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px 16px; flex-wrap: wrap; }
.plan-name { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--s-title); line-height: 1.05; max-width: 16ch; }
.plan-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.15; }
.plan-price .num { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--s-title); }
.plan-per { font-size: var(--s-small); color: var(--muted); font-weight: 600; }
.plan-desc { margin: 0; max-width: 52ch; }
.plan-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.plan-items li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--band, var(--band-1)); color: var(--band-ink, var(--band-1-ink)); font-size: var(--s-small); font-weight: 700; }
.plan-items .plan-more { background: var(--surface); color: var(--ink); }
.plan-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan-facts li { display: flex; gap: 12px; align-items: flex-start; }
.plan-facts .icon { margin-top: 3px; }
.plan-go { margin: 0; }
.plan-go .btn { width: 100%; }
.plan.is-full { background: color-mix(in srgb, var(--paper) 60%, var(--ground)); }
@media (min-width: 860px) {
  .plans.is-one .plan { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 56px; padding: clamp(28px, 4vw, 56px); }
  .plans.is-one .plan > * { grid-column: 1; }
  .plans.is-one .plan-top { grid-row: 1; }
  .plans.is-one .plan-items, .plans.is-one .plan-desc { grid-row: 2; }
  .plans.is-one .plan-facts { grid-column: 2; grid-row: 1 / 3; align-self: start; padding: 20px; border-radius: var(--r-lg); background: var(--ground); }
  .plans.is-one .plan-go { grid-column: 2; grid-row: 3; }
  .plans.is-one .plan-items + .plan-desc { grid-row: 3; }
}
.how h2 { margin-bottom: 20px; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.how-list li { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r-xl); background: var(--paper); }
.how-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; background: var(--surface); }
.how-list strong { font-size: var(--s-h3); }
@media (min-width: 860px) { .how-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }

/* ------------------------------------------------------------------ meet the farmer */

.meet-card { display: grid; grid-template-areas: "h" "side" "main"; gap: 16px; padding: clamp(20px, 3.6vw, 56px); border-radius: var(--r-xl); background: var(--paper); }
.meet-h { grid-area: h; }
.meet-side { grid-area: side; }
.meet-main { grid-area: main; }
.meet-side { display: flex; align-items: center; gap: 16px; }
.meet-avatar { flex: none; display: grid; place-items: center; width: 76px; aspect-ratio: 1; border-radius: 50%; background: var(--band-1); color: var(--band-1-ink); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.75rem; letter-spacing: 0; }
.meet-pic { width: 88px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; flex: none; }
.meet-who { margin: 0; display: grid; line-height: 1.3; }
.meet-who strong { font-size: var(--s-h3); }
.meet-who span { color: var(--muted); font-size: var(--s-small); }
.meet-letter p { max-width: 62ch; line-height: 1.6; }
.meet-letter p:last-child { margin-bottom: 0; }
.meet-acts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.meet-acts .pill { background: var(--ground); }
@media (min-width: 860px) {
  .meet-card { grid-template-areas: "side h" "side main"; grid-template-columns: minmax(200px, 0.75fr) minmax(0, 2fr); grid-template-rows: auto 1fr; gap: 16px 56px; align-items: start; }
  .meet-side { display: grid; justify-items: start; gap: 16px; }
  .meet-avatar { width: clamp(120px, 13vw, 176px); font-size: var(--s-h2); }
  .meet-pic { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
}

/* ------------------------------------------------------------------ picture with text */

.iwt-grid { display: grid; gap: 10px; }
.iwt-pic { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-xl); background: var(--surface); }
.iwt-pic img { width: 100%; height: 100%; object-fit: cover; }
.iwt-pic figcaption { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-size: var(--s-small); font-weight: 600; }
.iwt-card { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--paper); }
.iwt-text { margin: 0; max-width: 44ch; font-size: var(--s-lead); line-height: 1.45; }
.iwt-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.iwt.no-pic .iwt-card { --focus: var(--field-ink); background: var(--field); color: var(--field-ink); }
@media (min-width: 860px) {
  .iwt.has-pic .iwt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .iwt-right .iwt-pic { order: 2; }
  .iwt.has-pic .iwt-pic { aspect-ratio: auto; min-height: 420px; }
  .iwt.no-pic .iwt-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: end; }
  .iwt.no-pic .iwt-card > h2 { grid-row: 1 / 3; align-self: start; }
  .iwt.no-pic .iwt-text, .iwt.no-pic .iwt-acts { grid-column: 2; }
}

/* ------------------------------------------------------------------ reviews */

.review-shelf { grid-auto-columns: 84%; }
@media (min-width: 640px) { .review-shelf { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .review-shelf { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.review { display: flex; flex-direction: column; gap: 12px; height: 100%; margin: 0; padding: 22px; border-radius: var(--r-xl); background: var(--paper); }
.stars { display: flex; gap: 2px; margin: 0; }
.stars .icon { stroke: var(--star-edge); stroke-width: 1.5; }
.stars .icon.on { fill: var(--star); }
.stars .icon.off { stroke: var(--edge); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0 0 6px; }
.review-title { font-weight: 700; font-size: var(--s-h3); line-height: 1.3; }
.review figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: var(--s-small); }
.review-avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--band-3); color: var(--band-3-ink); font-weight: 800; }
.review-by a { font-weight: 700; }

/* ------------------------------------------------------------------ journal posts */

.post { height: 100%; border-radius: var(--r-xl); background: var(--paper); }
.post:has(.post-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.post-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border-radius: inherit; }
.post-link:focus-visible { outline: none; }
.post-pic { position: relative; aspect-ratio: 16 / 10; margin: 6px 6px 0; overflow: hidden; border-radius: calc(var(--r-xl) - 6px); background: var(--band); }
.post-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.post-field { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; color: var(--band-ink); font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.05; }
.post-text { display: grid; gap: 6px; padding: 14px 18px 22px; }
.post-title { font-size: var(--s-h3); }
.post-meta { font-size: var(--s-small); color: var(--muted); }
.post-excerpt { font-size: var(--s-ui); }
.post-shelf { grid-auto-columns: 78%; }
@media (min-width: 640px) { .post-shelf { grid-auto-columns: 44%; } }
@media (min-width: 1000px) { .post-shelf { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-grid > .is-lead { grid-column: 1 / -1; } .post-grid > .is-lead .post-link { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; } .post-grid > .is-lead .post-pic { margin: 6px; } .post-grid > .is-lead .post-title { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--s-h2); line-height: 1.05; } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ newsletter and the big button */

.news-card { display: grid; gap: 20px; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--surface); }
.news-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: var(--paper); }
.news-copy h2 { margin-bottom: 10px; }
.news-copy p { margin: 0; max-width: 42ch; }
.news-form > label:not(.hp) { display: block; margin-bottom: 8px; font-weight: 700; }
.news-row { display: flex; flex-wrap: wrap; gap: 8px; }
.news-row .input { flex: 1 1 160px; border-radius: var(--r-pill); padding-inline: 20px; }
@media (min-width: 860px) { .news-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 56px; } }

.cta-card {
  --focus: var(--accent-ink);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl);
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  transition: transform var(--dur-press) var(--ease-out);
}
.cta-card:active { transform: scale(0.985); }
.cta-word { font-size: clamp(2.75rem, 1.8rem + 4.6vw, 6.5rem); line-height: 0.95; }
.cta-sentence { display: block; margin-top: 12px; max-width: 36ch; font-size: var(--s-lead); line-height: 1.35; }
.cta-go { flex: none; display: grid; place-items: center; width: clamp(64px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--accent-ink); color: var(--accent); transition: transform 320ms var(--ease-out); }

/* ------------------------------------------------------------------ footer */

.foot { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; gap: 10px; }
.foot-card { --focus: var(--field-ink); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--field); color: var(--field-ink); }
.foot-card h2 { max-width: 14ch; }
.foot-card p { margin: 12px 0 24px; max-width: 34ch; font-size: var(--s-lead); line-height: 1.4; }
.foot-reach, .foot-menu { padding: 18px 20px; border-radius: var(--r-xl); background: var(--paper); }
.foot-h3 { margin-bottom: 6px; font-size: var(--s-ui); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.reach-list a, .foot-menu a { display: flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.foot-addr { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 0; color: var(--muted); }
.foot-addr .icon { margin-top: 3px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 20px; font-size: var(--s-small); color: var(--muted); }
.foot-legal p { margin: 0; }
.foot-legal a { color: var(--ink); font-weight: 600; }
.foot-credits { flex: 1 1 100%; order: 3; max-width: 70ch; }
@media (min-width: 640px) and (max-width: 959px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-card { grid-column: 1 / -1; } }
@media (min-width: 960px) { .foot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr); } .foot-grid:not(:has(.foot-menu)) { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .foot-card { display: flex; flex-direction: column; justify-content: space-between; } }
.foot-min { padding-block: 24px calc(24px + env(safe-area-inset-bottom)); font-size: var(--s-small); color: var(--muted); }
.foot-min p { margin: 0; }
.foot-min a { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ the bag bar (phones: the whole width; wide screens: a card in the corner) */

.bagbar-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 0 max(12px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  pointer-events: none;
  transition: transform 340ms var(--ease-drawer), opacity 220ms ease;
}
.bagbar-dock.is-away, body.has-sticky-buy .bagbar-dock, body.menu-open .bagbar-dock { transform: translateY(calc(100% + 24px)); opacity: 0; }
.bagbar {
  --focus: var(--field-ink);
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  max-width: 560px; min-height: 64px; margin-inline: auto; padding: 8px 8px 8px 12px;
  border-radius: var(--r-lg); background: var(--field); color: var(--field-ink);
  text-decoration: none; box-shadow: var(--lift); /* taste-skill-ignore: the bag bar floats over the page */
  -webkit-user-select: none; user-select: none;
  transition: transform var(--dur-press) var(--ease-out);
}
.bagbar:active { transform: scale(0.98); }
.bagbar:focus-visible { outline-offset: 3px; outline-color: var(--ink); }
.bagbar-ico { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); background: color-mix(in srgb, var(--field-ink) 14%, var(--field)); }
.bagbar-ico .bag-count { position: absolute; top: -7px; right: -8px; background: var(--field-ink); color: var(--field); outline: 2px solid var(--field); }
.bagbar-text { display: grid; flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.bagbar-label { font-weight: 700; }
.bagbar-items { font-size: var(--s-small); color: var(--field-muted); }
.bagbar-total { font-weight: 800; font-size: 1.0625rem; }
.bagbar-total.is-ticking { animation: tick 300ms var(--ease-out); }
.bagbar-go { flex: none; display: inline-flex; align-items: center; gap: 2px; min-height: 48px; padding: 0 8px 0 16px; border-radius: var(--r-md); background: var(--field-ink); color: var(--field); font-weight: 700; }
body.has-bagbar .toasts { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .bagbar-dock { left: auto; right: max(24px, env(safe-area-inset-right)); bottom: 24px; padding: 0; }
  .bagbar { width: 380px; }
  body.has-bagbar .toasts { bottom: 24px; }
}
.js .bagbar-dock.is-new { transform: translateY(calc(100% + 24px)); opacity: 0; }

/* ------------------------------------------------------------------ the bag sheet */

.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: var(--scrim); opacity: 0; transition: opacity 300ms ease; }
.drawer-scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; z-index: 61; left: 0; right: 0; bottom: 0;
  max-height: min(88dvh, 820px);
  display: flex; flex-direction: column;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--paper); color: var(--ink); box-shadow: var(--lift); /* taste-skill-ignore: the bag sheet floats */
  transform: translateY(100%); transition: transform 360ms var(--ease-drawer);
}
.drawer.is-open { transform: none; }
.drawer-grip { flex: none; display: block; width: 44px; height: 5px; margin: 10px auto 0; border-radius: 3px; background: var(--surface); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 14px 6px 22px; }
.drawer-head h2 { font-size: var(--s-title); }
.drawer-notice { margin: 0 22px 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--band-2); color: var(--band-2-ink); font-size: var(--s-small); font-weight: 700; }
.drawer-body { flex: 1 1 auto; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; padding: 0 22px; }
.drawer-empty { padding: 24px 0; color: var(--muted); }
.drawer-foot { display: grid; gap: 10px; padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); background: var(--ground); }
.drawer-note { margin: 0; font-size: var(--s-small); color: var(--muted); }
.drawer-go { justify-content: space-between; }
.drawer-foot .text-link { justify-self: center; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 900px) {
  .drawer { top: 12px; right: 12px; bottom: 12px; left: auto; width: min(440px, calc(100vw - 24px)); max-height: none; border-radius: var(--r-xl); overflow: hidden; transform: translateX(calc(100% + 24px)); }
  .drawer-grip { display: none; }
  .drawer-head { padding-top: 14px; }
  .drawer-foot { padding-bottom: 20px; }
}
.sums { margin: 0; display: grid; gap: 6px; }
.sums > div { display: flex; justify-content: space-between; gap: 16px; }
.sums dt, .sums dd { margin: 0; }
.sums dd { font-weight: 700; text-align: right; }
.sums .is-total { margin: 6px -14px 0; padding: 12px 14px; border-radius: var(--r-md); background: var(--ground); font-size: var(--s-lead); font-weight: 800; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; transition: opacity 220ms ease, transform 220ms var(--ease-out); }
.line.is-leaving { opacity: 0; transform: translateX(16px); }
.line-img { position: relative; display: block; width: 64px; height: 64px; overflow: hidden; border-radius: var(--r-md); background: var(--band-1); }
.line-img img { width: 64px; height: 64px; object-fit: cover; }
.line-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--band-1-ink); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; }
.line-title { font-weight: 700; text-decoration: none; line-height: 1.3; }
.line-unit { margin: 2px 0 8px; font-size: var(--s-small); color: var(--muted); }
.line-problem { margin: 0 0 8px; font-size: var(--s-small); font-weight: 700; color: var(--danger-ink); }
.line-end { display: grid; justify-items: end; align-content: start; }
.line-total { margin: 0; font-weight: 800; }

/* ------------------------------------------------------------------ toasts */

.toasts { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80; display: grid; gap: 8px; width: min(480px, calc(100vw - 24px)); transform: translateX(-50%); pointer-events: none; transition: bottom 300ms var(--ease-drawer); }
body:has(.drawer.is-open) .toasts { top: calc(12px + env(safe-area-inset-top)); bottom: auto; }
.toast { margin: 0; padding: 14px 18px; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); font-weight: 600; box-shadow: var(--lift); /* taste-skill-ignore: toasts float */ transition: opacity 300ms ease, transform 300ms var(--ease-out); pointer-events: auto; }
.toast.is-error { background: var(--danger-ink); color: #fff; }
.toast.is-entering, .toast.is-leaving { opacity: 0; transform: translateY(16px) scale(0.98); }

/* ------------------------------------------------------------------ collection, search, collections */

.coll-head { display: grid; gap: 4px; }
.coll-intro .lead { margin: 12px 0 0; }
.coll-intro .lead p { margin: 0; }
@media (min-width: 900px) { .coll-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 48px; } .coll-intro .lead { margin-top: 0; } }
.coll-switch { margin-bottom: 8px; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 16px; padding: 12px; border-radius: var(--r-lg); background: var(--paper); }
.filter { display: grid; gap: 4px; flex: 1 1 150px; min-width: 0; }
.filter > label { font-size: var(--s-small); font-weight: 700; }
.filter .select { min-height: 46px; border-radius: var(--r-pill); background: var(--ground); border-color: transparent; }
.filter-sort { flex: 1 1 190px; }
.filter-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { position: relative; display: inline-flex; cursor: pointer; }
.toggle input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.toggle span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: var(--r-pill); background: var(--ground); font-weight: 600; transition: background-color 160ms ease; }
.toggle input:checked + span { background: var(--ink); color: var(--paper); }
.toggle input:checked + span::before { content: ""; width: 10px; height: 5px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.toggle input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.filter-clear { align-self: center; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 699px) {
  /* On a phone the filters are one row of round buttons that scrolls sideways, so the crops start on the first screen. */
  .filters { flex-wrap: nowrap; gap: 8px; margin-inline: calc(-1 * var(--margin)); padding: 2px var(--margin) 6px; overflow-x: auto; border-radius: 0; background: none; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter, .filter-sort { flex: none; }
  .filter > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .filter .select { width: auto; max-width: 70vw; background: var(--paper); }
  .filter-checks { flex: none; flex-wrap: nowrap; }
  .toggle span { background: var(--paper); white-space: nowrap; }
  .filter-clear { flex: none; white-space: nowrap; }
}
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 32px 0 0; }
.pager p { margin: 0; color: var(--muted); }
.empty-card { display: grid; justify-items: start; gap: 8px; margin-bottom: 24px; padding: clamp(24px, 5vw, 56px); border-radius: var(--r-xl); background: var(--paper); }
.empty-card h2 { font-size: var(--s-title); }
.empty-card p { margin: 0; max-width: 46ch; }
.empty-card .btn { margin-top: 8px; }
.empty-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 50%; background: var(--surface); }
.search-form { position: relative; display: flex; gap: 8px; width: 100%; max-width: 640px; margin-top: 16px; }
.search-form .input { flex: 1; min-width: 0; padding-left: 48px; border-radius: var(--r-pill); }
.search-ico { position: absolute; left: 18px; top: 16px; color: var(--muted); pointer-events: none; }
.search-pages { padding-top: 16px; }
.row-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.row-links a, .row-links.static li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px; border-radius: var(--r-lg); background: var(--paper); font-weight: 600; text-decoration: none; }
.coll { height: 100%; border-radius: var(--r-lg); background: var(--paper); }
.coll:has(.coll-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.coll-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.coll-link:focus-visible { outline: none; }
.coll-pic { position: relative; aspect-ratio: 4 / 3; margin: 6px 6px 0; overflow: hidden; border-radius: calc(var(--r-lg) - 6px); background: var(--band); }
.coll-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.coll-pic .card-field { padding-bottom: 14px; align-items: flex-end; }
.coll-body { display: grid; gap: 2px; padding: 12px 14px 16px; }
.coll-name { font-size: 1.0625rem; }
.coll-count { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: var(--s-small); color: var(--muted); font-weight: 600; white-space: nowrap; }
.all-link { margin: 24px 0 0; }

/* ------------------------------------------------------------------ product page */

.product-grid { display: grid; gap: 10px; padding-top: 4px; }
.gallery { min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r-xl); background: var(--band); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-field { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: clamp(22px, 4vw, 48px); color: var(--band-ink); font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(2.5rem, 1.6rem + 4.6vw, 5.5rem); line-height: 0.98; overflow-wrap: anywhere; hyphens: auto; }
.gallery-type { position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-family: var(--font-text); font-size: var(--s-small); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.gallery-main .card-flag { top: 16px; left: auto; right: 16px; }
@media (max-width: 899px) { .gallery-main:has(.gallery-field) { aspect-ratio: 3 / 2; } }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.thumb { flex: none; width: 72px; height: 72px; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-md); background: var(--surface); cursor: pointer; opacity: 0.72; transition: opacity 160ms ease; }
.thumb[aria-current="true"] { opacity: 1; outline: 3px solid var(--ink); outline-offset: -3px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.buy-card { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl); background: var(--paper); }
.product-title { font-size: var(--s-h2); line-height: var(--display-leading); }
.tag-line { margin: 12px 0 0; max-width: 40ch; font-size: var(--s-lead); line-height: 1.4; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 18px 0 0; }
.price { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -0.01em; font-size: var(--s-title); line-height: 1; }
.price-unit { color: var(--muted); font-weight: 600; }
.price-was { color: var(--muted); }
.tag-note { margin: 6px 0 0; font-weight: 700; }
.tag-tax { margin: 4px 0 0; font-size: var(--s-small); color: var(--muted); }
.buy { margin-top: 20px; }
.pick { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.pick legend { margin-bottom: 10px; padding: 0; font-weight: 700; }
.pick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pick-opt {
  position: relative; display: grid; gap: 1px; align-content: center; min-height: 68px; padding: 10px 14px;
  border: 2px solid transparent; border-radius: var(--r-md); background: var(--ground); cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform var(--dur-press) var(--ease-out);
}
.pick-opt:active { transform: scale(0.98); }
.pick-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pick-opt:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.pick-opt:has(input:checked)::after { content: ""; position: absolute; top: 12px; right: 12px; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.pick-opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.pick-opt.is-out { color: var(--muted); cursor: not-allowed; }
.pick-opt.is-out .pick-name, .pick-opt.is-out .pick-price { text-decoration: line-through; }
.pick-name { font-weight: 700; padding-right: 18px; }
.pick-price { font-weight: 600; }
.pick-left { font-size: var(--s-small); color: var(--muted); }
.pick-left:empty { display: none; }
.buy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.buy-row .stepper { height: var(--control); grid-template-columns: 48px 52px 48px; }
.buy-btn { flex: 1 1 140px; }
.buy-btn[disabled] { background: var(--surface); color: var(--muted); cursor: not-allowed; }
.buy-btn.is-added { background: var(--ink); color: var(--paper); }
.stock-line { margin: 12px 0 0; font-weight: 700; }
.preorder { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--band-2); color: var(--band-2-ink); }
.fact-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fact-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--ground); font-size: var(--s-small); font-weight: 600; }
.deliver-to { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--wash); }
.deliver-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); }
.deliver-copy { flex: 1 1 auto; min-width: 0; }
.deliver-copy p { margin: 0 0 10px; line-height: 1.4; }
.area-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.area-mini > label:not(.sr-only) { flex: 1 1 100%; display: block; font-weight: 700; }
.area-mini .select-wrap { flex: 1 1 220px; min-width: 0; }
.area-mini .select { min-height: 48px; }
.product-more { display: grid; gap: 10px; padding-top: var(--section); }
.more-card { padding: clamp(20px, 3vw, 40px); border-radius: var(--r-xl); background: var(--paper); }
.more-card h2 { margin-bottom: 14px; font-size: var(--s-title); }
.facts { display: grid; gap: 4px; margin: 18px 0; }
.facts > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 14px; border-radius: var(--r-md); background: var(--ground); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.reviews-top { margin-bottom: 16px; }
.reviews-top p { margin: 0; }
.review-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.review-list li { padding: 16px; border-radius: var(--r-lg); background: var(--ground); }
.review-list p { margin: 0 0 4px; max-width: 58ch; }
.review-list .stars { margin-bottom: 6px; }
.review-form-wrap > summary { list-style: none; display: inline-flex; }
.review-form-wrap > summary::-webkit-details-marker { display: none; }
.review-form-wrap:not([open]) > .review-form, .cancel-box:not([open]) > form { display: none; }
.review-form { margin-top: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--ground); }
.review-form .input, .review-form .textarea { background: var(--paper); }
.rating { margin: 0 0 16px; padding: 0; border: 0; }
.rating legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rate { position: relative; }
.rate input { position: absolute; opacity: 0; }
.rate span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); font-weight: 700; cursor: pointer; transition: background-color 160ms ease; }
.rate input:checked + span { background: var(--ink); color: var(--paper); }
.rate input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.rating-row .hint { margin-left: 8px; }
.related { padding-top: var(--section); }
@media (min-width: 900px) {
  .product-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; padding-top: 8px; }
  .buy-col { position: sticky; top: calc(var(--bar-h) + 16px); }
  .product-more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
}
.sticky-buy {
  position: fixed; z-index: 46;
  left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom));
  border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--lift); /* taste-skill-ignore: the buy bar floats */
  transform: translateY(calc(100% + 40px)); transition: transform 340ms var(--ease-drawer);
}
.sticky-buy.is-shown { transform: none; }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; }
.sticky-inner p { margin: 0; min-width: 0; line-height: 1.3; }
.sticky-name { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.has-sticky-buy .toasts { bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .sticky-buy { display: none; } body.has-sticky-buy .toasts { bottom: 24px; } }

/* ------------------------------------------------------------------ content pages, delivery, journal */

.doc { padding-top: clamp(12px, 3vw, 40px); }
.doc-head { max-width: 900px; margin-bottom: 20px; }
.doc-head h1 { font-size: var(--s-h1); }
.doc-head .lead { margin: 12px 0 0; }
.doc-meta { margin: 12px 0 0; color: var(--muted); font-weight: 600; }
.doc-card { max-width: 880px; padding: clamp(22px, 5vw, 64px); border-radius: var(--r-xl); background: var(--paper); }
.doc-plate { width: 100%; max-height: 64svh; margin-bottom: 10px; object-fit: cover; border-radius: var(--r-xl); }
.doc-grid { display: grid; gap: 10px; }
.doc-aside { display: grid; gap: 10px; align-content: start; }
.aside-shop {
  --focus: var(--field-ink);
  position: relative; display: grid; gap: 6px; padding: 24px 24px 72px; border-radius: var(--r-xl);
  background: var(--field); color: var(--field-ink); text-decoration: none;
}
.aside-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; background: var(--field-ink); color: var(--field); }
.aside-big { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--s-title); line-height: 1.05; }
.aside-small { color: var(--field-muted); font-size: var(--s-small); max-width: 34ch; }
.aside-go { position: absolute; left: 24px; bottom: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--field-ink); color: var(--field); transition: transform 260ms var(--ease-out); }
.aside-ask { padding: 20px; border-radius: var(--r-xl); background: var(--paper); }
.aside-h { margin: 0 0 10px; font-weight: 700; }
.aside-ask .row-links a { background: var(--ground); min-height: 52px; }
.aside-ask .row-links span { display: inline-flex; align-items: center; gap: 10px; }
.doc-grid > .doc-card { max-width: none; }
@media (min-width: 1000px) { .doc-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: var(--gap); align-items: start; } .doc-aside { position: sticky; top: calc(var(--bar-h) + 16px); } }
.doc-ask { max-width: 880px; margin: 24px 0 0; }
.prose { max-width: 68ch; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose li { line-height: 1.65; }
.prose h2 { margin: 1.5em 0 0.5em; font-size: var(--s-title); line-height: 1.15; }
.prose h3 { margin: 1.3em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.35em; }
.prose a { font-weight: 600; }
.prose img { margin: 1.5em 0; border-radius: var(--r-lg); }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-radius: var(--r-lg); background: var(--ground); }
.info-cols { display: grid; gap: 0 var(--gap); }
.info-cols .info-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 900px) { .info-cols:has(> .info-sec + .info-sec) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.info-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.info-card { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--r-xl); background: var(--paper); }
.info-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: var(--r-md); background: var(--band); color: var(--band-ink); }
.info-where { margin: 0; color: var(--muted); }
.info-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.info-facts li { display: flex; gap: 10px; align-items: flex-start; }
.info-facts .icon { margin-top: 3px; }
.page-delivery .deliv { padding-top: 32px; }

/* ------------------------------------------------------------------ the bag page */

.bag-grid { display: grid; gap: 12px; }
.bag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bag-line {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img item total" "img qty qty";
  gap: 8px 14px; padding: 12px; border-radius: var(--r-lg); background: var(--paper);
}
.bag-line.has-problem { outline: 2px solid var(--danger); outline-offset: -2px; }
.bag-img { grid-area: img; position: relative; width: 72px; height: 72px; overflow: hidden; border-radius: var(--r-md); background: var(--band); }
.bag-img img { width: 100%; height: 100%; object-fit: cover; }
.bag-img .line-ph { color: var(--band-ink); }
.bag-item { grid-area: item; display: grid; gap: 2px; align-content: start; min-width: 0; }
.bag-item .line-unit { margin: 0; }
.bag-qty { grid-area: qty; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bag-total { grid-area: total; margin: 0; font-weight: 800; text-align: right; }
.bag-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0; }
.js .bag-actions .btn { display: none; }
.bag-note { max-width: 560px; margin-top: 8px; }
.total-card { display: grid; gap: 16px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-xl); background: var(--paper); }
.total-h { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--s-title); line-height: 1.1; }
.total-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: var(--s-small); line-height: 1.45; }
.total-note .icon { margin-top: 1px; }
.total-note.is-error { color: var(--danger-ink); font-weight: 700; }
.checkout-go { justify-content: space-between; }
.code-form > label, .area-mini > label { display: block; margin-bottom: 8px; font-weight: 700; }
.code-form { margin: 0; }
.code-on { margin: 0; }
.bag-suggest { padding-top: 8px; }
@media (min-width: 700px) {
  .bag-line { grid-template-columns: 80px minmax(0, 1fr) auto 110px; grid-template-areas: "img item qty total"; align-items: center; }
  .bag-img { width: 80px; height: 80px; }
}
@media (min-width: 1000px) {
  .bag-grid { grid-template-columns: minmax(0, 1.6fr) minmax(330px, 1fr); gap: var(--gap); align-items: start; }
  .bag-side { position: sticky; top: calc(var(--bar-h) + 16px); }
}

/* ------------------------------------------------------------------ checkout (Field's one-page checkout, in this theme's cards) */

.co-head { padding-block: clamp(12px, 3vw, 32px) 14px; }
.co-head h1 { font-size: var(--s-h2); }
.co-head .lead { margin: 6px 0 0; }
.co-grid { display: grid; gap: 10px; }
@media (min-width: 1000px) { .co-grid { grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); gap: var(--gap); align-items: start; } .co-side { position: sticky; top: 16px; } }
@media (max-width: 999px) { .co-side { order: -1; } .co-side [data-place] { display: none; } }
.form-block { min-width: 0; margin: 0 0 10px; padding: clamp(20px, 3vw, 32px); border: 0; border-radius: var(--r-xl); background: var(--paper); }
.form-block legend { float: left; width: 100%; margin-bottom: 16px; padding: 0; }
.form-block legend + * { clear: left; }
.form-block legend h2 { font-size: var(--s-title); line-height: 1.15; }
.sub-block { margin-top: 20px; }
.sub-block h3 { margin-bottom: 10px; font-size: 1.0625rem; }
.choice-row { display: grid; gap: 8px; }
@media (min-width: 640px) { .choice-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 2px solid transparent; border-radius: var(--r-lg); background: var(--ground); cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; }
.choice input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.choice > span { display: grid; gap: 2px; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.choice.wide { margin-bottom: 8px; }
.days { margin-top: 14px; }
.days-zone { margin: 0 0 8px; }
.day-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.day { position: relative; display: grid; gap: 2px; align-content: center; min-height: 64px; padding: 10px 14px; border: 2px solid transparent; border-radius: var(--r-md); background: var(--ground); cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, transform var(--dur-press) var(--ease-out); }
.day:active { transform: scale(0.98); }
.day input { position: absolute; opacity: 0; }
.day:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.day:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.day-name { font-weight: 700; }
.day-cut { font-size: var(--s-small); color: var(--muted); }
.day.is-full { cursor: not-allowed; color: var(--muted); }
.day.is-full .day-name { text-decoration: line-through; }
.windows { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 8px; }
.zone-msg { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--r-md); background: var(--wash); font-weight: 600; }
.zone-msg.is-error { background: var(--danger-wash); color: var(--danger-ink); }
.gift { margin-top: 20px; }
.gift > label { display: block; margin-bottom: 8px; font-weight: 700; }
.bank { padding: 16px; border-radius: var(--r-lg); background: var(--ground); }
.sub-block.card .notice { background: var(--band-2); color: var(--band-2-ink); }
.place-btn { min-height: 60px; margin: 8px 0 20px; font-size: 1.0625rem; }
.slip { padding: clamp(20px, 3vw, 28px); border-radius: var(--r-xl); background: var(--paper); }
.slip-title { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: var(--s-title); line-height: 1.1; }
.receipt .sums { margin: 18px 0; }
.receipt-note { margin: 12px 0 0; font-size: var(--s-small); color: var(--muted); }
.receipt-note.is-error { color: var(--danger-ink); font-weight: 700; }
.co-lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.co-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.co-img { position: relative; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--band-1); }
.co-img img { width: 56px; height: 56px; object-fit: cover; border-radius: inherit; }
.co-img .line-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.25rem; }
.co-qty { position: absolute; right: -7px; top: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 800; }
.co-name { display: block; font-weight: 700; line-height: 1.3; }
.co-each { display: block; font-weight: 400; font-size: var(--s-small); color: var(--muted); }
.co-total { font-weight: 800; }
.co-side .code-form { margin: 18px 0 0; }
.co-side .btn-wide { margin-top: 4px; }
.page-checkout main { padding-bottom: 24px; }

/* ------------------------------------------------------------------ order status */

.order-head h1 { font-size: var(--s-h1); }
.order-grid { display: grid; gap: 10px; }
@media (min-width: 1000px) { .order-grid { grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); gap: var(--gap); align-items: start; } }
.track { margin-bottom: 10px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-xl); background: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.step-item { display: grid; gap: 6px; align-content: start; }
.step-bar { position: relative; display: block; height: 10px; overflow: hidden; border-radius: 5px; background: var(--surface); }
.step-item.is-done .step-bar { background: var(--ink); }
.step-item.is-current .step-bar::after { content: ""; position: absolute; inset: 0 50% 0 0; border-radius: inherit; background: var(--ink); }
.step-label { font-weight: 700; line-height: 1.25; }
.step-when { font-size: var(--s-small); color: var(--muted); }
.steps.is-cancelled .step-bar { background: var(--surface); }
@media (max-width: 599px) {
  .steps { grid-template-columns: 1fr; gap: 4px; }
  .step-item { grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; }
  .step-bar { height: 100%; min-height: 36px; }
}
.hand, .pay-transfer { margin-bottom: 10px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: var(--paper); }
.hand h2, .pay-transfer h2 { margin-bottom: 12px; font-size: var(--s-title); }
.hand-day { font-size: var(--s-lead); font-weight: 700; }
.order-account, .order-help { margin: 16px 0 0; }

/* ------------------------------------------------------------------ accounts (Field's account pages, in this theme's cards) */

.auth { padding-block: clamp(12px, 4vw, 56px) 0; }
.auth-sheet { max-width: 520px; margin-inline: auto; padding: clamp(24px, 5vw, 44px); border-radius: var(--r-xl); background: var(--paper); }
.auth-sheet h1 { font-size: var(--s-h2); }
.auth-sheet .lead { margin: 12px 0 24px; }
.auth-form .btn-wide { margin-top: 8px; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 16px 0 0; }
.auth-links .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.acct-head h1 { font-size: var(--s-h1); }
.tab-row { display: flex; gap: 8px; margin-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.tab-row::-webkit-scrollbar { display: none; }
.crate-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.crate-tab.is-on { background: var(--ink); color: var(--paper); }
.tab-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-size: 0.8125rem; font-weight: 800; }
.acct-panel { padding: clamp(20px, 3.5vw, 40px); border-radius: var(--r-xl); background: var(--paper); }
.panel-h { margin-bottom: 20px; font-size: var(--s-title); }
.empty-board { display: grid; justify-items: start; gap: 8px; padding: 24px; border-radius: var(--r-lg); background: var(--ground); }
.empty-board h2, .empty-board h3 { font-size: var(--s-h3); }
.empty-board p { margin: 0; }
.acct-table { width: 100%; border-collapse: collapse; }
.acct-table th { padding: 8px 12px 8px 0; text-align: left; font-size: var(--s-small); font-weight: 700; color: var(--muted); }
.acct-table td { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.acct-table .n { text-align: right; }
.acct-table td > a.line-title, .acct-table .line-unit { display: block; }
.acct-table .line-unit { font-size: var(--s-small); color: var(--muted); }
.acct-table .acts { text-align: right; }
.acct-table form { margin: 0; }
@media (max-width: 699px) {
  .acct-table thead { display: none; }
  .acct-table, .acct-table tbody, .acct-table tr, .acct-table td { display: block; }
  .acct-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; margin-bottom: 8px; padding: 14px; border-radius: var(--r-lg); background: var(--ground); }
  .acct-table td { padding: 0; border: 0; }
  .acct-table td.acts { grid-column: 1 / -1; margin-top: 8px; text-align: left; }
}
.box-row { display: grid; gap: 14px; margin-bottom: 8px; padding: 18px; border-radius: var(--r-lg); background: var(--ground); }
.box-row.is-off { opacity: 0.8; }
.box-row h3 { font-size: var(--s-lead); }
.box-when { margin: 6px 0 4px; font-weight: 700; }
.box-acts { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; }
.box-acts form { margin: 0; }
.pause-form { display: flex; gap: 8px; }
.pause-form .select { min-height: 52px; }
.cancel-box > summary { list-style: none; }
.cancel-box > summary::-webkit-details-marker { display: none; }
.cancel-box form { display: grid; gap: 8px; max-width: 360px; margin-top: 8px; }
@media (min-width: 900px) { .box-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.addr-grid { display: grid; gap: 8px; margin-bottom: 20px; }
@media (min-width: 700px) { .addr-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.addr { padding: 18px; border-radius: var(--r-lg); background: var(--ground); }
.addr.is-main { --focus: var(--field-ink); background: var(--field); color: var(--field-ink); }
.addr.is-main .muted, .addr.is-main .hint { color: var(--field-muted); }
.addr h3 { margin-bottom: 8px; }
.addr-acts { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.addr-acts form { margin: 0; }
.sheet-form { margin-bottom: 16px; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-lg); background: var(--ground); }
.sheet-form h3 { margin: 4px 0 14px; }
.sheet-form .input, .sheet-form .select, .sheet-form .textarea { background: var(--paper); }
.form-acts { display: flex; align-items: center; gap: 16px; margin: 8px 0 0; }
.details-grid { display: grid; gap: 12px; }
@media (min-width: 1000px) { .details-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }

/* ------------------------------------------------------------------ farm box sign-up */

.box-head h1 { font-size: var(--s-h1); }
.box-grid { display: grid; gap: 12px; }
.stack-form { min-width: 0; }
.box-aside .plan-items { margin-bottom: 4px; }
@media (min-width: 960px) { .box-grid { grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: var(--gap); align-items: start; } .box-aside { position: sticky; top: calc(var(--bar-h) + 16px); } }

/* ------------------------------------------------------------------ errors and the locked shop */

.error-sec { padding-top: clamp(12px, 5vw, 64px); }
.error-grid { display: grid; gap: 10px; }
.error-card { display: grid; justify-items: start; align-content: center; gap: 12px; padding: clamp(24px, 5vw, 56px); border-radius: var(--r-xl); background: var(--paper); }
.error-tile { display: grid; place-items: center; min-height: 160px; margin: 0; border-radius: var(--r-xl); background: var(--band-2); color: var(--band-2-ink); font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); font-size: clamp(4.5rem, 3rem + 8vw, 11rem); line-height: 1; }
@media (min-width: 900px) { .error-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gap); } .error-tile { min-height: 100%; } }
.error-card h1 { font-size: var(--s-h1); }
.error-card .lead { margin: 0; }
.error-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.error-search { margin-top: 8px; }
.error-debug { max-width: 100%; margin-top: 24px; padding: 16px; overflow: auto; border-radius: var(--r-lg); background: var(--paper); font-size: 13px; white-space: pre-wrap; }
.shop-pass { width: 100%; max-width: 520px; margin-top: 8px; }
.shop-pass > label { display: block; margin-bottom: 8px; font-weight: 700; }
.credit-list { padding-left: 20px; }
.credit-list li { margin-bottom: 8px; }

/* ------------------------------------------------------------------ hover (pointers that can hover only) */

@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration-thickness: 2px; }
  .btn:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
  .btn.ink:hover { background: color-mix(in srgb, var(--ink) 82%, var(--paper)); }
  .btn.quiet:hover { background: color-mix(in srgb, var(--surface) 80%, var(--ink)); }
  .btn.on-field:hover { background: color-mix(in srgb, var(--field-ink) 86%, var(--field)); }
  .btn.ghost-field:hover { background: color-mix(in srgb, var(--field-ink) 24%, var(--field)); }
  .btn.is-off:hover { background: var(--surface); }
  .see-all:hover { text-decoration: underline; }
  .see-all:hover .icon, .cat:hover .icon, .announce a:hover .icon { transform: translateX(4px); }
  .chip:hover, .pill:hover, .crate-tab:hover:not(.is-on) { background: var(--surface); }
  .chip[aria-current="page"]:hover, .pill.is-on:hover { background: var(--ink); }
  .meet-acts .pill:hover { background: var(--surface); }
  .tool:hover { background: var(--surface); }
  .bag-btn:hover { background: color-mix(in srgb, var(--ink) 84%, var(--paper)); }
  .where-chip:hover { background: var(--surface); }
  .card-link:hover .card-pic img, .coll-link:hover .coll-pic img, .post-link:hover .post-pic img { transform: scale(1.04); }
  .card-link:hover .card-name, .post-link:hover .post-title, .coll-link:hover .coll-name, .qrow-name:hover { text-decoration: underline; text-underline-offset: 0.18em; }
  .qadd-btn:hover, .size-pill:hover .size-plus { background: color-mix(in srgb, var(--accent) 84%, var(--ink)); }
  .size-pill:hover { background: var(--surface); }
  .size.is-out .size-pill:hover { background: transparent; }
  .qstep-btn:hover { background: color-mix(in srgb, var(--accent-ink) 16%, transparent); }
  .cta-card:hover .cta-go, .aside-shop:hover .aside-go { transform: translateX(8px); }
  .cat:hover { transform: translateY(-2px); }
  .row-links a:hover, .reach-list a:hover, .foot-menu a:hover { text-decoration: underline; }
  .pick-opt:not(.is-out):hover { border-color: var(--edge); }
  .day:not(.is-full):hover, .choice:hover { border-color: var(--edge); }
  .stepper .step:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
  .icon-btn:hover { background: color-mix(in srgb, var(--surface) 80%, var(--ink)); }
  .bagbar:hover .bagbar-go { background: color-mix(in srgb, var(--field-ink) 88%, var(--field)); }
}

/* ------------------------------------------------------------------ motion: entrances (only when the script runs) */

/* Content below the first screen rises in as it is scrolled to. It is only hidden once the shopper scrolls
   (fresh.js arms it), so a page that is never scrolled — printed, captured whole, read by a crawler — shows everything. */
.js [data-reveal] { transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-armed [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(16px); }
.reveal-arming [data-reveal] { transition: none !important; }
.reveal-all [data-reveal] { opacity: 1 !important; transform: none !important; }
.js .welcome-card > *, .js .welcome-pic, .js .welcome-tabs { animation: rise 640ms var(--ease-out) both; }
.js .welcome-card > :nth-child(2) { animation-delay: 80ms; }
.js .welcome-pic { animation-delay: 60ms; }
.js .welcome-tabs { animation-delay: 140ms; }
/* Other pages: the title, the controls and the first cards rise once on load, a beat apart. */
.js .page-head > *, .js .coll-switch, .js .filters, .js .grid > li:nth-child(-n+10), .js .crumb, .js .gallery, .js .buy-card, .js .doc-head, .js .doc-grid > *, .js .auth-sheet, .js .error-grid > * { animation: rise 560ms var(--ease-out) both; }
.js .page-head > :nth-child(2), .js .coll-switch, .js .buy-card, .js .doc-grid > :first-child, .js .error-grid > :last-child { animation-delay: 60ms; }
.js .page-head > :nth-child(3), .js .filters, .js .doc-grid > :last-child { animation-delay: 110ms; }
.js .grid > li:nth-child(1) { animation-delay: 140ms; }
.js .grid > li:nth-child(2) { animation-delay: 180ms; }
.js .grid > li:nth-child(3) { animation-delay: 220ms; }
.js .grid > li:nth-child(4) { animation-delay: 260ms; }
.js .grid > li:nth-child(n+5) { animation-delay: 300ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .js [data-reveal] { transition: opacity 300ms ease; }
  .reveal-armed [data-reveal]:not(.is-in) { transform: none; }
  .js .welcome-card > *, .js .welcome-pic, .js .welcome-tabs { animation: fade 300ms ease both; }
  .js .page-head > *, .js .coll-switch, .js .filters, .js .grid > li:nth-child(-n+10), .js .crumb, .js .gallery, .js .buy-card, .js .doc-head, .js .doc-grid > *, .js .auth-sheet, .js .error-grid > * { animation: fade 300ms ease both; }
  .where[open] .where-pop { animation: fade 160ms ease; }
  .qstep-n .num.is-ticking, .bagbar-total.is-ticking { animation: none; }
  .drawer, .bagbar-dock, .sticky-buy, .toast, .line { transition-property: opacity, background-color, color !important; }
  .drawer:not(.is-open) { opacity: 0; }
  .bagbar-dock.is-away, body.has-sticky-buy .bagbar-dock, .js .bagbar-dock.is-new { transform: none; }
  .sticky-buy:not(.is-shown) { opacity: 0; transform: none; pointer-events: none; }
  .btn:active, .qadd-btn:active, .qstep-btn:active, .pill:active, .chip:active, .cat:active, .size-pill:active, .tool:active, .bagbar:active, .cta-card:active, .pick-opt:active, .day:active { transform: none; }
  .card-pic img, .coll-pic img, .post-pic img, .cat, .cta-go, .see-all .icon, .qadd-btn .icon, .size-plus { transition: none; transform: none !important; }
}
