:root {
  --bg: #fbfaf6;
  --card: #ffffff;
  --ink: #1c1f1a;
  --muted: #5e6659;
  --line: #e6e3d8;
  --green: #2f6b3a;
  --green-ink: #1e4a28;
  --green-soft: #e8f1e9;
  --accent: #e2703a;
  --accent-soft: #fbe9df;
  --gold-soft: #fbf1d3;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(28, 31, 26, 0.06), 0 4px 16px rgba(28, 31, 26, 0.05);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.4em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 0.8em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.kicker { text-transform: none; color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5em; }
/*
 * Fluid container. Below ~1300px it is the viewport minus a gutter, exactly as before.
 * Past that it keeps growing with the window (90vw) but stops at --container-max so
 * text never stretches to an unreadable line length on an ultrawide monitor.
 * Gutters widen alongside it. Override --container-max to retune globally.
 */
:root { --container-max: 1560px; --gutter: 1rem; }
@media (min-width: 1200px) { :root { --gutter: 2rem; } }
@media (min-width: 1800px) { :root { --gutter: 3rem; } }
.container { width: min(var(--container-max), max(1120px, 90vw), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
/* Long-form reading stays narrow regardless of how wide the shell gets. */
.container.prose, .prose { max-width: 72ch; }
.section { margin-block: 24px 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

.btn { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 999px; padding: 0.65rem 1.15rem; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--green-ink); border-color: var(--green-ink); }
.btn--small { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
.btn--ghost { background: transparent; color: var(--green-ink); }
.btn--ghost:hover { background: var(--green-soft); }
.linklike { background: none; border: 0; padding: 0; color: var(--green-ink); text-decoration: underline; font: inherit; cursor: pointer; }

.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; text-decoration: none; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 1rem; font-weight: 500; }
.site-nav a { text-decoration: none; }
/* Two-level "Find by State" menu */
.statenav { position: relative; }
.statenav > summary { list-style: none; cursor: pointer; font-weight: 500; padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; white-space: nowrap; }
.statenav > summary::-webkit-details-marker { display: none; }
.statenav > summary::after { content: ' ▾'; color: var(--muted); }
.statenav[open] > summary { border-color: var(--green); color: var(--green-ink); }
.statenav__panel { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: min(420px, calc(100vw - 2rem)); max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.4rem; }
.statenav__states { list-style: none; margin: 0; padding: 0; }
.statenav__state > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0.7rem; border-radius: 8px; font-size: 0.95rem; }
.statenav__state > summary::-webkit-details-marker { display: none; }
.statenav__state > summary::before { content: '▸'; color: var(--muted); font-size: 0.8rem; transition: transform 0.12s ease; }
.statenav__state[open] > summary::before { transform: rotate(90deg); }
.statenav__state > summary span:first-of-type { flex: 1; }
.statenav__state > summary:hover { background: var(--green-soft); }
.statenav__state[open] > summary { font-weight: 600; }
.statenav__count { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.statenav__cities { list-style: none; margin: 0 0 0.35rem; padding: 0 0 0 1.6rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.1rem; }
.statenav__cities a, .statenav__plain { display: block; padding: 0.35rem 0.5rem; border-radius: 6px; font-size: 0.9rem; text-decoration: none; color: var(--ink); }
.statenav__cities a:hover, .statenav__plain:hover { background: var(--green-soft); color: var(--green-ink); }
.statenav__cities a.is-current { background: var(--green); color: #fff; font-weight: 600; }
.statenav__plain { padding: 0.5rem 0.7rem; font-size: 0.95rem; }

.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-block: 2rem; color: var(--muted); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero { background: linear-gradient(180deg, #f1f5ee 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
/* Single column by default with the image first; two columns from 900px, image left. */
.hero__inner { padding-block: 24px; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.hero__copy { max-width: 40rem; }
.hero__sub { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
/* 18px against the 12px cards, so the hero image reads as the larger, softer shape. */
.hero__art { display: block; position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: linear-gradient(135deg, #eaf2e7, #f6f1df); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Drawn stand-in until a real photo is dropped at public/hero.jpg. */
.hero__art--fallback::before { content: '🧺'; position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(3rem, 9vw, 5.5rem); opacity: 0.85; }
.hero__art--fallback::after { content: 'Add your photo at public/hero.jpg'; position: absolute; inset: auto 0 0 0; padding: 0.5rem; text-align: center; font-size: 0.75rem; color: var(--muted); background: rgba(255, 255, 255, 0.7); }
.hero__credit { font-size: 0.7rem; margin: 0.4rem 0 0; text-align: right; opacity: 0.75; }
.hero__credit a { color: inherit; }

@media (min-width: 900px) {
  /* Image left, copy right. Source order keeps the headline first for screen readers. */
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
  .hero__copy { grid-column: 2; grid-row: 1; }
  .hero__media { grid-column: 1; grid-row: 1; }
  /* Landscape frame: wider than tall, produce still upright. */
  .hero__art { aspect-ratio: 16 / 10; }
}
@media (min-width: 1300px) {
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 4.5rem; }
  .hero__art { aspect-ratio: 3 / 2; }
}
/*
 * Stacked on phones the image leads, so the page opens on the produce rather than
 * on a wall of text with the photo stranded below the fold. A short landscape band
 * keeps the headline and search box visible without scrolling.
 */
@media (max-width: 899px) {
  .hero__inner { gap: 1.25rem; }
  .hero__media { order: -1; }
  .hero__art { aspect-ratio: 16 / 9; max-height: 13rem; }
  .hero__credit { text-align: left; }
  .hero__copy h1 { font-size: clamp(1.75rem, 7vw, 2.2rem); }
}
.search { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.search input { flex: 1 1 260px; font: inherit; padding: 0.7rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.search input:focus, .filters select:focus, .newsletter input:focus, .newsletter select:focus { outline: 2px solid var(--green); outline-offset: 1px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card--featured { border-color: #d9c78a; }
.card__media { display: block; aspect-ratio: 16 / 10; background: var(--green-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.6rem; background: linear-gradient(135deg, #eaf2e7, #f6f1df); }
.card__body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.card__top { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.card__title { margin: 0.15rem 0 0; }
.card__title a { text-decoration: none; color: var(--ink); }
.card__title a:hover { color: var(--green-ink); }
.card__meta { margin: 0; color: var(--muted); font-size: 0.9rem; }
.card__tagline { margin: 0.2rem 0 0; font-size: 0.95rem; }
.card__pay { margin: 0.25rem 0 0; font-size: 0.8rem; color: var(--muted); }

.badge { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--green-ink); background: var(--green-soft); border-radius: 6px; padding: 0.15rem 0.5rem; }
.pill { display: inline-block; font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 0.15rem 0.55rem; background: #eee; color: #333; }
.pill--open { background: #dff3e2; color: #1e5a2a; }
.pill--low { background: var(--gold-soft); color: #7a5a00; }
.pill--out { background: var(--accent-soft); color: #8a3a12; }
.pill--closed { background: #ececec; color: #555; }
.pill--featured { background: #fff3c4; color: #6b5300; }
.chips { list-style: none; padding: 0; margin: 0.3rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chips li { font-size: 0.8rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.6rem; background: #fff; }
.chips .chip--more { border-style: dashed; color: var(--muted); }

.region-head { padding-top: 1.75rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-block: 0.5rem 1.25rem; }
.filters__field { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; }
.filters select, .filters__dd summary { font: inherit; font-size: 0.9rem; padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.filters__dd { position: relative; }
.filters__dd summary { list-style: none; }
.filters__dd summary::-webkit-details-marker { display: none; }
.filters__dd summary::after { content: ' ▾'; color: var(--muted); }
.filters__panel { position: absolute; z-index: 15; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.9rem 1rem; display: grid; grid-template-columns: repeat(2, minmax(160px, 1fr)); gap: 0.75rem 1.25rem; width: min(560px, 90vw); max-height: 60vh; overflow: auto; }
.filters__panel--narrow { grid-template-columns: 1fr; width: 220px; }
.filters__panel fieldset { border: 0; padding: 0; margin: 0; }
.filters__panel legend { font-weight: 600; font-size: 0.85rem; margin-bottom: 0.25rem; }
.filters__panel label { display: block; font-size: 0.9rem; padding: 0.1rem 0; }
.filters__check { font-size: 0.9rem; display: inline-flex; gap: 0.35rem; align-items: center; }
.filters__clear { font-size: 0.85rem; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.map { width: 100%; height: 420px; border-radius: var(--radius); border: 1px solid var(--line); background: #e9eee6; }
.map--small { height: 240px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .split__map { position: sticky; top: 72px; }
  .map { height: calc(100vh - 100px); min-height: 480px; }
  .split .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
/* On wide screens give the listings the extra room rather than the map. */
@media (min-width: 1500px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem; }
}
.marker { width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); cursor: pointer; }
.marker--featured { background: var(--accent); }
.marker--out { background: #9a9a9a; }
.maplibregl-popup-content { font-family: var(--font-body); border-radius: 10px; padding: 0.6rem 0.8rem; }
.empty { padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }

/*
 * State browse grid. Five columns on desktop, dropping to two on phones.
 * The homepage clamps it to three rows using an explicit row height, since a
 * grid has no "max-rows" property; every state stays in the DOM for SEO.
 */
.stategrid {
  --state-rows: 3;
  --state-row-h: 5.5rem;
  --state-gap: 0.75rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: var(--state-row-h);
  gap: var(--state-gap);
}
.stategrid--clamped {
  /* Three rows plus the two gaps between them. */
  max-height: calc(var(--state-row-h) * var(--state-rows) + var(--state-gap) * (var(--state-rows) - 1));
  overflow: hidden;
  /* Fades the final visible row instead of cutting it flat. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0, 0, 0, 0.15) 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0, 0, 0, 0.15) 92%, transparent 100%);
}
.statecard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}
.statecard:hover { border-color: var(--green); }
.statecard__name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}
.statecard__stat { font-size: 0.85rem; line-height: 1.35; color: var(--muted); }
.stategrid__more { margin-top: 0.9rem; }
/* Pull the link up under the fade so it reads as the continuation of the grid. */
.stategrid--clamped + .stategrid__more { margin-top: -0.4rem; }
.stategrid__more a { font-weight: 500; }

@media (max-width: 1100px) { .stategrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .stategrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .stategrid { grid-template-columns: repeat(2, minmax(0, 1fr)); --state-row-h: 5.75rem; }
  .statecard__name { font-size: 0.95rem; }
}
/* Honour a reduced-transparency preference by cutting cleanly instead of fading. */
@media (prefers-reduced-transparency: reduce) {
  .stategrid--clamped { -webkit-mask-image: none; mask-image: none; }
}

.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; }
.region-tile { display: flex; flex-direction: column; gap: 0.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1rem; text-decoration: none; color: var(--ink); }
.region-tile:hover { border-color: var(--green); }
.states { margin-top: 1rem; }
.states summary { cursor: pointer; color: var(--muted); }
.states__list { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.5rem; }
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
.group-tile { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 0.75rem; text-decoration: none; color: var(--ink); }
.group-tile:hover { border-color: var(--green); }
.group-tile__emoji { font-size: 1.9rem; }

.newsletter { display: grid; grid-template-columns: 1fr; gap: 1rem; background: var(--green-soft); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 2fr 3fr; align-items: center; } }
.newsletter h2 { margin-bottom: 0.25rem; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.newsletter input, .newsletter select { font: inherit; padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.newsletter input[type='email'] { flex: 1 1 200px; }
.newsletter input[type='text'] { flex: 1 1 140px; }
.newsletter .linklike { margin-top: 0.5rem; font-size: 0.85rem; }
.cf-turnstile { margin-top: 0.75rem; }

.cta { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }
.cta p { max-width: 60ch; margin-inline: auto; }
.prose { max-width: 72ch; }
.prose h1 { margin-top: 1.5rem; }

.stand { padding-top: 1.5rem; }
.stand__head h1 { margin-top: 0.4rem; }
.stand__tagline { font-size: 1.15rem; }
.stand__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.6rem; margin-block: 1rem 1.5rem; }
.stand__photos img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.stand__cols { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .stand__cols { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); } }
.stand__main section, .stand__side section { margin-top: 1.5rem; }
.offer-group h3 { margin: 0.75rem 0 0.25rem; font-size: 1rem; }
.hours { border-collapse: collapse; }
.hours th { text-align: left; font-weight: 500; padding: 0.2rem 1rem 0.2rem 0; color: var(--muted); }
.hours td { padding: 0.2rem 0; }
.contact p { margin-bottom: 0.5rem; }
.socials { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- forms, dashboard, editor, admin ---- */
.notice { border-radius: var(--radius); padding: 0.8rem 1rem; margin-block: 1rem; border: 1px solid; }
.notice--ok { background: #e7f5ea; border-color: #bcdcc4; color: #1e5a2a; }
.notice--warn { background: var(--gold-soft); border-color: #e8d79a; color: #7a5a00; }
.notice--error { background: var(--accent-soft); border-color: #f0c2aa; color: #8a3a12; }
.notice ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

.field { display: block; margin-bottom: 0.9rem; }
.field > span { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 0.25rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.field textarea { resize: vertical; min-height: 5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.field--sm { max-width: 8rem; }
.row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.row > .field { flex: 1 1 12rem; }
.check { display: flex; align-items: center; gap: 0.45rem; font-size: 0.95rem; padding: 0.15rem 0; }
.check--inline { padding-top: 1.7rem; white-space: nowrap; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.panel > legend, .panel > h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; padding-inline: 0.4rem; }

.auth { max-width: 640px; padding-top: 2rem; }
.lede { font-size: 1.1rem; color: var(--muted); }
.auth__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-block: 1.25rem; }
.auth__aside { background: var(--green-soft); border-radius: var(--radius); padding: 1.25rem; }
.auth__aside h2 { font-size: 1.05rem; }
.auth__aside ul { margin: 0 0 0.75rem; padding-left: 1.1rem; }

.dash { padding-top: 1.75rem; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.dash__list { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: 0.75rem; }
.dash__item { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 1rem 1.2rem; }
.dash__main h2 { font-size: 1.15rem; margin: 0.3rem 0 0.15rem; }
.dash__main h2 a { text-decoration: none; color: var(--ink); }
.dash__side { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.dash__add { margin-top: 1.5rem; }
.stocked { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.chipbtn { font: inherit; font-size: 0.82rem; padding: 0.3rem 0.7rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; }
.chipbtn:hover { border-color: var(--green); }
.chipbtn.is-on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.pill--status-active { background: #dff3e2; color: #1e5a2a; }
.pill--status-pending { background: var(--gold-soft); color: #7a5a00; }
.pill--status-hidden, .pill--status-draft { background: #ececec; color: #555; }

/* Availability, per-item stock, and account deletion */
.pill--stale { background: #fdf0e3; color: #8a5a12; }
.card--inactive .card__media { opacity: 0.55; }
.card__since { font-size: 0.8rem; margin: 0.1rem 0 0; }
.chip--soldout { text-decoration: line-through; color: var(--muted); background: #f4f4f4 !important; }
.chip--low { border-color: #e8d79a !important; background: var(--gold-soft) !important; }
.chip__note { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.02em; opacity: 0.75; text-decoration: none; display: inline-block; }
.stand__closed { margin-top: 0.75rem; }
.stand__closed p { margin: 0.35rem 0 0; }

.dash__item--stacked { align-items: flex-start; }
.dash__side--wide { flex: 1 1 22rem; max-width: 26rem; }
.avail { width: 100%; display: grid; gap: 0.25rem; }
.avail .field { margin-bottom: 0.4rem; }
.field__label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 0.25rem; }
.avail__timerrow { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.avail__timerrow input { width: 4.2rem; font: inherit; padding: 0.4rem 0.5rem; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.avail__timer, .avail__reason { border-left: 3px solid var(--green-soft); padding-left: 0.75rem; margin-bottom: 0.5rem; }
.avail__reason textarea { width: 100%; }
.counter { text-align: right; margin: 0.1rem 0 0.4rem; font-variant-numeric: tabular-nums; }
.counter.is-near { color: #8a5a12; }
.counter.is-max { color: #8a3a12; font-weight: 600; }

.stocklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.stocklist__row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: space-between; align-items: center; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.stocklist__row:last-child { border-bottom: 0; }

.btn--danger { background: #a8341a; border-color: #a8341a; }
.btn--danger:hover { background: #8a2a12; border-color: #8a2a12; }
.confirmcode { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.5rem; letter-spacing: 0.18em; background: var(--card); border: 1px dashed var(--line); border-radius: 8px; padding: 0.6rem 1rem; margin: 0.35rem 0 0.6rem; user-select: all; display: inline-block; }
.dash__danger { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.dash__danger a { color: #a8341a; }

/* Attention marker on the nav when a location is inactive. */
.navflag { position: relative; }
.navflag::after { content: ''; position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }

.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.5rem; }
.editor { padding-top: 1.75rem; max-width: 900px; }
.editor__actions { display: flex; gap: 0.75rem; align-items: center; margin-block: 1.5rem; position: sticky; bottom: 0; background: linear-gradient(180deg, transparent, var(--bg) 35%); padding-block: 1rem; }
.offergrid { margin-bottom: 1rem; }
.offergrid h3 { font-size: 0.95rem; margin: 0.75rem 0 0.35rem; }
.offergrid__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.15rem 1rem; }
.paygrid { display: grid; gap: 0.5rem; }
.paygrid__row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.paygrid__row .check { min-width: 11rem; }
.paygrid__handle { font: inherit; padding: 0.4rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; max-width: 14rem; }
.hoursgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 1rem; }
.geosearch { display: flex; gap: 0.5rem; margin-bottom: 0.6rem; }
.geosearch input { flex: 1; font: inherit; padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; }
.map--pick { height: 340px; cursor: crosshair; }
.pinstate { margin-top: 0.4rem; }
.pinstate--unset { color: #8a3a12; }
.photolist { list-style: none; margin: 0.75rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.photolist img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.photolist form { text-align: center; margin-top: 0.25rem; }
.photoform { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.photoform input[type='text'] { flex: 1 1 12rem; font: inherit; padding: 0.5rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; }
.photoform .small { flex-basis: 100%; margin: 0; }
.tabs { display: flex; gap: 1rem; border-bottom: 1px solid var(--line); margin-block: 1rem; }
.tabs a { padding: 0.5rem 0.2rem; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs a.is-current { color: var(--ink); border-bottom-color: var(--green); font-weight: 600; }

@media (max-width: 640px) {
  .site-nav > a:not(.btn) { display: none; }
  .check--inline { padding-top: 0; }
  .statenav__panel { position: fixed; top: auto; right: 1rem; left: 1rem; width: auto; max-height: 70vh; }
  .statenav__cities { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}
