/* Trough & Trade — national brand skin (2026-11-13 rebrand): cream + burnt orange
   + deep green + soil, darkened pine, barn red + harvest brass (trading-post
   Americana). Self-hosted Bitter/Karla (assets/fonts/fonts.css). Forced light.
   External stylesheet only. */
:root {
  color-scheme: light;
  --bg: #FFFBF2;
  --card: #FFFFFF;
  --ink: #2C2115;
  --dim: #7A6A58;
  --line: #EDDFC8;
  --brand: #EA580C;
  --brand-dark: #C2410C;
  --yolk: #D9A441;
  --yolk-soft: #FBEBCD;
  --cream: #FFF7E8;
  --green: #2E5339;
  --green-dark: #142A1D;
  --green-soft: #E7EEE4;
  --pine: #1E3D29;
  --pine-deep: #142A1D;
  --barn: #A63A26;
  --brass: #D9A441;
  --brass-soft: #FBEBCD;
  --soil: #5B4632;
  --soil-soft: #EFE6D8;
  --ok: #15803D;
  --bad: #B3261E;
  --radius: 16px;
  --font-display: "Bitter", Georgia, "Iowan Old Style", serif;
  --font-body: "Karla", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg); color: var(--ink);
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
.hidden { display: none !important; }
.small { font-size: .85rem; color: var(--dim); }
.center { text-align: center; }
h2 { font-size: 1.3rem; margin: 4px 0 14px; }
h3 { margin: 0 0 8px; font-size: 1.05rem; }
p { line-height: 1.55; }

/* Header — ONE header for landing + app screens (redesign 2026-10-31:
   Basket mark + inline section nav on wide screens, Adaptive nav A). */
.app-header {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-bottom: 2px solid var(--yolk);
  color: #FFF7E8;
}
.header-inner {
  max-width: none; margin: 0; /* full-width PC (2026-10-31): header spans the screen; gutters come from padding */
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px);
  padding: 10px clamp(14px, 4vw, 56px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; min-width: max-content; }
