/* ============================================================
   PO Shell — Apple/Uber-clean nav + footer + reserve sheet
   Shared across every deployed page.
   ============================================================ */

/* Icon helper — references symbols in /icons.svg */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0; stroke-linecap: round; stroke-linejoin: round; color: inherit; }
.ico-md { width: 1.25em; height: 1.25em; }
.ico-lg { width: 1.5em; height: 1.5em; }
.ico-xl { width: 2em; height: 2em; }
.ico-2xl { width: 2.5em; height: 2.5em; }

/* ============================================================
   GLOBAL POLISH — Apple restraint: quiet motion, hairlines, focus
   ============================================================ */

/* Eliminate iOS / Android tap-flash. Buttons inherit font + cursor. */
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
* { -webkit-tap-highlight-color: transparent; }
button { -webkit-appearance: none; appearance: none; font-family: inherit; cursor: pointer; }

/* Touch-friendly anchor + buttons on touch devices */
@media (hover: none) and (pointer: coarse) {
  button, a, input, select, textarea, .pill-toggle, .preset, .bulk-btn, .cr-filter-btn { touch-action: manipulation; }
}

/* Keyboard-focus rings (visible only on tab, not on click) */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
.dow-card:focus-within,
.product:focus-visible,
.option:focus-visible,
.cert:focus-within,
.preset:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* CTAs — color change only, no bounce / sheen / scale */
.btn-xl,
.btn-pay,
.btn-submit,
.btn-primary,
.cs-cta,
.po-nav-actions button,
.po-nav-actions a.po-nav-cta,
.sheet-next,
.wiz-next,
.btn-follow,
.btn-share,
.cs-cta--primary,
.cs-cta--ghost,
.cs-cta--dark,
.btn-xl--primary,
.btn-xl--ghost,
.btn-xl--dark {
  transition:
    background-color var(--dur-base, .22s) var(--ease-apple, ease),
    color var(--dur-base, .22s) var(--ease-apple, ease),
    border-color var(--dur-base, .22s) var(--ease-apple, ease),
    opacity var(--dur-fast, .15s) var(--ease-apple, ease),
    box-shadow var(--dur-base, .22s) var(--ease-apple, ease);
}

.btn-xl:active:not(:disabled),
.btn-pay:active:not(:disabled),
.btn-submit:active:not(:disabled),
.btn-primary:active:not(:disabled),
.cs-cta:active:not(:disabled),
.sheet-next:active:not(:disabled),
.wiz-next:active:not(:disabled),
.btn-follow:active,
.btn-share:active {
  opacity: 0.88;
}

/* Cards — soft border + shadow, no lift gymnastics */
.preset,
.option,
.share-card,
.product,
.species-card,
.cert,
.dow-card,
.day,
.listing-card,
.farm-card,
.farm-card-wrap,
.partner-card {
  transition:
    border-color var(--dur-base, .22s) var(--ease-apple, ease),
    box-shadow var(--dur-base, .22s) var(--ease-apple, ease),
    background var(--dur-base, .22s) var(--ease-apple, ease);
}

/* Pills / tabs — background only */
.pill-toggle,
.bulk-btn,
.cr-filter-btn,
.tab,
.species-tab,
.cr-tab,
.rv-tab,
.species-toggle button {
  transition:
    background-color var(--dur-base, .22s) var(--ease-apple, ease),
    color var(--dur-base, .22s) var(--ease-apple, ease),
    border-color var(--dur-base, .22s) var(--ease-apple, ease);
}

/* Inputs — quiet focus ring */
input, select, textarea {
  transition: border-color var(--dur-base, .22s) var(--ease-apple, ease),
              box-shadow var(--dur-base, .22s) var(--ease-apple, ease);
}
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px var(--accent-subtle, rgba(61,107,74,0.12));
}

/* Smooth scroll site-wide + scroll-padding for sticky nav */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

/* ===== Fluid spacing per breakpoint ===== */
@media (max-width: 720px) {
  :root { --shell-pad: 18px; }
  .po-nav { padding: 12px 18px; gap: 10px; }
  .po-mark { font-size: 13px; }
  .po-nav-actions button:not(.po-nav-burger):not(.po-user-chip):not(.po-bell) { padding: 9px 14px; font-size: 13px; min-height: 44px; }
  .po-nav-actions .signin { font-size: 13px; }
  .btn-xl { padding: 16px 26px; font-size: 15px; min-height: 44px; }
  .btn-pay { min-height: 48px; }
  /* Bigger tap targets for everything tap-able */
  button, .pill-toggle, .bulk-btn, .cr-filter-btn { min-height: 44px; }
  /* Footer: stack to 2 columns */
  .po-foot-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .po-foot-bottom { font-size: 11px; gap: 10px; }
}