.brand-mark img { border-radius: 11px; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; line-height: 1.05; color: #FFFBF2; }
.brand-name em { font-style: normal; color: #FFC46B; }
.tagline { margin: 0; font-size: .78rem; color: #F9C86F; font-weight: 600; }
.header-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-left: 6px; }
.header-nav a { color: #FFF7E8; text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.header-nav a:hover { color: #FFC46B; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn.btn-basket {
  background: var(--brand); color: #fff; border-radius: 999px; padding: 9px 16px;
  display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.btn-basket svg { width: 19px; height: 19px; }
.btn.btn-basket:active { background: var(--brand-dark); }
.btn.btn-account { background: transparent; color: #FFF7E8; padding: 9px 6px; box-shadow: none; }
.btn.btn-account:active { color: #FFC46B; }
/* Header screen entries (2026-10-31 fix): My Market + Settings live in the
   header at >=768px — the phone bottom bar is hidden there, so without
   these a desktop/tablet user could not reach those screens at all.
   They reuse the shared [data-nav] click delegation -> navigate(), i.e.
   exactly the bottom bar's behavior, signed in or out. */
.btn.btn-hdr { background: transparent; color: #FFF7E8; padding: 9px 6px; box-shadow: none; white-space: nowrap; position: relative; }
.btn.btn-hdr:active { color: #FFC46B; }
@media (max-width: 767px) {
  .btn.btn-hdr { display: none; } /* phone: My Market + Settings live in the bottom bar */
}
/* With the screen entries added, the one-row header no longer fits at
   tablet / small-laptop widths (~768–1335px): let it wrap to a second
   row there instead of overflowing sideways. At >=1440 everything fits
   on one row and wrap never engages. Anchored sections get extra
   scroll clearance in the same range for the possibly-taller header. */
@media (max-width: 1439.98px) {
  .header-inner { flex-wrap: wrap; row-gap: 2px; }
  #landing [id] { scroll-margin-top: 132px; }
}
@media (max-width: 1023px) {
  .header-nav .hn-extra { display: none; }
  .header-inner { gap: 14px; padding-left: 18px; padding-right: 18px; }
  .header-nav { gap: 12px; margin-left: 0; }
  .header-nav a { font-size: .88rem; }
  .brand { gap: 9px; }
  .brand-mark img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.02rem; }
  .tagline { display: none; }
  .btn.btn-basket { padding: 8px 13px; }
  .header-actions { gap: 6px; }
}
@media (max-width: 767px) {
  .header-nav { display: none; }
  .header-actions .btn-basket { display: none; } /* phone: the one Basket lives in the bottom bar */
  .header-inner { gap: 12px; padding: 8px 14px; }
  .brand { min-width: 0; }
  .brand-mark img { width: 38px; height: 38px; }
  .brand-name { font-size: 1.04rem; }
  .tagline { display: block; font-size: .68rem; }
}

main { max-width: none; margin: 0; padding: 16px clamp(14px, 4vw, 56px) 8px; } /* full-width PC (2026-10-31): app screens span the screen */
.screen { display: none; }
.screen.active { display: block; }

/* Cards & buttons */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(194, 120, 30, .06);
}
.card.today { border: 2px solid var(--yolk); background: #FFFEF9; }
.card.waiting { opacity: .92; }
.card.paused { opacity: .6; }
.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: 11px 18px; border-radius: 12px; text-align: center;
  background: var(--cream); color: var(--ink);
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:active { background: var(--green-dark); }
.btn-outline { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--brand-dark); }
.btn-danger { background: #FDECEA; color: var(--bad); }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 10px; }
.btn-block { display: block; width: 100%; margin-top: 10px; }
.btn:disabled { opacity: .5; cursor: default; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.btn-row .btn { flex: 1 1 auto; }

/* Queue */
.onhand-card { text-align: center; }
.onhand-num { font-size: 2.6rem; font-weight: 800; color: var(--brand); line-height: 1; }
.onhand-form { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.onhand-form input { width: 110px; text-align: center; font-size: 1.1rem; padding: 9px; border: 1.5px solid var(--line); border-radius: 10px; }
.queue-head { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 8px; }
.queue-head h3 { margin: 0; }
.badge { display: inline-block; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.badge-cadence { background: var(--yolk-soft); color: #92400E; }
.badge-new { background: #DCFCE7; color: var(--ok); }
.badge-skip { background: #F3F4F6; color: var(--dim); }
.ok-line { color: var(--ok); font-weight: 600; font-size: .9rem; }

/* Forms */
.field { margin: 12px 0; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 64px; resize: vertical; }
.inline-form{display:flex;gap:8px;margin-bottom:8px}
.inline-form input{flex:1;padding:12px;font-size:1rem;border:1.5px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-family:inherit;min-width:0}
.inline-form .btn{padding:10px 16px;white-space:nowrap}
.check { display: flex; gap: 9px; align-items: center; margin: 10px 0; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
.form-error { color: var(--bad); font-size: .9rem; margin: 8px 0; }

/* Lists / stats */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.stat-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center; }
.stat-num { font-size: 1.7rem; font-weight: 800; color: var(--brand); line-height: 1.15; }
.stat-lbl { font-size: .8rem; color: var(--dim); font-weight: 600; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.tbl th, table.tbl td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl th { color: var(--dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.tbl-wrap { overflow-x: auto; }
.empty { text-align: center; color: var(--dim); padding: 26px 12px; line-height: 1.6; }
.hero { text-align: left; padding-top: 0; overflow: hidden; }
.hero-photo { display: block; width: calc(100% + 32px); margin: 0 -16px 14px; height: 210px; object-fit: cover; }
.hero-kicker { margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--green); }
.hero h2 { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.15; margin: 0 0 2px; color: var(--soil); }
.hero-sub { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--brand-dark); margin: 0 0 8px; }
.order-banner {
  background: var(--green-soft); border: 1.5px solid var(--green); border-radius: var(--radius);
  padding: 13px 15px; margin-bottom: 16px; font-size: .93rem; line-height: 1.5; color: var(--ink);
}
.order-banner strong { color: var(--green-dark); }
.section-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--soil); margin: 4px 2px 10px; }
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 4px rgba(91, 70, 50, .07); }
.cat-card img { display: block; width: 100%; height: 110px; object-fit: cover; }
.cat-body { padding: 11px 13px 13px; }
.cat-body h4 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.05rem; color: var(--soil); }
.cat-body p { margin: 0 0 9px; font-size: .88rem; color: var(--dim); line-height: 1.45; }
.chip { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }
.chip-live { background: var(--green); color: #fff; }
.chip-soon { background: var(--soil-soft); color: var(--soil); border: 1px solid var(--line); }
.seller-card { display: flex; gap: 14px; align-items: flex-start; }
.seller-photo { width: 108px; height: 108px; object-fit: cover; border-radius: 12px; flex: none; }
@media (max-width: 480px) { .seller-card { flex-direction: column; } .seller-photo { width: 100%; height: 150px; } }
details { border-top: 1px solid var(--line); padding: 10px 0; }
details summary { font-weight: 700; cursor: pointer; }
.guide-img { font-size: 1.6rem; }

/* Carton label */
.carton-label {
  border: 2.5px dashed var(--brand); border-radius: 14px; padding: 18px 14px;
  text-align: center; background: #fff; max-width: 420px; margin: 12px auto;
}
.carton-label .cl-farm { font-size: 1.35rem; font-weight: 800; }
.carton-label .cl-big { font-size: 1.1rem; font-weight: 700; letter-spacing: .06em; margin-top: 4px; }
.carton-label .cl-sub { font-size: .9rem; color: var(--dim); margin-top: 4px; }

/* Bottom nav — phone only (Adaptive nav A): items grouped in a centered
   560px measure, never stretched edge-to-edge; active item = filled pill. */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: center; background: #fff; border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-btn {
  flex: 0 1 140px; border: none; background: transparent; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 8px 2px 7px; font-size: .68rem; font-weight: 600; color: var(--dim);
}
.nav-btn .nav-ico { display: flex; align-items: center; justify-content: center; height: 24px; padding: 3px 16px; border-radius: 999px; }
.nav-btn .nav-ico svg { width: 23px; height: 23px; display: block; }
.nav-btn.active { color: var(--green); font-weight: 800; }
.nav-btn.active .nav-ico { background: var(--green); color: #fff; }
@media (min-width: 768px) {
  .bottom-nav { display: none; } /* tablet + desktop move with the header nav */
  body, body.landing-open { padding-bottom: 20px; }
  #toast-root { bottom: 24px; }
}

/* Modal + toast */
#modal-root:empty { display: none; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50; background: rgba(51, 38, 26, .48);
  display: flex; align-items: flex-end; justify-content: center;
}
.modal-sheet {
  background: #fff; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto;
  border-radius: 20px 20px 0 0; padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
}
.modal-sheet h3 { font-size: 1.2rem; }
#toast-root { position: fixed; left: 0; right: 0; bottom: 92px; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: .92rem; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.25); max-width: 92vw; text-align: center; }
.acct-tabs { display: flex; gap: 8px; margin-bottom: 6px; }
.acct-tab { flex: 1; padding: 9px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.acct-tab.active { background: var(--yolk-soft); border-color: var(--yolk); }

.print-only { display: none; }
@media print {
  body * { visibility: hidden; }
  #print-area, #print-area * { visibility: visible; }
  #print-area { display: block; position: absolute; inset: 0; padding: 24px; }
  .bottom-nav, .app-header { display: none; }
}
@media (min-width: 768px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .modal-backdrop { align-items: center; }
  .modal-sheet { border-radius: 20px; }
}

/* ============ LANDING — Example A heritage landing (lifted verbatim from the approved redesign-examples artifact) ============ */
/* ================= EXAMPLE A — heritage landing (pre-rebrand name) ================= */
.a { background: #FFFBF2; color: #2E241A; font-family: "Karla", system-ui, sans-serif; }
.a-banner { background: #2F5233; color: #F4EBD8; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 11px clamp(18px, 4vw, 56px); font-size: 14.5px; font-weight: 600; }
.a-banner .item { display: inline-flex; align-items: center; gap: 7px; }
.a-banner .open { margin-left: auto; background: #F59E0B; color: #33230A; font-weight: 800; font-size: 12.5px; border-radius: 999px; padding: 4px 11px; display: inline-flex; align-items: center; gap: 6px; }
.a-banner .dot { width: 8px; height: 8px; border-radius: 50%; background: #2F5233; }
@media (max-width: 700px) { .a-banner .open { margin-left: 0; } }
.a-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; padding: 30px clamp(18px, 4vw, 56px) 8px; align-items: center; }
.a-hero > * { min-width: 0; } /* keep the 1.05fr/1fr split honest against the photo's intrinsic size */
@media (max-width: 760px) { .a-hero { grid-template-columns: 1fr; } }
@media (min-width: 1200px) { .a-hero .photo img { height: 380px; } }
.a-hero h3 { font-family: "Bitter", Georgia, serif; font-size: clamp(27px, 4vw, 38px); line-height: 1.14; margin: 0 0 12px; font-weight: 800; color: #33241A; }
.a-hero h3 em { color: #C2520F; }
.a-hero p { font-size: 16px; line-height: 1.6; color: #5C4630; margin: 0 0 18px; max-width: 46ch; }
.a-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.a-btn { border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; border: 2px solid #EA580C; }
.a-btn.solid { background: #EA580C; color: #FFF8EC; }
.a-btn.ghost { background: transparent; color: #B34A12; }
.a-hero .photo { position: relative; }
.a-hero .photo img { width: 100%; height: 300px; object-fit: cover; border-radius: 18px; }
.a-hero .pickup-card { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 251, 242, .96); border: 1.5px solid #EAD9C2; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; line-height: 1.45; max-width: 270px; }
.a-hero .pickup-card strong { font-family: "Bitter", Georgia, serif; display: block; font-size: 14.5px; }
.a-cats { display: flex; flex-wrap: wrap; gap: 9px; padding: 20px clamp(18px, 4vw, 56px) 4px; }
.a-chip { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid #DEC9A8; background: #FFFDF7; color: #5C4630; border-radius: 999px; padding: 8px 15px; font-weight: 700; font-size: 14px; cursor: pointer; }
.a-chip.active { background: #EA580C; border-color: #EA580C; color: #FFF8EC; }
.a-chip svg { flex: none; }
.a-section { padding: 18px clamp(18px, 4vw, 56px) 6px; }
.a-section h4 { font-family: "Bitter", Georgia, serif; font-size: 22px; margin: 0 0 4px; color: #33241A; }
.a-section .sub { color: #8A6B4A; font-size: 14.5px; margin: 0 0 16px; font-weight: 600; }
.a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 767px) { .a-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 380px) { .a-grid { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .a-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } } /* full-width PC: auto-fill adds columns instead of stretching cards (~7 across at 1920, more at 2560) */
.a-card { background: #FFFDF7; border: 1.5px solid #EAD9C2; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.a-card .ph { position: relative; }
.a-card .ph img { width: 100%; height: 168px; object-fit: cover; }
.a-card .flag { position: absolute; top: 10px; left: 10px; background: #F59E0B; color: #33230A; font-size: 12px; font-weight: 800; border-radius: 6px; padding: 3px 9px; }
.a-card .body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.a-card h5 { font-family: "Bitter", Georgia, serif; font-size: 16.5px; margin: 0; line-height: 1.3; color: #33241A; }
.a-card .seller { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: #8A6B4A; font-weight: 600; }
.a-card .pricerow { display: flex; align-items: baseline; gap: 5px; margin-top: 2px; }
.a-card .price { font-size: 19px; font-weight: 800; color: #B34A12; }
.a-card .unit { font-size: 13.5px; color: #8A6B4A; font-weight: 600; }
.a-card .reserve { margin-top: auto; background: #EA580C; color: #FFF8EC; border: none; border-radius: 9px; padding: 10px; font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; }
.a-sellers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 8px; }
@media (max-width: 1099.98px) and (min-width: 768px) { .a-sellers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .a-sellers { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 380px) { .a-sellers { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .a-sellers { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } } /* full-width PC: more grower columns, cards stay card-sized (declared last so it wins at 1024–1099 too) */
.a-seller { background: #FFFDF7; border: 1.5px solid #EAD9C2; border-radius: 14px; overflow: hidden; }
.a-seller img { width: 100%; height: 150px; object-fit: cover; }
.a-seller .body { padding: 13px 15px 15px; }
.a-seller h5 { font-family: "Bitter", Georgia, serif; font-size: 17px; margin: 0 0 3px; color: #33241A; }
.a-seller .loc { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: #2F5233; margin-bottom: 7px; }
.a-seller p { font-size: 14px; line-height: 1.55; color: #5C4630; margin: 0 0 9px; }
.a-seller .pick { font-size: 13px; font-weight: 800; color: #B34A12; display: inline-flex; align-items: center; gap: 6px; }
.a-foot { margin: 22px clamp(18px, 4vw, 56px); background: #6B4A2F; color: #F7EBD7; border-radius: 14px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.a-foot strong { font-family: "Bitter", Georgia, serif; font-size: 16.5px; }
.a-foot span { font-size: 14.5px; line-height: 1.55; }
.a-card[hidden] { display: none; }
.a-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .a-steps { grid-template-columns: 1fr; } }
.a-step { background: #FFFDF7; border: 1.5px solid #EAD9C2; border-radius: 14px; padding: 16px 17px 17px; }
.a-step .num { width: 34px; height: 34px; border-radius: 50%; background: #2F5233; color: #FFF7E8; font-family: "Bitter", Georgia, serif; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.a-step h5 { font-family: "Bitter", Georgia, serif; font-size: 16.5px; margin: 0 0 5px; color: #33241A; }
.a-step p { font-size: 14.5px; line-height: 1.55; color: #5C4630; margin: 0; }
.a-paynote { margin: 16px 0 4px; background: #EDF3E8; border: 1.5px solid #C2D4B8; border-radius: 12px; padding: 13px 16px; font-size: 14.5px; line-height: 1.6; color: #2E241A; }
.a-paynote strong { color: #2F5233; }
.a-sellband { margin: 22px clamp(18px, 4vw, 56px); background: #2F5233; color: #F4EBD8; border-radius: 14px; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
.a-sellband strong { font-family: "Bitter", Georgia, serif; font-size: 19px; display: block; margin-bottom: 5px; }
.a-sellband p { font-size: 14.5px; line-height: 1.55; margin: 0; max-width: 62ch; }
.a-sellband .a-btn { margin-left: auto; flex: none; }
@media (max-width: 700px) { .a-sellband .a-btn { margin-left: 0; } }
.a-faq details { border-top: 1.5px solid #EAD9C2; padding: 13px 2px; }
.a-faq details:last-child { border-bottom: 1.5px solid #EAD9C2; }
.a-faq summary { font-weight: 800; font-size: 15.5px; color: #33241A; cursor: pointer; }
.a-faq details p { font-size: 14.5px; line-height: 1.6; color: #5C4630; margin: 8px 0 3px; max-width: 68ch; }
.a-footer { margin-top: 26px; border-top: 2px solid #EAD9C2; padding: 22px clamp(18px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: flex-start; }
.a-footer .fbrand { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.a-footer .fname { font-family: "Bitter", Georgia, serif; font-weight: 800; font-size: 18px; color: #3A2A18; }
.a-footer .fname em { font-style: italic; font-weight: 500; color: #B34A12; }
.a-footer .ftag { font-size: 12.5px; color: #8A6B4A; font-weight: 600; }
.a-footer .fnav { display: flex; flex-wrap: wrap; gap: 8px 17px; font-weight: 700; font-size: 14px; padding-top: 4px; }
.a-footer .fnav a { color: #5C4630; text-decoration: none; }
.a-footer .fineprint { width: 100%; margin: 6px 0 0; font-size: 13px; color: #8A6B4A; font-weight: 600; }

/* ---- Landing integration with the app shell (not part of the mockup) ---- */
#landing { max-width: none; margin: 0; } /* full-width PC (2026-10-31): landing spans the screen */
#landing img { display: block; }
#landing [id] { scroll-margin-top: 84px; } /* anchored sections clear the sticky header */
.a-btn { display: inline-block; text-decoration: none; text-align: center; }
body.landing-open { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } /* market home keeps bottom-nav clearance */
body.landing-open .app-header,
body.landing-open .bottom-nav,
body.landing-open .screen,
body.landing-open main { max-width: none; margin: 0; padding: 0; }

/* ---- Marketplace Phase 1: API-rendered market + seller area ---- */
.a-loading { color: #8A6B4A; font-weight: 600; font-size: 14.5px; }
.a-empty-card { grid-column: 1 / -1; background: #FFFDF7; border: 1.5px dashed #DEC9A8; border-radius: 14px; padding: 22px; }
.a-empty-card h5 { font-family: "Bitter", Georgia, serif; font-size: 18px; margin: 0 0 6px; color: #33241A; }
.a-empty-card p { font-size: 14.5px; line-height: 1.6; color: #5C4630; margin: 0 0 12px; max-width: 68ch; }
.a-card .flag.soldout { background: #6B4A2F; color: #F7EBD7; }
.a-sellers .a-empty-card { grid-column: 1 / -1; }
.fs-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.fs-check { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.fs-listing { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.fs-listing img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.fs-listing-main { flex: 1; min-width: 180px; }
.fs-listing-btns { display: flex; gap: 6px; }
.fs-soldout { color: #B34A12; }
.field label.fs-check { display: inline-flex; }

/* ---- Marketplace Phase 2: window chip, basket, checkout, orders, pick list ---- */
.a-banner .open.closed { background: #EFE6D8; color: #5B4632; }
.a-banner .open.closed .dot { background: #B3261E; }
.a-card .reserve:disabled { background: #EFE6D8; color: #8A6B4A; cursor: default; }
.a-card .avail { font-size: 12.5px; color: #8A6B4A; font-weight: 700; }
.fs-warn { color: #B3261E; }
.cart-group { margin: 12px 0; }
.cart-group h4 { margin: 0 0 6px; font-size: .98rem; color: var(--soil); }
.cart-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cart-row-main { flex: 1; min-width: 0; }
.qty-stepper { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; }
.qty-stepper button { width: 30px; height: 30px; border: none; border-radius: 50%; background: var(--cream); font: inherit; font-weight: 800; cursor: pointer; color: var(--ink); }
.qty-stepper span { min-width: 24px; text-align: center; font-weight: 800; }
.cart-row-total { font-weight: 800; min-width: 58px; text-align: right; }
.cart-remove { border: none; background: transparent; color: var(--bad); font: inherit; font-weight: 800; cursor: pointer; padding: 6px; }
.cart-sub { text-align: right; font-size: .9rem; color: var(--dim); padding: 6px 0 2px; }
.cart-total { text-align: right; font-size: 1.08rem; font-weight: 800; margin: 12px 0 4px; color: var(--soil); }
.cart-summary { margin: 10px 0; }
.cart-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.cart-sum-row.total { border-bottom: none; font-weight: 800; font-size: 1.02rem; }
.fs-paynote { background: var(--green-soft); border: 1.5px solid #C2D4B8; border-radius: 12px; padding: 11px 13px; font-size: .92rem; line-height: 1.55; margin: 12px 0; }
.fs-lookup { margin-top: 18px; border-top: 1.5px solid var(--line); padding-top: 12px; }
.fs-lookup h4 { margin: 0 0 8px; font-size: .98rem; }
.confirm-head { text-align: center; font-size: 2.2rem; margin-bottom: 2px; }
.confirm-code { text-align: center; font-size: 1.7rem; font-weight: 800; letter-spacing: .09em; color: var(--green-dark); background: var(--cream); border: 1.5px dashed var(--yolk); border-radius: 12px; padding: 10px; margin: 6px 0 10px; }
.order-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 13px; margin: 10px 0; }
.order-card-head { margin-bottom: 4px; }
.pick-order { border-top: 1px solid var(--line); padding: 10px 0 4px; }
.pick-head { margin-bottom: 4px; }
.pick-item { display: flex; gap: 9px; align-items: flex-start; padding: 6px 0; font-weight: 600; cursor: pointer; }
.pick-item input { width: 20px; height: 20px; accent-color: var(--green); flex: none; margin-top: 1px; }

/* ================= Trough & Trade marketplace rebuild =================
   Seasonal themes: real restyles via variable shifts + decorative
   treatments (CSS/SVG only — no layout changes, no readability loss).
   The active theme key lands on <html data-theme="..."> before paint
   (boot reads the cached value, then /api/config confirms). Seller
   storefront colorways live on .accent-* scopes and are NOT touched
   by the global theme. */
html[data-theme="fall_harvest"] { --bg:#FBF3E4; --cream:#FBEED3; --line:#EBD9B4; --brand:#C2570B; --brand-dark:#9A430A; --yolk:#D97706; --yolk-soft:#FDE9C8; --green:#5B4A1F; --green-dark:#423512; --green-soft:#F1E8CE; }
html[data-theme="winter"] { --bg:#F4F7F7; --cream:#EDF3F2; --line:#D5E0DC; --brand:#9A3B26; --brand-dark:#7C2E1E; --yolk:#B98A2F; --yolk-soft:#F1E7CB; --green:#274435; --green-dark:#1B3126; --green-soft:#E2EDE6; }
html[data-theme="christmas"] { --bg:#FBF6EC; --cream:#F8EFDA; --line:#E8D9B8; --brand:#A61E22; --brand-dark:#84151A; --yolk:#C99700; --yolk-soft:#F7E9BE; --green:#1E5631; --green-dark:#14401F; --green-soft:#E3EFE0; }
html[data-theme="spring"] { --bg:#FAFBF0; --cream:#F3F6DC; --line:#DFE7BC; --brand:#D96C06; --brand-dark:#B55704; --yolk:#E3A008; --yolk-soft:#FBF0C0; --green:#3E6B34; --green-dark:#2C4F24; --green-soft:#EAF2DC; }
html[data-theme="fair_season"] { --bg:#FFFBF0; --cream:#FFF3D6; --line:#F0DCAC; --brand:#B91C1C; --brand-dark:#8F1515; --yolk:#1D4ED8; --yolk-soft:#DBE7FD; --green:#2E5339; --green-dark:#22402C; --green-soft:#E7EFE7; }
/* Decorative strips: holidays dress the frame, never the content. */
html[data-theme="fair_season"] .a-banner { border-top: 10px solid transparent; border-image: repeating-linear-gradient(90deg,#B91C1C 0 26px,#FFFBF0 26px 52px,#1D4ED8 52px 78px) 10; }
html[data-theme="christmas"] .a-banner { box-shadow: inset 0 -6px 0 0 rgba(166,30,34,.25); }
html[data-theme="christmas"] .a-hero h3::after { content:" ❦"; color: var(--brand); }
html[data-theme="fall_harvest"] .a-hero h3::after { content:" 🍂"; }
html[data-theme="spring"] .a-hero h3::after { content:" 🌱"; }
html[data-theme="winter"] .a-hero h3::after { content:" ❄"; color: var(--brand); }
html[data-theme="fair_season"] .a-hero h3::after { content:" 🎪"; }
/* Seasonal photo strip on the landing (real local photos, IMAGE-SOURCES.md) */
.theme-strip { display:none; }
html[data-theme="spring"] .theme-strip.spring,
html[data-theme="winter"] .theme-strip.winter,
html[data-theme="christmas"] .theme-strip.winter { display:block; }
.theme-strip img { width:100%; height:110px; object-fit:cover; border-radius:12px; display:block; }

/* Seller/event colorways (curated accents). --acc/--acc-deep/--acc-soft
   drive the storefront banner gradient, headings and info chips
   (seller-page uplift, 2026-11-11); --brand/--green keep their
   long-standing roles everywhere else the scope applies. */
.accent-heritage { --brand:#EA580C; --green:#2E5339; --acc:#2E5339; --acc-deep:#22402C; --acc-soft:#E7EFE4; }
.accent-harvest { --brand:#B45309; --green:#713F12; --acc:#9A6B1F; --acc-deep:#713F12; --acc-soft:#F5ECD8; }
.accent-meadow { --brand:#4D7C0F; --green:#365314; --acc:#4D7C0F; --acc-deep:#365314; --acc-soft:#EDF3DC; }
.accent-clay { --brand:#B3402A; --green:#7C2D12; --acc:#9C3B2E; --acc-deep:#7C2D12; --acc-soft:#F6E8E2; }
.accent-sky { --brand:#0369A1; --green:#0C4A6E; --acc:#33566B; --acc-deep:#0C4A6E; --acc-soft:#E4EDF2; }

/* --- market cards: kinds, galleries, ratings, pay badges --- */
.a-card .kindflag { position:absolute; top:10px; right:10px; background:var(--green); color:#fff; font-size:.68rem; font-weight:800; letter-spacing:.04em; padding:3px 8px; border-radius:999px; }
.a-card .kindflag.bulk { background:var(--soil); } .a-card .kindflag.service { background:var(--brand-dark); }
.a-card .kindflag.feat { background:var(--brand); top:34px; }
/* Market expansion: partner strip, featured strip, category presenter, tip */
.a-partner { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; background:var(--green); color:#FFF8EC; border-radius:14px; padding:12px 16px; margin:14px 0 4px; }
.a-partner a { color:#FFD9A8; }
.a-partner-item { display:inline-flex; align-items:center; gap:10px; font-size:15px; }
.a-partner-item img { width:34px; height:34px; object-fit:contain; border-radius:8px; background:#FFF8EC; }
.a-sponsor-tag { font-size:.68rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; border:1.5px solid currentColor; border-radius:999px; padding:2px 8px; opacity:.85; }
.a-presenter { display:flex; align-items:center; gap:8px; flex-wrap:wrap; background:var(--yolk-soft); border:1px solid var(--line); border-radius:10px; padding:8px 12px; font-size:.9rem; margin:10px 0 0; color:var(--soil); }
.a-featured { margin:14px 0 4px; }
.a-featured h5 { font-family:Bitter,serif; color:var(--green); margin:0 0 10px; font-size:1.05rem; }
.fs-tip-opts { display:flex; flex-wrap:wrap; gap:6px 16px; align-items:center; margin-top:8px; }
.fs-tip-custom input { width:84px; }
.stars { color:var(--yolk); font-size:.85rem; letter-spacing:.05em; }
.stars .n { color:var(--dim); font-size:.78rem; letter-spacing:0; }
.paybadges { display:flex; flex-wrap:wrap; gap:4px; margin-top:6px; }
.paybadges span { font-size:.66rem; font-weight:700; border:1px solid var(--line); border-radius:999px; padding:2px 7px; background:var(--cream); color:var(--soil); }
.gallery { display:flex; gap:6px; overflow-x:auto; padding:4px 0; }
.gallery img { width:74px; height:74px; object-fit:cover; border-radius:10px; flex:0 0 auto; }
.gallery .g-main { width:100%; height:210px; }
.fs-guide { background:var(--yolk-soft); border:1px solid var(--line); border-radius:10px; padding:10px 12px; font-size:.85rem; margin:8px 0; white-space:pre-wrap; }
.pickup-line { display:block; font-size:.82rem; font-weight:600; color:var(--green); margin:2px 0; }
.pickup-block { background:var(--cream); border:1px solid var(--line); border-radius:10px; padding:8px 10px; margin:8px 0; }
.pickup-block .fs-check { display:flex; margin-top:6px; }
.fs-spot-alert { border-color:#d97706; }
.fs-warn { color:var(--bad); } .fs-soldout { color:var(--bad); }

/* --- events --- */
.a-events { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px; }
.a-event { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; text-align:left; width:100%; padding:0; cursor:pointer; font:inherit; }
.a-event img { width:100%; height:130px; object-fit:cover; display:block; }
.a-event .body { padding:12px 14px; } .a-event h5 { margin:0 0 4px; font-size:1rem; }
.a-event .when { color:var(--brand-dark); font-weight:700; font-size:.85rem; }
.a-event .feat { background:var(--yolk); color:#fff; font-size:.66rem; font-weight:800; padding:2px 7px; border-radius:999px; margin-left:6px; }
.ev-cover { width:100%; height:220px; object-fit:cover; border-radius:14px; }
.ev-presenting { background:linear-gradient(135deg,var(--green-dark),var(--green)); color:#fff; border-radius:12px; padding:12px 16px; margin:12px 0; }
.ev-presenting .lbl { font-size:.7rem; letter-spacing:.12em; font-weight:800; opacity:.85; }
.ev-presenting .who { font-family:var(--font-display); font-size:1.3rem; }
.sponsor-row { display:flex; flex-wrap:wrap; gap:10px; align-items:stretch; margin:10px 0; }
.sponsor-chip { display:flex; align-items:center; gap:8px; border:1px solid var(--line); background:var(--cream); border-radius:12px; padding:8px 12px; }
.sponsor-chip img { width:34px; height:34px; object-fit:contain; border-radius:8px; }
.sponsor-chip.big { font-size:1.05rem; padding:12px 16px; border-width:2px; }
.founding { background:var(--yolk); color:#fff; font-size:.64rem; font-weight:800; padding:2px 6px; border-radius:999px; letter-spacing:.05em; }
.transparency { background:var(--green-soft); border-radius:10px; padding:10px 12px; font-size:.9rem; }
.a-sponsors { display:flex; flex-wrap:wrap; gap:10px; }

/* --- storefront --- */
.store-cover { width:100%; height:200px; object-fit:cover; border-radius:14px; }
.store-head { display:flex; gap:14px; align-items:center; margin:12px 0; }
.store-head img { width:76px; height:76px; border-radius:50%; object-fit:cover; border:3px solid var(--line); }
.store-sec { margin:18px 0; } .store-sec h4 { margin:0 0 8px; }

/* Seller-page uplift (2026-11-11): themed banner band, info chips,
   story card, share bar — layout mirrors the approved mock; colors
   come from the seller's .accent-* scope above. */
.store-banner { position:relative; border-radius:16px; overflow:hidden; color:#FFF8EA; background:linear-gradient(135deg, var(--acc) 0%, var(--acc) 55%, var(--acc-deep) 135%); padding:30px 22px 22px; }
.store-banner::before { content:""; position:absolute; inset:0; background:radial-gradient(circle at 88% 18%, rgba(255,255,255,.16), transparent 42%), radial-gradient(circle at 8% 90%, rgba(255,255,255,.10), transparent 40%); }
.store-banner.has-cover { background-size:cover; background-position:center; }
.store-banner.has-cover::before { background:linear-gradient(100deg, var(--acc-deep) 0%, rgba(0,0,0,.38) 55%, rgba(0,0,0,.18) 100%); }
.store-banner-in { position:relative; z-index:1; display:flex; gap:18px; align-items:center; }
.store-avatar { width:92px; height:92px; border-radius:50%; object-fit:cover; border:4px solid rgba(255,248,234,.75); background:#FFFBF2; flex:none; box-shadow:0 6px 18px rgba(0,0,0,.25); }
.store-avatar-fallback { display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:2.3rem; font-weight:700; color:var(--acc); }
.store-name { font-family:var(--font-display); font-size:2rem; line-height:1.1; margin:0; color:#FFF8EA; }
.store-tagline { font-size:1.02rem; opacity:.93; margin-top:5px; }
.store-chips { margin-top:11px; display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.store-chips > span { background:rgba(255,251,242,.18); border:1px solid rgba(255,251,242,.4); border-radius:999px; padding:4px 12px; font-size:.85rem; display:inline-flex; align-items:center; gap:5px; }
.store-chips .stars { color:#FFD9A8; font-size:.85rem; }
.store-chips .stars .n { color:#FFF8EA; opacity:.88; }
.store-btns { position:relative; z-index:1; margin-top:16px; display:flex; gap:8px; flex-wrap:wrap; }
.store-btns .btn-primary { background:#FFFBF2; color:var(--acc); border:1.5px solid #FFFBF2; }
.store-btns .btn-primary:active { background:var(--cream); }
.store-btns .btn-outline { background:transparent; color:#FFF8EA; border:1.5px solid rgba(255,248,234,.7); }
.store-info { display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 2px; }
.store-info .store-chip { background:var(--acc-soft); border:1px solid var(--line); border-radius:12px; padding:9px 13px; font-size:.92rem; }
.store-info .store-chip b { color:var(--acc); }
.store-page .store-sec h4 { color:var(--acc); font-family:var(--font-display); font-size:1.12rem; }
.store-about { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px 18px; }
.store-about p { line-height:1.55; margin:0; }
.store-share { background:linear-gradient(135deg, var(--acc), var(--acc-deep)); color:#FFF8EA; border-radius:14px; padding:14px 18px; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin:20px 0 8px; }
.store-share code { background:rgba(255,251,242,.16); padding:5px 10px; border-radius:8px; font-size:.88rem; display:inline-block; margin-top:4px; }
.store-share .btn { background:#EA580C; color:#fff; border:none; }
@media (max-width:640px) { .store-banner-in { flex-direction:column; text-align:center; } .store-chips { justify-content:center; } .store-btns { justify-content:center; } .store-name { font-size:1.6rem; } }

/* Editor accent swatches (seller-page uplift) */
.swatch-row { display:flex; gap:12px; flex-wrap:wrap; }
.swatch { display:flex; flex-direction:column; align-items:center; gap:5px; background:none; border:none; cursor:pointer; font:inherit; font-size:.72rem; color:var(--dim); padding:2px; }
.swatch .dot { width:34px; height:34px; border-radius:50%; border:3px solid transparent; box-shadow:0 1px 4px rgba(0,0,0,.25); }
.swatch.on { font-weight:700; color:var(--ink); }
.swatch.on .dot { border-color:var(--ink); }

/* --- chat --- */
.chat-list-row { display:flex; justify-content:space-between; gap:10px; width:100%; text-align:left; background:var(--card); border:1px solid var(--line); border-radius:12px; padding:10px 12px; margin:6px 0; font:inherit; cursor:pointer; }
.unread-dot { background:var(--brand); color:#fff; font-size:.68rem; font-weight:800; min-width:20px; height:20px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; padding:0 5px; }
.chat-body { max-height:46vh; overflow-y:auto; padding:6px 2px; }
.chat-msg { max-width:82%; padding:8px 11px; border-radius:14px; margin:6px 0; font-size:.92rem; }
.chat-msg.mine { background:var(--green); color:#fff; margin-left:auto; border-bottom-right-radius:4px; }
.chat-msg.theirs { background:var(--cream); border:1px solid var(--line); border-bottom-left-radius:4px; }
.chat-msg.hidden-msg { opacity:.55; font-style:italic; }
.chat-when { font-size:.68rem; opacity:.7; margin-top:2px; }
.chat-compose { display:flex; gap:8px; margin-top:8px; } .chat-compose input { flex:1; }
.share-panel { background:var(--cream); border:1px solid var(--line); border-radius:10px; padding:10px 12px; margin:10px 0; font-size:.88rem; }

/* --- payments / invoices --- */
.pay-row { display:flex; justify-content:space-between; gap:10px; border:1px solid var(--line); border-radius:10px; padding:9px 11px; margin:6px 0; font-size:.9rem; align-items:center; }
.pay-row .st { font-weight:800; font-size:.78rem; }
.pay-row .st.ok { color:var(--ok); } .pay-row .st.bad { color:var(--bad); } .pay-row .st.wait { color:var(--dim); }
.inv-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.inv-logo { max-height:56px; max-width:150px; object-fit:contain; }
.inv-table { width:100%; border-collapse:collapse; font-size:.92rem; }
.inv-table td, .inv-table th { padding:6px 4px; border-bottom:1px solid var(--line); text-align:left; }
.inv-table .r { text-align:right; }
.inv-compact { font-size:.85rem; } .inv-compact .inv-table td { padding:3px 4px; }
.invoice-paper { background:#fff; border:1px solid var(--line); border-radius:12px; padding:18px; }
@media print { body * { visibility:hidden; } .invoice-paper, .invoice-paper * { visibility:visible; } .invoice-paper { position:absolute; inset:0; border:none; } }

/* --- misc rebuild components --- */
.badge-dot { position:absolute; top:2px; right:8px; background:var(--brand); width:10px; height:10px; border-radius:50%; }
.nav-btn { position:relative; }
.method-picker { display:grid; gap:6px; margin:6px 0; }
.method-picker label { display:flex; gap:8px; align-items:center; border:1px solid var(--line); border-radius:10px; padding:8px 10px; font-size:.9rem; }
.seg { display:flex; gap:6px; flex-wrap:wrap; } .seg button { border:1px solid var(--line); background:var(--card); border-radius:999px; padding:6px 12px; font:inherit; font-size:.85rem; cursor:pointer; }
.seg button.active { background:var(--green); color:#fff; border-color:var(--green); }
.ev-cats { display:flex; gap:6px; flex-wrap:wrap; margin:8px 0; }
.thumb-grid { display:flex; gap:6px; flex-wrap:wrap; } .thumb-grid .th { position:relative; } .thumb-grid img { width:64px; height:64px; object-fit:cover; border-radius:8px; } .thumb-grid button { position:absolute; top:-6px; right:-6px; width:20px; height:20px; border-radius:50%; border:none; background:var(--bad); color:#fff; font-size:.7rem; cursor:pointer; }
.rate-stars button { background:none; border:none; font-size:1.5rem; cursor:pointer; color:var(--line); padding:0 2px; } .rate-stars button.on { color:var(--yolk); }

/* Blocker-fix pass (A1–A8): closeout checklist, issues, final weight, Stripe */
.closeout { margin-top:10px; border-top:1px dashed #cbbfa5; padding-top:8px; }
.closeout h5 { margin:0 0 6px; font-size:.95rem; }
.closeout-step { padding:3px 0; font-size:.92rem; }
.issue-panel { margin-top:8px; background:#fdf3e3; border:1px solid #e3cfa3; border-radius:10px; padding:10px 12px; }
.issue-photo { width:74px; height:74px; object-fit:cover; border-radius:8px; border:1px solid #d8c9a4; }
.fw-box { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:6px 0 6px 28px; }
.fs-stripe-element { background:#fff; border:1px solid #d8c9a4; border-radius:8px; padding:10px 12px; margin:8px 0; }
.fs-warn { color:#a33b1f; font-weight:600; }

/* ============ Full-width PC (2026-10-31) ============
   On PC the layout spans the whole screen (header / landing / app main
   caps removed above; listing + grower grids auto-fill more columns).
   What must NOT stretch: long-form text keeps a readable measure and
   form fields keep a sensible width, even inside a full-width screen.
   Tablet (768–1023) and phone (<768) are untouched by this block —
   none of the removed caps bound there anyway. */
@media (min-width: 1024px) {
  .a-section .sub { max-width: 75ch; }          /* section intros */
  .a-step p { max-width: 75ch; }                /* How It Works / Why Sell copy */
  .a-paynote { max-width: 75ch; }               /* "How paying works" note */
  .a-foot span { max-width: 75ch; }             /* waitlist band text */
  .a-sellband p { max-width: 62ch; }            /* already capped; restated so the band copy never stretches */
  main .field { max-width: 75ch; }              /* settings / seller / booking form fields */
  main .fs-checks { max-width: 75ch; }          /* checkbox groups in seller/sponsor forms sprawl at full width */
  main .field textarea { max-width: 75ch; }
  main .fs-guide { max-width: 75ch; }           /* plain-English category guides */
}
@media (min-width: 1600px) {
  .a-hero { gap: 44px; }
  .a-hero .photo img { height: 440px; }         /* hero photo grows with big screens (was 380px at ≥1200) */
}

/* ============ TROUGH & TRADE NATIONAL SKIN (2026-11-13) ============
   Mockup design system adapted into the real SPA: pine header/chrome,
   Bitter display + Karla body, hero + search panel, category tiles,
   state band, steps, record band, events, seller band, footer. */
h1, h2, h3, h4, h5, .brand-name, .fname { font-family: var(--font-display); }
.app-header { background: rgba(255,251,242,.97); border-bottom: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(6px); }
.brand-name { color: var(--pine); }
.brand-name em { color: var(--brand); }
.tagline { color: var(--dim); letter-spacing: .13em; text-transform: uppercase; font-weight: 800; font-size: .68rem; }
.header-nav a { color: var(--ink); }
.header-nav a:hover { color: var(--brand-dark); }
.btn.btn-hdr { color: var(--ink); }
.btn.btn-hdr:active { color: var(--brand-dark); }
.btn.btn-account { color: var(--pine); }
.btn.btn-account:active { color: var(--brand-dark); }
.btn.btn-basket { background: var(--brand); }
.brand-mark svg { display: block; }
.eyebrow, .tt-eyebrow { font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--barn); margin: 0 0 6px; }
/* top strip */
.topstrip { background: var(--pine-deep); color: #F3E7CE; font-size: .8rem; font-weight: 700; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 7px clamp(14px,4vw,56px); margin: 0 calc(-1 * clamp(14px,4vw,56px)); }
.topstrip .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7BC47F; margin-right: 7px; vertical-align: 2px; }
.topstrip .right { margin-left: auto; color: var(--brass); letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; font-weight: 800; }
.topstrip .open { color: #F3E7CE; }
@media (max-width: 640px) { .topstrip .right, .topstrip .item { display: none; } }
/* hero + search panel */
.hero { position: relative; color: #FFF7E8; overflow: hidden; border-radius: 0; margin: 0 calc(-1 * clamp(14px,4vw,56px)); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,32,21,.88) 0%, rgba(20,42,29,.72) 44%, rgba(20,42,29,.28) 74%, rgba(20,42,29,.12) 100%); }
.hero-inner { position: relative; padding: clamp(44px,6vw,84px) clamp(16px,4vw,56px) clamp(30px,4vw,48px); }
.hero .eyebrow { color: var(--brass); }
.hero-h { font-size: clamp(2.1rem,4.6vw,3.7rem); font-weight: 800; line-height: 1.08; max-width: 15.5em; margin: 14px 0 16px; color: #FFF7E8; }
.hero-h em { font-style: normal; color: #FFC46B; }
.hero-sub { font-size: clamp(1rem,1.4vw,1.16rem); max-width: 37em; color: #F6ECD9; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; font-weight: 700; font-size: .92rem; color: #F3E7CE; }
.hero-stats b { color: #fff; }
.search-panel { background: var(--bg); color: var(--ink); border-radius: 20px; padding: 20px; margin-top: 30px; box-shadow: 0 24px 60px rgba(10,20,12,.45); max-width: 1060px; }
.search-panel .sp-label { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; color: var(--pine); margin: 0 0 12px; }
.sp-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-loc { flex: 2 1 300px; display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 0 14px; }
.sp-loc svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.sp-loc input { border: 0; outline: 0; font: inherit; font-size: 1.02rem; padding: 13px 0; width: 100%; background: transparent; color: var(--ink); }
.sp-cat { flex: 1 1 190px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; padding: 13px 12px; color: var(--ink); }
.sp-go { flex: 0 0 auto; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.05rem; border: 0; border-radius: 12px; padding: 13px 34px; cursor: pointer; }
.sp-go:hover { background: var(--brand-dark); }
.sp-radius { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.sp-radius .rlabel { font-size: .82rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); margin-right: 2px; }
.pill { border: 1.5px solid var(--line); background: #fff; color: var(--soil); font: inherit; font-weight: 700; font-size: .88rem; border-radius: 999px; padding: 6px 15px; cursor: pointer; }
.pill.active { background: var(--green); border-color: var(--green); color: #fff; }
.sp-pop { margin-top: 13px; font-size: .88rem; color: var(--dim); }
.sp-pop b { color: var(--soil); }
.sp-pop a { color: var(--brand-dark); font-weight: 700; text-decoration: none; margin: 0 2px; }
@media (max-width: 640px) { .sp-go { width: 100%; } .search-panel { padding: 16px; } }
/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(168px,1fr)); gap: 12px; margin-top: 24px; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 14px 13px; text-decoration: none; display: flex; flex-direction: column; gap: 9px; color: var(--ink); transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--brass); transform: translateY(-2px); }
.cat-tile .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.cat-tile .nm { font-weight: 800; font-size: .97rem; line-height: 1.25; }
.cat-tile .ct { font-size: .8rem; color: var(--dim); font-weight: 600; }
@media (max-width: 640px) { .cat-grid { grid-template-columns: repeat(3,1fr); gap: 9px; } .cat-tile .ct { display: none; } }
/* distance badge on listing cards */
.a-card .ph { position: relative; }
.dist { position: absolute; top: 10px; right: 10px; background: rgba(20,42,29,.9); color: #FFF3D6; font-size: .76rem; font-weight: 800; border-radius: 999px; padding: 4px 10px; z-index: 2; }
/* state band + regions */
.state-band { background: linear-gradient(160deg, var(--pine) 0%, var(--pine-deep) 100%); color: #F6ECD9; border-radius: 24px; padding: clamp(24px,3.6vw,44px); margin-top: 26px; }
.state-band h3 { color: #fff; font-size: clamp(1.3rem,2.2vw,1.7rem); font-weight: 800; margin: 0; }
.state-band .sub { color: #D9CBAE; margin-top: 6px; }
.state-flex { display: flex; gap: clamp(20px,3vw,44px); flex-wrap: wrap; margin-top: 20px; align-items: flex-start; }
.usmap { flex: 1 1 380px; min-width: 280px; font-size: 7px; line-height: 7px; letter-spacing: 3px; color: rgba(246,236,217,.45); word-break: break-all; user-select: none; }
.state-side { flex: 1 1 320px; }
.state-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.state-chips a { border: 1.5px solid rgba(246,236,217,.4); color: #F6ECD9; text-decoration: none; font-weight: 700; font-size: .88rem; border-radius: 999px; padding: 6px 14px; }
.state-chips a:hover { border-color: var(--brass); color: #FFC46B; }
.state-chips a.hot { background: var(--brass); border-color: var(--brass); color: #3A2A10; }
.state-band .all-states { margin-top: 16px; }
.state-band .all-states summary { cursor: pointer; font-weight: 700; color: #FFC46B; margin-bottom: 10px; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(215px,1fr)); gap: 14px; margin-top: 16px; }
.region-card { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; text-decoration: none; display: block; }
.region-card img { width: 100%; height: 100%; object-fit: cover; }
.region-card .rc { position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(14,28,18,.88)); color: #fff; }
.region-card .rc b { font-family: var(--font-display); font-size: 1.02rem; display: block; }
.region-card .rc span { font-size: .8rem; color: #EADFC6; font-weight: 600; }
/* steps + record band */
.record-band { margin-top: 18px; background: var(--brass-soft); border: 1.5px solid var(--brass); border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.record-band .rb-mark { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--soil); white-space: nowrap; }
.record-band p { color: #5C4A2E; font-size: .97rem; max-width: 64em; margin: 0; }
.record-band b { color: var(--barn); }
.sponsor-line { margin-top: 16px; background: var(--green-soft); border-radius: 12px; padding: 14px 18px; font-size: .95rem; color: var(--green); font-weight: 600; }
.sponsor-line b { color: var(--pine); }
.sponsor-line a { color: var(--brand-dark); font-weight: 800; text-decoration: none; }
/* seller band */
.sell-band { background: linear-gradient(135deg, var(--green) 0%, var(--pine) 60%, var(--pine-deep) 100%); border-radius: 24px; color: #F6ECD9; padding: clamp(26px,4vw,48px); margin: clamp(38px,5vw,60px) clamp(14px,4vw,56px) 0; }
.sell-band h4 { color: #fff; font-size: clamp(1.6rem,3vw,2.3rem); font-weight: 800; margin: 6px 0; }
.sell-band .eyebrow { color: var(--brass); }
.sell-band .sub { color: #D9CBAE; margin-top: 8px; max-width: 56em; }
.fee-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 14px; margin-top: 24px; }
.fee-card { background: rgba(255,251,242,.07); border: 1px solid rgba(246,236,217,.25); border-radius: 14px; padding: 18px; }
.fee-card .amt { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: #FFC46B; margin: 0; }
.fee-card h5 { color: #fff; font-size: 1.02rem; margin: 6px 0 5px; }
.fee-card p { font-size: .9rem; color: #D9CBAE; }
.sell-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; align-items: center; }
.sell-cta .fine { font-size: .85rem; color: #CBbd9E; }
/* footer */
.a-footer { background: var(--pine-deep); color: #D9CBAE; border-radius: 0; margin: clamp(44px,6vw,72px) calc(-1 * clamp(14px,4vw,56px)) 0; padding: 42px clamp(16px,4vw,56px) 30px; }
.foot-grid { display: flex; gap: clamp(24px,4vw,64px); flex-wrap: wrap; }
.foot-brand { max-width: 300px; display: flex; flex-direction: column; gap: 8px; }
.foot-brand .fname { color: #FFFBF2; font-size: 1.3rem; font-weight: 800; }
.foot-brand .fname em { font-style: normal; color: var(--brand); }
.foot-brand .ftag { font-size: .9rem; color: #B7A888; }
.foot-col h4 { font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--brass); margin: 2px 0 12px; font-family: var(--font-body); }
.foot-col a { display: block; color: #D9CBAE; font-size: .93rem; font-weight: 600; margin-bottom: 8px; }
.a-footer .fineprint { border-top: 1px solid rgba(246,236,217,.16); margin-top: 18px; padding-top: 14px; font-size: .8rem; color: #9A8B6E; }
/* D1 fix: on the landing homepage body.landing-open main{padding:0} (see
   "Landing integration" above), so the negative side margins on .topstrip,
   .hero and .a-footer — written to cancel main's clamp(14px,4vw,56px)
   padding — have nothing to cancel and push the sections past both
   viewport edges. Zero only the side margins there; the sections are
   already full-width, and their top/bottom margins + inner padding are
   unchanged. Outside landing-open the bleed rules apply exactly as before. */
body.landing-open .topstrip,
body.landing-open .hero,
body.landing-open .a-footer { margin-left: 0; margin-right: 0; }
/* search + state page views */
.geo-head { margin: 10px 0 4px; }
.first-seller { background: var(--brass-soft); border: 1.5px solid var(--brass); border-radius: var(--radius); padding: 20px 24px; margin-top: 18px; }
.first-seller h4 { margin: 0 0 6px; color: var(--pine); }
.seller-loc-row { display: flex; gap: 10px; flex-wrap: wrap; }
.seller-loc-row .field { flex: 1 1 140px; }

/* --- Expansion pack (2026-11-14): vendored Leaflet maps, meeting panel,
   place alerts, First Seller badge, county chips, saved places --- */
.fs-map-wrap { margin: 12px 0; }
.fs-map { width: 100%; height: 240px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soil-soft); z-index: 0; }
.fs-map-picker { height: 260px; cursor: crosshair; }
.fs-map-label { font-size: .85rem; font-weight: 700; color: var(--pine); margin: 6px 2px 0; }
.leaflet-container { font-family: var(--font-body); }
.fs-pin-editor { border: 1.5px dashed var(--brass); border-radius: 12px; padding: 12px 14px; margin: 12px 0; background: #FFFCF4; }
.fs-pin-editor h4 { margin: 0 0 6px; color: var(--pine); }
.meeting-panel { border: 1.5px solid var(--brass); background: var(--brass-soft); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.meeting-panel h5 { margin: 0 0 6px; font-size: .98rem; color: var(--pine); }
.meeting-panel .fs-map { height: 200px; }
.meeting-arrived { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.fs-meet-hint { background: rgba(255,255,255,.55); border-radius: 8px; padding: 8px 10px; }
.alert-signup { background: var(--green-soft); border: 1.5px solid var(--green); border-radius: var(--radius); padding: 18px 22px; margin-top: 18px; }
.alert-signup h4 { margin: 0 0 6px; color: var(--pine); }
.first-seller-badge { display: inline-block; background: var(--brass); color: #3A2A10; font-size: .74rem; font-weight: 800; letter-spacing: .02em; border-radius: 999px; padding: 3px 10px; margin: 2px 0 4px; }
.county-row { margin: 14px 0; }
.county-row h4 { margin: 0 0 8px; color: var(--pine); }
.county-chips a { background: var(--pine); border-color: var(--pine); }
.fs-share-btn.copied, button.copied { border-color: var(--ok); color: var(--ok); }
.place-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px dashed var(--line); }

/* ---------- Sponsor v2 (2026-11-15): geo bands + public sponsor page ---------- */
.sp-band { margin: 10px 0; display: grid; gap: 6px; }
.sp-chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 5px; font-size: .9rem; }
.sp-chip img { width: 22px; height: 22px; object-fit: contain; border-radius: 50%; }
.sp-chip a { color: var(--pine); text-decoration: none; }
.sp2 { --sp2-cream:#FFFBF2; --sp2-paper:#FFF6E8; --sp2-pine:#1E3D29; --sp2-pinedeep:#142A1D; --sp2-red:#A63A26; --sp2-brass:#D9A441; --sp2-soil:#5B4632; --sp2-line:#E7D9BE; }
.sp2 h1, .sp2 h2, .sp2 h3 { font-family: 'Bitter', Georgia, serif; }
.sp2-hero { background: linear-gradient(160deg, var(--green) 0%, var(--sp2-pinedeep) 78%); color: var(--sp2-cream); border-radius: 18px; padding: 40px 30px 44px; margin-top: 14px; }
.sp2-kicker { color: var(--sp2-brass); font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; }
.sp2-hero h1 { font-size: 38px; font-weight: 900; line-height: 1.1; max-width: 700px; }
.sp2-hero h1 em { color: var(--sp2-brass); font-style: normal; }
.sp2-hero > p { font-size: 17.5px; max-width: 620px; margin-top: 14px; color: #F3E9D2; }
.sp2-founding { margin-top: 22px; background: rgba(217,164,65,.14); border: 1.5px solid var(--sp2-brass); border-radius: 14px; padding: 14px 18px; max-width: 740px; display: flex; gap: 12px; align-items: flex-start; }
.sp2-founding .star { font-size: 24px; line-height: 1; color: var(--sp2-brass); }
.sp2-founding p { font-size: 15.5px; margin: 0; color: var(--sp2-cream); }
.sp2-founding b { color: var(--sp2-brass); }
.sp2-honest { background: var(--sp2-paper); border: 2px solid var(--sp2-line); border-radius: 16px; padding: 24px; margin-top: 18px; }
.sp2-honest h2 { font-size: 21px; color: var(--green); margin-bottom: 12px; }
.sp2-cols { display: flex; gap: 22px; flex-wrap: wrap; }
.sp2-col { flex: 1 1 260px; }
.sp2-col p { font-size: 15px; }
.sp2-col b { color: var(--sp2-red); }
.sp2-tiers { padding: 36px 0 6px; }
.sp2-tiers h2 { font-size: 29px; color: var(--sp2-pinedeep); }
.sp2-sub { font-size: 16px; color: var(--sp2-soil); max-width: 720px; margin-top: 8px; }
.sp2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.sp2-card { background: #fff; border: 2px solid var(--sp2-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; position: relative; }
.sp2-card.hot { border-color: var(--brand); box-shadow: 0 10px 28px rgba(234,88,12,.14); }
.sp2-ribbon { position: absolute; top: -13px; right: 16px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 1px; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; }
.sp2-geo { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--brand); }
.sp2-card h3 { font-size: 20px; margin: 6px 0 4px; color: var(--sp2-pinedeep); }
.sp2-price { margin: 8px 0 2px; }
.sp2-price .now { font-family: 'Bitter', serif; font-size: 34px; font-weight: 900; color: var(--green); }
.sp2-price .per { font-weight: 700; color: var(--sp2-soil); }
.sp2-price .std { font-size: 13.5px; color: var(--sp2-soil); }
.sp2-price .std s { color: #B09A72; }
.sp2-lock { display: inline-block; background: #FDF0DC; border: 1px solid var(--sp2-brass); color: #8A6414; font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 3px 10px; margin: 8px 0 10px; align-self: flex-start; }
.sp2-cap { font-size: 13.5px; font-weight: 800; color: var(--sp2-red); margin-bottom: 10px; }
.sp2-card ul { list-style: none; font-size: 14px; display: grid; gap: 7px; margin: 0 0 16px; padding: 0; }
.sp2-card ul li { padding-left: 20px; position: relative; }
.sp2-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.sp2-btn { margin-top: auto; text-align: center; background: var(--green); color: #fff; border: none; font-weight: 800; padding: 11px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.sp2-card.hot .sp2-btn { background: var(--brand); }
.sp2-btn.sm { margin-top: 0; padding: 9px 18px; }
.sp2-check { background: #fff; border: 2px solid var(--sp2-line); border-radius: 16px; padding: 20px; margin-top: 22px; }
.sp2-check h3 { color: var(--sp2-pinedeep); margin-bottom: 4px; }
.sp2-checkrow { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; margin-top: 12px; }
.sp2-checkrow label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--sp2-soil); }
.sp2-checkrow select, .sp2-checkrow input { padding: 8px 10px; border: 1.5px solid var(--sp2-line); border-radius: 9px; font-size: 15px; background: #fff; }
.sp2-avail { margin-top: 12px; font-size: 15.5px; }
.sp2-fine { font-size: 13.5px; color: var(--sp2-soil); margin-top: 16px; max-width: 820px; }
.sp2-events { background: var(--green); color: var(--sp2-cream); border-radius: 18px; margin-top: 40px; padding: 38px 30px; }
.sp2-events h2 { font-size: 27px; }
.sp2-events h2 em { color: var(--sp2-brass); font-style: normal; }
.sp2-events .sp2-sub { color: #E9DFC6; }
.sp2-evgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.sp2-ev { background: var(--sp2-pinedeep); border: 1.5px solid #35604A; border-radius: 14px; padding: 18px; }
.sp2-ev h3 { font-size: 18px; color: var(--sp2-brass); }
.sp2-ev .amt { font-family: 'Bitter', serif; font-size: 28px; font-weight: 900; margin: 5px 0; }
.sp2-ev p { font-size: 14px; color: #E9DFC6; }
.sp2-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.sp2-step b { display: block; color: var(--sp2-brass); font-family: 'Bitter', serif; font-size: 16px; margin-bottom: 4px; }
.sp2-step p { font-size: 14px; color: #E9DFC6; }
.sp2-step .n { display: inline-flex; width: 27px; height: 27px; border-radius: 50%; background: var(--brand); color: #fff; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 8px; font-size: 14.5px; }
.sp2-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 36px 0 6px; }
.sp2-panel { background: #fff; border: 2px solid var(--sp2-line); border-radius: 16px; padding: 22px; }
.sp2-panel h2 { font-size: 22px; color: var(--sp2-pinedeep); margin-bottom: 8px; }
.sp2-panel p, .sp2-panel li { font-size: 15px; }
.sp2-panel ul { list-style: none; display: grid; gap: 8px; margin: 8px 0 0; padding: 0; }
.sp2-panel ul li { padding-left: 20px; position: relative; }
.sp2-panel ul li::before { content: "—"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }
.sp2-panel .big { font-family: 'Bitter', serif; font-weight: 900; color: var(--green); }
.sp2-cta { text-align: center; padding: 44px 20px 54px; }
.sp2-cta h2 { font-size: 28px; color: var(--sp2-pinedeep); }
.sp2-cta p { color: var(--sp2-soil); font-size: 16px; margin: 10px auto 20px; max-width: 540px; }
.sp2-cta-btn { display: inline-block; background: var(--brand); color: #fff; font-weight: 800; font-size: 16.5px; padding: 13px 28px; border-radius: 999px; border: none; cursor: pointer; }
@media (max-width: 900px) {
  .sp2-grid { grid-template-columns: repeat(2, 1fr); }
  .sp2-evgrid { grid-template-columns: 1fr; }
  .sp2-steps { grid-template-columns: repeat(2, 1fr); }
  .sp2-two { grid-template-columns: 1fr; }
  .sp2-hero h1 { font-size: 30px; }
}
@media (max-width: 520px) {
  .sp2-grid { grid-template-columns: 1fr; }
  .sp2-steps { grid-template-columns: 1fr; }
}

/* ---------- Usability fixes (2026-11-17) ---------- */
/* Skeleton placeholders while sections load (replaces bare text). */
.skl { background: linear-gradient(100deg, #EFE3CB 40%, #F8EFDB 50%, #EFE3CB 60%); background-size: 200% 100%; animation: skl-shimmer 1.3s infinite; border-radius: 8px; min-height: 14px; margin: 6px 0; }
.skl.w70 { width: 70%; } .skl.w60 { width: 60%; } .skl.w45 { width: 45%; }
.skl-img { height: 120px; border-radius: 10px; margin: 0 0 8px; }
.skl-card { background: #FFFDF8; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
@keyframes skl-shimmer { from { background-position: 180% 0; } to { background-position: -20% 0; } }
/* Persistent basket bar — the always-visible path to checkout. */
#basket-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 84px; z-index: 60; background: var(--pine); color: #FFFBF2; border: 1.5px solid var(--brass); border-radius: 999px; padding: 10px 20px; font-size: .95rem; font-weight: 600; box-shadow: 0 6px 22px rgba(20,42,29,.35); cursor: pointer; max-width: calc(100vw - 24px); }
#basket-bar b { color: #FFC46B; }
@media (min-width: 861px) { #basket-bar { bottom: 22px; } }
.fs-add-wrap { display: block; }
.fs-go-basket { margin-top: 10px; }
/* My Market tabs */
.mm-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; position: sticky; top: 0; background: var(--bg); padding: 8px 0; z-index: 5; }
.mm-tab { border: 1.5px solid var(--line); background: #FFFDF8; color: var(--soil); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.mm-tab.active { background: var(--pine); color: #FFFBF2; border-color: var(--pine); }
.mm-panel.hidden { display: none; }
/* Band links on-palette (were default browser blue): section intros,
 * the sell band's fee cards, and the events sponsor line. */
.a-section .sub a, .sell-band .fee-card a, .sell-band .sub a { color: var(--brand-dark); font-weight: 800; }
.sell-band .fee-card a { color: #FFC46B; }
.sponsor-line a { color: var(--brand-dark); font-weight: 800; }
/* Footer contrast on pine-deep: tagline + fineprint were ~4.4:1. */
.foot-brand .ftag { color: #CDBD97; }
.a-footer .fineprint { color: #B7A888; }