@media (min-width: 720px) and (max-width: 1099px) {
  :root { --shell-pad: 32px; }
}

/* Sheet: iOS-style mobile bottom sheet behavior */
@media (max-width: 720px) {
  .sheet { max-height: 88vh; }
  .sheet-body { padding: 24px 18px 18px; }
  .sheet-q { font-size: 24px; }
  .option { padding: 14px 16px; }
  .option-glyph { width: 48px; height: 48px; font-size: 24px; }
  .option-title { font-size: 15px; }
  .option-sub { font-size: 12px; }
}

/* Reserve sheet on tablet — make it more readable */
@media (min-width: 720px) and (max-width: 899px) {
  .sheet { left: 5vw; right: 5vw; bottom: 16px; transform: translateY(120%); border-radius: 28px; max-height: 86vh; }
  .sheet.open { transform: translateY(0); }
}

/* Hide scrollbars but keep scroll on horizontal pill rows */
.species-tabs, .cr-filters, .tabs-inner, .filter-inner, .species-toggle, .rv-tabs {
  -webkit-overflow-scrolling: touch;
}

/* Image rendering — sharp on retina */
img { -webkit-user-drag: none; image-rendering: -webkit-optimize-contrast; }

/* Disable selection on chrome (nav, buttons) but keep it on text content */
.po-nav, .po-nav button, .pill-toggle, .preset, .bulk-btn, .cs-skip, .tab, .rv-tab,
.species-tab, .cr-filter-btn, .dow-card, .day, .stat-tile, .cs-stat,
.btn-xl, .btn-pay, .btn-primary, .btn-submit { user-select: none; -webkit-user-select: none; }

/* ===== Reduce motion respect ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== Print: clean, no shadows ===== */
@media print {
  .po-nav-wrap, .po-foot, .sheet, .sheet-backdrop, .cs-meter-wrap, .pp-actions, .actions { display: none !important; }
  body { background: #fff; }
  * { box-shadow: none !important; backdrop-filter: none !important; }
}

:root {
  --po-headline: clamp(48px, 9vw, 128px);
  --po-h2: clamp(36px, 5.5vw, 72px);
  --po-lead: clamp(18px, 1.4vw, 22px);
  --shell-pad: clamp(24px, 5vw, 80px);
  --section-pad: clamp(80px, 12vw, 200px);
}
html { scroll-behavior: smooth; }
body { background: var(--bg); overflow-x: hidden; }

/* --- Reusable type primitives --- */
.po-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.po-h1 { font-size: var(--po-headline); line-height: 0.94; letter-spacing: -0.035em; font-weight: 800; margin: 0; max-width: 16ch; }
.po-h2 { font-size: var(--po-h2); line-height: 0.98; letter-spacing: -0.03em; font-weight: 800; margin: 0; max-width: 22ch; color: var(--ink); }
.po-h3 { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.022em; font-weight: 700; line-height: 1.1; margin: 0; }
.po-lead { font-size: var(--po-lead); line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: clamp(18px, 2vw, 24px) 0 0; font-weight: 400; }

/* --- Sticky glass nav (marketplace standard) --- */
.po-nav-wrap { position: sticky; top: 0; z-index: 80; max-width: 100%; background: rgba(251, 249, 245, 0.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(6, 27, 14, 0.06); }
.po-nav { max-width: min(1320px, 100%); width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px var(--shell-pad); gap: var(--s-4); min-width: 0; box-sizing: border-box; }
.po-mark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: -0.02em; text-transform: none; color: var(--ink); text-decoration: none; min-width: 0; flex: 0 1 auto; }
.po-mark img { width: 22px; height: 22px; display: block; border-radius: 5px; flex-shrink: 0; }
.po-nav-links { display: flex; gap: 2px; align-items: center; font-size: 14px; font-weight: 500; flex-wrap: wrap; margin-left: auto; min-width: 0; }
.po-nav-links a {
  color: var(--ink-2); text-decoration: none;
  padding: 8px 12px; border-radius: 999px;
  transition: color .18s ease, background .18s ease;
}
.po-nav-links a:hover { color: var(--ink); background: rgba(6,27,14,.04); }
.po-nav-links a.active { color: var(--ink); font-weight: 600; background: rgba(6,27,14,.06); }
.po-nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.po-nav-actions .signin { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 8px 4px; min-height: 44px; display: inline-flex; align-items: center; }
.po-nav-actions .signin:hover { color: var(--ink); }
.po-nav-actions button:not(.po-nav-burger):not(.po-user-chip):not(.po-bell),
.po-nav-actions a.btn--primary,
.po-nav-actions a.po-nav-cta {
  background: var(--brand); color: #fbf9f5; border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; border: 0; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center;
  transition: background .2s ease;
}
.po-nav-actions button:not(.po-nav-burger):not(.po-user-chip):not(.po-bell):hover,
.po-nav-actions a.btn--primary:hover,
.po-nav-actions a.po-nav-cta:hover { background: #0a2614; }

/* Mobile burger — Apple/Airbnb pattern */
.po-nav-burger {
  display: none; width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 999px;
  border: 0; background: rgba(6,27,14,.06); color: var(--ink);
  align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; position: relative; padding: 0;
}
.po-nav-burger span {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  border-radius: 2px; position: absolute; left: 14px;
  transition: transform .28s cubic-bezier(0.28, 0.11, 0.32, 1), opacity .2s, top .28s;
}
.po-nav-burger span:nth-child(1) { top: 16px; }
.po-nav-burger span:nth-child(2) { top: 21px; }
.po-nav-burger span:nth-child(3) { top: 26px; }
.po-nav-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.po-nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.po-nav-burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.po-nav-drawer {
  display: none; position: fixed; inset: 0; top: 64px; z-index: 90;
  left: 0; right: 0; width: 100%; max-width: 100vw;
  box-sizing: border-box;
  background: rgba(251,249,245,.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 12px var(--shell-pad) 40px;
  flex-direction: column; gap: 4px; overflow-x: hidden; overflow-y: auto;
  animation: poDrawerIn .28s cubic-bezier(0.28, 0.11, 0.32, 1);
}
.po-nav-drawer.open { display: flex; }
@keyframes poDrawerIn {
  from { opacity: 0; /* craft: no card lift */ }
  to { opacity: 1; transform: translateY(0); }
}
.po-nav-drawer a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px; min-height: 44px; border-radius: 14px;
  font: 700 17px/1.2 'Inter', system-ui, sans-serif;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.po-nav-drawer a:hover, .po-nav-drawer a:active { background: rgba(6,27,14,.06); }
.po-nav-drawer a span { font-size: 14px; opacity: .4; font-weight: 600; }
.po-nav-drawer .po-drawer-cta {
  margin-top: 12px; background: var(--brand); color: #fbf9f5 !important;
  justify-content: center; border-radius: 999px; padding: 16px 20px;
  border: 0; width: 100%; cursor: pointer; font: inherit;
}
.po-nav-drawer .po-drawer-cta:hover { background: #0a2614; }
.po-nav-drawer .po-drawer-meta {
  margin-top: auto; padding-top: 24px;
  font: 500 12.5px/1.5 'Inter', system-ui, sans-serif;
  color: var(--ink-2); border-top: 1px solid rgba(6,27,14,.08);
}
body.po-nav-open { overflow: hidden; }

@media (max-width: 720px) {
  .po-nav-links { display: none !important; }
  .po-nav-burger { display: inline-flex; }
  .po-nav-actions .signin { display: none; }
  /* Reserve / marketplace CTAs move into the drawer so the profile chip
     cannot overflow and cover primary navigation on ~390px portrait.
     Specificity must match the earlier unscoped
     `.po-nav-actions button:not(...):not(...):not(...)` rule or Reserve
     stays visible on phones. */
  .po-nav-actions > button:not(.po-nav-burger):not(.po-user-chip):not(.po-bell),
  .po-nav-actions > button.reserve,
  .po-nav-actions button.reserve,
  .po-nav-actions > button[data-open-sheet],
  .po-nav-actions > a.po-nav-cta,
  .po-nav-actions > a.btn--primary { display: none !important; }
  .po-nav-actions { gap: 6px; }
}

/* Profile is secondary on phones — avatar only so the burger stays on-screen. */
@media (max-width: 640px) {
  .po-nav-account { gap: 6px; }
  .po-nav-actions .po-user-chip,
  .po-user-chip {
    width: 44px; height: 44px; min-width: 44px; min-height: 44px;
    padding: 0; gap: 0; justify-content: center;
  }
  .po-user-chip-name,
  .po-user-chip-caret {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .po-nav-drawer { animation: none; }
}

/* ============================================================
   Shared search — Grok-clean single rounded field
   Left icon, one row, enter-to-search. Used on home / discover / map.
   ============================================================ */
.po-search {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 680px;
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(6,27,14,.10);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  min-height: 52px;
  overflow: hidden;
}
.po-search:focus-within {
  border-color: var(--ink, #061b0e);
  box-shadow: 0 0 0 4px rgba(6,27,14,.06);
}
.po-search-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--ink, #061b0e);
  opacity: .45;
}
.po-search-icon svg { width: 20px; height: 20px; display: block; }
.po-search input[type="search"],
.po-search input[type="text"],
.po-search .ds-input {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 0;
  max-width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
  padding: 10px 0;
  font: 500 16px/1.4 'Inter', system-ui, sans-serif;
  color: var(--ink, #061b0e);
}
.po-search input::placeholder { color: rgba(6,27,14,.40); }
.po-search-go {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  min-height: 44px;
  background: var(--brand, #061b0e);
  color: #fbf9f5;
  font: 600 14px/1 'Inter', system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.po-search-go:hover { background: #0a2614; }

/* Hero sits on a photo — same field, slightly lifted */
.hero-search.po-search {
  margin-top: 28px;
  box-shadow: 0 8px 24px rgba(6,27,14,0.08);
  border-color: rgba(255,255,255,.2);
}
.hero-search.po-search:focus-within {
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(6,27,14,0.12), 0 0 0 4px rgba(255,255,255,.18);
}

/* Map atlas — light Soft-launch chrome, same shape */
.po-search--map {
  max-width: 280px;
  min-height: 40px;
  padding: 4px 4px 4px 12px;
  background: var(--map-panel, #ffffff);
  border-color: var(--map-line, rgba(12,20,16,0.08));
}
.po-search--map:focus-within {
  border-color: #061b0e;
  box-shadow: 0 0 0 3px rgba(6,27,14,.08);
}
.po-search--map input[type="search"],
.po-search--map input[type="text"] { color: var(--map-text, #0c1410); }
.po-search--map input::placeholder { color: #8b9590; }
.po-search--map .po-search-icon { color: #061b0e; opacity: .55; }
.po-search--map .po-search-go {
  background: #061b0e;
  color: #fbf9f5;
  padding: 8px 14px;
  min-height: 44px;
  font-size: 13px;
}
.po-search--map .po-search-go:hover { background: #0a2614; }

@media (max-width: 720px) {
  .po-search {
    max-width: 100%;
    min-height: 48px;
    padding: 4px 4px 4px 14px;
  }
  .po-search-go,
  .po-search--map .po-search-go { padding: 10px 12px; font-size: 13px; min-height: 44px; }
  .po-search--map { max-width: none; flex: 1 1 auto; min-height: 48px; }
}

.po-basemap-banner {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 850;
  max-width: min(92vw, 420px);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(12, 18, 14, 0.92);
  color: #fbf9f5;
  font: 600 12px/1.4 Inter, system-ui, sans-serif;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

/* ============================================================
   P0 overflow lock — header, drawers, hero, forms on phones
   Surgical: keep content inside the viewport after nav + search.
   ============================================================ */
.hero, .hero-inner, .hero-search, .discover-search, .ds-bar,
.map-top, .map-search, .po-search, form {
  max-width: 100%;
  min-width: 0;
}
input, select, textarea { max-width: 100%; }

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    overflow: visible;
  }
  .hero-inner {
    width: 100%;
    max-width: 100%;
    padding-top: clamp(36px, 10vw, 64px);
    padding-bottom: 48px;
  }
  .hero-headline { overflow-wrap: anywhere; }
  .hero-sub { max-width: 100%; }
  .hero-scroll { display: none; }

  .pr-claim-search { grid-template-columns: 1fr !important; }

  .pd-day-head { flex-wrap: wrap; }
  .pd-day-meta { text-align: left; }
}

/* Shared empty / error states (Airbnb-style next action) */
.po-empty {
  text-align: center;
  padding: clamp(48px, 8vw, 80px) 24px;
  max-width: 420px;
  margin: 0 auto;
}
.po-empty img {
  width: 64px; height: 64px; border-radius: 16px;
  margin: 0 auto 16px; display: block;
  box-shadow: 0 8px 24px rgba(6,27,14,.12);
}
.po-empty h2, .po-empty h3 {
  margin: 0 0 8px;
  font: 800 22px/1.25 'Inter', system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: var(--ink, #061b0e);
}
.po-empty p {
  margin: 0 0 20px;
  font: 500 14.5px/1.5 'Inter', system-ui, sans-serif;
  color: var(--ink-2, rgba(6,27,14,.7));
}
.po-empty .po-empty-actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.po-empty a.po-empty-primary,
.po-empty button.po-empty-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand, #061b0e); color: #fbf9f5;
  border: 0; border-radius: 999px; padding: 12px 22px;
  font: 700 13.5px/1 'Inter', system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
}
.po-empty a.po-empty-secondary {
  display: inline-flex; align-items: center;
  border-radius: 999px; padding: 12px 18px;
  font: 700 13.5px/1 'Inter', system-ui, sans-serif;
  color: var(--ink, #061b0e); text-decoration: none;
  border: 1.5px solid rgba(6,27,14,.12);
}

/* Lazy-friendly images default */
img[loading="lazy"] { content-visibility: auto; }

/* --- Big CTAs --- */
.btn-xl { display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; border-radius: 999px; border: 0; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .15s ease; text-decoration: none; white-space: nowrap; }
.btn-xl--primary { background: #fbf9f5; color: var(--brand); }
.btn-xl--primary:hover { background: #fff; }
.btn-xl--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.btn-xl--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.48); }
.btn-xl--dark { background: var(--brand); color: #fbf9f5; }
.btn-xl--dark:hover { background: #0a2614; }

/* --- Product cards --- */
.product { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, border-color .25s ease; cursor: pointer; border: 1px solid rgba(6,27,14,0.06); text-align: left; font: inherit; color: inherit; padding: 0; box-shadow: none; }
.product:hover { box-shadow: 0 8px 24px rgba(6,27,14,0.08); border-color: rgba(6,27,14,0.1); }
.product-photo { aspect-ratio: 4/3; background-color: #1a0d08; background-size: cover; background-position: center; position: relative; }
.product-tag { position: absolute; top: 12px; left: 12px; background: rgba(251, 249, 245, 0.94); backdrop-filter: blur(10px); color: var(--brand); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.product-meta { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.product-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.product-name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin: 2px 0 0; }
.product-detail { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.product-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.product-price { font-size: 13.5px; color: var(--ink-2); }
.product-price strong { font-size: 16px; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.product-cta { font-size: 13.5px; font-weight: 600; color: var(--brand); }

/* --- Footer --- */
.po-foot { padding: 56px var(--shell-pad) 80px; background: var(--bg); border-top: 1px solid rgba(0,0,0,0.06); margin-top: clamp(40px, 5vw, 80px); }
.po-foot-inner { max-width: 1320px; margin: 0 auto; display: grid; gap: 40px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 800px) { .po-foot-inner { grid-template-columns: 1fr 1fr; } }
.po-foot h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.po-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.po-foot a { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .18s ease; }
.po-foot a:hover { color: var(--ink); }
.po-foot-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.po-foot-mark img { width: 26px; height: 26px; border-radius: 6px; }
.po-foot-mark span { font-weight: 700; font-size: 14px; letter-spacing: -0.02em; text-transform: none; }
.po-foot-meta { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.po-foot-bottom { max-width: 1320px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--ink-3); }

/* --- Reserve sheet ---
   visibility:hidden while closed so it never FOUC-flashes on page paint
   (transform alone can paint a frame before CSS is applied). */
.sheet-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(6, 27, 14, 0.45); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.sheet-backdrop.open { opacity: 1; pointer-events: auto; visibility: visible; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 101; background: var(--bg); border-top-left-radius: 32px; border-top-right-radius: 32px; max-height: 92vh; display: flex; flex-direction: column; transform: translateY(110%); transition: transform .42s cubic-bezier(0.28, 0.11, 0.32, 1), visibility 0s linear .42s; box-shadow: 0 -32px 64px rgba(6,27,14,0.18); pointer-events: none; visibility: hidden; }
.sheet.open { transform: translateY(0); pointer-events: auto; visibility: visible; transition: transform .42s cubic-bezier(0.28, 0.11, 0.32, 1), visibility 0s; }
@media (min-width: 900px) { .sheet { left: 50%; right: auto; bottom: 24px; transform: translateX(-50%) translateY(120%); width: min(640px, calc(100vw - 48px)); border-radius: 28px; max-height: min(86vh, 820px); } .sheet.open { transform: translateX(-50%) translateY(0); } }
.sheet-grip { width: 36px; height: 4px; background: var(--surface-2); border-radius: 99px; margin: 12px auto 0; }
@media (min-width: 900px) { .sheet-grip { display: none; } }
.sheet-head { padding: 18px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-progress { display: flex; gap: 8px; align-items: center; }
.sheet-progress .dot { width: 26px; height: 4px; border-radius: 99px; background: var(--surface-2); transition: background .28s, width .28s; }
.sheet-progress .dot.active { background: var(--brand); width: 36px; }
.sheet-progress .dot.done { background: var(--brand); }
.sheet-close { width: 36px; height: 36px; border: 0; background: var(--surface-2); border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink-2); display: grid; place-items: center; transition: background .2s; }
.sheet-close:hover { background: rgba(0,0,0,0.06); }
.sheet-body { flex: 1; overflow-y: auto; padding: 32px 24px 24px; }
@media (min-width: 600px) { .sheet-body { padding: 40px 36px 28px; } }
.sheet-context { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--surface); border-radius: 18px; margin-bottom: 28px; }
.sheet-context-img { width: 56px; height: 56px; border-radius: 12px; background-size: cover; background-position: center; flex-shrink: 0; }
.sheet-context-text { flex: 1; min-width: 0; }
.sheet-context-name { font-size: 15px; font-weight: 800; letter-spacing: -0.018em; color: var(--ink); margin: 0; }
.sheet-context-sub { font-size: 13px; color: var(--ink-2); margin: 2px 0 0; }
.sheet-q { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.028em; font-weight: 800; line-height: 1.1; margin: 0 0 24px; color: var(--ink); }
.options { display: flex; flex-direction: column; gap: 12px; }
.option { background: #fff; border: 1px solid rgba(0,0,0,0.07); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .2s ease, background .2s ease; }
.option:hover { border-color: rgba(6,27,14,0.22); }
.option.selected { border-color: var(--brand); background: var(--accent-soft); }
.option-glyph { width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: #fbf9f5; display: grid; place-items: center; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; flex-shrink: 0; }
.option-text { flex: 1; min-width: 0; }
.option-title { font-size: 16px; font-weight: 700; letter-spacing: -0.018em; margin: 0; }
.option-sub { font-size: 13px; color: var(--ink-2); margin: 2px 0 0; }
.option-price { font-size: 17px; font-weight: 800; letter-spacing: -0.018em; }
.summary { background: var(--surface); border-radius: 18px; padding: 18px 20px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.summary-row.total { border-top: 1px solid rgba(0,0,0,0.08); padding-top: 12px; margin-top: 8px; font-size: 16px; font-weight: 800; color: var(--ink); }
.summary-row .v { color: var(--ink); }
.pay-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.btn-pay { width: 100%; padding: 15px 22px; border-radius: 12px; border: 0; cursor: pointer; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s ease, opacity .15s ease; }
.btn-pay--apple { background: #000; color: #fff; }
.btn-pay--card { background: var(--brand); color: #fbf9f5; }
.btn-pay--card:hover { background: #0a2614; }
.sheet-foot { border-top: 1px solid rgba(0,0,0,0.06); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg); }
.sheet-back { background: transparent; border: 0; padding: 12px 16px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); border-radius: 999px; }
.sheet-back:disabled { opacity: 0; pointer-events: none; }
.sheet-back:hover:not(:disabled) { color: var(--ink); }
.sheet-next { background: var(--brand); color: #fbf9f5; border: 0; cursor: pointer; padding: 13px 24px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; border-radius: 999px; transition: background .2s ease, opacity .15s ease; }
.sheet-next:disabled { opacity: 0.4; cursor: not-allowed; }
.sheet-next:hover:not(:disabled) { background: #0a2614; }
.confirm { text-align: center; padding: 24px 0 12px; }
.confirm-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--accent-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 20px; font-size: 38px; }
.confirm h3 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.025em; margin: 0 0 8px; font-weight: 800; }
.confirm p { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: 0; max-width: 38ch; margin-left: auto; margin-right: auto; }

/* ─── PO Concierge — quiet site-wide chat ─────────────────── */
.po-concierge-fab{ position: fixed; bottom: 22px; right: 22px; z-index: 90; background: var(--ink, #061b0e); color: var(--parchment, #fbf9f5); border: 0; border-radius: 999px; padding: 12px 18px 12px 14px; display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--ff-sans, 'Inter', system-ui, sans-serif); cursor: pointer; box-shadow: 0 8px 24px rgba(6,27,14,.18); transition: background .2s ease, box-shadow .2s ease; }
.po-concierge-fab svg{ width: 18px; height: 18px; }
.po-concierge-fab:hover{ background: #0a2614; box-shadow: 0 10px 28px rgba(6,27,14,.22); }
.po-concierge-fab:active{ opacity: .9; }

.po-concierge-panel{ position: fixed; bottom: 22px; right: 22px; z-index: 91; width: min(380px, calc(100vw - 44px)); height: min(560px, calc(100vh - 44px)); background: #fff; border-radius: 18px; border: 1px solid rgba(6,27,14,.08); box-shadow: 0 20px 48px rgba(6,27,14,.16); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.po-concierge-panel.open{ opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; }

.poc-head{ display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(6,27,14,.06); background: var(--ink, #061b0e); color: var(--parchment, #fbf9f5); }
.poc-head-l{ display: flex; align-items: center; gap: 11px; }
.poc-avatar{ width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #f0e2b3; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.poc-avatar svg{ width: 18px; height: 18px; }
.poc-avatar img{ width: 100%; height: 100%; display:block; }
.poc-title{ font: 700 14.5px/1.1 var(--ff-sans); }
.poc-sub{ font: 500 11.5px/1.1 var(--ff-sans); opacity: .65; margin-top: 3px; }
.poc-close{ background: rgba(255,255,255,.1); color: var(--parchment); border: 0; width: 30px; height: 30px; border-radius: 50%; font: 600 14px/1 var(--ff-sans); cursor: pointer; transition: background .15s ease; }
.poc-close:hover{ background: rgba(255,255,255,.2); }

.poc-msgs{ flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #fbf9f5; }
.poc-msgs::-webkit-scrollbar{ width: 6px; }
.poc-msgs::-webkit-scrollbar-thumb{ background: rgba(6,27,14,.12); border-radius: 3px; }

.poc-msg{ display: flex; max-width: 85%; }
.poc-msg-user{ align-self: flex-end; }
.poc-msg-bot{ align-self: flex-start; }
.poc-bubble{ padding: 10px 14px; border-radius: 16px; font: 500 13.5px/1.5 var(--ff-sans); white-space: pre-wrap; word-wrap: break-word; }
.poc-msg-user .poc-bubble{ background: var(--ink, #061b0e); color: var(--parchment, #fbf9f5); border-bottom-right-radius: 4px; }
.poc-msg-bot .poc-bubble{ background: #fff; color: var(--ink, #061b0e); border: 1px solid rgba(6,27,14,.06); border-bottom-left-radius: 4px; }
.poc-bubble em{ font-style: italic; opacity: .75; }
.poc-bubble strong{ font-weight: 700; }

.poc-typing .poc-bubble{ padding: 12px 16px; }
.poc-dots{ display: inline-flex; gap: 4px; }
.poc-dots span{ width: 7px; height: 7px; border-radius: 50%; background: rgba(6,27,14,.4); animation: pocBlink 1.2s infinite ease-in-out; }
.poc-dots span:nth-child(2){ animation-delay: .2s; }
.poc-dots span:nth-child(3){ animation-delay: .4s; }
@keyframes pocBlink{ 0%,80%,100%{ opacity: .3; transform: translateY(0); } 40%{ opacity: 1; /* craft: no card lift */ } }

.poc-form{ display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-top: 1px solid rgba(6,27,14,.06); background: #fff; }
.poc-input{ flex: 1; border: 1px solid rgba(6,27,14,.08); border-radius: 999px; padding: 10px 16px; font: 500 13.5px/1.4 var(--ff-sans); color: var(--ink, #061b0e); outline: none; transition: border-color .15s ease; }
.poc-input:focus{ border-color: var(--ink, #061b0e); }
.poc-send{ width: 38px; height: 38px; border-radius: 50%; background: var(--ink, #061b0e); color: var(--parchment, #fbf9f5); border: 0; cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
.poc-send svg{ width: 16px; height: 16px; }
.poc-send:hover{ background: #0a2614; }

@media (max-width: 480px){
  .po-concierge-fab-label{ display: none; }
  .po-concierge-fab{ padding: 13px; width: 50px; height: 50px; justify-content: center; }
  .po-concierge-panel{ width: calc(100vw - 16px); height: calc(100vh - 80px); right: 8px; bottom: 8px; }
}

/* ─── Verdant Color Palette — extends the brand with category-aware colors ─── */
:root{
  --po-pasture: #7da05d;     /* forest/grass */
  --po-pasture-soft: rgba(125,160,93,.16);
  --po-grain: #c89e5e;       /* warm grain/wheat */
  --po-grain-soft: rgba(200,158,94,.18);
  --po-rust: #c2415a;        /* USDA red, alert */
  --po-rust-soft: rgba(194,65,90,.14);
  --po-clay: #b48a5a;        /* clay/leather/farm */
  --po-clay-soft: rgba(180,138,90,.18);
  --po-sky: #7297b8;         /* water/cool */
  --po-sky-soft: rgba(114,151,184,.18);
  --po-sun: #e8b34b;          /* sunlight/honey */
  --po-sun-soft: rgba(232,179,75,.18);
  --po-plum: #6c4f7a;          /* heritage/identity */
  --po-plum-soft: rgba(108,79,122,.18);
}

/* Filter chips — monochrome by default; active = forest only (no rainbow carnival) */
.fr-chip[data-val]{ background: var(--surface-2, #f3f1ec); color: var(--ink-2, #5b6660); }
.fr-chip[data-val].active{ background: var(--brand, #061b0e); color: #fbf9f5; }

/* Listing badges — parchment glass, not candy colors */
.lc-badge.organic, .lc-badge[data-cert="organic"],
.lc-badge.usda, .lc-badge[data-cert="usda-insp"],
.lc-badge[data-cert="grass-fed"],
.lc-badge[data-cert="amwa"],
.lc-badge[data-cert="veteran"],
.lc-badge[data-cert="heritage"]{
  background: rgba(251,249,245,.94);
  color: var(--brand, #061b0e);
  font-weight: 600;
}

/* ─── Section dividers with subtle gradient ─────────────────────── */
.po-divider{ height: 1px; background: linear-gradient(90deg, transparent, rgba(6,27,14,.12), transparent); margin: 32px 0; }

/* Icon tiles — single forest language */
.po-icon-tile{ display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand, #061b0e); box-shadow: none; transition: background .2s ease; }
.po-icon-tile svg{ width: 24px; height: 24px; color: #fbf9f5; }
.po-icon-tile.pasture,
.po-icon-tile.grain,
.po-icon-tile.rust,
.po-icon-tile.clay,
.po-icon-tile.sky,
.po-icon-tile.sun,
.po-icon-tile.plum{ background: var(--brand, #061b0e); }

/* Category pills — parchment + ink */
.po-cat-pill{ display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 600 11.5px/1 'Inter', system-ui, sans-serif; letter-spacing: .04em; background: rgba(6,27,14,.06); color: var(--ink, #061b0e); }
.po-cat-pill svg{ width: 12px; height: 12px; }
.po-cat-pill.pasture,
.po-cat-pill.grain,
.po-cat-pill.rust,
.po-cat-pill.clay,
.po-cat-pill.sky,
.po-cat-pill.sun,
.po-cat-pill.plum{ background: rgba(6,27,14,.06); color: var(--ink, #061b0e); }

/* Alternating sections — flat parchment, no candy gradients */
.po-bg-warm,
.po-bg-cool{ background: var(--bg, #fbf9f5); }

/* Listing cards — clean edge, no inset gloss */
.listing-card{ position: relative; border-radius: 18px; overflow: hidden; }
.listing-card::after{ display: none; }

.lc-badge:not(.organic):not(.usda):not([data-cert]){ background: rgba(251,249,245,.94); color: var(--brand, #061b0e); }

/* ============================================================
   SITEWIDE CRAFT LOCKDOWN — every page inherits quiet taste
   ============================================================ */
html { color-scheme: light; }
body {
  background: var(--bg, #fbf9f5);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Never bounce primary interactive chrome */
.btn-xl:hover,
.btn-pay:hover,
.btn-primary:hover,
.btn-submit:hover,
.sheet-next:hover,
.wiz-next:hover,
.ds-go-btn:hover,
.po-nav-actions button:hover,
.po-nav-actions a.po-nav-cta:hover {
  transform: none !important;
}

/* Cards: soft edge, no carnival lift */
.product:hover,
.listing-card:hover,
.farm-card:hover,
.farm-card-wrap:hover,
.partner-card:hover,
.share-card:hover,
.sku:hover,
.tier:hover,
.qa:hover,
.doc-card:hover,
.screen-tile:hover,
.next-card:hover {
  transform: none !important;
}

/* Eyebrows / labels — restrained tracking sitewide when classed */
.po-eyebrow,
.section-eyebrow,
.eye,
[class*="-eyebrow"],
[class*="eyebrow"] {
  letter-spacing: 0.08em !important;
  font-weight: 600 !important;
}

/* Prefer parchment badges over candy when both apply */
.lc-badge.organic,
.lc-badge.usda {
  background: rgba(251,249,245,.94) !important;
  color: var(--brand, #061b0e) !important;
}

/* Selection / focus rings stay brand forest, never neon */
::selection {
  background: rgba(6, 27, 14, 0.14);
  color: inherit;
}
