/*
 * CanadianPick — public-facing styles
 */

:root {
  --ink: #111827;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --bg: #fafafa;
  --card: #ffffff;
  --maple: #dc2626;
  --maple-soft: #fef2f2;
  --green: #059669;
  --green-bg: #ecfdf5;
  --red: #dc2626;
  --amber: #d97706;
  --radius: 10px;
  --shadow: 0 14px 40px rgba(17, 24, 39, .08);

  /* SaaS design system — the homepage's refined palette, promoted site-wide so
     every public page can share one consistent look. See the ".s-*" kit below. */
  --s-ink: #0f1222;
  --s-body: #4a4d60;
  --s-muted: #7d8196;
  --s-line: #e7e8ef;
  --s-soft: #f7f8fb;
  --s-accent: #e11f26;
  --s-accent-dk: #b8141b;
  --s-accent-soft: #fef1f1;
  --s-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s-radius: 16px;
  --s-shadow: 0 18px 50px rgba(15, 18, 34, .10);
  --s-shadow-sm: 0 6px 20px rgba(15, 18, 34, .06);

  /* Keep the header, public content, and footer on the same horizontal grid. */
  --site-shell-max: 1440px;
  --site-shell-gutter: 1.25rem;
}

* { box-sizing: border-box; margin: 0; }
body {
  font-family: var(--s-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }

/* =====================================================================
   Shared SaaS kit — reusable building blocks in the homepage's design
   language. Opt in by wrapping a page's content in `.s-page`; that sets
   the Figtree type + body colour so the look stays scoped to restyled
   pages until every page has been converted. Drives off the :root --s-*
   tokens. Components: page shell, hero, section heads, cards, buttons,
   form fields, pills, notes.
   ===================================================================== */
.s-page {
  font-family: var(--s-sans);
  color: var(--s-body);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem) 1.25rem clamp(3rem, 6vw, 5rem);
}
.s-page--narrow { max-width: 760px; }

/* Hero / page header */
.s-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--s-accent);
}
.s-title {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--s-ink);
  margin: .6rem 0 0;
}
.s-title .accent {
  background: linear-gradient(115deg, var(--s-accent), #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.s-lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--s-body);
  max-width: 60ch;
  margin: 1rem auto 0;
}

/* Card */
.s-card {
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow-sm);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* Buttons */
.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1;
  min-height: 44px;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
.s-btn-primary {
  background: linear-gradient(120deg, var(--s-accent), #f43f5e);
  color: #fff;
}
.s-btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.s-btn-ghost {
  background: #fff;
  border-color: var(--s-line);
  color: var(--s-ink);
}
.s-btn-ghost:hover { border-color: var(--s-ink); transform: translateY(-1px); }
.s-btn-block { width: 100%; }

/* Form fields */
.s-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--s-ink);
  margin-bottom: .4rem;
}

/* Pill / chip */
.s-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--s-body);
  background: var(--s-soft);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  padding: .35rem .8rem;
}

/* ---- Subscription funnel (SaaS-styled) ---- */
.sub .s-title { margin-top: .7rem; }
.sub-check { flex: 0 0 auto; color: #16a34a; margin-top: .15rem; }
.sub-proof {
  margin-top: 1.6rem;
  font-size: .95rem;
  color: var(--s-muted);
  background: var(--s-soft);
  border: 1px solid var(--s-line);
  border-radius: 12px;
  padding: .75rem 1rem;
}

.sub-samples { border-top: 1px solid var(--s-line); padding-top: clamp(2rem, 5vw, 3rem); }
.sub-sample {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow-sm);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sub-sample:hover { transform: translateY(-2px); box-shadow: var(--s-shadow); border-color: #d7d9e4; }
.sub-sample-title { font-weight: 700; color: var(--s-ink); line-height: 1.3; }

/* Status pages (check email / confirmed / unsubscribed / expired) */
.sub-status { text-align: center; }
.sub-status .s-title { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.sub-status-icon { font-size: 2.75rem; line-height: 1; margin-bottom: .5rem; }
.sub-status .s-lede { margin: .8rem auto 0; }
.sub-status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.75rem;
}

/* ---- Header ---- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .inner {
  max-width: var(--site-shell-max);
  margin: 0 auto;
  padding: .75rem var(--site-shell-gutter);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand-icon { flex-shrink: 0; color: var(--maple); }
.site-header .brand .maple { color: var(--maple); }
.site-header .tag {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.3;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-left: auto;
}
.site-nav a {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }
/* Tablets: the tagline gives way so the nav stays on one line. */
@media (max-width: 1024px) {
  .site-header .tag { display: none; }
  /* Scrolls if still too tight; the padding keeps focus rings unclipped. */
  .site-nav { min-width: 0; overflow-x: auto; scrollbar-width: none; padding: .4rem .25rem; margin-block: -.4rem; }
}
.site-header a:focus-visible, .site-header button:focus-visible, .site-footer a:focus-visible {
  outline: 3px solid var(--maple); outline-offset: 3px; border-radius: 4px;
}
.skip-link {
  position: absolute; left: .75rem; top: -4rem; z-index: 60; padding: .6rem 1rem; border-radius: 8px;
  background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: .75rem; outline: 3px solid var(--maple); outline-offset: 2px; }
#main-content:focus { outline: none; }
.site-header .header-cta {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .site-header .inner {
    flex-wrap: wrap;
    padding-inline: .75rem;
  }
  .site-header .tag { display: none; }
  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 1.1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
    padding-right: 1.5rem;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  /* Phones tap these: give each link the 44px touch floor. */
  .site-nav a { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
  .site-header .header-cta { margin-left: auto; }
}

/* ---- Wrap ---- */
.wrap { max-width: var(--site-shell-max); margin: 0 auto; padding: 1.25rem var(--site-shell-gutter) 3rem; scroll-margin-top: 5rem; }

/* ---- Weekly editorial guides ---- */
.editorial-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.editorial-notes article {
  border: 1px solid var(--s-line);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--s-shadow-sm);
  padding: 1.15rem 1.25rem;
}
.editorial-notes h2 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--s-ink);
  line-height: 1.25;
  margin-bottom: .4rem;
}
.editorial-notes p {
  color: var(--s-body);
  font-size: .93rem;
  line-height: 1.55;
}
.editorial-day { margin-bottom: 1.75rem; }
.day-header {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--s-ink);
  margin-bottom: .75rem;
  padding-bottom: .45rem;
  border-bottom: 2px solid var(--s-ink);
}
.guide-group { margin-bottom: 2.25rem; }
.guide-group > h2 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--s-ink);
  margin-bottom: .95rem;
}
.guide-card {
  display: block;
  border: 1px solid var(--s-line);
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--s-shadow-sm);
  padding: 1.15rem 1.25rem;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.guide-card:hover {
  border-color: var(--s-accent);
  box-shadow: var(--s-shadow);
  transform: translateY(-2px);
}
.guide-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--s-ink);
  line-height: 1.3;
  margin-bottom: .45rem;
}
.guide-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  color: var(--muted);
  font-size: .84rem;
}

@media (max-width: 760px) {
  .editorial-notes { grid-template-columns: 1fr; }
  .day-header { font-size: 1.05rem; }
}

/* ---- Activity topic pages ---- */
.topic-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1.25rem;
}
.topic-notes article {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
}
.topic-notes h2 {
  font-size: .98rem;
  line-height: 1.25;
  margin-bottom: .35rem;
}
.topic-notes p {
  color: var(--muted);
  font-size: .9rem;
}
.topic-venue-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.topic-venue-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 14rem);
  gap: 1rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.topic-venue-hours h3 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}
.topic-venue-hours table {
  width: 100%;
  font-size: .8rem;
  border-collapse: collapse;
}
.topic-venue-hours th {
  text-align: left;
  font-weight: 700;
  padding: .15rem .4rem .15rem 0;
  width: 2.4rem;
  color: var(--muted);
}
.topic-venue-hours td {
  padding: .15rem 0;
  color: var(--ink);
}
.topic-venue-hours tr.is-today th,
.topic-venue-hours tr.is-today td {
  color: var(--ink);
  font-weight: 800;
}
.topic-faqs {
  margin: 0;
  max-width: none;
}
.topic-faqs h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .75rem;
}
.topic-faqs details {
  border-top: 1px solid var(--line);
  padding: .75rem 0;
}
.topic-faqs details:last-child { border-bottom: 1px solid var(--line); }
.topic-faqs summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.topic-faqs summary::-webkit-details-marker { display: none; }
.topic-faqs details p {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .92rem;
}
.topic-enroll-cta {
  margin: 0;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  max-width: none;
}
.topic-enroll-cta h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .35rem;
}
.topic-enroll-cta p {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: .85rem;
}
.topic-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .5rem .75rem;
}
.topic-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--s-ink);
  cursor: pointer;
  padding: .6rem .8rem;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.form-card .topic-check { display: flex; min-height: 44px; margin: 0; font-size: .95rem; }
.topic-check:hover { border-color: var(--s-ink); }
.topic-check:has(input:checked) { border-color: var(--s-accent); background: var(--s-accent-soft); }
.field-hint {
  color: var(--s-muted);
  font-size: .88rem;
  margin: .4rem 0 .75rem;
}

@media (max-width: 760px) {
  .topic-notes { grid-template-columns: 1fr; }
  .topic-venue-card { grid-template-columns: 1fr; }
  .topic-venue-hours { border-top: 1px solid var(--line); padding-top: .75rem; }
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  margin-top: 3rem;
}
.site-footer .inner {
  max-width: var(--site-shell-max);
  margin: 0 auto;
  padding: 1.25rem var(--site-shell-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: .82rem;
}
.site-footer .footer-copy { flex: 1; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.site-footer a:hover { color: var(--ink); }

/* ---- Hero banner (home) ---- */
.hero {
  position: relative;
  background:
    radial-gradient(60% 70% at 12% 0%, rgba(225,31,38,.08), transparent 60%),
    radial-gradient(50% 60% at 92% 0%, rgba(99,102,241,.07), transparent 65%),
    var(--s-soft);
  border-bottom: 1px solid var(--s-line);
  padding: clamp(2.5rem, 5vw, 3.75rem) var(--site-shell-gutter) clamp(2rem, 4vw, 2.75rem);
}
.hero-inner { max-width: var(--site-shell-max); margin: 0 auto; }
.hero .eyebrow {
  color: var(--s-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: var(--s-ink);
  margin-bottom: .75rem;
}
.hero h1 .maple { color: var(--s-accent); }
.hero p { color: var(--s-body); font-size: 1.05rem; line-height: 1.55; max-width: 580px; margin-bottom: 1rem; }
.hero-link {
  color: var(--s-body);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}
.hero-link:hover { color: var(--s-accent); }
@media (max-width: 600px) {
  .hero { padding: 2.25rem .75rem 1.5rem; }
  .hero h1 { font-size: 1.55rem; line-height: 1.18; max-width: 21rem; }
  .hero p { font-size: .92rem; }
}

/* ---- Home (SaaS product landing) ----
   Two-column hero: the pitch and signup on the left, a live preview of the
   email (built from real deals) on the right, then a one-line trust strip.
   Below it, one tabbed deal feed, two compact lists, cities, and the FAQ. */
.home {
  /* Design tokens now live in :root (shared site-wide). Just adopt the type. */
  font-family: var(--s-sans);
}

/* ---- Main container ---- */
.home {
  max-width: var(--site-shell-max);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.5rem) var(--site-shell-gutter) clamp(3rem, 6vw, 5rem);
  color: var(--s-ink);
}

/* ---- Section head ---- */
.home-sec { margin-top: clamp(2.5rem, 5vw, 4rem); }
.home-sec-eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--s-accent);
  margin: 0 0 .35rem;
}

/* ---- Tabbed deal feed ----
   Without JS the tablist stays hidden and the panels stack under their own
   headings; the script adds .is-tabbed and shows one panel at a time. */
.home-feed-tabs {
  display: flex;
  gap: .3rem;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  margin: -.35rem 0 1.25rem;
  padding: .3rem;
  background: var(--s-soft);
  border: 1px solid var(--s-line);
  border-radius: 999px;
}
.home-feed-tabs[hidden] { display: none; }
.home-feed-tab {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: var(--s-body);
  padding: .5rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.home-feed-tab:hover { color: var(--s-ink); }
.home-feed-tab[aria-selected="true"] {
  background: #fff;
  color: var(--s-ink);
  box-shadow: var(--s-shadow-sm);
}
.home-feed-tab:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }
.home-feed-panel[hidden] { display: none; }
.home-feed-panel + .home-feed-panel { margin-top: 2.25rem; }
.home-feed.is-tabbed .home-feed-panel + .home-feed-panel { margin-top: 0; }
.home-feed-panel-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--s-ink);
  margin: 0 0 .9rem;
}
.home-feed.is-tabbed .home-feed-panel-title { display: none; }
.home-feed-more {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: .92rem;
  font-weight: 700;
  color: var(--s-accent);
  text-decoration: none;
}
.home-feed-more:hover { text-decoration: underline; }

/* ---- List rows ---- */
.deal-list { display: flex; flex-direction: column; }
.deal-row {
  display: grid;
  grid-template-columns: 5.75rem minmax(0, 1fr);
  grid-template-areas: "kicker title" "kicker shop";
  align-items: center;
  column-gap: .9rem;
  row-gap: .1rem;
  padding: .8rem .6rem;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  transition: background .12s;
}
.deal-row + .deal-row { border-top: 1px solid var(--s-line); }
.deal-row:hover { background: var(--s-soft); }
.deal-row-kicker {
  grid-area: kicker;
  justify-self: start;
  max-width: 100%;
  font-size: .72rem;
  font-weight: 700;
  color: var(--s-accent);
  background: var(--s-accent-soft);
  border-radius: 6px;
  padding: .28rem .5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deal-row-title {
  grid-area: title;
  font-weight: 600;
  color: var(--s-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.deal-row-shop {
  grid-area: shop;
  font-size: .84rem;
  color: var(--s-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- City and town directory ---- */
.market-group {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.market-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.market-group-head h2 {
  margin: .25rem 0 0;
  color: var(--s-ink);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  letter-spacing: -.025em;
}
.market-group-description {
  max-width: 58rem;
  margin: .55rem 0 0;
  color: var(--s-body);
  font-size: .95rem;
  line-height: 1.55;
}
.market-group-count {
  flex: 0 0 auto;
  color: var(--s-muted);
  font-size: .9rem;
  font-weight: 700;
}
.market-city-card {
  display: flex;
  flex-direction: column;
  min-height: 7.1rem;
  gap: .35rem;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.market-city-card:hover {
  border-color: var(--s-accent);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -26px rgba(15, 18, 34, .28);
}
.market-city-name {
  color: var(--s-ink);
  font-size: 1rem;
  line-height: 1.25;
}
.market-city-meta {
  color: var(--s-muted);
  font-size: .8rem;
  line-height: 1.4;
}

/* ---- City business directory ---- */
.city-directory {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--s-line);
  scroll-margin-top: 1.25rem;
}
.city-directory-rest { margin-top: 1rem; }
.city-directory-rest > summary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .95rem;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  color: var(--s-body);
  font-size: .85rem;
  font-weight: 600;
  list-style: none;
  transition: all .15s;
}
.city-directory-rest > summary::-webkit-details-marker { display: none; }
.city-directory-rest > summary::after { content: "▾"; font-size: .7rem; color: var(--s-muted); }
.city-directory-rest[open] > summary::after { content: "▴"; }
.city-directory-rest > summary:hover { border-color: var(--s-ink); color: var(--s-ink); }
.city-directory-rest .city-directory-grid { margin-top: 1rem; }
.city-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.city-business-card {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .75rem;
  min-height: 0;
  padding: .85rem .9rem;
  border: 1px solid var(--s-line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.city-business-card:hover {
  border-color: var(--s-accent);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -22px rgba(15, 18, 34, .28);
}
.city-business-card:hover .city-business-chevron { opacity: 1; color: var(--s-accent); }
.city-business-mark {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--s-line);
  border-radius: 10px;
  background: var(--s-soft);
  overflow: hidden;
}
.city-business-mark.logo-dark { background: #1f2937; border-color: #1f2937; }
.city-business-mark.is-photo {
  background: #e5e7eb;
  overflow: hidden;
}
.city-business-mark.is-photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.city-business-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .35rem;
}
.city-business-monogram {
  color: var(--s-ink);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.city-business-body {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  min-width: 0;
}
.city-business-kind {
  color: var(--s-accent);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.city-business-name {
  color: var(--s-ink);
  font-size: .98rem;
  line-height: 1.25;
}
.city-business-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .65rem;
  color: var(--s-body);
  font-size: .78rem;
  line-height: 1.35;
}
.city-business-rating { color: #9a7208; font-weight: 700; }
.city-business-reviews { color: var(--s-muted); font-weight: 500; }
.city-business-hours.is-open { color: #0f7a45; font-weight: 700; }
.city-business-hours.is-closed { color: var(--s-muted); font-weight: 600; }
.city-business-hours-detail {
  margin-left: .25rem;
  color: var(--s-muted);
  font-weight: 500;
}
.city-business-address {
  overflow: hidden;
  color: var(--s-muted);
  font-size: .8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.city-business-deal {
  display: -webkit-box;
  overflow: hidden;
  margin-top: .15rem;
  color: var(--s-accent);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.city-business-chevron {
  align-self: center;
  color: var(--s-muted);
  font-size: .95rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity .15s, color .15s;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .city-directory-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .home { padding-inline: .75rem; }
  /* The feed scrolls sideways on phones instead of stacking six cards. */
  .city-directory-grid { grid-template-columns: 1fr; }
  .market-group-head { align-items: flex-start; flex-direction: column; gap: .35rem; }
}
/* ---- Filters ---- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  background: #fff;
  box-shadow: var(--s-shadow-sm);
}
.filters .search-form { display: contents; }
.browse-search {
  display: flex;
  gap: .5rem;
  max-width: 520px;
  margin: 0 0 1.25rem;
}
.browse-search input[type=search] {
  flex: 1;
  min-width: 0;
  padding: .65rem .9rem;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  font: inherit;
  font-size: .95rem;
  background: #fff;
  box-shadow: var(--s-shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}
.browse-search input[type=search]:focus { outline: none; border-color: var(--s-accent); box-shadow: 0 0 0 3px var(--s-accent-soft); }
.browse-search .btn { flex: none; white-space: nowrap; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: .38rem .8rem;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  color: var(--s-body);
  transition: all .15s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--s-ink); color: var(--s-ink); }
.chip.active { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.chip.maple { color: var(--s-accent); border-color: var(--s-accent-soft); background: var(--s-accent-soft); }
.chip.maple.active { background: var(--s-accent); color: #fff; border-color: var(--s-accent); }

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  flex-basis: 100%;
  border-top: 1px solid var(--s-line);
  padding-top: .6rem;
}
.time-links {
  display: flex;
  gap: .25rem;
  align-items: center;
}
.time-link {
  padding: .35rem .65rem;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  color: var(--s-muted);
  border-radius: 999px;
  transition: all .15s;
  white-space: nowrap;
}
.time-link:hover { color: var(--s-ink); background: var(--s-soft); }
.time-link.active { color: #fff; background: var(--s-accent); }
.map-count { color: var(--s-muted); }
.text-link { color: var(--s-accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* ---- Deal map ---- */
.deal-view { display: grid; gap: .75rem; }
.view-toggle {
  display: inline-flex;
  width: fit-content;
  padding: .25rem;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: #fff;
}
.view-toggle-button {
  border: 0;
  border-radius: 999px;
  padding: .4rem .9rem;
  background: transparent;
  color: var(--s-muted);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
}
.view-toggle-button.active {
  background: var(--s-ink);
  color: #fff;
}
.map-panel {
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  overflow: hidden;
}
.deals-map {
  width: 100%;
  height: min(62vh, 560px);
  min-height: 380px;
}
.map-attribution {
  padding: .45rem .65rem;
  color: var(--faint);
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: .72rem;
}
.map-attribution a { color: var(--muted); font-weight: 600; text-decoration: none; }
.map-attribution a:hover { text-decoration: underline; }
.map-popup-title {
  display: block;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: .15rem;
}
.map-popup-title:hover { text-decoration: underline; }
.map-popup-meta {
  color: var(--muted);
  font-size: .78rem;
}
.map-popup-value {
  color: var(--maple);
  font-size: .82rem;
  font-weight: 700;
  margin-top: .2rem;
}

/* ---- Offer card (horizontal layout) ---- */
.offer-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow-sm);
  text-decoration: none;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.offer-card:hover { border-color: #d7d9e4; box-shadow: var(--s-shadow); transform: translateY(-2px); }

/* Thumbnail area — always rendered, three visual states */
.card-thumb {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Image sits on top of the placeholder layer; if it fails to load it removes
   itself (onerror) and the gradient + icon underneath shows through. */
.card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Logos are brand marks, not photos: show the whole mark on a white tile
   instead of cropping it edge-to-edge. White is deliberate — logos that ship
   with a baked-in white box then merge into the tile instead of reading as a
   hard rectangle floating on grey. A faint inset border keeps the tile edge
   legible against the white card. */
.card-thumb.logo {
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card-thumb.logo img {
  object-fit: contain;
  padding: 14px;
}
/* White/light-ink logos vanish on white, so flagged shops get a dark tile. */
.card-thumb.logo.logo-dark {
  background: #1f2937;
  box-shadow: none;
}
.thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
}
/* The icon is only a fallback. When an image/logo is present (even a
   transparent PNG), hide it so it doesn't bleed through. If the image fails
   to load, onerror removes it and :has(img) stops matching, so the icon
   reappears. */
.card-thumb:has(img) .thumb-icon { display: none; }

/* Card body — fills remaining width */
.card-body {
  flex: 1;
  min-width: 0;
  padding: .85rem 1rem;
  display: flex;
  flex-direction: column;
}
.offer-card .card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 45%);
  align-items: flex-start;
  gap: .5rem;
}
.badge-row { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; min-width: 0; }
.kind-badge,
.category-badge {
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  padding: .18rem .5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.kind-badge { color: var(--s-body); background: var(--s-soft); }
.category-badge { color: var(--s-accent-dk); background: var(--s-accent-soft); }
.offer-card .deal-value {
  min-width: 0;
  font-size: .82rem;
  font-weight: 800;
  color: var(--s-accent);
  line-height: 1.25;
  text-align: right;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.offer-card h2 {
  margin: .3rem 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--s-ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.offer-card .meta {
  font-size: .78rem;
  color: var(--s-muted);
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .4rem;
  align-items: center;
  min-width: 0;
  overflow-wrap: anywhere;
}
.offer-card .meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 .35rem .12rem 0;
  border-radius: 999px;
  background: #d1d5db;
}
.offer-card .maple-dot { color: var(--s-accent); font-weight: 600; }
.offer-card .desc {
  margin: .35rem 0 0;
  font-size: .82rem;
  color: var(--s-body);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  margin-top: auto;
  padding-top: .5rem;
  color: var(--s-muted);
  font-size: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
}
.card-footer span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 .35rem .12rem 0;
  border-radius: 999px;
  background: #d1d5db;
}

/* ---- Offer detail ---- */
.od-page { scroll-margin-top: 5rem; }

.offer-related,
.ended-alternatives { margin-top: 2rem; }
/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { background: #1f2937; }
.btn:active { transform: scale(.98); }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: #f3f4f6; }
.btn.small { padding: .35rem .7rem; font-size: .8rem; }

/* ---- Forms (subscribe, etc.) ---- */
.form-page { max-width: 660px; margin: 0 auto; padding: clamp(1.75rem, 4vw, 3rem) 1.25rem clamp(3rem, 6vw, 4.5rem); }
.form-page > .s-eyebrow { margin-bottom: .15rem; }
.form-page h1 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--s-ink); margin-bottom: .5rem; }
.form-page .subtitle { color: var(--s-muted); font-size: clamp(1rem, 1.5vw, 1.1rem); margin-bottom: 1.75rem; line-height: 1.6; }
.example-pages {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--s-line);
  border-radius: 14px;
  background: var(--s-soft);
}
.example-pages-label {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--s-accent);
  margin: 0 0 .5rem;
}
.example-pages-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
}
/* Homepage: the examples become a standalone panel in the right column */
.deal-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; padding: .3rem; margin-bottom: 1.25rem; border: 1px solid var(--s-line); border-radius: 999px; background: var(--s-soft); }
.deal-tab { display: flex; align-items: center; justify-content: center; padding: .55rem .75rem; border-radius: 999px; color: var(--s-muted); font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .15s, color .15s; }
.deal-tab:hover { color: var(--s-ink); }
.deal-tab.active { color: #fff; background: var(--s-ink); }
.form-card { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow-sm); padding: clamp(1.35rem, 3vw, 1.9rem); }
.form-card + .form-card { margin-top: 1rem; }

/* Manage alerts (My alerts) */
.alert-rules { padding: .35rem 1.5rem !important; margin-bottom: 1rem; }
.alert-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--s-line);
}
.alert-rule:last-child { border-bottom: none; }
.alert-rule-name { color: var(--s-ink); font-size: 1rem; }
.alert-rule-meta { display: block; color: var(--s-muted); font-size: .85rem; margin-top: .15rem; }
.alert-rule-pending { margin-left: .4rem; color: var(--s-accent); font-weight: 700; font-size: .78rem; }
.alert-rule-remove {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  color: var(--s-muted);
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  padding: .4rem .95rem;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.alert-rule-remove:hover { color: var(--s-accent); border-color: var(--s-accent); }
.alerts-add-head { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; color: var(--s-ink); margin: 2rem 0 .9rem; }
.alerts-back { text-align: center; margin-top: 1.5rem; }
.alerts-back a { color: var(--s-muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.alerts-back a:hover { color: var(--s-accent); }
.form-card .field { margin-bottom: 1rem; }
.form-card .field:last-of-type { margin-bottom: 0; }
.form-card label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--s-ink);
  margin-bottom: .4rem;
}
.form-card input[type=text],
.form-card input[type=email],
.form-card input[type=date],
.form-card input[type=url],
.form-card input[type=tel],
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .9rem;
  font: inherit;
  font-size: 1rem; /* 16px: below this iOS zooms the page on focus */
  border: 1px solid var(--s-line);
  border-radius: 12px;
  background: #fff;
  color: var(--s-ink);
  transition: border-color .15s, box-shadow .15s;
}
.form-card textarea { resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--s-accent); box-shadow: 0 0 0 3px var(--s-accent-soft); }
.form-footer { margin-top: 1.25rem; }
.form-footer .fine-print { font-size: .8rem; color: var(--s-muted); margin-top: .6rem; line-height: 1.5; }

/* ---- Auth ---- */
.auth-page {
  min-height: calc(100vh - 4rem);
  padding: 3rem 1rem;
  background:
    linear-gradient(135deg, rgba(17,24,39,.04), rgba(220,38,38,.03)),
    var(--bg);
}
.auth-form { display: grid; gap: .85rem; }
.auth-form .field label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  margin-bottom: .25rem;
}
.auth-form input[type=email],
.auth-form input[type=password],
.auth-form input[type=text],
.auth-form input[type=url],
.auth-form input[type=tel],
.auth-form textarea {
  width: 100%;
  padding: .7rem .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17,24,39,.06);
}
.auth-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17,24,39,.06);
}
.auth-form textarea { min-height: 5.5rem; resize: vertical; }
.auth-form input[type=checkbox] { accent-color: var(--maple); }
.owner-business-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin: -.2rem 0 1.1rem;
  padding: .8rem .85rem;
  border: 1px solid #f1dfc9;
  border-radius: 10px;
  background: #fffaf5;
}
.owner-business-context > div { min-width: 0; }
.owner-business-context strong,
.owner-business-context span { display: block; }
.owner-business-context strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.owner-business-context > div > span:last-child { color: var(--muted); font-size: .78rem; margin-top: .15rem; }
.owner-design-request {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .8rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
}
.owner-design-request:has(input:checked) { border-color: var(--maple); background: var(--maple-soft); }
.owner-design-request input { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .15rem; }
.owner-design-request strong,
.owner-design-request small { display: block; }
.owner-design-request strong { color: var(--ink); font-size: .86rem; }
.owner-design-request small { margin-top: .18rem; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.owner-preference-options {
  display: grid;
  gap: .55rem;
  margin: .85rem 0 1rem;
  max-width: 42rem;
}
.owner-preference-option {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
}
.owner-preference-option:has(input:checked) {
  border-color: var(--maple);
  background: var(--maple-soft);
}
.owner-preference-option input { margin-top: .2rem; accent-color: var(--maple); }
.owner-preference-option strong,
.owner-preference-option small { display: block; }
.owner-preference-option small { margin-top: .15rem; color: var(--muted); line-height: 1.4; }
@keyframes owner-access-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.form-errors {
  padding: .65rem .75rem;
  border-radius: 8px;
  background: var(--maple-soft);
  color: var(--maple);
  font-size: .85rem;
}

/* ---- Content pages ---- */
.content-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem) 1.25rem clamp(3rem, 6vw, 4.5rem);
  font-family: var(--s-sans);
}
.content-hero {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.content-hero .eyebrow {
  color: var(--s-accent);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.content-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--s-ink);
  margin-bottom: .9rem;
}
.content-hero p {
  color: var(--s-body);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.6;
  margin: 0 0 .8rem;
  max-width: 44rem;
}
.policy-card {
  background: #fff;
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow-sm);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
}
.policy-card h2 {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--s-ink);
  margin-bottom: .45rem;
}
.policy-card p {
  color: var(--s-body);
  font-size: .96rem;
  line-height: 1.65;
}
.policy-card a { color: var(--s-accent); font-weight: 600; text-decoration: none; }
.policy-card a:hover { text-decoration: underline; }
.policy-card {
  max-width: 780px;
}
.policy-section { margin-bottom: 1.6rem; }
.policy-section:last-child { margin-bottom: 0; }
.policy-section h2 { margin-bottom: .45rem; }
.policy-section ul { margin: .45rem 0 0 1.25rem; color: var(--s-body); font-size: .96rem; line-height: 1.65; }
.policy-section li { margin-bottom: .3rem; }

/* ---- Status pages (confirmed, unsubscribed, etc.) ---- */
.status-page { max-width: 480px; margin: 0 auto; padding: 3rem 1rem; text-align: center; }
.status-page .status-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.status-page h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: .5rem; }
.status-page p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-bottom: .5rem; }
.status-page .action { margin-top: 1.25rem; }

/* ---- Toast notifications ---- */
.toast {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem .7rem .85rem; border-radius: var(--radius);
  font-size: .85rem; font-weight: 500; line-height: 1.3;
  box-shadow: 0 4px 24px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.08);
  animation: toast-in .3s ease-out;
  max-width: min(480px, calc(100vw - 2rem));
}
.toast.notice { background: #fff; color: var(--green); border: 1px solid var(--green-bg); }
.toast.alert  { background: #fff; color: var(--maple); border: 1px solid var(--maple-soft); }
.toast svg { flex-shrink: 0; }
.toast span { flex: 1; color: var(--text); }
.toast-close {
  background: none; border: none; cursor: pointer; font-size: 1.1rem;
  color: var(--muted); padding: 0 0 0 .25rem; line-height: 1;
}
.toast-close:hover { color: var(--text); }
.toast-out { animation: toast-out .3s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(-50%) translateY(-.75rem); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(-.75rem); } }

/* ---- Empty state ---- */
.empty { text-align: center; color: var(--s-muted); padding: 3.5rem 1rem; font-size: 1rem; line-height: 1.7; background: var(--s-soft); border: 1px solid var(--s-line); border-radius: var(--s-radius); }
.empty a { color: var(--s-accent); font-weight: 700; text-decoration: none; }
.empty a:hover { text-decoration: underline; }
.search-empty p + p { margin-top: .75rem; }
.search-empty strong { color: var(--s-ink); overflow-wrap: anywhere; }

/* ---- Pagination ---- */
.pagination { margin: 2rem 0 .5rem; }
.pagination .pagy { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; font-size: .85rem; }
.pagination .pagy a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.3rem; padding: .45rem .7rem; border: 1px solid var(--s-line);
  border-radius: 999px; color: var(--s-ink); text-decoration: none; font-weight: 700;
}
.pagination .pagy a:hover { border-color: var(--s-ink); }
.pagination .pagy a.current { background: var(--s-ink); color: #fff; border-color: var(--s-ink); cursor: default; }
.pagination .pagy a[aria-disabled="true"]:not(.current) { color: var(--s-muted); pointer-events: none; opacity: .5; }
.pagination .pagy a.gap { border-color: transparent; pointer-events: none; }

/* ---- Breadcrumbs ---- */
.breadcrumbs { font-size: .82rem; color: var(--s-muted); margin-bottom: 1rem; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--s-muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--s-accent); }
.breadcrumbs .sep { color: var(--s-line); }

/* ---- Browse / SEO pages ---- */
.browse-intro { color: var(--s-body); font-size: .95rem; line-height: 1.6; margin-top: .7rem; max-width: 62ch; }
.browse-deals { margin-top: .25rem; }
.browse-deals-title {
  margin: 0;
  color: var(--s-ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.015em;
}
.nearby-town {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  color: var(--s-ink);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.nearby-town:hover { color: var(--s-accent); }
.nearby-town-distance {
  color: var(--s-muted);
  font-size: .8rem;
  font-weight: 500;
}
.town-context {
  margin: 1.25rem 0 1.5rem;
  padding: 1.15rem 1.25rem 1.2rem;
  background: var(--s-soft);
  border: 1px solid var(--s-line);
  border-left: 4px solid var(--s-accent);
  border-radius: var(--s-radius);
}
.town-context h2 {
  margin: .25rem 0 .45rem;
  color: var(--s-ink);
  font-size: 1.15rem;
  letter-spacing: -.015em;
}
.town-context p:last-child {
  max-width: 70ch;
  margin: 0;
  color: var(--s-body);
  font-size: .95rem;
  line-height: 1.6;
}
.browse-related { margin-top: 2.5rem; }
.browse-related h2 { font-size: .8rem; font-weight: 700; color: var(--s-accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .7rem; }
.browse-related-more { margin-top: .7rem; font-size: .88rem; }
.browse-related-more a { color: var(--s-muted); text-decoration: none; font-weight: 600; }
.browse-related-more a:hover { color: var(--s-ink); }
.browse-faq { margin-top: 2.5rem; max-width: 68ch; }
.browse-faq h2 { font-size: .8rem; font-weight: 700; color: var(--s-accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.browse-faq .faq-item { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--s-line); }
.browse-faq .faq-item:last-child { border-bottom: 0; }
.browse-faq .faq-item h3 { font-size: 1rem; font-weight: 700; color: var(--s-ink); margin-bottom: .35rem; }
.browse-faq .faq-item p { color: var(--s-body); font-size: .93rem; line-height: 1.6; }

/* ---- Shop profile (public) ---- */
.shop-hours {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(17,24,39,.03);
}
.shop-rating { color: #b8860b; font-weight: 700; }
.shop-intro {
  color: #374151;
  font-size: .96rem;
  line-height: 1.65;
  max-width: 68ch;
}
.shop-owner-claim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: #fffaf5;
  border: 1px solid #f1dfc9;
  border-radius: var(--radius);
}
.shop-owner-claim h2 { margin: 0; color: var(--ink); font-size: 1rem; }
.shop-owner-claim p:not(.shop-section-kicker) { margin: .25rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.shop-owner-claim p.shop-owner-claim-offer { margin-top: .5rem; }
.shop-owner-claim-badge {
  display: inline-block;
  margin-right: .35rem;
  padding: .12rem .35rem;
  border-radius: 5px;
  background: var(--maple);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.shop-owner-claim-link {
  color: var(--maple);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
}
.shop-owner-claim-link:hover { text-decoration: underline; }
.shop-consumer-summary {
  margin-bottom: 1rem;
  padding: 1.2rem 1.35rem;
  background: linear-gradient(135deg, #fffdf8 0%, #fff 75%);
  border: 1px solid #eadfca;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(17,24,39,.03);
}
.shop-consumer-summary h2 { margin: 0; color: var(--ink); font-size: 1.3rem; }
.shop-consumer-summary-copy {
  max-width: 78ch;
  margin: .55rem 0 0;
  color: #374151;
  font-size: .98rem;
  line-height: 1.7;
}
.shop-consumer-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shop-consumer-keywords li {
  padding: .35rem .62rem;
  border: 1px solid #ead0a6;
  border-radius: 999px;
  background: #fff8ec;
  color: #795722;
  font-size: .78rem;
  font-weight: 750;
}
.shop-catalog-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  padding: .7rem .75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.shop-catalog-item strong { color: var(--ink); font-size: .9rem; }
.shop-catalog-item p { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.shop-catalog-item > span { flex: 0 0 auto; color: var(--s-accent); font-size: .8rem; font-weight: 700; text-align: right; }
.shop-hours h2 {
  font-size: .72rem;
  font-weight: 800;
  color: var(--faint);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.shop-hours {
  padding: 1.1rem;
  position: sticky;
  top: 5rem;
}
.shop-hours h2 { margin-bottom: .65rem; }
.shop-hours table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.shop-hours tr + tr { border-top: 1px solid #f3f4f6; }
.shop-hours th {
  width: 7rem;
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  padding: .42rem .6rem .42rem 0;
  vertical-align: top;
}
.shop-hours td {
  text-align: right;
  padding: .42rem 0;
  color: #374151;
  vertical-align: top;
}
.shop-hours tr.is-today th,
.shop-hours tr.is-today td {
  font-weight: 800;
  color: var(--ink);
}

/* ---- Inline email capture ---- */
.inline-subscribe {
  margin: 2.5rem 0 1rem;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background:
    radial-gradient(60% 120% at 100% 0%, var(--s-accent-soft), transparent 55%),
    var(--s-soft);
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.inline-subscribe-copy { flex: 1 1 18rem; }
.inline-subscribe-copy h2 { font-size: 1.15rem; font-weight: 800; color: var(--s-ink); letter-spacing: -.01em; margin: 0 0 .3rem; }
.inline-subscribe-copy p { color: var(--s-body); font-size: .92rem; line-height: 1.5; margin: 0; }
.inline-subscribe-form { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1 1 20rem; min-width: 0; }
.inline-subscribe-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: .7rem .9rem;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  font: inherit;
  font-size: .92rem;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.inline-subscribe-form input[type="email"]:focus { outline: none; border-color: var(--s-accent); box-shadow: 0 0 0 3px var(--s-accent-soft); }
.inline-subscribe-form select {
  flex: 0 0 auto;
  padding: .7rem .8rem;
  border: 1px solid var(--s-line);
  border-radius: 12px;
  font: inherit;
  font-size: .88rem;
  background: #fff;
}
.inline-subscribe-form .btn { white-space: nowrap; }
/* A long town name sizes the picker; on a phone it takes its own row. */
@media (max-width: 600px) {
  .inline-subscribe-form select { flex: 1 1 100%; min-width: 0; max-width: 100%; }
  .inline-subscribe-form input[type="email"] { flex-basis: 10rem; }
}

/* ---- Mobile tweaks ---- */
@media (max-width: 600px) {
  .site-header .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    /* The 44px rows below carry their own air, so the padding and gap go. */
    padding-block: 6px 0;
    row-gap: 0;
  }
  .site-header .brand { min-width: 0; }
  .site-nav { grid-column: 1 / -1; }
  .site-header .header-cta {
    justify-self: end;
    margin-left: 0;
  }
  /* Phones tap the header: every link and the CTA get the 44px floor. */
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header .header-cta .btn { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header .brand { min-height: 44px; }
  .site-footer nav { row-gap: 0; }
  .site-footer nav a { min-height: 44px; }
  .site-footer .inner { padding-inline: .75rem; }
  .wrap { padding: 1rem .75rem 2rem; }
  .filters { padding: .65rem; }
  .filter-row { flex-direction: column; align-items: flex-start; overflow: hidden; }
  .time-links { flex-basis: 100%; justify-content: flex-start; }
  .city-business-chevron { opacity: .55; }
  .view-toggle { width: 100%; }
  .view-toggle-button { flex: 1; }
  .deals-map { height: 65vh; min-height: 340px; }
  .card-thumb { width: 96px; }
  .card-body { padding: .7rem .85rem; }
  .offer-card .card-top { grid-template-columns: 1fr; }
  .offer-card .deal-value { text-align: left; }
  .offer-card h2 { font-size: .88rem; }
  .shop-intro { font-size: .92rem; }
  .shop-owner-claim { align-items: flex-start; flex-direction: column; }
  .shop-hours { padding: .9rem; }
  .shop-hours { position: static; }
  .shop-hours table { font-size: .84rem; }
  .shop-hours th { width: 6.5rem; }
  .form-page { padding: 1.5rem 1rem 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .auth-page { padding: 1.5rem .75rem 2rem; }
  .content-page { padding: 1.5rem .75rem 2.5rem; }
  .content-hero h1 { font-size: 1.55rem; }
  .poster-card { width: 100% !important; min-width: 0; }
  .poster-actions { flex-direction: column; }
}

@media (min-width: 601px) and (max-width: 980px) {
  .shop-hours { position: static; }
}

/* ---- Poster ---- */
.poster-page { max-width: 640px; margin: 0 auto; padding: clamp(1.75rem, 4vw, 2.75rem) 1rem clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.poster-page > .s-eyebrow { margin-bottom: .3rem; }
.poster-page h1 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; color: var(--s-ink); margin-bottom: .3rem; }
.poster-page .subtitle { color: var(--s-muted); font-size: 1.02rem; margin-bottom: 1.75rem; }

.poster-frame {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.poster-card {
  width: 480px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #111827;
}

.poster-brand {
  background: #111827;
  color: #ffffff;
  padding: .75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.poster-logo { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.poster-tagline { font-size: .75rem; opacity: .7; letter-spacing: .03em; text-transform: uppercase; }

.poster-body { padding: 1.5rem 1.25rem 1rem; }

.poster-kind {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6b7280;
  background: #f3f4f6;
  padding: .2rem .55rem;
  border-radius: 4px;
  margin-bottom: .75rem;
}

.poster-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .75rem;
  color: #111827;
}

.poster-value {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  padding: .35rem .75rem;
  border-radius: 6px;
  margin-bottom: .75rem;
}

.poster-desc {
  font-size: .88rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 .75rem;
}

.poster-shop {
  font-size: .88rem;
  color: #111827;
  margin-bottom: .25rem;
}
.poster-shop span { color: #6b7280; margin-left: .35rem; }
.poster-shop span::before { content: "\b7 "; }

.poster-dates {
  font-size: .8rem;
  color: #6b7280;
  margin-top: .35rem;
}

.poster-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.25rem 1rem;
  border-top: 1px dashed #e5e7eb;
}
.poster-qr svg { width: 140px; height: 140px; }
.poster-qr-caption {
  font-size: .72rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .5rem;
}

.poster-footer {
  text-align: center;
  font-size: .7rem;
  color: #9ca3af;
  padding: .5rem 1.25rem .85rem;
  letter-spacing: .02em;
}

.poster-actions {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.poster-extras {
  text-align: center;
  font-size: .9rem;
  color: var(--s-muted);
}
.poster-extras p { margin-bottom: .4rem; }
.poster-extras a { color: var(--s-accent); font-weight: 600; text-decoration: none; }
.poster-extras a:hover { text-decoration: underline; }

/* ---- Form helpers ---- */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-section-title { font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .9rem; color: var(--s-ink); }
.form-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: .85rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
  color: #b91c1c;
}
.form-errors ul { margin: .35rem 0 0 1.25rem; }
.required { color: var(--s-accent); }

/* ---- Status banner (deal link page) ---- */
.status-banner {
  padding: .65rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  margin-bottom: 1rem;
  text-align: center;
}
.status-draft { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.status-expired { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }

/* ---- Template switcher ---- */
.template-switcher {
  display: inline-flex;
  gap: .25rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: .25rem;
  background: var(--s-soft);
  border: 1px solid var(--s-line);
  border-radius: 999px;
}
.template-btn {
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--s-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.template-btn:hover { color: var(--s-ink); }
.template-btn.active { background: var(--s-ink); color: #fff; }

/* ---- Poster: Minimal template ---- */
.poster-card.poster-minimal .poster-brand {
  background: #ffffff;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}
.poster-card.poster-minimal .poster-tagline { color: #9ca3af; }
.poster-card.poster-minimal .poster-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.poster-card.poster-minimal .poster-value {
  background: none;
  color: #111827;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.poster-card.poster-minimal .poster-qr { border-top: 1px solid #f3f4f6; }

/* ---- Poster: Bold template ---- */
.poster-card.poster-bold .poster-brand {
  background: #dc2626;
  color: #ffffff;
  padding: 1rem 1.25rem;
}
.poster-card.poster-bold .poster-brand .poster-logo span { color: #ffffff !important; }
.poster-card.poster-bold .poster-tagline { color: rgba(255,255,255,.8); }
.poster-card.poster-bold .poster-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
}
.poster-card.poster-bold .poster-body { text-align: center; padding: 1.75rem 1.25rem 1rem; }
.poster-card.poster-bold .poster-kind {
  background: #dc2626;
  color: #ffffff;
  font-weight: 700;
}
.poster-card.poster-bold .poster-value {
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  text-align: center;
  padding: .5rem 1rem;
  border-radius: 8px;
}
.poster-card.poster-bold .poster-shop { text-align: center; }
.poster-card.poster-bold .poster-dates { text-align: center; }
.poster-card.poster-bold .poster-qr svg { width: 160px; height: 160px; }

/* ---- Scan stats ---- */
.scan-stats {
  text-align: center;
  font-size: .9rem;
  color: var(--s-muted);
  margin-bottom: 1rem;
}
.scan-stats strong { color: var(--s-ink); }

/* ---- Unique shop presentations ---- */
body.presentation-mode { background: #111; }
.shop-presentation {
  --sp-accent: #6b2430;
  --sp-bg: #ebe4d9;
  --sp-surface: #f7f2ea;
  --sp-ink: #1c1410;
  --sp-muted: #6a5c52;
  --sp-font-display: "Fraunces", Georgia, serif;
  --sp-font-body: "Figtree", system-ui, sans-serif;
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: var(--sp-font-body);
  min-height: 100vh;
  overflow-x: clip;
}
/* Flat fills are what make a page read as generated. A fine grain over the
   whole light page gives every surface the tooth of printed stock; it sits
   below the sticky chrome and never takes a pointer event. */
.shop-presentation:not(.shop-presentation--dark)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.shop-presentation h1,
.shop-presentation h2,
.shop-presentation h3 {
  font-family: var(--sp-font-display);
  letter-spacing: -0.02em;
  color: var(--sp-ink);
  font-weight: 650;
}

/* Sticky business bar: transparent over the hero, solid once past it. */
.sp-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.sp-topbar.is-stuck {
  background: color-mix(in srgb, var(--sp-surface) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--sp-ink) 12%, transparent);
  backdrop-filter: blur(10px);
}
.sp-topbar-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .7rem 0;
}
.sp-topbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sp-font-display);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -.01em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.sp-topbar.is-stuck .sp-topbar-brand {
  color: var(--sp-ink);
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.sp-topbar-mark {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--sp-ink) 8%, transparent);
  overflow: hidden;
}
.sp-topbar-mark.logo-dark { background: #14100e; }
.sp-topbar-mark img { max-width: 78%; max-height: 78%; object-fit: contain; }
.sp-topbar-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-size: .88rem;
  font-weight: 600;
}
.sp-topbar-nav a {
  color: rgba(247,241,232,.85);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.sp-topbar.is-stuck .sp-topbar-nav a { color: var(--sp-muted); }
.sp-topbar-nav a:hover {
  color: var(--sp-accent);
  border-bottom-color: var(--sp-accent);
}
.sp-topbar.is-stuck .sp-topbar-nav a:hover { color: var(--sp-accent); }
.sp-topbar-actions { display: flex; gap: .5rem; }
.sp-btn-sm { padding: .5rem .95rem; font-size: .82rem; }
/* Declared before .sp-btn, so restate the fill at higher specificity — otherwise
   the base pill's cream background wins and the outline button reads as solid. */
.sp-topbar .sp-btn-outline {
  background: transparent;
  color: rgba(247,241,232,.9);
  border: 1px solid rgba(247,241,232,.4);
}
.sp-topbar.is-stuck .sp-btn-outline {
  background: transparent;
  color: var(--sp-ink);
  border-color: color-mix(in srgb, var(--sp-ink) 22%, transparent);
}
.sp-topbar.is-stuck .sp-btn:not(.sp-btn-outline) {
  background: var(--sp-accent);
  color: #fff;
}

.sp-hero {
  position: relative;
  isolation: isolate;
  margin-top: -3.4rem;
  padding-top: 3.4rem;
  min-height: min(78vh, 44rem);
  display: flex;
  align-items: flex-end;
  color: #f7f1e8;
  background:
    radial-gradient(120% 90% at 12% 10%, color-mix(in srgb, var(--sp-accent) 55%, #2a1210) 0%, transparent 55%),
    radial-gradient(90% 70% at 88% 20%, color-mix(in srgb, var(--sp-accent) 35%, #1a0e0c) 0%, transparent 50%),
    linear-gradient(165deg, color-mix(in srgb, var(--sp-accent) 78%, #120a09) 0%, #160d0b 58%, #0f0a09 100%);
}
/* Real venue photography behind the hero, darkened enough to keep AA contrast
   on the headline whatever the photo happens to be. */
.sp-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.sp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}
.sp-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,7,6,.72) 0%, rgba(10,7,6,.45) 38%, rgba(10,7,6,.88) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--sp-accent) 42%, rgba(10,7,6,.7)) 0%, transparent 72%);
}
.sp-hero.has-photo { background: #0f0a09; }
.sp-hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 92%);
}
.sp-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 3.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(7.5rem, 12rem);
  gap: 2rem 3rem;
  align-items: end;
}
.shop-presentation--stacked .sp-hero-inner,
.shop-presentation--band .sp-hero-inner {
  grid-template-columns: 1fr;
}
.sp-brand-name {
  font-family: var(--sp-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 650;
  letter-spacing: -.02em;
  margin: 0 0 .85rem;
  color: #fff;
}
.sp-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  font-weight: 700;
  color: rgba(247,241,232,.72);
  margin: 0 0 1rem;
}
.sp-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: .98;
  margin: 0 0 1rem;
  color: #fff;
  max-width: 14ch;
  text-wrap: balance;
}
.sp-lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(247,241,232,.86);
  max-width: 34rem;
  margin: 0;
}
.sp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.75rem;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  background: #f7f1e8;
  /* The pill is cream on every palette, so its text can't follow --sp-ink —
     on a dark palette that would be cream on cream. */
  color: #17110f;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.sp-btn:hover { transform: translateY(-1px); background: #fff; }
.sp-btn-ghost {
  background: transparent;
  color: #f7f1e8;
  border: 1px solid rgba(247,241,232,.38);
}
.sp-btn-ghost:hover { background: rgba(247,241,232,.08); }
.sp-hero-mark {
  width: min(100%, 11.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(247,241,232,.08);
  border: 1px solid rgba(247,241,232,.16);
  display: grid;
  place-items: center;
  padding: 1.35rem;
  justify-self: end;
  backdrop-filter: blur(8px);
}
.sp-hero-mark.logo-dark { background: rgba(10,8,7,.55); }
.sp-hero-mark img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

/* The hero sits on the ground colour, not on surface: it is the first screen,
   so whatever it is painted with is the colour the page is remembered as, and
   surface is reserved for the cards laid on top. */
.shop-presentation--paper .sp-hero {
  background: var(--sp-bg);
  color: var(--sp-ink);
  border-bottom: 1px solid color-mix(in srgb, var(--sp-ink) 14%, transparent);
}
.shop-presentation--paper .sp-hero-atmosphere {
  background:
    linear-gradient(color-mix(in srgb, var(--sp-ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--sp-ink) 4%, transparent) 1px, transparent 1px);
}
.shop-presentation--paper .sp-hero h1 { color: var(--sp-ink); }
.shop-presentation--paper .sp-brand-name,
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-topbar-brand { color: var(--sp-ink); }
.shop-presentation--paper .sp-eyebrow,
.shop-presentation--paper .sp-lede,
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-topbar-nav a { color: var(--sp-muted); }
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-topbar-nav a:hover { color: var(--sp-accent); }
.shop-presentation--paper .sp-hero .sp-badge,
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-btn-outline {
  background: transparent;
  color: var(--sp-ink);
  border-color: color-mix(in srgb, var(--sp-ink) 20%, transparent);
  backdrop-filter: none;
}
.shop-presentation--paper .sp-hero .sp-badge-muted { color: var(--sp-muted); }
.shop-presentation--paper .sp-hero .sp-badge.is-open { color: #1c6b39; border-color: rgba(28,107,57,.32); }
.shop-presentation--paper .sp-hero .sp-badge.is-closed { color: #8a3324; border-color: rgba(138,51,36,.3); }
.shop-presentation--paper .sp-hero .sp-btn,
.shop-presentation--paper .sp-topbar:not(.is-stuck) .sp-btn:not(.sp-btn-outline) {
  background: var(--sp-accent);
  color: #fff;
}
.shop-presentation--paper .sp-hero .sp-btn:hover {
  background: color-mix(in srgb, var(--sp-accent) 82%, #000);
}
.shop-presentation--paper .sp-hero .sp-btn-ghost {
  background: transparent;
  color: var(--sp-ink);
  border-color: color-mix(in srgb, var(--sp-ink) 22%, transparent);
}
.shop-presentation--paper .sp-hero .sp-btn-ghost:hover {
  background: color-mix(in srgb, var(--sp-ink) 5%, transparent);
}
.shop-presentation--paper .sp-hero-card {
  background: var(--sp-surface);
  border-color: color-mix(in srgb, var(--sp-ink) 14%, transparent);
  box-shadow: 0 12px 30px -22px color-mix(in srgb, var(--sp-ink) 60%, transparent);
  color: var(--sp-ink);
  backdrop-filter: none;
}
.shop-presentation--paper .sp-hero-monogram {
  border-bottom-color: color-mix(in srgb, var(--sp-ink) 16%, transparent);
  color: var(--sp-accent);
}
.shop-presentation--paper .sp-hero-card-label { color: var(--sp-muted); }

/* Stands in for the logo/photo column on a shop that has neither: a monogram
   over the two facts worth reading before you leave the house. */
.sp-hero-card {
  align-self: end;
  justify-self: end;
  width: min(100%, 15rem);
  padding: 1.35rem 1.4rem 1.15rem;
  border: 1px solid rgba(247,241,232,.22);
  background: rgba(247,241,232,.06);
  backdrop-filter: blur(8px);
  color: #f7f1e8;
}
.sp-hero-monogram {
  margin: 0 0 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(247,241,232,.2);
  font-family: var(--sp-font-display);
  font-size: 2.6rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
}
.sp-hero-card-row { display: grid; gap: .1rem; }
.sp-hero-card-row + .sp-hero-card-row { margin-top: .85rem; }
.sp-hero-card-label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247,241,232,.62);
}
.sp-hero-card-value {
  font-family: var(--sp-font-display);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
}

.sp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(247,241,232,.12);
  border: 1px solid rgba(247,241,232,.22);
  color: #f7f1e8;
  font-size: .85rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.sp-badge-muted { color: rgba(247,241,232,.7); font-weight: 500; }
.sp-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: currentColor;
}
.sp-badge.is-open { color: #b6f0c4; border-color: rgba(140,225,165,.4); }
.sp-badge.is-closed { color: #f2c9c2; border-color: rgba(240,170,155,.35); }
.sp-badge-sm {
  padding: .25rem .6rem;
  font-size: .72rem;
  background: color-mix(in srgb, var(--sp-ink) 6%, transparent);
  border-color: color-mix(in srgb, var(--sp-ink) 14%, transparent);
  backdrop-filter: none;
}
.sp-badge-sm.is-open { color: #1c6b39; border-color: rgba(28,107,57,.3); }
.sp-badge-sm.is-closed { color: #8a3324; border-color: rgba(138,51,36,.28); }

/* Dark palettes: the body sections invert with --sp-ink, but anything tuned for
   contrast against a pale ground needs its own value. */
.shop-presentation--dark .sp-badge-sm.is-open { color: #7fd8a0; border-color: rgba(127,216,160,.35); }
.shop-presentation--dark .sp-badge-sm.is-closed { color: #f0a89b; border-color: rgba(240,168,155,.32); }
.shop-presentation--dark .sp-topbar.is-stuck { box-shadow: 0 1px 0 rgba(247,241,232,.12); }
.shop-presentation--dark .sp-stage { box-shadow: none; }
/* Dark palettes carry brighter accents, so the CTA band takes less of it before
   it stops being a band and becomes a flare. */
.shop-presentation--dark .sp-cta {
  background: linear-gradient(165deg, color-mix(in srgb, var(--sp-accent) 52%, #140b09) 0%, #17100e 100%);
}

/* Facts a visitor checks before deciding: hours, where, phone, what's on. */
.sp-factbar {
  background: var(--sp-surface);
  border-bottom: 1px solid color-mix(in srgb, var(--sp-ink) 10%, transparent);
  padding: 0 1.25rem;
}
.sp-factbar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.sp-fact {
  padding: 1.1rem 1.4rem 1.15rem;
  border-left: 1px solid color-mix(in srgb, var(--sp-ink) 8%, transparent);
}
.sp-fact:first-child { border-left: 0; padding-left: 0; }
.sp-fact-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sp-muted);
  margin-bottom: .35rem;
}
.sp-fact-value {
  font-size: .98rem;
  font-weight: 600;
  color: var(--sp-ink);
  text-decoration: none;
  line-height: 1.35;
}
a.sp-fact-value:hover { color: var(--sp-accent); }

/* scroll-margin keeps a nav jump from landing under the sticky bar. */
.sp-section { padding: clamp(2.75rem, 6vw, 4.5rem) 1.25rem; scroll-margin-top: 4.5rem; }
.shop-presentation--compact .sp-section { padding: 2rem 1rem; }
.shop-presentation--airy .sp-section { padding: 5rem 1.5rem; }
.sp-narrow { max-width: 40rem; margin: 0 auto; }
.sp-wide { max-width: 960px; margin: 0 auto; }
.sp-section-head { margin-bottom: 1.75rem; }
.sp-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sp-accent);
  margin: 0 0 .55rem;
}
.sp-section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  line-height: 1.12;
  margin: 0;
}
.sp-consumer-summary {
  background: color-mix(in srgb, var(--sp-surface) 72%, var(--sp-bg));
  border-top: 1px solid color-mix(in srgb, var(--sp-ink) 10%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--sp-ink) 10%, transparent);
}
.sp-consumer-summary .sp-prose { max-width: 58rem; margin-top: 1rem; }
.sp-consumer-keywords-block { max-width: 58rem; margin-top: 1.35rem; }
.sp-consumer-keywords-label {
  margin: 0 0 .55rem;
  color: var(--sp-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sp-consumer-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sp-consumer-keywords li {
  padding: .42rem .7rem;
  border: 1px solid color-mix(in srgb, var(--sp-accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--sp-accent) 8%, var(--sp-surface));
  color: var(--sp-accent);
  font-size: .78rem;
  font-weight: 700;
}
.sp-summary-attribution {
  max-width: 58rem;
  margin: 1rem 0 0;
  color: var(--sp-muted);
  font-size: .78rem;
  line-height: 1.5;
}
.sp-summary-attribution a { color: var(--sp-accent); font-weight: 700; }
.sp-about {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sp-surface) 70%, transparent), transparent 40%),
    var(--sp-bg);
}
.sp-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
/* Without a photo the story reads as a centred editorial column rather than a
   half-width block with dead space beside it. */
.sp-about-grid.single {
  grid-template-columns: 1fr;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}
.sp-about-grid.single .sp-prose { text-align: left; font-size: 1.12rem; }
.sp-about-grid.single .sp-prose::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 0 auto 1.5rem;
  background: var(--sp-accent);
}
.sp-about-grid.single .sp-social { justify-content: center; }
.sp-about-photo { margin: 0; }
.sp-about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 18px 40px -22px rgba(20,12,8,.6);
}
/* Owner portraits: tall crop, held to a size a 250px-wide head shot can fill
   without going soft, and sat on a card so it reads as a framed photo. */
.sp-about-photo.is-portrait {
  justify-self: center;
  max-width: 17rem;
  padding: .75rem .75rem 0;
  background: var(--sp-surface);
  border: 1px solid color-mix(in srgb, var(--sp-ink) 10%, transparent);
  border-radius: 3px;
  box-shadow: 0 18px 40px -24px rgba(20,12,8,.45);
}
.sp-about-photo.is-portrait img {
  aspect-ratio: 3 / 4;
  object-position: top center;
  box-shadow: none;
}
.sp-about-photo figcaption {
  margin: .55rem 0 .1rem;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--sp-muted);
  text-align: center;
}
.sp-social {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .65rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.sp-social a {
  display: inline-block;
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sp-ink) 16%, transparent);
  font-size: .84rem;
  font-weight: 600;
  color: var(--sp-ink);
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.sp-social a:hover { color: var(--sp-accent); border-color: var(--sp-accent); }
.sp-section-link {
  display: inline-block;
  margin-top: .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--sp-accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sp-accent) 40%, transparent);
  padding-bottom: .1rem;
}
.sp-section-link:hover { border-bottom-color: var(--sp-accent); }

.sp-prose {
  margin-top: 1.15rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--sp-ink) 88%, var(--sp-muted));
}
.sp-prose p { margin: 0 0 .9rem; }
.sp-prose p:last-child { margin-bottom: 0; }

/* One centred column, like a card handed to you at the table. Two columns
   balance badly whenever the courses are uneven, which is most menus. */
.sp-menu-card {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--sp-surface);
  border: 1px solid color-mix(in srgb, var(--sp-ink) 12%, transparent);
  border-radius: .5rem;
}
.sp-offerings .sp-section-head { text-align: center; }
.sp-menu-group { break-inside: avoid; }
.sp-menu-group-label {
  margin: 0 0 .35rem;
  font-family: var(--sp-font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sp-accent);
}
.sp-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--sp-ink) 16%, transparent);
}
/* The top rule is the label's underline. A single unlabelled group has nothing
   above it to underline, so the list starts clean. */
.sp-menu-group:only-child .sp-menu { border-top: 0; }
.sp-menu-item {
  position: relative;
  padding: 1.05rem 0 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--sp-ink) 11%, transparent);
}
.sp-menu-group:last-child .sp-menu-item:last-child { border-bottom: 0; }
.sp-menu-top {
  display: flex;
  align-items: baseline;
  gap: .55rem;
}
.sp-menu-name {
  font-family: var(--sp-font-display);
  font-weight: 650;
  font-size: 1.15rem;
  line-height: 1.3;
}
/* The leader is a dotted rule that grows to whatever space is left, so the
   price always lands on the right margin the way a menu sets it. */
.sp-menu-dots {
  flex: 1 1 auto;
  min-width: 1.5rem;
  align-self: flex-end;
  transform: translateY(-.32em);
  border-bottom: 1px dotted color-mix(in srgb, var(--sp-ink) 32%, transparent);
}
.sp-menu-price {
  font-family: var(--sp-font-display);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--sp-accent);
  white-space: nowrap;
}
.sp-menu-item p {
  margin: .35rem 0 0;
  color: var(--sp-muted);
  line-height: 1.55;
  max-width: 38rem;
}

.sp-offers {
  background: color-mix(in srgb, var(--sp-surface) 82%, var(--sp-bg));
}
/* Week-at-a-glance: for venues whose deals are a weekly rhythm, the schedule
   is the product — a flat list buries which night to come in. */
.sp-week {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-top: 1px solid color-mix(in srgb, var(--sp-ink) 12%, transparent);
}
.sp-week-day {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
  padding: .95rem 0 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--sp-ink) 12%, transparent);
}
.sp-week-day.is-today {
  background: color-mix(in srgb, var(--sp-accent) 7%, transparent);
  box-shadow: inset 3px 0 0 var(--sp-accent);
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
}
.sp-week-day.is-empty { opacity: .55; }
.sp-week-label {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.sp-week-name {
  font-family: var(--sp-font-display);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--sp-ink);
}
.sp-week-today {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sp-accent);
}
.sp-week-body { display: grid; gap: .6rem; }
.sp-week-item {
  display: grid;
  gap: .15rem;
  text-decoration: none;
  color: inherit;
}
.sp-week-title {
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--sp-ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: .18em;
  transition: text-decoration-color .2s ease;
}
.sp-week-item:hover .sp-week-title { text-decoration-color: var(--sp-accent); }
.sp-week-value {
  font-family: var(--sp-font-display);
  font-weight: 650;
  color: var(--sp-accent);
  font-size: .98rem;
}
.sp-week-note {
  color: var(--sp-muted);
  font-size: .9rem;
  line-height: 1.45;
}
.sp-week-none {
  color: var(--sp-muted);
  font-size: .92rem;
  font-style: italic;
}
.sp-subhead {
  font-size: 1.15rem;
  margin: 0 0 .9rem;
}

.sp-photos { background: var(--sp-bg); }
.sp-gallery {
  display: grid;
  gap: .75rem;
  --sp-slide-seconds: 6s;
}
.sp-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: color-mix(in srgb, var(--sp-ink) 92%, #000);
  box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--sp-ink) 75%, transparent);
}
.sp-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .9s ease;
}
.sp-slide.is-active { opacity: 1; }
.sp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
}
/* A slow drift across the photo so a still image still feels alive. */
.sp-slide.is-active img { animation: sp-kenburns calc(var(--sp-slide-seconds) + 3s) ease-out forwards; }
@keyframes sp-kenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.11) translate3d(-1%, -1%, 0); }
}
.sp-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.5rem 1.2rem 1.1rem;
  color: #f7f1e8;
  font-size: .92rem;
  line-height: 1.4;
  background: linear-gradient(180deg, transparent, rgba(8,6,5,.78));
}
.sp-stage-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247,241,232,.35);
  border-radius: 50%;
  background: rgba(12,9,8,.42);
  backdrop-filter: blur(6px);
  color: #f7f1e8;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
}
.sp-stage-nav:hover { opacity: 1; background: rgba(12,9,8,.7); }
.sp-stage-nav:focus-visible { opacity: 1; outline: 2px solid #f7f1e8; outline-offset: 2px; }
.sp-stage-nav.is-prev { left: .9rem; }
.sp-stage-nav.is-next { right: .9rem; }
.sp-stage-nav svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sp-stage-count {
  position: absolute;
  top: .9rem;
  right: 1rem;
  margin: 0;
  padding: .25rem .6rem;
  font-family: var(--sp-font-display);
  font-size: .82rem;
  letter-spacing: .04em;
  color: #f7f1e8;
  background: rgba(12,9,8,.45);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
.sp-stage-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(247,241,232,.18);
}
.sp-stage-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--sp-accent);
}
.sp-stage-progress span.is-running { animation: sp-slide-timer var(--sp-slide-seconds) linear forwards; }
@keyframes sp-slide-timer { from { width: 0; } to { width: 100%; } }
.sp-gallery.is-paused .sp-stage-progress span,
.sp-gallery.is-paused .sp-slide img { animation-play-state: paused; }
.sp-gallery.is-single .sp-stage-nav,
.sp-gallery.is-single .sp-stage-count,
.sp-gallery.is-single .sp-stage-progress,
.sp-gallery.is-single .sp-thumbs { display: none; }
/* The rail is a filmstrip under the stage: the thumbs share the stage's width
   so the row ends where the photo ends, and only start scrolling once there are
   more of them than fit at a legible size. */
.sp-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(4.5rem, 1fr);
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .3rem;
  scrollbar-width: thin;
}
.sp-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  opacity: .48;
  filter: saturate(.75);
  transition: opacity .2s ease, filter .2s ease, box-shadow .2s ease;
}
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumb:hover { opacity: .85; filter: none; }
.sp-thumb.is-active {
  opacity: 1;
  filter: none;
  box-shadow: inset 0 -3px 0 0 var(--sp-accent);
}
.sp-thumb:focus-visible { outline: 2px solid var(--sp-accent); outline-offset: 2px; }
/* No animation means no timer: the slideshow stays where the visitor left it. */
@media (prefers-reduced-motion: reduce) {
  .sp-slide { transition: none; }
  .sp-slide.is-active img,
  .sp-stage-progress span.is-running { animation: none; }
  .sp-stage-progress { display: none; }
}

.sp-deal-list {
  display: grid;
  gap: .85rem;
}
.sp-deal {
  display: block;
  padding: 1.15rem 1.25rem 1.2rem;
  text-decoration: none;
  color: inherit;
  background: var(--sp-surface);
  border: 1px solid color-mix(in srgb, var(--sp-ink) 10%, transparent);
  border-left: 3px solid var(--sp-accent);
  transition: border-color .2s ease, transform .2s ease;
}
.sp-deal:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--sp-accent) 45%, transparent);
}
.sp-deal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  margin-bottom: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sp-muted);
}
.sp-deal-kind { color: var(--sp-accent); }
.sp-deal h3 {
  font-size: 1.2rem;
  margin: 0 0 .35rem;
  line-height: 1.25;
}
.sp-deal p {
  margin: 0;
  color: var(--sp-muted);
  line-height: 1.45;
  font-size: .95rem;
}
.sp-deal-value {
  display: inline-block;
  margin-top: .65rem;
  font-family: var(--sp-font-display);
  font-size: 1.05rem;
  color: var(--sp-accent);
}

.sp-visit {
  background:
    radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--sp-accent) 10%, transparent), transparent 60%),
    var(--sp-bg);
}
.sp-visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
/* Only one panel to show (a shop with no published hours, say): it runs the full
   width and lays its rows out side by side, rather than leaving two-thirds of
   the section empty next to a narrow card. */
.sp-visit-grid.single { grid-template-columns: 1fr; }
.sp-visit-grid.single .sp-contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem 2.5rem;
}
.sp-visit-panel {
  background: var(--sp-surface);
  border: 1px solid color-mix(in srgb, var(--sp-ink) 10%, transparent);
  padding: 1.35rem 1.4rem 1.5rem;
}
.sp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}
.sp-visit-panel h3 {
  font-size: 1.05rem;
  margin: 0;
}
.sp-panel-link {
  display: inline-block;
  margin-top: 1.15rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--sp-accent);
  text-decoration: none;
}
.sp-panel-link:hover { text-decoration: underline; }
.sp-contact-social { display: flex; flex-wrap: wrap; gap: .75rem; }
.sp-hours-table { width: 100%; border-collapse: collapse; }
.sp-hours-table th {
  text-align: left;
  font-weight: 600;
  padding: .42rem .85rem .42rem 0;
  color: var(--sp-muted);
  width: 7.5rem;
  font-size: .92rem;
}
.sp-hours-table td { padding: .42rem 0; font-size: .95rem; }
.sp-hours-table tr.is-today th,
.sp-hours-table tr.is-today td {
  font-weight: 700;
  color: var(--sp-ink);
}
.sp-hours-table tr.is-today th::after {
  content: " today";
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sp-accent);
  font-weight: 700;
}
.sp-contact-list { display: grid; gap: 1rem; }
.sp-contact-list dt {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sp-muted);
}
.sp-contact-list dd {
  margin: .25rem 0 0;
  font-size: 1.02rem;
  line-height: 1.4;
}
.sp-contact-list a {
  color: var(--sp-ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--sp-accent) 55%, transparent);
  text-underline-offset: .18em;
}
.sp-contact-list a:hover { color: var(--sp-accent); }

/* The gradient-to-near-black band belongs on a dark page, where it is the
   ground continuing. Under a light palette it reads as mud, so the band goes
   flat accent — the one saturated moment on an otherwise pale page. */
.sp-cta {
  padding: clamp(2.75rem, 6vw, 4rem) 1.25rem;
  background: var(--sp-accent);
  color: #f7f1e8;
  text-align: center;
}
.sp-cta h2 {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 .7rem;
}
.sp-cta p {
  margin: 0 auto 1.5rem;
  color: rgba(247,241,232,.82);
  line-height: 1.6;
  max-width: 34rem;
}

.sp-powered {
  margin: 0;
  padding: 1.75rem 1.25rem 2.25rem;
  text-align: center;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--sp-muted) 85%, var(--sp-bg));
}
.sp-powered a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sp-muted) 35%, transparent);
  padding-bottom: .1rem;
  transition: color .2s ease, border-color .2s ease;
}
.sp-powered a:hover {
  color: var(--sp-accent);
  border-bottom-color: color-mix(in srgb, var(--sp-accent) 45%, transparent);
}
.sp-demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .7rem;
  background: #111;
  color: #fafafa;
  text-align: center;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .04em;
  padding: .55rem 1rem;
}
.sp-demo-banner-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.55);
  padding-bottom: .08rem;
  transition: border-color .2s ease, color .2s ease;
}
.sp-demo-banner-link:hover {
  color: #f4b6a9;
  border-bottom-color: currentColor;
}

.sp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.sp-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.sp-hero .sp-reveal { transition-delay: .05s; }

@media (max-width: 760px) {
  .sp-hero-inner {
    grid-template-columns: 1fr;
    padding: 3rem 0 2.5rem;
  }
  .sp-hero-mark {
    order: -1;
    width: 6.5rem;
    justify-self: start;
    padding: .85rem;
  }
  .sp-hero h1 { max-width: none; }
  .sp-visit-grid { grid-template-columns: 1fr; }
  .sp-topbar-nav { display: none; }
  .sp-topbar-inner { gap: .75rem; }
  .sp-topbar-actions { margin-left: auto; }
  .sp-about-grid { grid-template-columns: 1fr; }
  .sp-about-photo { order: -1; }
  .sp-fact { padding: .9rem 0; border-left: 0; }
  .sp-factbar-grid { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
  .sp-week-day {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
  .sp-week-label { flex-direction: row; align-items: baseline; gap: .55rem; }
  .sp-stage { aspect-ratio: 4 / 3; }
  .sp-stage-nav { width: 2.3rem; height: 2.3rem; }
  .sp-stage-nav.is-prev { left: .5rem; }
  .sp-stage-nav.is-next { right: .5rem; }
  .sp-thumbs {
    grid-auto-columns: minmax(4rem, 1fr);
    scrollbar-width: none; /* the rail is swipeable; the bar just eats space */
  }
  .sp-thumbs::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-reveal,
  .sp-btn,
  .sp-deal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.owner-manage { max-width: 720px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.owner-manage h1 { font-size: 1.6rem; margin-bottom: .5rem; }
.owner-manage .panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
  background: var(--card);
}

/* ---- Owner dashboard ----
   The owner portal is a working surface, not a narrow marketing form. Keep
   the page quiet and spacious, then use grids to make the controls easy to
   scan and edit. */
.owner-manage {
  --owner-ink: var(--s-ink);
  --owner-body: var(--s-body);
  --owner-muted: var(--s-muted);
  --owner-line: var(--s-line);
  --owner-soft: var(--s-soft);
  --owner-accent: var(--s-accent);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.5rem) 1.25rem clamp(3.5rem, 7vw, 5.5rem);
  color: var(--owner-body);
  font-family: var(--s-sans);
}
.owner-manage-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid var(--owner-line);
}
.owner-manage-heading { min-width: 0; }
.owner-manage-eyebrow,
.owner-section-kicker {
  margin: 0 0 .45rem;
  color: var(--owner-accent);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.owner-manage h1 {
  margin: 0;
  color: var(--owner-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.owner-manage-subtitle {
  max-width: 42rem;
  margin: .7rem 0 0;
  color: var(--owner-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.owner-manage-header-actions {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: .85rem;
}
.owner-manage-status {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--owner-ink);
  font-size: .78rem;
  line-height: 1.35;
}
.owner-manage-status > span:last-child { display: grid; gap: .08rem; }
.owner-manage-status strong { font-size: .8rem; font-weight: 700; }
.owner-manage-status small { color: var(--owner-muted); font-size: .74rem; }
.owner-manage-status-dot {
  width: .52rem;
  height: .52rem;
  margin-top: .27rem;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px #dcfce7;
}
.owner-manage .owner-manage-view { min-height: 2.55rem; }
.owner-manage-nav {
  display: none;
  gap: 1.25rem;
  overflow-x: auto;
  padding: .85rem 0 1.15rem;
  scrollbar-width: none;
}
.owner-manage-nav::-webkit-scrollbar { display: none; }
.owner-manage-nav a {
  flex: 0 0 auto;
  color: var(--owner-muted);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: .2em;
  white-space: nowrap;
}
.owner-manage-nav a:hover,
.owner-manage-nav a:focus-visible {
  color: var(--owner-ink);
  text-decoration: underline;
}
.owner-manage-nav a.is-active {
  color: var(--owner-ink);
}
.owner-manage-layout {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}
.owner-manage-sidebar {
  position: sticky;
  top: 1.25rem;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1rem .75rem .8rem;
  border: 1px solid var(--owner-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 18, 34, .045);
}
.owner-sidebar-heading {
  padding: .25rem .55rem 1rem;
  border-bottom: 1px solid #f0f1f5;
}
.owner-sidebar-kicker {
  margin: 0 0 .3rem;
  color: var(--owner-accent);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.owner-sidebar-heading strong {
  display: block;
  color: var(--owner-ink);
  font-size: .88rem;
  line-height: 1.3;
}
.owner-sidebar-nav {
  display: grid;
  gap: .15rem;
  padding: .8rem 0;
}
.owner-sidebar-link {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  align-items: start;
  gap: .45rem;
  padding: .62rem .55rem;
  border-radius: 8px;
  color: var(--owner-muted);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.owner-sidebar-index {
  color: #b3b6c3;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.5;
}
.owner-sidebar-link:hover,
.owner-sidebar-link:focus-visible,
.owner-sidebar-link.is-active,
.owner-manage-layout:not(:has(.owner-manage-panel:target)) .owner-sidebar-link[href="#business-details"],
.owner-manage-layout:has(#business-details:target) .owner-sidebar-link[href="#business-details"],
.owner-manage-layout:has(#page-direction:target) .owner-sidebar-link[href="#page-direction"],
.owner-manage-layout:has(#key-text:target) .owner-sidebar-link[href="#key-text"],
.owner-manage-layout:has(#catalog:target) .owner-sidebar-link[href="#catalog"],
.owner-manage-layout:has(#updates:target) .owner-sidebar-link[href="#updates"] {
  background: var(--s-accent-soft);
  color: var(--owner-ink);
}
.owner-sidebar-link:hover .owner-sidebar-index,
.owner-sidebar-link:focus-visible .owner-sidebar-index,
.owner-manage-layout:has(.owner-manage-panel:target) .owner-sidebar-link[href^="#"]:focus-visible .owner-sidebar-index {
  color: var(--owner-accent);
}
.owner-sidebar-footer {
  display: grid;
  gap: .25rem;
  margin-top: auto;
  padding: .85rem .55rem .15rem;
  border-top: 1px solid #f0f1f5;
}
.owner-sidebar-live {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--owner-ink);
  font-size: .75rem;
  font-weight: 700;
}
.owner-sidebar-live > span {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px #dcfce7;
}
.owner-sidebar-footer small {
  color: var(--owner-muted);
  font-size: .7rem;
  line-height: 1.4;
}
.owner-manage-panel[id] { scroll-margin-top: 1.25rem; }
.owner-manage-content {
  display: grid;
  gap: 1.25rem;
}
.owner-manage-panel {
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--owner-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 18, 34, .045);
}
.owner-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.owner-section-head > div { min-width: 0; }
.owner-manage h2 {
  margin: 0;
  color: var(--owner-ink);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.owner-section-description {
  max-width: 48rem;
  margin: .45rem 0 0;
  color: var(--owner-muted);
  font-size: .9rem;
  line-height: 1.5;
}
.owner-section-number {
  flex: 0 0 auto;
  color: #d7d9e2;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.owner-form { min-width: 0; }
.owner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}
.owner-form-grid--offering {
  grid-template-columns: minmax(9rem, .75fr) minmax(12rem, 1.45fr) minmax(8rem, .7fr) auto;
  align-items: end;
}
.owner-field {
  display: grid;
  min-width: 0;
  gap: .4rem;
}
.owner-field--wide { grid-column: 1 / -1; }
.owner-field--action {
  align-self: end;
  display: flex;
  align-items: flex-end;
}
.owner-field label {
  color: var(--owner-ink);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
}
.owner-field label span {
  color: var(--owner-muted);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.owner-input {
  width: 100%;
  min-height: 2.7rem;
  padding: .66rem .78rem;
  border: 1px solid var(--owner-line);
  border-radius: 9px;
  background: #fff;
  color: var(--owner-ink);
  font: inherit;
  font-size: .92rem;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.owner-input:hover { border-color: #c6c9d5; }
.owner-input:focus {
  outline: none;
  border-color: var(--owner-accent);
  box-shadow: 0 0 0 3px var(--s-accent-soft);
}
.owner-input::placeholder { color: #a0a3b1; }
select.owner-input {
  height: 2.7rem;
  min-height: 2.7rem;
  padding-block: 0;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d8196' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right .8rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
}
textarea.owner-input {
  min-height: 5.25rem;
  resize: vertical;
}
.owner-input--monospace {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .84rem;
}
.owner-field-hint,
.owner-action-hint {
  color: var(--owner-muted);
  font-size: .75rem;
  line-height: 1.4;
}
.owner-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid #f0f1f5;
}
.owner-manage .btn {
  justify-content: center;
  min-height: 2.7rem;
  padding: .66rem 1rem;
  border-radius: 9px;
  font-size: .86rem;
}
.owner-manage .btn.primary { background: var(--owner-accent); border-color: var(--owner-accent); }
.owner-manage .btn.primary:hover { background: var(--s-accent-dk); border-color: var(--s-accent-dk); }
.owner-form-note {
  margin: 1rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid #f0f1f5;
  color: var(--owner-muted);
  font-size: .78rem;
  line-height: 1.45;
}
.owner-preference-options {
  display: grid;
  gap: .7rem;
  margin: 0;
  max-width: none;
}
.owner-preference-option {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-width: 0;
  padding: .9rem;
  border: 1px solid var(--owner-line);
  border-radius: 10px;
  background: var(--owner-soft);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.owner-preference-option:hover { border-color: #c6c9d5; }
.owner-preference-option:has(input:checked) {
  border-color: var(--owner-accent);
  background: var(--s-accent-soft);
}
.owner-preference-option input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: .15rem 0 0;
  accent-color: var(--owner-accent);
}
.owner-preference-copy { min-width: 0; }
.owner-preference-copy strong,
.owner-preference-copy small { display: block; }
.owner-preference-copy strong { color: var(--owner-ink); font-size: .86rem; line-height: 1.3; }
.owner-preference-copy small { margin-top: .2rem; color: var(--owner-muted); font-size: .78rem; line-height: 1.45; }
.owner-item-list {
  border-top: 1px solid var(--owner-line);
}
.owner-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--owner-line);
}
.owner-item.is-editing { display: block; }
.owner-item-main { min-width: 0; }
.owner-item-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem .7rem;
}
.owner-item h3 {
  margin: 0;
  color: var(--owner-ink);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
}
.owner-item p {
  margin: .25rem 0 0;
  color: var(--owner-muted);
  font-size: .82rem;
  line-height: 1.45;
}
.owner-item-kind {
  color: var(--owner-accent);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.owner-item-price {
  flex: 0 0 auto;
  color: var(--owner-ink);
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
}
.owner-item-trailing {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .85rem;
}
.owner-item-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.owner-item-action {
  padding: .2rem 0;
  border: 0;
  background: transparent;
  color: var(--owner-muted);
  font: inherit;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
}
.owner-item-action:hover,
.owner-item-action:focus-visible {
  color: var(--owner-accent);
  text-decoration: underline;
}
.owner-item-action--remove { color: #b42318; }
.owner-item-action--remove:hover,
.owner-item-action--remove:focus-visible { color: #8f1d14; }
.owner-item-action:disabled { cursor: wait; opacity: .55; }
.owner-item-editor { min-width: 0; }
.owner-item-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}
.owner-item-editor-head .owner-subsection-label { margin: 0; }
.owner-item-editor .owner-inline-feedback { margin-bottom: .85rem; }
.owner-empty {
  margin: 0;
  padding: 1rem;
  border: 1px dashed #d9dbe4;
  border-radius: 9px;
  color: var(--owner-muted);
  font-size: .86rem;
  line-height: 1.45;
}
.owner-add-block {
  margin-top: 1.35rem;
  padding: 1.15rem;
  border: 1px solid var(--owner-line);
  border-radius: 11px;
  background: var(--owner-soft);
}
.owner-subsection-label {
  margin: 0 0 .85rem;
  color: var(--owner-ink);
  font-size: .8rem;
  font-weight: 800;
}
.owner-form--compact .owner-form-grid { gap: .85rem 1rem; }
.owner-form--compact .owner-form-actions { margin-top: 0; padding-top: 0; border-top: 0; }
.owner-recent {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--owner-line);
}
.owner-subsection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}
.owner-subsection-heading h3 {
  margin: 0;
  color: var(--owner-ink);
  font-size: .94rem;
  font-weight: 800;
}
.owner-subsection-heading > span {
  display: inline-grid;
  min-width: 1.5rem;
  min-height: 1.5rem;
  place-items: center;
  border-radius: 999px;
  background: var(--owner-soft);
  color: var(--owner-muted);
  font-size: .7rem;
  font-weight: 800;
}
.owner-status-pill {
  flex: 0 0 auto;
  padding: .22rem .5rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.owner-inline-feedback {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1rem;
  padding: .7rem .85rem;
  border: 1px solid #bbf7d0;
  border-radius: 9px;
  background: #f0fdf4;
  color: #166534;
  font-size: .8rem;
  line-height: 1.4;
}
.owner-inline-feedback > span {
  display: inline-grid;
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
}
.owner-inline-feedback.is-alert {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}
.owner-inline-feedback.is-alert > span {
  background: #dc2626;
}
.owner-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.owner-dashboard-summary > div {
  display: grid;
  gap: .2rem;
  padding: .9rem 1rem;
  border: 1px solid var(--owner-line);
  border-radius: 10px;
  background: var(--owner-soft);
}
.owner-dashboard-summary strong {
  color: var(--owner-ink);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
}
.owner-dashboard-summary span {
  color: var(--owner-muted);
  font-size: .72rem;
  line-height: 1.35;
}
.owner-dashboard-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.owner-dashboard-route-card {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .7rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--owner-line);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.owner-dashboard-route-card:hover,
.owner-dashboard-route-card:focus-visible {
  border-color: #c6c9d5;
  box-shadow: 0 8px 20px rgba(15, 18, 34, .06);
  transform: translateY(-1px);
}
.owner-dashboard-route-number {
  color: var(--owner-accent);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.5;
}
.owner-dashboard-route-copy {
  display: grid;
  gap: .25rem;
  min-width: 0;
}
.owner-dashboard-route-copy strong {
  color: var(--owner-ink);
  font-size: .86rem;
  line-height: 1.3;
}
.owner-dashboard-route-copy small {
  color: var(--owner-muted);
  font-size: .75rem;
  line-height: 1.4;
}
.owner-dashboard-route-arrow {
  color: var(--owner-muted);
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .owner-manage-layout { display: block; }
  .owner-manage-sidebar { display: none; }
  .owner-manage-nav { display: flex; }
  .owner-manage-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .owner-manage-header-actions {
    justify-items: start;
    width: 100%;
  }
  .owner-dashboard-route-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .owner-manage { padding-inline: 1rem; }
  .owner-manage h1 { font-size: 2rem; }
  .owner-form-grid,
  .owner-form-grid--offering { grid-template-columns: 1fr; }
  .owner-field--wide { grid-column: auto; }
  .owner-field--action { align-items: stretch; }
  .owner-field--action .btn { width: 100%; }
  .owner-item-trailing { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .owner-manage-panel { padding: 1.2rem; }
  .owner-add-block { padding: 1rem; }
  .owner-dashboard-summary { grid-template-columns: 1fr; }
}

/* =====================================================================
   Map-first local picks explorer
   ===================================================================== */
.map-explorer {
  position: relative;
  margin-top: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1rem, 2.8vw, 2rem);
  border-radius: 28px;
  background: #0f1222;
  color: #fff;
  box-shadow: 0 28px 70px -34px rgba(15, 18, 34, .65);
  overflow: hidden;
}
.map-explorer::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 20rem;
  top: -14rem;
  right: -6rem;
  border-radius: 50%;
  background: rgba(225, 31, 38, .18);
  filter: blur(8px);
  pointer-events: none;
}
.map-explorer-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.map-explorer .home-sec-eyebrow { color: #ff8588; }
.map-explorer-title {
  max-width: 26ch;
  margin: .3rem 0 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.map-explorer-subtitle {
  max-width: 42rem;
  margin: .65rem 0 0;
  color: #aeb3c8;
  font-size: .96rem;
  line-height: 1.5;
}
.map-explorer-stat {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}
.map-explorer-stat strong {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}
.map-explorer-stat span {
  color: #aeb3c8;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.map-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}
.map-back-button {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid #d7dee8;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  box-shadow: 0 4px 12px rgba(15,23,42,.06);
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
}
.map-back-button:hover { background: #f8fafc; color: #0f172a; }
.map-filter-bar {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: .5rem;
  min-width: 0;
}
.map-filter {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 2.3rem;
  padding: .38rem .72rem .38rem .45rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #d5d8e4;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s, transform .16s;
}
.map-filter:hover { border-color: rgba(255,255,255,.3); color: #fff; transform: translateY(-1px); }
.map-filter.is-active { border-color: #fff; background: #fff; color: var(--s-ink); }
.map-filter small {
  min-width: 1.3rem;
  padding: .1rem .3rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #b8bdd0;
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
}
.map-filter.is-active small { background: var(--s-accent-soft); color: var(--s-accent); }
.map-filter-icon,
.map-legend-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 900;
  line-height: 1;
}
.map-filter-icon--all { background: #ffe4e5; color: #d51f2a; }
.map-filter-icon--discount,
.map-legend-dot--discount { background: #ffddd9; color: #c83526; }
.map-filter-icon--new_arrival,
.map-legend-dot--new_arrival { background: #e9ddff; color: #7442bb; }
.map-filter-icon--event,
.map-legend-dot--event { background: #d8ecff; color: #2166a4; }
.map-filter-icon--restock { background: #d2f6ea; color: #177c61; }
.map-filter-icon--freebie { background: #ffedc2; color: #986b00; }
.map-explorer-stage {
  position: relative;
  height: clamp(390px, 45vw, 555px);
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: #dfe8e8;
  overflow: hidden;
}
.map-explorer-map {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.88), transparent 34%),
    linear-gradient(135deg, #dce7e6, #cbd8df);
}
.map-explorer-map .maplibregl-canvas { outline: none; }
.map-explorer-loading {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .75rem;
  border-radius: 999px;
  background: rgba(15,18,34,.82);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15,18,34,.2);
}
.map-explorer-loading[hidden] { display: none; }
.map-loading-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #ff8588;
  box-shadow: 0 0 0 .2rem rgba(255,133,136,.22);
  animation: map-loading-pulse 1.25s ease-in-out infinite;
}
@keyframes map-loading-pulse {
  0%, 100% { opacity: .45; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.1); }
}
.map-reset-button {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .75rem;
  border: 1px solid rgba(15,18,34,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--s-ink);
  cursor: pointer;
  font: inherit;
  font-size: .74rem;
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(15,18,34,.14);
}
.map-reset-button:hover { background: #fff; transform: translateY(-1px); }
.map-location-button {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 2.35rem;
  padding: .55rem .78rem;
  border: 1px solid rgba(15,18,34,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--s-ink);
  cursor: pointer;
  font: inherit;
  font-size: .74rem;
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(15,18,34,.14);
}
.map-location-button:hover { background: #fff; transform: translateY(-1px); }
.map-location-button > span { color: #d51f2a; font-size: .65rem; }
.map-location-button.has-location > span { color: #2563eb; text-shadow: 0 0 0 4px rgba(37,99,235,.14); }
.map-location-prompt {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem 1rem;
  width: min(440px, calc(100% - 2rem));
  padding: 1.2rem;
  border: 1px solid rgba(15,18,34,.1);
  border-radius: 20px;
  background: rgba(255,255,255,.97);
  color: var(--s-ink);
  box-shadow: 0 22px 60px rgba(15,18,34,.3);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}
.map-location-prompt[hidden] { display: none; }
.map-location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 14px;
  background: #ffe4e5;
  color: #d51f2a;
  font-size: 1.25rem;
  font-weight: 900;
}
.map-location-copy { min-width: 0; padding-right: 1.2rem; }
.map-location-eyebrow {
  margin: 0 0 .2rem;
  color: #d51f2a;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.map-location-copy h2 { margin: 0; font-size: 1.28rem; line-height: 1.1; }
.map-location-copy > p:last-child { margin: .42rem 0 0; color: #62677c; font-size: .78rem; line-height: 1.45; }
.map-location-close {
  position: absolute;
  top: .62rem;
  right: .68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f2f6;
  color: #696e82;
  cursor: pointer;
  font: inherit;
  font-size: 1.15rem;
}
.map-location-actions,
.map-postal-form,
.map-location-status,
.map-location-skip { grid-column: 1 / -1; }
.map-location-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.map-location-primary,
.map-location-secondary,
.map-postal-form button {
  min-height: 2.65rem;
  padding: .6rem .8rem;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
}
.map-location-primary { border: 1px solid #d51f2a; background: #d51f2a; color: #fff; }
.map-location-secondary { border: 1px solid #d9dce5; background: #fff; color: var(--s-ink); }
.map-location-primary:hover { background: #bb1822; }
.map-location-secondary:hover { background: #f7f7f9; }
.map-location-primary:disabled,
.map-postal-form button:disabled { cursor: wait; opacity: .68; }
.map-postal-form { margin: -.2rem 0 0; }
.map-postal-form[hidden] { display: none; }
.map-postal-form label { display: block; margin-bottom: .35rem; color: #464b5e; font-size: .7rem; font-weight: 800; }
.map-postal-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; }
.map-postal-form input {
  width: 100%;
  min-height: 2.65rem;
  padding: .62rem .75rem;
  border: 1px solid #cfd2dc;
  border-radius: 11px;
  background: #fff;
  color: var(--s-ink);
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.map-postal-form input:focus { border-color: #d51f2a; outline: 3px solid rgba(213,31,42,.12); }
.map-postal-form button { border: 1px solid var(--s-ink); background: var(--s-ink); color: #fff; }
.map-location-status { min-height: 1rem; margin: -.35rem 0 0; color: #62677c; font-size: .7rem; line-height: 1.35; }
.map-location-status.is-error { color: #b42318; }
.map-location-skip {
  justify-self: center;
  margin-top: -.45rem;
  padding: .25rem;
  border: 0;
  background: transparent;
  color: #6f7488;
  cursor: pointer;
  font: inherit;
  font-size: .68rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.map-user-location {
  position: relative;
  display: block;
  width: 1rem;
  height: 1rem;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 2px 9px rgba(15,18,34,.3);
}
.map-user-location::after {
  content: "";
  position: absolute;
  inset: -.65rem;
  border-radius: 50%;
  background: rgba(37,99,235,.2);
  animation: map-user-location-pulse 2s ease-out infinite;
}
@keyframes map-user-location-pulse {
  0% { opacity: .9; transform: scale(.35); }
  75%, 100% { opacity: 0; transform: scale(1); }
}
.map-explorer-legend {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .6rem;
  border: 1px solid rgba(15,18,34,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #52566b;
  font-size: .68rem;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(15,18,34,.1);
}
.map-explorer-legend span { display: inline-flex; align-items: center; gap: .25rem; }
.map-legend-dot { width: 1.15rem; height: 1.15rem; font-size: .62rem; }
.map-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.map-marker-visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  color: #fff;
  box-shadow: 0 7px 16px rgba(15,18,34,.24);
  transform: rotate(-45deg);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.map-marker-visual::after {
  content: "";
  position: absolute;
  inset: -.55rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: map-marker-ring 2.4s ease-out infinite;
  pointer-events: none;
}
.map-marker-glyph { transform: rotate(45deg); font-size: 1.02rem; font-weight: 900; line-height: 1; }
.map-marker:hover,
.map-marker:focus-visible,
.map-marker.is-selected { z-index: 2; }
.map-marker:hover .map-marker-visual,
.map-marker:focus-visible .map-marker-visual,
.map-marker.is-selected .map-marker-visual { transform: rotate(-45deg) scale(1.18); box-shadow: 0 9px 20px rgba(15,18,34,.34); filter: saturate(1.12); }
.map-marker.is-selected .map-marker-visual {
  border-color: #d97706;
  transform: rotate(-45deg) scale(1.28);
  box-shadow: 0 12px 24px rgba(15,18,34,.32);
}
.map-marker.is-selected .map-marker-visual::after {
  animation: none;
  opacity: 0;
}
.map-marker-visual--discount { background: #d94435; }
.map-marker-visual--new_arrival { background: #7950be; }
.map-marker-visual--event { background: #2877b9; }
.map-marker-visual--restock { background: #188768; }
.map-marker-visual--freebie { background: #b78312; }
@keyframes map-marker-ring {
  0% { opacity: .46; transform: scale(.65); }
  70%, 100% { opacity: 0; transform: scale(1.2); }
}
.map-deck { position: relative; z-index: 1; padding-top: 1.15rem; }
.map-owner-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  width: min(100%, 370px);
  min-width: 0;
  padding: .62rem .7rem .62rem .62rem;
  border: 1px solid #ecd9bb;
  border-radius: 14px;
  background: #fffaf3;
  color: #111827;
  box-shadow: 0 8px 22px rgba(15,23,42,.08);
}
.map-owner-banner[hidden] { display: none; }
.map-owner-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  background: #ffedcf;
  color: #b45309;
}
.map-owner-banner-copy { min-width: 0; padding-right: .65rem; }
.map-owner-banner-kicker {
  margin: 0 0 .1rem;
  color: #b45309;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.1;
  text-transform: uppercase;
}
.map-owner-banner-copy h2 {
  margin: 0;
  color: #111827;
  font-size: .8rem;
  font-weight: 850;
  line-height: 1.15;
}
.map-owner-banner-copy > p:last-child {
  margin: .18rem 0 0;
  color: #64748b;
  font-size: .67rem;
  line-height: 1.25;
}
.map-owner-banner-copy strong { color: #92400e; font-weight: 850; }
.map-owner-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: .45rem .7rem;
  border-radius: 9px;
  background: #111827;
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s, transform .16s;
}
.map-owner-banner-cta:hover { background: #263247; transform: translateY(-1px); }
.map-owner-banner-cta:focus-visible,
.map-owner-banner-close:focus-visible { outline: 3px solid rgba(180,83,9,.24); outline-offset: 2px; }
.map-owner-banner-close {
  position: absolute;
  top: .22rem;
  right: .25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8b7358;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
}
.map-owner-banner-close:hover { background: #f4e7d2; color: #5f4931; }
.map-deck-status-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.map-deck-controls { display: inline-flex; flex: 0 0 auto; gap: .35rem; }
.map-deck-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  transition: background .16s, transform .16s;
}
.map-deck-arrow:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.map-card-rail {
  display: flex;
  gap: .75rem;
  margin: 0 -.2rem;
  padding: .2rem .2rem .45rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}
.map-card-rail::-webkit-scrollbar { display: none; }
.map-card {
  position: relative;
  display: grid;
  flex: 0 0 min(380px, 33vw);
  grid-template-columns: 92px minmax(0, 1fr);
  min-width: 0;
  min-height: 154px;
  border: 1px solid #e4e6ee;
  border-radius: 16px;
  background: #fff;
  color: var(--s-ink);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.map-card[hidden] { display: none; }
.map-card.is-selected { border-color: #d97706; box-shadow: 0 14px 32px rgba(15,23,42,.18), 0 0 0 3px rgba(217,119,6,.24); transform: translateY(-2px); }
.map-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  background: #f2f3f7;
}
.map-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(15,18,34,.2));
  pointer-events: none;
}
.map-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-card-media--discount { background: linear-gradient(145deg, #e95a4b, #b5263a); }
.map-card-media--new_arrival { background: linear-gradient(145deg, #9874d4, #6034a0); }
.map-card-media--event { background: linear-gradient(145deg, #4e9ed3, #1c5b91); }
.map-card-media--restock { background: linear-gradient(145deg, #49ad91, #17715b); }
.map-card-media--freebie { background: linear-gradient(145deg, #d2a535, #936b0c); }
.map-card-icon { position: relative; z-index: 1; color: rgba(255,255,255,.92); font-size: 2rem; font-weight: 800; text-shadow: 0 2px 8px rgba(15,18,34,.24); }
.map-card-media:has(img) .map-card-icon { opacity: 0; }
.map-card-selected-badge {
  position: absolute;
  z-index: 2;
  right: .35rem;
  bottom: .35rem;
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d97706;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 3px 10px rgba(15,18,34,.28);
}
.map-card.is-selected .map-card-selected-badge { display: inline-flex; }
.map-card-body { display: flex; min-width: 0; flex-direction: column; padding: .78rem .85rem .7rem; }
.map-card-select {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.map-card-select:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 3px; border-radius: 4px; }
.map-card.is-selected .map-card-select:focus-visible { outline-color: #d97706; }
.map-card-label {
  display: block;
  margin-bottom: .28rem;
  overflow: hidden;
  color: var(--s-accent);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.map-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--s-ink);
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.map-card-shop,
.map-card-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}
.map-card-shop {
  margin: .25rem 0 0;
  color: #757a91;
  font-size: .7rem;
  line-height: 1.3;
  -webkit-line-clamp: 1;
}
.map-card-description {
  margin: .35rem 0 0;
  color: #52566b;
  font-size: .73rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}
.map-card-footer {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  margin-top: auto;
  padding-top: .45rem;
  color: #8a8ea0;
  font-size: .67rem;
  white-space: nowrap;
}
.map-card-footer strong { color: var(--s-accent); font-size: .75rem; font-weight: 800; }
.map-card-footer > span { overflow: hidden; text-overflow: ellipsis; }
.map-card-footer .map-card-distance { color: #2563eb; font-weight: 800; }
.map-detail-dialog {
  width: min(520px, calc(100vw - 2rem));
  max-height: min(82vh, 680px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #111827;
  box-shadow: 0 30px 80px rgba(15,23,42,.28);
  overflow: hidden auto;
}
.map-detail-dialog::backdrop { background: rgba(15,23,42,.48); backdrop-filter: blur(3px); }
.map-detail-close {
  position: absolute;
  z-index: 3;
  top: .75rem;
  right: .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 5px 18px rgba(15,23,42,.14);
}
.map-detail-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  overflow: hidden;
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
}
.map-detail-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,23,42,.18)); pointer-events: none; }
.map-detail-media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 1rem; background: #f8fafc; object-fit: contain; }
.map-detail-media > span { position: relative; z-index: 1; }
.map-detail-media:has(img:not([hidden])) > span { display: none; }
.map-detail-media--discount { background: linear-gradient(145deg, #e95a4b, #b5263a); }
.map-detail-media--new_arrival { background: linear-gradient(145deg, #9874d4, #6034a0); }
.map-detail-media--event { background: linear-gradient(145deg, #4e9ed3, #1c5b91); }
.map-detail-media--restock { background: linear-gradient(145deg, #49ad91, #17715b); }
.map-detail-media--freebie { background: linear-gradient(145deg, #d2a535, #936b0c); }
.map-detail-body { padding: 1.35rem 1.45rem 1.5rem; }
.map-detail-label { margin: 0 0 .45rem; color: #2563eb; font-size: .7rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.map-detail-body h2 { margin: 0; color: #111827; font-size: clamp(1.25rem, 4vw, 1.65rem); font-weight: 850; line-height: 1.16; letter-spacing: -.025em; }
.map-detail-shop { margin: .5rem 0 0; color: #64748b; font-size: .84rem; font-weight: 650; }
.map-detail-description { margin: 1rem 0 0; color: #334155; font-size: .94rem; line-height: 1.6; white-space: pre-line; }
.map-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; color: #64748b; font-size: .8rem; }
.map-detail-meta strong { color: #0f172a; font-size: .92rem; }
.map-detail-meta [data-map-detail-distance] { color: #2563eb; font-weight: 800; }
.map-explorer-attribution {
  margin: .75rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #737990;
}
.map-explorer-attribution a { color: #aeb3c8; }

@media (max-width: 760px) {
  .map-explorer {
    margin-top: 1.25rem;
    padding: 1rem .75rem .8rem;
    border-radius: 22px;
  }
  .map-explorer-head { align-items: flex-start; flex-direction: column; gap: .75rem; margin-bottom: 1rem; }
  .map-explorer-title { font-size: 1.55rem; }
  .map-explorer-subtitle { font-size: .86rem; }
  .map-explorer-stat { align-items: flex-start; flex-direction: row; gap: .45rem; padding: .45rem .65rem; }
  .map-explorer-stat strong { font-size: 1rem; }
  .map-explorer-stat span { align-self: center; font-size: .62rem; }
  .map-toolbar { gap: .5rem; margin-bottom: .75rem; }
  .map-filter-bar { flex-wrap: nowrap; margin: 0 0 0 -.75rem; padding: 0 .25rem .2rem .75rem; overflow-x: auto; scrollbar-width: none; touch-action: pan-x; }
  .map-filter-bar::-webkit-scrollbar { display: none; }
  .map-filter { flex: 0 0 auto; }
  .map-explorer-stage { height: min(53vh, 480px); min-height: 350px; border-radius: 16px; }
  .map-explorer-legend { display: none; }
  .map-reset-button { right: .7rem; bottom: .7rem; }
  .map-deck { padding-top: .9rem; }
  .map-card-rail { margin-right: -.75rem; padding-right: .75rem; }
  .map-card { flex-basis: calc(100vw - 3.25rem); grid-template-columns: 82px minmax(0, 1fr); min-height: 150px; }
  .map-card-body { padding: .72rem .75rem .62rem; }
  .map-card-description { -webkit-line-clamp: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .map-loading-dot,
  .map-marker-visual::after,
  .map-user-location::after { animation: none; }
  .map-card-rail { scroll-behavior: auto; }
}

/* ---- Dedicated full-screen map ---- */
.explore-page {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: 56px minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #f4f7fb;
  font-family: var(--s-sans);
}
.explore-appbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(.75rem, 2vw, 1.5rem);
  border-bottom: 1px solid #dfe6ef;
  background: rgba(255,255,255,.96);
  color: #111827;
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
}
.explore-appbar-brand {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  color: #111827;
  font-size: .96rem;
  font-weight: 800;
  text-decoration: none;
}
.explore-appbar-brand img { width: 24px; height: 24px; filter: none; }
.explore-appbar-brand > span:last-child > span { color: #d51f2a; }
.explore-back-arrow { color: #64748b; font-size: 1.05rem; }
.explore-appbar-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #64748b;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.explore-appbar-label i {
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.16);
}
.explore-appbar-cta {
  justify-self: end;
  padding: .48rem .82rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}
.map-explorer--fullscreen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 1rem clamp(1rem, 2vw, 1.5rem) .6rem;
  border-radius: 0;
  background: #f4f7fb;
  color: #111827;
  box-shadow: none;
}
.map-explorer--fullscreen::before { background: rgba(37,99,235,.08); }
.map-explorer--fullscreen .home-sec-eyebrow { color: #2563eb; }
.map-explorer--fullscreen .map-explorer-title { color: #111827; }
.map-explorer--fullscreen .map-explorer-subtitle { color: #64748b; }
.map-explorer--fullscreen .map-explorer-stat { border-color: #dbe3ed; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.map-explorer--fullscreen .map-explorer-stat strong { color: #111827; }
.map-explorer--fullscreen .map-explorer-stat span { color: #64748b; }
.map-explorer--fullscreen .map-filter { border-color: #d8e0ea; background: #fff; color: #475569; }
.map-explorer--fullscreen .map-filter:hover { border-color: #94a3b8; color: #0f172a; }
.map-explorer--fullscreen .map-filter.is-active { border-color: #2563eb; background: #2563eb; color: #fff; }
.map-explorer--fullscreen .map-filter.is-active small { background: rgba(255,255,255,.2); color: #fff; }
.map-explorer--fullscreen .map-explorer-stage { border-color: #d6dee8; box-shadow: 0 12px 32px rgba(15,23,42,.08); }
.map-explorer--fullscreen .map-deck-arrow { border-color: #d7dee8; background: #fff; color: #334155; box-shadow: 0 4px 12px rgba(15,23,42,.06); }
.map-explorer--fullscreen .map-deck-arrow:hover { background: #f8fafc; }
.map-explorer--fullscreen .map-explorer-attribution { color: #64748b; }
.map-explorer--fullscreen .map-explorer-attribution a { color: #334155; }
.map-explorer--fullscreen .map-explorer-head { margin-bottom: .75rem; }
.map-explorer--fullscreen .map-explorer-title { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.map-explorer--fullscreen .map-explorer-subtitle { margin-top: .4rem; font-size: .86rem; }
.map-explorer--fullscreen .map-toolbar { margin-bottom: .65rem; }
.map-explorer--fullscreen .map-explorer-stage {
  height: auto;
  min-height: 0;
  border-radius: 18px;
}
.map-explorer--fullscreen .map-deck { padding-top: .65rem; }
.map-explorer--fullscreen .map-deck > .map-owner-banner { margin-bottom: .45rem; }
.map-explorer--fullscreen .map-card { flex-basis: min(380px, 32vw); min-height: 138px; }
.map-explorer--fullscreen .map-explorer-attribution { margin-top: .3rem; font-size: .62rem; }
.explore-empty {
  align-self: center;
  justify-self: center;
  max-width: 32rem;
  padding: 2rem;
  color: #111827;
  text-align: center;
}
.explore-empty h1 { margin: .4rem 0 .7rem; font-size: 2rem; line-height: 1.05; }
.explore-empty p { margin-bottom: 1.25rem; color: #64748b; }

@media (max-width: 760px) {
  .explore-page { grid-template-rows: minmax(0, 1fr); }
  .explore-appbar { display: none; }
  .map-explorer--fullscreen {
    grid-template-rows: auto minmax(240px, 1fr) auto auto;
    height: 100%;
    margin: 0;
    padding: .6rem .6rem .35rem;
    border-radius: 0;
  }
  .map-explorer--fullscreen .map-explorer-head { display: none; }
  .map-explorer--fullscreen .map-toolbar { min-width: 0; gap: .4rem; margin-bottom: .45rem; }
  .map-explorer--fullscreen .map-back-button { display: inline-flex; width: 1.95rem; height: 1.95rem; }
  .map-explorer--fullscreen .map-filter-bar {
    margin: 0;
    padding: 0 .2rem .15rem 0;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 1.6rem), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 1.6rem), transparent);
  }
  .map-explorer--fullscreen .map-filter { min-height: 1.95rem; padding: .22rem .55rem .22rem .35rem; gap: .3rem; font-size: .72rem; }
  .map-explorer--fullscreen .map-filter-icon { width: 1.35rem; height: 1.35rem; font-size: .72rem; }
  .map-explorer--fullscreen .map-filter small { min-width: 1.15rem; font-size: .62rem; }
  .map-explorer--fullscreen .map-explorer-stage { height: auto; min-height: 0; border-radius: 14px; }
  .map-explorer--fullscreen .map-location-button { top: .65rem; left: .65rem; min-height: 2.1rem; padding: .45rem .65rem; }
  .map-explorer--fullscreen .map-location-prompt {
    top: auto;
    bottom: .5rem;
    width: calc(100% - 1rem);
    max-height: calc(100% - 1rem);
    padding: .9rem;
    border-radius: 17px;
    gap: .62rem .7rem;
    overflow-y: auto;
    transform: translateX(-50%);
  }
  .map-explorer--fullscreen .map-location-icon { width: 2.35rem; height: 2.35rem; border-radius: 12px; font-size: 1.05rem; }
  .map-explorer--fullscreen .map-location-copy h2 { font-size: 1.08rem; }
  .map-explorer--fullscreen .map-location-copy > p:last-child { margin-top: .28rem; font-size: .7rem; line-height: 1.35; }
  .map-explorer--fullscreen .map-location-actions { gap: .42rem; }
  .map-explorer--fullscreen .map-location-primary,
  .map-explorer--fullscreen .map-location-secondary,
  .map-explorer--fullscreen .map-postal-form button,
  .map-explorer--fullscreen .map-postal-form input { min-height: 2.4rem; padding-block: .5rem; }
  .map-explorer--fullscreen .map-deck { padding-top: .45rem; }
  .map-explorer--fullscreen .map-deck > .map-owner-banner { width: 100%; margin-bottom: .45rem; }
  .map-explorer--fullscreen .map-deck-arrow { width: 1.9rem; height: 1.9rem; }
  .map-explorer--fullscreen .map-card-rail { margin-right: -.6rem; padding-right: .6rem; }
  .map-explorer--fullscreen .map-card {
    flex-basis: calc(100vw - 1.8rem);
    grid-template-columns: 60px minmax(0, 1fr);
    min-height: 98px;
    border-radius: 14px;
  }
  .map-explorer--fullscreen .map-card-body { padding: .48rem .58rem .42rem; }
  .map-explorer--fullscreen .map-card-label { margin-bottom: .12rem; font-size: .55rem; }
  .map-explorer--fullscreen .map-card h3 { font-size: .82rem; }
  .map-explorer--fullscreen .map-card-shop { margin-top: .16rem; font-size: .63rem; }
  .map-explorer--fullscreen .map-card-description { display: none; }
  .map-explorer--fullscreen .map-card-footer { gap: .35rem; padding-top: .24rem; font-size: .6rem; }
  .map-explorer--fullscreen .map-card-footer strong { font-size: .68rem; }
  .map-explorer--fullscreen .map-explorer-attribution { margin-top: .2rem; font-size: .55rem; line-height: 1.2; }
  .map-detail-dialog { width: 100%; max-width: none; max-height: 86dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .map-detail-media { height: 170px; }
  .map-detail-body { padding: 1.1rem 1rem 1.25rem; }
}

/* --- Weekly top-10 pages (/weekly/:city) + share row ---------------------- */
.weekly-page { padding: 1.6rem 0 2.5rem; }
.weekly-section-title { font-size: 1.35rem; letter-spacing: -0.01em; margin: 1.8rem 0 0.9rem; }

.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.share-label { font-weight: 700; font-size: .85rem; color: var(--s-muted, #565b6e); margin-right: .15rem; }
.share-btn {
  display: inline-flex; align-items: center;
  padding: .38rem .85rem; border-radius: 999px;
  border: 1.5px solid var(--s-line, #e5e2da);
  background: #fff; color: var(--s-ink);
  font: inherit; font-weight: 700; font-size: .85rem;
  text-decoration: none; cursor: pointer;
}
.share-btn:hover { border-color: var(--s-accent); color: var(--s-accent); }

/* =====================================================================
   Home (offers/_editorial_home): a marketplace board of live deals with
   the alert builder part-way down. Everything is scoped under `.mh` with
   its own tokens; red is the only accent, green marks prices and trust.
   ===================================================================== */
.mh {
  --mh-ink: #0f172a; --mh-slate: #1e293b; --mh-muted: #5b6678; --mh-line: #e2e8f0;
  --mh-bg: #f8fafc; --mh-red: #e11f26; --mh-red-d: #b8141b; --mh-red-soft: #fef1f1;
  --mh-green: #15803d; --mh-green-bg: #f0fdf4; --mh-tile: #f1f5f9;
  --mh-max: 1200px; --mh-px: var(--site-shell-gutter, 1.25rem);
  display: block; color: var(--mh-ink); background: var(--mh-bg);
  font-family: var(--s-sans); line-height: 1.5; padding-bottom: 64px;
}
.mh h1, .mh h2, .mh h3, .mh h4 { margin: 0; letter-spacing: -.02em; color: var(--mh-ink); }
.mh p { margin: 0; }
.mh a { color: inherit; }
.mh :focus-visible { outline: 3px solid var(--mh-red); outline-offset: 2px; }
.mh-i { flex: none; display: block; }
.mh-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.mh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font: 700 15px/1.2 var(--s-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.mh-btn-red { background: var(--mh-red); color: #fff; }
.mh-btn-red:hover { background: var(--mh-red-d); }
.mh-btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .28); }
.mh-btn-ghost:hover { border-color: #fff; }
.mh-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 700; color: var(--mh-red) !important; text-decoration: none;
}
.mh-link:hover { color: var(--mh-red-d) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.mh-hero {
  padding: 60px var(--mh-px) 44px; text-align: center; border-bottom: 1px solid var(--mh-line);
  background: radial-gradient(1100px 340px at 50% -80px, #fde3e4, transparent 70%), #fff;
}
.mh-title { max-width: 17ch; margin: 0 auto !important; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 800; text-wrap: balance; }
.mh-title span { color: var(--mh-red); }
.mh-lede { max-width: 38em; margin: 16px auto 28px !important; font-size: 17px; color: var(--mh-muted); text-wrap: pretty; }
.mh-search {
  display: flex; align-items: center; gap: 6px; max-width: 780px; margin: 0 auto; padding: 6px;
  background: #fff; border: 1px solid #d5dce6; border-radius: 18px;
  box-shadow: 0 6px 16px -4px rgb(15 23 42 / .12);
}
.mh-search:focus-within { border-color: #cbd5e1; }
.mh-search-town { display: flex; align-items: center; gap: 4px; padding: 0 4px 0 12px; border-right: 1px solid var(--mh-line); color: var(--mh-red); }
.mh-search select { min-height: 46px; border: 0; background: transparent; font: 700 15px var(--s-sans); color: var(--mh-ink); cursor: pointer; }
.mh-search input { flex: 1; min-width: 0; min-height: 46px; padding: 0 10px; border: 0; background: transparent; font: 16px var(--s-sans); color: var(--mh-ink); }
.mh-search input:focus, .mh-search select:focus { outline: none; }
.mh-search input:focus-visible, .mh-search select:focus-visible { outline: 3px solid var(--mh-red); outline-offset: -2px; border-radius: 10px; }
.mh-search .mh-btn { min-height: 48px; border-radius: 13px; padding: 0 20px; }
.mh-pop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; }
.mh-pop > span { color: var(--mh-muted); font-weight: 600; }
.mh-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--mh-line); font-weight: 600; font-size: 14px; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.mh-chip:hover { border-color: var(--mh-red); color: var(--mh-red) !important; }
.mh-trust { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 15px; font-weight: 600; color: var(--mh-slate); }
.mh-trust li { display: inline-flex; align-items: center; gap: 7px; }
.mh-trust .mh-i { color: var(--mh-green); }
.mh-hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-top: 10px !important; }

/* Sections */
.mh-sec { max-width: var(--mh-max); margin: 0 auto; padding: 56px var(--mh-px) 0; }
.mh-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 16px; margin-bottom: 22px; }
.mh-head h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 800; }
.mh-head p { margin-top: 6px !important; color: var(--mh-muted); }
.mh-head.is-center { justify-content: center; text-align: center; }
.mh-head.is-center p { max-width: 36em; margin-inline: auto !important; }

/* Categories */
.mh-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.mh-cat {
  display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px;
  background: #fff; border: 1px solid var(--mh-line); border-radius: 15px; text-decoration: none;
  transition: border-color .15s, box-shadow .2s, transform .2s;
}
.mh-cat:hover { border-color: #cbd5e1; box-shadow: 0 12px 26px -14px rgb(15 23 42 / .35); transform: translateY(-2px); }
.mh-cat-i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--mh-tile); color: var(--mh-slate); transition: background-color .15s, color .15s; }
.mh-cat:hover .mh-cat-i { background: var(--mh-red-soft); color: var(--mh-red); }
.mh-cat b { display: block; font-size: 15px; line-height: 1.25; }
.mh-cat small { display: block; color: var(--mh-muted); font-size: 13px; }
.mh-cat > span:last-child { min-width: 0; }

/* Featured deals: tabs + bento */
.mh-tabs { display: flex; gap: 6px; }
.mh-tabs[hidden] { display: none; }
.mh-tabs button {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--mh-line); background: #fff;
  font: 700 15px var(--s-sans); color: var(--mh-slate); cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.mh-tabs button:hover { border-color: var(--mh-ink); }
.mh-tabs [aria-selected="true"] { background: var(--mh-ink); border-color: var(--mh-ink); color: #fff; }
.mh-panel + .mh-panel { margin-top: 36px; }
.mh-feed.is-tabbed .mh-panel + .mh-panel { margin-top: 0; }
.mh-panel-title { font-size: 20px; font-weight: 800; margin-bottom: 14px !important; }
.mh-feed.is-tabbed .mh-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mh-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 14px; font-weight: 700; color: var(--mh-red) !important; text-decoration: none; }
.mh-more:hover { color: var(--mh-red-d) !important; text-decoration: underline; text-underline-offset: 3px; }

.mh-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mh-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--mh-line); border-radius: 18px; text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.mh-card:hover { border-color: #cbd5e1; box-shadow: 0 20px 38px -22px rgb(15 23 42 / .4); transform: translateY(-3px); }
.mh-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mh-tile); }
.mh-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-card-img.is-logo { background: #fff; }
.mh-card-img.is-logo img { object-fit: contain; padding: 14% 18%; }
.mh-card-img.is-logo-dark { background: var(--mh-slate); }
.mh-card-ph { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; color: #94a3b8; }
.mh-card-img.is-blank .mh-card-ph { display: flex; }
.mh-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1; max-width: calc(100% - 20px);
  padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / .95); box-shadow: 0 1px 3px rgb(15 23 42 / .12);
  font-size: 12.5px; font-weight: 700; color: var(--mh-slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mh-badge.is-pick { background: var(--mh-red); color: #fff; }
.mh-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; padding: 14px 16px 16px; }
.mh-seller { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--mh-muted); }
.mh-seller > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-av {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--mh-line); background: #fff;
  object-fit: contain; display: inline-flex; align-items: center; justify-content: center;
}
.mh-av.is-dark { background: var(--mh-slate); }
.mh-av.is-initial { background: var(--mh-tile); color: var(--mh-slate); font-size: 12px; font-weight: 800; }
.mh-card-title {
  font-size: 16.5px !important; line-height: 1.3; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mh-card-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px;
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--mh-line);
}
.mh-price { max-width: 100%; font-size: 17px; font-weight: 800; color: var(--mh-green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-when { min-width: 0; font-size: 13px; font-weight: 600; color: var(--mh-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mh-card.is-lead { grid-column: span 2; grid-row: span 2; }
.mh-card.is-lead .mh-card-img { aspect-ratio: auto; flex: 1; min-height: 280px; }
.mh-card.is-lead .mh-card-body { flex: none; }
.mh-card.is-lead .mh-card-title { font-size: 22px !important; }
.mh-card.is-wide, .mh-card.is-full { grid-column: span 2; flex-direction: row; }
.mh-card.is-full { grid-column: 1 / -1; }
.mh-card.is-wide .mh-card-img, .mh-card.is-full .mh-card-img { aspect-ratio: auto; width: 46%; flex: none; min-height: 150px; }
.mh-card.is-full .mh-card-img { width: 30%; }
.mh-card.is-wide .mh-card-body, .mh-card.is-full .mh-card-body { justify-content: center; }

/* Alert builder */
.mh-alerts, .mh-biz { scroll-margin-top: 104px; }
.mh-build {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 24px; align-items: start;
  grid-template-areas: "where preview" "what preview" "how preview"; grid-template-rows: auto auto 1fr;
}
.mh-step.is-where { grid-area: where; }
.mh-step.is-what { grid-area: what; }
.mh-step.is-how { grid-area: how; }
.mh-step { min-width: 0; margin: 0 0 14px; padding: 20px 22px 22px; border: 1px solid var(--mh-line); border-radius: 20px; background: #fff; }
.mh-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0; font-size: 18px; font-weight: 800; color: var(--mh-ink); }
/* Every sibling clears the floated legend: the phone fold inserts a hidden .mh-pick right after it. */
.mh-step legend ~ * { clear: both; }
.mh-step legend b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--mh-red-soft); color: var(--mh-red-d); font-size: 15px; }
.mh-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-opt { position: relative; display: block; cursor: pointer; }
.mh-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mh-opt > span {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px;
  border-radius: 999px; border: 1px solid var(--mh-line); background: var(--mh-bg);
  font-size: 15px; font-weight: 700; color: var(--mh-slate);
  transition: background-color .15s, border-color .15s, color .15s;
}
.mh-opt small { font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #fff7ed; color: #9a3412; }
.mh-opt:hover > span { border-color: #94a3b8; }
.mh-opt input:checked + span { background: var(--mh-red); border-color: var(--mh-red); color: #fff; }
.mh-opt input:checked + span small { background: rgb(255 255 255 / .2); color: #fff; }
.mh-opt input:focus-visible + span { outline: 3px solid var(--mh-ink); outline-offset: 2px; }
.mh-pick { display: none; }
.mh-step.is-compact .mh-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.mh-step.is-compact:not(.is-open) .mh-opts, .mh-step.is-compact:not(.is-open) .mh-step-note { display: none; }
.mh-step.is-compact.is-open .mh-pick { margin-bottom: 12px; }
.mh-step.is-compact legend { margin-bottom: 8px; }
.mh-pick-value { min-width: 0; font-size: 16px; font-weight: 700; color: var(--mh-ink); }
.mh-pick-btn { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--mh-line); background: var(--mh-bg); font: inherit; font-size: 14.5px; font-weight: 700; color: var(--mh-red-d); cursor: pointer; }
.mh-pick-btn:focus-visible { outline: 3px solid var(--mh-ink); outline-offset: 2px; }
.mh-step-note { margin-top: 12px !important; font-size: 14px; color: var(--mh-muted); }
.mh-step-note a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--mh-red-d); }
.mh-cad { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mh-cad .mh-opt > span { display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; padding: 11px 16px; border-radius: 14px; }
.mh-cad b { font-size: 16px; }
.mh-cad .mh-opt small { padding: 0; background: none; color: var(--mh-muted); font-size: 13px; font-weight: 600; }
.mh-cad .mh-opt input:checked + span small { background: none; color: rgb(255 255 255 / .88); }
.mh-email { display: flex; gap: 8px; margin-top: 14px; }
.mh-email input {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border-radius: 12px;
  border: 1px solid #cbd5e1; background: #fff; font: 16px var(--s-sans); color: var(--mh-ink);
}
.mh-email input:focus { outline: none; }
.mh-email input:focus-visible { outline: 3px solid var(--mh-red); outline-offset: 2px; border-color: var(--mh-red); }
.mh-email .mh-btn { min-height: 50px; }
.mh-fine { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px !important; font-size: 13.5px; color: var(--mh-muted); }
.mh-fine .mh-i { color: var(--mh-green); margin-top: 2px; }
.mh-fine a { color: var(--mh-slate); font-weight: 700; text-underline-offset: 3px; }
.mh-preview { grid-area: preview; position: sticky; top: 88px; padding: 20px; border: 1px solid #d5dce6; border-radius: 20px; background: #fff; box-shadow: 0 8px 20px -6px rgb(15 23 42 / .14); }
.mh-preview-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.mh-preview-title { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.mh-preview-title .mh-i { color: var(--mh-red); }
.mh-sum { font-size: 14px; font-weight: 700; color: var(--mh-muted); }
.mh-plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mh-plist a { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: var(--mh-bg); text-decoration: none; transition: background-color .15s; }
.mh-plist a:hover { background: var(--mh-tile); }
.mh-pimg { position: relative; flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--mh-tile); }
.mh-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mh-pimg.is-logo { background: #fff; border: 1px solid var(--mh-line); }
.mh-pimg.is-logo img { object-fit: contain; padding: 10px; }
.mh-ptext { display: flex; flex-direction: column; min-width: 0; }
.mh-ptext b { font-size: 15px; font-weight: 800; color: var(--mh-green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-ptext strong { font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mh-ptext small { font-size: 13px; font-weight: 600; color: var(--mh-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-note { margin-top: 12px !important; font-size: 13.5px; color: var(--mh-muted); }
.mh-note:empty { display: none; }

/* Top shops */
.mh-shops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mh-shop {
  display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px;
  background: #fff; border: 1px solid var(--mh-line); border-radius: 18px; text-decoration: none;
  transition: border-color .15s, box-shadow .2s;
}
.mh-shop:hover { border-color: #cbd5e1; box-shadow: 0 16px 32px -20px rgb(15 23 42 / .35); }
.mh-shop-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mh-shop-top > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.mh-shop-logo {
  flex: none; width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--mh-line); background: #fff;
  object-fit: contain; padding: 4px; display: inline-flex; align-items: center; justify-content: center;
}
.mh-shop-logo.is-dark { background: var(--mh-slate); }
.mh-shop-logo.is-initial { padding: 0; background: var(--mh-tile); color: var(--mh-slate); font-size: 20px; font-weight: 800; }
.mh-shop-top strong { font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mh-shop-top small { font-size: 13px; color: var(--mh-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-shop-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: auto; font-size: 14px; color: var(--mh-muted); }
.mh-shop-foot b { font-size: 19px; color: var(--mh-ink); margin-right: 2px; }
.mh-shop-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--mh-red); }

/* Towns */
.mh-towns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mh-town {
  display: flex; flex-direction: column; gap: 6px; padding: 18px;
  background: #fff; border: 1px solid var(--mh-line); border-radius: 16px; text-decoration: none;
  transition: border-color .15s, box-shadow .2s;
}
.mh-town:hover { border-color: #cbd5e1; box-shadow: 0 16px 32px -20px rgb(15 23 42 / .35); }
.mh-town-top { display: flex; align-items: center; gap: 8px; }
.mh-town-top strong { font-size: 17px; }
.mh-town-top small { padding: 2px 8px; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: 12px; font-weight: 700; }
.mh-town-blurb { font-size: 14.5px; color: var(--mh-muted); }
.mh-town-count { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 4px; font-weight: 700; color: var(--mh-red); }

/* For businesses */
.mh-biz {
  margin: 56px max(var(--mh-px), calc((100% - var(--mh-max)) / 2 + var(--mh-px))) 0;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center;
  padding: clamp(26px, 4vw, 48px); border-radius: 26px; background: var(--mh-slate); color: #fff;
}
.mh-biz h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 800; }
.mh-biz p { margin-top: 12px !important; max-width: 34em; color: #cbd5e1; font-size: 16px; }
.mh-biz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mh-biz.is-solo { grid-template-columns: minmax(0, 1fr); }
.mh-biz-card { padding: 20px; border-radius: 20px; background: #fff; color: var(--mh-ink); box-shadow: 0 34px 60px -30px rgb(0 0 0 / .6); }
.mh-biz-card .example-pages { margin: 0; }
.mh-biz-card .example-pages-label { margin: 0 0 8px !important; color: var(--mh-ink); font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.mh-biz-card .text-link { color: var(--mh-red-d); }

/* FAQ */
.mh-faq-list { display: grid; gap: 10px; max-width: 820px; }
.mh-faq-item { background: #fff; border: 1px solid var(--mh-line); border-radius: 14px; }
.mh-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px;
  padding: 12px 18px; font-weight: 700; cursor: pointer; list-style: none;
}
.mh-faq-item summary::-webkit-details-marker { display: none; }
.mh-faq-item summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 600; line-height: 1; color: var(--mh-muted); }
.mh-faq-item[open] summary::after { content: "–"; }
.mh-faq-item p { padding: 0 18px 16px; color: var(--mh-muted); }

@media (max-width: 980px) {
  .mh-cats { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .mh-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-card.is-lead { grid-row: auto; }
  .mh-card.is-lead .mh-card-img { min-height: 240px; }
  .mh-shops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-build, .mh-biz { grid-template-columns: minmax(0, 1fr); }
  .mh-build { grid-template-areas: "where" "what" "how" "preview"; grid-template-rows: none; }
  .mh-preview { position: static; margin-bottom: 14px; }
  .mh-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .mh { --mh-px: 16px; }
  .mh-hero { padding: 36px var(--mh-px) 30px; }
  .mh-title { font-size: 34px; }
  .mh-lede { font-size: 16px; }
  .mh-search { flex-wrap: wrap; padding: 8px; }
  .mh-search-town { flex: 1 1 100%; padding: 0 6px 4px; border-right: 0; border-bottom: 1px solid var(--mh-line); }
  .mh-search-town select { flex: 1; }
  .mh-search .mh-btn { flex: 1 1 100%; }
  .mh-pop { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--mh-px)); padding: 0 var(--mh-px) 4px; scrollbar-width: none; }
  .mh-pop > * { flex: none; }
  .mh-trust { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: start; justify-items: start; width: max-content; max-width: 100%; margin-inline: auto; gap: 8px; text-align: left; font-size: 14.5px; }
  .mh-sec { padding-top: 40px; }
  .mh-head { flex-direction: column; align-items: flex-start; }
  .mh-head.is-center { align-items: center; }
  .mh-tabs { width: 100%; }
  .mh-tabs button { flex: 1; padding: 0 8px; font-size: 14px; }
  .mh-cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--mh-px)); padding: 0 var(--mh-px) 8px; scroll-padding-inline: var(--mh-px); scrollbar-width: none; }
  .mh-cat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; scroll-snap-align: start; }
  .mh-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mh-bento > :nth-child(n+5) { display: none; }
  .mh-card, .mh-card.is-lead, .mh-card.is-wide, .mh-card.is-full { grid-column: auto; flex-direction: row; }
  .mh-card .mh-card-img, .mh-card.is-wide .mh-card-img, .mh-card.is-full .mh-card-img { width: 36%; flex: none; aspect-ratio: auto; min-height: 128px; }
  .mh-card:not(.is-lead) .mh-badge { display: none; }
  .mh-card-body { padding: 12px; gap: 6px; }
  .mh-card-title { font-size: 15.5px !important; }
  .mh-card-foot { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 8px; }
  .mh-when { max-width: 100%; }
  .mh-card.is-lead { flex-direction: column; }
  .mh-card.is-lead .mh-card-img { width: 100%; min-height: 200px; }
  .mh-card.is-lead .mh-card-title { font-size: 19px !important; }
  .mh-step { padding: 18px 16px; }
  .mh-opt > span { padding: 0 13px; font-size: 14.5px; }
  .mh-email { flex-direction: column; }
  .mh-shops { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--mh-px)); padding: 0 var(--mh-px) 8px; scroll-padding-inline: var(--mh-px); }
  .mh-shops > li { scroll-snap-align: start; }
  .mh-towns { grid-template-columns: minmax(0, 1fr); }
  .mh-biz { margin-top: 40px; }
  .mh-biz-actions .mh-btn { flex: 1 1 100%; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .mh *, .mh *::before, .mh *::after { animation: none !important; transition: none !important; }
  .mh-card:hover, .mh-cat:hover { transform: none; }
}

/* =====================================================================
   Offer detail (offers/show): the deal as a pinned notice. The title and
   shop lead; a white notice card carries the value, when, where and the
   one red action, and sticks beside the photo and description on desktop.
   Scoped under `.od` with the home's tokens (see DESIGN.md).
   ===================================================================== */
.od {
  --od-ink: #0f172a; --od-slate: #1e293b; --od-muted: #5b6678; --od-line: #e2e8f0; --od-line-2: #cbd5e1;
  --od-bg: #f8fafc; --od-tile: #f1f5f9; --od-red: #e11f26; --od-red-d: #b8141b; --od-red-soft: #fef1f1;
  --od-green: #15803d;
  display: block; color: var(--od-slate); background: var(--od-bg);
  font-family: var(--s-sans); line-height: 1.5;
}
.od-wrap { max-width: 1180px; margin: 0 auto; padding: 20px var(--site-shell-gutter, 1.25rem) 72px; }
.od-deal :where(h1, h2), .od .offer-removed :where(h1) { margin: 0; letter-spacing: -.02em; color: var(--od-ink); }
.od-deal :where(p), .od .offer-removed :where(p) { margin: 0; }
.od :focus-visible { outline: 3px solid var(--od-red); outline-offset: 2px; }
.od ::selection { background: #fcd5d7; color: var(--od-ink); }
.od-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.od .od-crumbs { font-size: 14px; color: var(--od-muted); margin: -10px 0 8px; gap: 6px; align-items: center; }
.od .od-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--od-muted); font-weight: 600; text-decoration: none; }
.od .od-crumbs a:hover { color: var(--od-ink); text-decoration: underline; text-underline-offset: 3px; }
.od .od-crumbs [aria-current] { color: var(--od-slate); }
.od-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--od-muted); text-decoration: none; }
.od-back .mh-i { transform: scaleX(-1); }
.od-back:hover { color: var(--od-ink); }

/* Buttons and text links: DESIGN.md's primary button and red text link. */
.od-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font: 700 15px/1.2 var(--s-sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.od-btn-red { background: var(--od-red); color: #fff; }
.od-btn-red:hover { background: var(--od-red-d); color: #fff; }
.od-btn-line { background: #fff; color: var(--od-ink); border-color: var(--od-line-2); }
.od-btn-line:hover { border-color: var(--od-ink); }
.od-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 700; color: var(--od-red); text-decoration: none; text-align: center; text-wrap: balance;
}
.od-link:hover { color: var(--od-red-d); text-decoration: underline; text-underline-offset: 3px; }

/* Ended: one reason, then the live alternatives below. */
.od .offer-ended-banner {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline;
  margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--od-line-2); border-radius: 14px;
  background: #fff; color: var(--od-slate); font-size: 15px;
}
.od .offer-ended-banner strong { color: var(--od-ink); font-weight: 800; }

/* Layout: one column on phones (title, notice, photo and words, shop);
   two on desktop with the notice and shop pinned on the right. */
.od-deal { display: flex; flex-direction: column; gap: 20px; }
.od-main, .od-side { display: contents; }
.od-head { order: 1; }
.od-notice { order: 2; }
.od-body { order: 3; display: flex; flex-direction: column; gap: 20px; }
.od-shop { order: 4; }
@media (min-width: 900px) {
  .od-deal { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
  .od-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
  .od-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
}

.od-head h1 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere;
}
.od-seller {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  font-size: 15px; font-weight: 600; color: var(--od-muted);
}
.od-seller a { color: var(--od-ink); font-weight: 700; text-decoration: none; }
.od-seller a:hover { text-decoration: underline; text-underline-offset: 3px; }
.od-seller-text { min-width: 0; }
.od-dot { margin: 0 4px; color: var(--od-line-2); }
.od-owned { display: inline-flex; align-items: center; gap: 4px; color: var(--od-green); white-space: nowrap; vertical-align: bottom; }
.od-av {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--od-line); background: #fff;
  object-fit: contain; display: inline-flex; align-items: center; justify-content: center;
}
.od-av.is-dark { background: var(--od-slate); }
.od-av.is-initial { background: var(--od-tile); color: var(--od-slate); font-size: 14px; font-weight: 800; }

/* The pinned notice: the section's one floating element. */
.od-notice {
  padding: 22px; border: 1px solid var(--od-line); border-radius: 18px; background: #fff;
  box-shadow: 0 24px 48px -30px rgb(15 23 42 / .35);
}
.od-value {
  font-size: 32px; font-weight: 800; line-height: 1.15; color: var(--od-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.od-value.is-price { color: var(--od-green); }
.od-value.is-long { font-size: 22px; white-space: normal; text-wrap: balance; }
.od-deal.is-ended .od-value { color: var(--od-muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.od-facts { display: grid; gap: 10px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--od-line-2); }
.od-notice > .od-facts:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.od-notice > .od-actions:first-child { margin-top: 0; }
.od-facts > div { display: flex; gap: 10px; align-items: flex-start; }
.od-facts dt { flex: none; padding-top: 2px; color: var(--od-muted); }
.od-facts dd { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--od-slate); overflow-wrap: anywhere; }
.od-facts dd a { color: var(--od-slate); text-decoration: underline; text-decoration-color: var(--od-line-2); text-underline-offset: 3px; }
.od-facts dd a:hover { color: var(--od-ink); text-decoration-color: currentColor; }
.od-notice .od-actions { display: flex; flex-direction: column; align-items: stretch; margin-top: 20px; }
.od-notice .od-actions .od-btn { width: 100%; margin-bottom: 6px; }
.od-notice .od-actions .od-link { justify-content: center; }
.od-deal.is-ended .od-notice { box-shadow: none; }

.od-photo {
  margin: 0; border-radius: 18px; overflow: hidden; background: var(--od-tile); border: 1px solid var(--od-line);
}
.od-photo img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
.od-desc { max-width: 68ch; font-size: 16.5px; line-height: 1.65; color: var(--od-slate); }
.od-desc p + p { margin-top: .8em; }

.od .tracked-action { margin: 0; }

/* Did this deal work? (offers/_feedback) */
.od .deal-feedback {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  padding: 18px 20px; border: 1px solid var(--od-line); border-radius: 18px; background: #fff;
}
.od .deal-feedback h2 { font-size: 17px; font-weight: 800; }
.od .deal-feedback-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.od .deal-feedback-actions form { display: contents; }
.od .feedback-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--od-line-2); border-radius: 12px; background: #fff; color: var(--od-ink);
  font: 700 15px/1.2 var(--s-sans); cursor: pointer; white-space: nowrap;
  transition: border-color .15s, background-color .15s;
}
.od .feedback-button:hover { border-color: var(--od-ink); background: var(--od-bg); }
.od .feedback-button.works svg { color: var(--od-green); }
.od .feedback-button.expired svg { color: var(--od-red); }
.od .feedback-button strong {
  min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--od-tile); color: var(--od-slate);
  font-size: 13px; font-weight: 700; text-align: center;
}
.od-report {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14px; font-weight: 600; color: var(--od-muted); text-decoration: none;
}
.od-report:hover { color: var(--od-ink); text-decoration: underline; text-underline-offset: 3px; }

/* About the shop: quiet and flat beneath the notice. */
.od-shop { padding: 18px 22px; border: 1px solid var(--od-line); border-radius: 18px; background: #fff; }
.od-shop h2 { font-size: 14px; font-weight: 700; color: var(--od-muted); letter-spacing: 0; }
.od-shop-name { margin-top: 6px; }
.od-shop-name a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 800; color: var(--od-ink); text-decoration: none; }
.od-shop-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.od-shop-name span { display: block; margin-top: -6px; font-size: 14.5px; color: var(--od-muted); }
.od-shop-links { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--od-line-2); }
.od-shop-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--od-red); text-decoration: none; overflow-wrap: anywhere; }
.od-shop-links a:hover { color: var(--od-red-d); text-decoration: underline; text-underline-offset: 3px; }

/* Soft 404 */
.od .offer-removed { text-align: center; padding: 40px 0 8px; }
.od .offer-removed h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.12; }
.od .offer-removed-lede { max-width: 34rem; margin: 12px auto 24px; font-size: 17px; line-height: 1.6; color: var(--od-slate); }
.od .offer-removed .od-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.od .offer-related { margin-top: 56px; }

@media (prefers-reduced-motion: reduce) {
  .od *, .od *::before, .od *::after { transition: none !important; }
}

/* =====================================================================
   Shop page (shops/show): the shop's notice board. A compact head, then
   its live deals grouped by when they're on; contact and hours pin to
   the right on desktop. Builds on the `.od` tokens and buttons above.
   Some old `.shop-*` class names stay for tests and topic pages, so the
   rules here reset what those older rules would otherwise bring in.
   ===================================================================== */
.sb :where(h1, h2, h3, p, ul, dl, dd) { margin: 0; }
.sb :where(h1, h2, h3) { color: var(--od-ink); letter-spacing: -.01em; }

.sb-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.sb-logo {
  flex: none; position: relative; width: 64px; height: 64px; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center; background: var(--od-tile); border: 1px solid var(--od-line);
}
.sb-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.sb-logo.is-dark img { background: var(--od-slate); }
.sb-logo.is-photo img { object-fit: cover; padding: 0; }
.sb-logo-ph { font-size: 22px; font-weight: 800; color: var(--od-slate); }
.sb-head-text { min-width: 0; }
.sb-head h1 {
  font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  text-wrap: balance; overflow-wrap: anywhere;
}
.sb-line { display: flex; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--od-muted); }
.sb-line .od-dot { margin: 0 7px; }
.sb .shop-rating { color: var(--od-muted); font-weight: 600; }

.sb .sb-intro { max-width: 68ch; margin-bottom: 18px; font-size: 16.5px; line-height: 1.6; color: var(--od-slate); overflow-wrap: anywhere; }
.sb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }

/* Layout: on phones the details card sits between the deals and the rest. */
.sb-layout { display: flex; flex-direction: column; gap: 32px; }
.sb-main { display: contents; }
.sb-deals { order: 1; }
.sb-side { order: 2; }
.sb-about { order: 3; }
.sb-catalog { order: 4; }
@media (min-width: 900px) {
  .sb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
  .sb-main { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
  .sb-side { position: sticky; top: 88px; }
}

.sb-deals > h2, .sb .sb-about h2, .sb-catalog h2, .sb .sb-claim h2 { font-size: 22px; font-weight: 800; line-height: 1.2; }
.sb-deals > h2 { margin-bottom: 14px; }
.sb-group + .sb-group { margin-top: 26px; }
.sb-group h3 { margin-bottom: 10px; font-size: 16px; font-weight: 800; color: var(--od-slate); }
.sb-quiet { font-weight: 600; color: var(--od-muted); }

/* One deal: the row is the link (the title's ::after covers it). */
.sb-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0; list-style: none; }
.sb-deal {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 12px;
  border: 1px solid var(--od-line); border-radius: 14px; background: #fff;
  transition: border-color .15s;
}
.sb-deal:hover { border-color: var(--od-line-2); }
.sb-deal:has(:focus-visible) { outline: 3px solid var(--od-red); outline-offset: 2px; }
.sb .sb-deal-link:focus-visible { outline: none; }
.sb-deal-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sb-deal-img {
  flex: none; position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; background: var(--od-tile); color: var(--od-muted);
}
.sb-deal-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-deal-img.is-logo { background: #fff; border: 1px solid var(--od-line); }
.sb-deal-img.is-logo img { object-fit: contain; padding: 8px; }
.sb-deal-img.is-logo.is-dark { background: var(--od-slate); }
.sb-deal-img:not(.is-blank) .sb-deal-ph { display: none; }
.sb-deal-body { flex: 1; min-width: 0; }
.sb-deal-title {
  font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sb-deal-link { color: var(--od-ink); text-decoration: none; }
.sb-deal:hover .sb-deal-link { text-decoration: underline; text-underline-offset: 3px; }
.sb-deal-value {
  margin-top: 3px; font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--od-slate);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-deal-value.is-price { color: var(--od-green); }
.sb-deal-meta { display: flex; flex-wrap: wrap; margin-top: 2px; font-size: 14px; color: var(--od-muted); }
.sb-deal-meta span + span::before { content: "·"; margin: 0 7px; color: var(--od-line-2); }

.sb-more { margin-top: 10px; }
.sb-more > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; list-style: none; cursor: pointer;
  font-weight: 700; color: var(--od-red);
}
.sb-more > summary::-webkit-details-marker { display: none; }
.sb-more > summary:hover { color: var(--od-red-d); text-decoration: underline; text-underline-offset: 3px; }
.sb-more[open] > summary { display: none; }

.sb .sb-empty {
  margin-bottom: 26px; padding: 20px; text-align: left; font-size: 16px; line-height: 1.6;
  color: var(--od-slate); background: #fff; border: 1px solid var(--od-line); border-radius: 14px;
}
.sb .sb-empty a { color: var(--od-red); }
.sb .sb-empty p + p { margin-top: 4px; }

/* Visit card: contact, today's hours (full week on demand), busy times. */
.sb-card { padding: 20px 22px; border: 1px solid var(--od-line); border-radius: 18px; background: #fff; }
.sb-card h2 { font-size: 18px; font-weight: 800; }
.sb-card > .sb-facts { gap: 0; margin-top: 8px; padding-top: 0; border-top: 0; }
.sb-facts > div { align-items: center; }
.sb-facts dd a { display: inline-flex; align-items: center; min-height: 44px; }
.sb-at { display: inline-block; width: 18px; text-align: center; font-weight: 800; }
.sb .sb-hours {
  position: static; margin-top: 8px; padding: 6px 0 0; border: 0; border-top: 1px dashed var(--od-line-2);
  background: none; box-shadow: none;
}
.sb-hours > summary {
  display: flex; align-items: center; gap: 10px; min-height: 44px; list-style: none; cursor: pointer;
  font-size: 15.5px; font-weight: 600; color: var(--od-slate);
}
.sb-hours > summary::-webkit-details-marker { display: none; }
.sb-hours > summary .mh-i { color: var(--od-muted); }
.sb-hours b { font-weight: 800; color: var(--od-ink); }
.sb-hours-toggle { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--od-red); white-space: nowrap; }
.sb-hours > summary:hover .sb-hours-toggle { text-decoration: underline; text-underline-offset: 3px; }
.sb-hours[open] .sb-hours-toggle { color: var(--od-muted); }
.sb .sb-hours table { width: 100%; margin: 2px 0 6px; border-collapse: collapse; font-size: 15px; }
.sb .sb-hours tr + tr { border-top: 1px solid var(--od-tile); }
.sb .sb-hours th { width: auto; padding: 7px 8px 7px 0; text-align: left; font-weight: 600; color: var(--od-slate); }
.sb .sb-hours td { padding: 7px 0; text-align: right; color: var(--od-slate); font-variant-numeric: tabular-nums; }
.sb .sb-hours tr.is-today :where(th, td) { font-weight: 800; color: var(--od-ink); }
.sb-peak { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--od-line-2); font-size: 15px; color: var(--od-muted); }

/* About and catalogue: plain sections, neutral chips, long words wrap. */
.sb .sb-about { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.sb .shop-consumer-summary-copy { max-width: 68ch; margin-top: 10px; font-size: 16.5px; line-height: 1.65; color: var(--od-slate); overflow-wrap: anywhere; }
.sb .sb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.sb .sb-chips li {
  padding: 6px 12px; border: 1px solid var(--od-line-2); border-radius: 999px; background: #fff;
  color: var(--od-slate); font-size: 14px; font-weight: 600; overflow-wrap: anywhere;
}
.sb .shop-consumer-summary-link { margin-top: 6px; }

.sb-catalog-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.sb-catalog-head .od-link { gap: 6px; }
.sb-catalog h3 { margin: 18px 0 10px; font-size: 16px; font-weight: 800; color: var(--od-slate); }
.sb-catalog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; padding: 0; list-style: none; }
.sb .shop-catalog-item { gap: 12px; padding: 12px 14px; border-color: var(--od-line); border-radius: 12px; }
.sb .shop-catalog-item strong { font-size: 15.5px; color: var(--od-ink); overflow-wrap: anywhere; }
.sb .shop-catalog-item p { margin-top: 3px; font-size: 14.5px; color: var(--od-muted); line-height: 1.45; overflow-wrap: anywhere; }
.sb .shop-catalog-item > span { font-size: 15px; font-weight: 800; color: var(--od-green); }

/* For owners: quiet and flat, after the shopper's content. */
.sb .sb-claim {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin: 48px 0 0; padding: 22px; background: #fff; border: 1px solid var(--od-line); border-radius: 18px;
}
.sb-claim-copy { flex: 1 1 26rem; min-width: 0; }
.sb .sb-claim h2 { font-size: 18px; }
.sb .sb-claim p:not(.shop-section-kicker) { max-width: 68ch; margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--od-slate); }
.sb .shop-owner-claim-badge {
  margin-right: 6px; padding: 2px 8px; border-radius: 999px; vertical-align: 1px;
  background: var(--od-tile); color: var(--od-ink); font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: none;
}
.sb-claim-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.sb .shop-owner-claim-link { gap: 6px; font-size: 15px; font-weight: 700; color: var(--od-red); }

/* Email capture: flat white, DESIGN's red button, 16px field (no iOS zoom). */
:is(.sb, .bx) .inline-subscribe { margin: 24px 0 0; padding: 22px; background: #fff; border: 1px solid var(--od-line); border-radius: 18px; }
:is(.sb, .bx) .inline-subscribe-copy h2 { font-size: 18px; color: var(--od-ink); }
:is(.sb, .bx) .inline-subscribe-copy p { font-size: 15px; color: var(--od-muted); }
:is(.sb, .bx) .inline-subscribe-form :is(input[type="email"], select) { min-height: 46px; font-size: 16px; border-color: var(--od-line-2); }
:is(.sb, .bx) .inline-subscribe-form :is(input[type="email"], select):focus { border-color: var(--od-ink); box-shadow: none; outline: 3px solid var(--od-red); outline-offset: 2px; }
:is(.sb, .bx) .inline-subscribe-form .btn {
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px; box-shadow: none;
  background: var(--od-red); color: #fff; font: 700 15px/1.2 var(--s-sans);
}
:is(.sb, .bx) .inline-subscribe-form .btn:hover { background: var(--od-red-d); }

@media (max-width: 599px) {
  .sb-head { align-items: flex-start; }
  .sb-actions .od-btn { flex: 1 1 auto; }
  .sb-card, .sb .sb-claim, .sb .inline-subscribe { padding: 18px; }
}

/* =====================================================================
   City browse (browse/index): /on/:city plus its category, kind, time and
   search pages. A compact head and search, then the live deals as the
   home page's cards, then the town's business directory, sign-up, FAQ and
   nearby towns. Builds on `.od`; the home card reads `--mh-*`, so those
   tokens are mapped here. Old `.city-*`/`.browse-*` class names stay for
   tests and `browse/city_shops`, so the rules below reset their look.
   ===================================================================== */
.bx {
  --mh-ink: var(--od-ink); --mh-slate: var(--od-slate); --mh-muted: var(--od-muted); --mh-line: var(--od-line);
  --mh-tile: var(--od-tile); --mh-green: var(--od-green); --mh-red: var(--od-red);
  --bx-gutter: var(--site-shell-gutter, 1.25rem);
}
.bx :where(h1, h2, h3, h4, p, ul) { margin: 0; }
.bx :where(h1, h2, h3, h4) { color: var(--od-ink); letter-spacing: -.015em; }
.bx :where(ul[role="list"]) { padding: 0; list-style: none; }

.bx-head h1 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; text-wrap: balance; }
.bx-line { display: flex; flex-wrap: wrap; gap: 2px 0; margin-top: 8px !important; font-size: 15.5px; color: var(--od-muted); }
.bx-line > span + span::before { content: "·"; margin: 0 9px; color: var(--od-line-2); }
.bx-line strong { color: var(--od-ink); font-weight: 800; }
.bx-sub { max-width: 66ch; margin-top: 8px !important; font-size: 16px; color: var(--od-muted); }

.bx .town-context { margin: 18px 0 0; padding: 18px 20px; background: #fff; border: 1px solid var(--od-line); border-radius: 16px; }
.bx .town-context h2 { margin: 0 0 4px; font-size: 18px; }
.bx .town-context p:last-child { max-width: 70ch; color: var(--od-muted); font-size: 15.5px; }

.bx .bx-search {
  display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 20px 0 0; padding: 4px 4px 4px 14px;
  background: #fff; border: 1px solid var(--od-line-2); border-radius: 14px;
}
.bx .bx-search:focus-within { border-color: var(--od-ink); outline: 3px solid var(--od-red); outline-offset: 2px; }
.bx .bx-search .mh-i { color: var(--od-muted); }
.bx .bx-search input[type=search] {
  flex: 1; min-width: 0; min-height: 46px; padding: 0; border: 0; border-radius: 0; box-shadow: none;
  background: transparent; font-size: 16px; color: var(--od-ink);
}
.bx .bx-search input[type=search]:focus { outline: none; box-shadow: none; }
.bx .bx-search .od-btn { flex: none; }

.bx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.bx-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  background: #fff; border: 1px solid var(--od-line-2); border-radius: 999px;
  font: 600 14.5px/1.2 var(--s-sans); color: var(--od-slate); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.bx-chip:hover { border-color: var(--od-ink); color: var(--od-ink); }
.bx-chip.is-active { background: var(--od-ink); border-color: var(--od-ink); color: #fff; }
.bx .nearby-town-distance { color: var(--od-muted); font-size: 13px; font-weight: 500; }

.bx-deals { margin-top: 32px; }
.bx-deals-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.bx-deals-head h2 { font-size: 22px; font-weight: 800; }
.bx-count { font-size: 14.5px; color: var(--od-muted); }
.bx-count strong { color: var(--od-ink); }
.bx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 14px !important; }
.bx-grid > li { display: flex; min-width: 0; }
.bx-grid .mh-card { flex: 1; color: var(--od-ink); }
.bx-grid .mh-card-title { color: var(--od-ink); }
.bx .bx-pages { margin: 28px 0 0; }
.bx .bx-pages .pagy { gap: 6px; font-size: 15px; }
.bx .bx-pages .pagy a { min-width: 44px; min-height: 44px; padding: 0 14px; border-color: var(--od-line-2); background: #fff; color: var(--od-ink); }
.bx .bx-pages .pagy a:hover { border-color: var(--od-ink); }
.bx .bx-pages .pagy a.current { background: var(--od-ink); border-color: var(--od-ink); color: #fff; }
.bx .bx-empty { margin-top: 14px; padding: 24px; text-align: left; background: #fff; border: 1px solid var(--od-line); border-radius: 16px; font-size: 16px; color: var(--od-muted); }
.bx .bx-empty .od-link, .bx .browse-related-more .od-link { color: var(--od-red); font-weight: 700; }
.bx .bx-empty .od-link:hover, .bx .browse-related-more .od-link:hover { color: var(--od-red-d); }
.bx .bx-intro { max-width: 68ch; margin-top: 24px; font-size: 15.5px; line-height: 1.6; color: var(--od-muted); }

/* Sections below the deals share one rhythm and one heading size. */
.bx .bx-sec { margin-top: 56px; padding-top: 0; border-top: 0; max-width: none; }
.bx .bx-sec > h2, .bx .bx-sec-head h2 { font-size: 22px; font-weight: 800; color: var(--od-ink); text-transform: none; letter-spacing: -.015em; margin: 0; }
.bx-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.bx-quiet { font-size: 14.5px; color: var(--od-muted); }
.bx-sec-sub { max-width: 66ch; margin-top: 4px !important; font-size: 15.5px; color: var(--od-muted); }
.bx .bx-sec > .bx-chips { margin-top: 12px; }

.bx .bx-shops { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.bx .city-business-card { gap: 12px; padding: 12px 14px; border-color: var(--od-line); border-radius: 14px; transition: border-color .15s; }
.bx .city-business-card:hover { border-color: var(--od-ink); transform: none; box-shadow: none; }
.bx .city-business-mark { border-color: var(--od-line); background: var(--od-tile); }
.bx .city-business-mark.logo-dark { background: var(--od-slate); border-color: var(--od-slate); }
.bx .city-business-kind { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--od-muted); }
.bx .city-business-name { font-size: 16px; color: var(--od-ink); }
.bx .city-business-meta { font-size: 13.5px; color: var(--od-slate); }
.bx .city-business-rating { color: var(--od-slate); font-weight: 600; }
.bx .city-business-reviews, .bx .city-business-hours-detail, .bx .city-business-hours.is-closed, .bx .city-business-address { color: var(--od-muted); }
.bx .city-business-hours.is-open { color: var(--od-green); }
.bx .city-business-address { font-size: 13.5px; }
.bx .city-business-deal { font-size: 13.5px; color: var(--od-green); }
.bx .city-business-chevron { opacity: .6; color: var(--od-muted); }
.bx .city-business-chevron .mh-i { display: block; }
.bx .city-business-card:hover .city-business-chevron { opacity: 1; color: var(--od-ink); }
.bx .bx-rest { margin-top: 12px; }
.bx .bx-rest > summary { padding: 0 18px; border-color: var(--od-line-2); border-radius: 12px; font-size: 15px; font-weight: 700; color: var(--od-ink); }
.bx .bx-rest > summary::after { content: none; }
.bx .bx-rest > summary:hover { border-color: var(--od-ink); color: var(--od-ink); }
.bx .bx-rest[open] > summary { margin-bottom: 0; }
.bx-filter-empty { margin-top: 12px !important; }
.bx-more { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; margin-top: 12px !important; }
.bx-more .od-link, .bx .browse-related-more .od-link { gap: 6px; }
.bx-guides { margin-top: 32px; }
.bx-guides h3 { font-size: 17px; font-weight: 700; }
.bx-guides .bx-chips { margin-top: 10px; }

.bx .inline-subscribe { margin-top: 56px; }
.bx .browse-faq { max-width: none; }
.bx-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 12px; }
.bx-faq-item { padding: 18px 0; border-top: 1px solid var(--od-line); }
.bx-faq-item h3 { margin-bottom: 6px !important; font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.bx-faq-item p { max-width: 64ch; font-size: 15.5px; line-height: 1.6; color: var(--od-muted); }
.bx .browse-related-more { margin-top: 8px; font-size: 15px; }

/* Search / all-deals results (offers#index): type and time rows sit side
   by side on desktop, a List/Map segmented toggle, and the map panel. */
.bx-filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }
.bx-filter-row > .bx-chips { margin-top: 8px; }
.bx-toggle { display: inline-flex; padding: 2px; gap: 2px; background: #fff; border: 1px solid var(--od-line-2); border-radius: 12px; }
.bx-toggle button {
  min-width: 64px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--od-slate); cursor: pointer;
}
.bx-toggle button:hover { color: var(--od-ink); }
.bx-toggle button.is-active { background: var(--od-ink); color: #fff; }
.bx-toggle button:focus-visible { outline: 3px solid var(--od-red); outline-offset: 2px; }
.bx .bx-deals-head:has(.bx-toggle) { align-items: center; }
.bx .bx-map { margin-top: 14px; border: 1px solid var(--od-line); border-radius: 16px; }
.bx .bx-map .deals-map { height: min(66vh, 560px); }
.bx .bx-map .map-attribution { font-size: 13px; color: var(--od-muted); border-top-color: var(--od-line); }
.bx .bx-empty > p + p { margin-top: 8px; }
.bx-try { margin-top: 16px !important; font-size: 15px; }
.bx-empty .bx-chips { margin-top: 8px; }
.bx-biz .bx-more { margin-top: 16px !important; }
.bx > .od-wrap > .city-directory { margin-top: 0; padding-top: 0; border-top: 0; }
.bx-head .bx-more { margin-top: 10px !important; }

/* Topic pages and weekly guides: editor's notes, venue rows, guide cards. */
.bx .bx-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 40px 0 0; }
.bx .bx-notes article { padding: 16px 18px; background: #fff; border: 1px solid var(--od-line); border-radius: 14px; box-shadow: none; }
.bx .bx-notes h2 { margin-bottom: 4px; font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.bx .bx-notes p { font-size: 15px; line-height: 1.55; color: var(--od-muted); }

.bx .bx-venues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; }
.bx .topic-venue-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px; background: #fff; border: 1px solid var(--od-line); border-radius: 16px;
}
.bx-venue-mark {
  display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden;
  background: var(--od-tile); border: 1px solid var(--od-line); border-radius: 12px;
  font-size: 22px; font-weight: 800; color: var(--od-slate);
}
.bx-venue-mark.logo-dark { background: var(--od-slate); border-color: var(--od-slate); }
.bx-venue-mark img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.bx-venue-kind { font-size: 13.5px; font-weight: 600; color: var(--od-muted); }
.bx-venue-name { font-size: 18px; font-weight: 800; line-height: 1.25; }
.bx-venue-name a { display: inline-block; padding-block: 11px; margin-block: -11px; color: var(--od-ink); text-decoration: none; }
.bx-venue-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bx-venue-facts { display: flex; flex-wrap: wrap; margin-top: 4px !important; font-size: 14.5px; color: var(--od-slate); }
.bx-venue-facts > span + span::before { content: "·"; margin: 0 8px; color: var(--od-line-2); }
.bx-venue-facts .is-today { color: var(--od-green); font-weight: 600; }
.bx-venue-facts .is-closed { color: var(--od-muted); }
.bx-venue-address { margin-top: 2px !important; font-size: 14px; color: var(--od-muted); }
.bx-venue-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bx-venue-actions .od-btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.bx .topic-venue-hours { margin-top: 10px; border: 0; padding: 0; background: none; }
.bx .topic-venue-hours summary {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--od-ink);
}
.bx .topic-venue-hours table { width: 100%; max-width: 320px; border-collapse: collapse; font-size: 14.5px; }
.bx .topic-venue-hours th { width: 4.5em; padding: 3px 0; text-align: left; font-weight: 600; color: var(--od-slate); text-transform: none; letter-spacing: 0; }
.bx .topic-venue-hours td { padding: 3px 0; color: var(--od-muted); }
.bx .topic-venue-hours tr.is-today th, .bx .topic-venue-hours tr.is-today td { color: var(--od-ink); font-weight: 700; }

.bx-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px 32px; margin-top: 8px; }
.bx-related h3 { font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--od-ink); }
.bx-related .bx-chips { margin-top: 8px; }

.bx .guide-group { margin-bottom: 0; }
.bx .guide-group > h2 { margin: 0; }
.bx-guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px !important; padding: 0; list-style: none; }
.bx-guide-cards > li { display: flex; min-width: 0; }
.bx .guide-card {
  flex: 1; padding: 16px 18px; background: #fff; border: 1px solid var(--od-line); border-radius: 14px;
  box-shadow: none; color: var(--od-ink); transition: border-color .15s;
}
.bx .guide-card:hover { border-color: var(--od-ink); box-shadow: none; transform: none; }
.bx .guide-card h3 { margin-bottom: 6px; font-size: 16.5px; font-weight: 700; line-height: 1.3; color: var(--od-ink); }
.bx .guide-card-meta { gap: 0; font-size: 14px; color: var(--od-muted); }
.bx .guide-card-meta > span + span::before { content: "·"; margin: 0 8px; color: var(--od-line-2); }

.bx .editorial-day { margin: 40px 0 0; }
.bx .day-header { display: block; margin: 0; padding: 0; border: 0; font-size: 22px; }

@media (max-width: 980px) {
  .bx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx .bx-shops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx .bx-notes, .bx .bx-venues { grid-template-columns: minmax(0, 1fr); }
  .bx-guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bx-head h1 { font-size: 26px; }
  .bx .bx-search .od-btn { padding: 0 14px; }
  .bx-grid, .bx .bx-shops { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bx .city-business-chevron { display: none; }
  .bx .city-business-card { grid-template-columns: 3.25rem minmax(0, 1fr); }
  /* Chip rows scroll sideways on phones instead of stacking four lines deep. */
  .bx-chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--bx-gutter)); padding: 6px var(--bx-gutter); scroll-padding-inline: var(--bx-gutter);
  }
  .bx-chips::-webkit-scrollbar { display: none; }
  .bx-chips > li { flex: none; }
  .bx .bx-sec { margin-top: 44px; }
  .bx .inline-subscribe { margin-top: 44px; padding: 18px; }
  .bx-faq { grid-template-columns: minmax(0, 1fr); }
  .bx-filter-row { display: block; }
  .bx-guide-cards { grid-template-columns: minmax(0, 1fr); }
  .bx .topic-venue-card { grid-template-columns: 44px minmax(0, 1fr); padding: 14px; gap: 12px; }
  .bx-venue-mark { width: 44px; height: 44px; font-size: 18px; }
  .bx .editorial-day { margin-top: 32px; }
  .bx-filter-row > .bx-chips { margin-top: 2px; }
}
/* Weekly posters + student deals (posters/*, student_deals/show) */
.bx .bx-head .share-row { margin-top: 18px; gap: 8px; }
.bx .share-label { font-size: 15px; font-weight: 600; color: var(--od-muted); text-transform: none; letter-spacing: 0; margin-right: 4px; }
.bx .share-btn {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--od-line-2); border-radius: 999px;
  background: #fff; color: var(--od-ink); font-size: 15px; font-weight: 600;
}
.bx .share-btn:hover { border-color: var(--od-ink); color: var(--od-ink); }
.bx .weekly-section-title { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.bx .bx-deals + .bx-deals { margin-top: 40px; }
.bx-ranked { counter-reset: bx-rank; padding: 0; list-style: none; }
.bx-ranked > li { position: relative; counter-increment: bx-rank; }
.bx-ranked > li::before {
  content: counter(bx-rank); position: absolute; z-index: 2; top: 10px; left: 10px;
  display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px;
  background: var(--od-ink); color: #fff; font-size: 14px; font-weight: 800; pointer-events: none;
}
.bx-sec-first { margin-top: 28px !important; }

/* Cities & towns directory (cities/index) */
.bx .market-group .bx-sec-sub { max-width: 68ch; }
.bx-towns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px !important; padding: 0; list-style: none; }
.bx-towns > li { display: flex; min-width: 0; }
.bx .market-city-card {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px;
  padding: 12px 16px; background: #fff; border: 1px solid var(--od-line); border-radius: 12px;
  box-shadow: none; color: var(--od-ink); text-decoration: none; transition: border-color .15s;
}
.bx .market-city-card:hover { border-color: var(--od-ink); transform: none; box-shadow: none; }
.bx .market-city-name { font-size: 16.5px; font-weight: 700; line-height: 1.25; }
.bx .market-city-meta { font-size: 14px; color: var(--od-muted); }
.bx .market-city-meta .is-live { color: var(--od-green); font-weight: 600; }
.bx-fold { margin-top: 12px; }
.bx-fold > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--od-ink);
}
.bx-fold > summary span { font-weight: 500; color: var(--od-muted); }
.bx-fold > .bx-chips { margin-top: 6px; }
.bx-chip-n { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--od-muted); }
@media (max-width: 980px) {
  .bx-towns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bx-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  /* One card per city reads as a wall at 60+ cities; two short columns scan faster. */
  .bx-guide-cards.bx-city-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bx-city-cards .guide-card { padding: 12px 14px; }
  .bx-city-cards .guide-card h3 { font-size: 15.5px; }
  .bx .market-city-card { padding: 10px 12px; }
  /* Folded town lists wrap: they are the whole point of opening the fold. */
  .bx-fold > .bx-chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bx *, .bx *::before, .bx *::after { transition: none !important; }
  .bx .mh-card:hover { transform: none; }
}

/* =====================================================================
   Form and utility pages (.od.fx): deal-alert sign-up and its status
   pages, sign-in, password reset, /manage and /about. Same tokens and
   buttons as the offer page; one white card holds the form, labels are
   sentence case, every control is at least 44px and inputs are 16px so
   phones don't zoom. Old root classes (.auth-page, .content-page,
   .sub-status) stay as test hooks and are neutralised here.
   ===================================================================== */
.od.fx { min-height: 0; padding: 0; background: var(--od-bg); text-align: left; max-width: none; margin: 0; }
.fx :where(h1, h2, h3, p, ol, ul) { margin: 0; }
.fx :where(h1, h2, h3) { color: var(--od-ink); letter-spacing: -.015em; }
.fx :where(ul[role="list"], ol[role="list"]) { padding: 0; list-style: none; }
.fx .od-wrap { padding-top: 32px; }
.fx-narrow { max-width: 560px !important; }
.fx-prose { max-width: 720px !important; }

.fx-head h1 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; text-wrap: balance; }
.fx-sub { max-width: 60ch; margin-top: 10px !important; font-size: 17px; line-height: 1.55; color: var(--od-muted); }
.fx-sub strong { color: var(--od-ink); }
.fx-note { margin-top: 12px !important; font-size: 15px; line-height: 1.5; color: var(--od-muted); }
.fx-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px !important; }

/* Pitch beside the form on desktop; stacked, form second, on phones. */
.fx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: start; }
.fx-list { display: grid; gap: 12px; margin-top: 24px !important; }
.fx-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--od-slate); }
.fx-list .mh-i { flex: none; margin-top: 3px; color: var(--od-green); }
.fx .fx-proof { margin-top: 24px; padding: 14px 16px; background: #fff; border: 1px solid var(--od-line); border-radius: 14px; font-size: 15.5px; color: var(--od-muted); }
.fx .fx-proof strong { color: var(--od-ink); font-weight: 800; }

/* The form card. */
.fx-card { background: #fff; border: 1px solid var(--od-line); border-radius: 16px; padding: 24px; box-shadow: none; }
.fx-card > h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px !important; }
.fx-head + .fx-card { margin-top: 24px; }
.fx .fx-form { display: grid; gap: 16px; }
.fx-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fx-field { display: grid; gap: 6px; min-width: 0; }
.fx .fx-field label { margin: 0; font-size: 15px; font-weight: 600; color: var(--od-ink); text-transform: none; letter-spacing: 0; }
.fx-optional { font-weight: 500; color: var(--od-muted); }
.fx .fx-field :is(input:not([type=checkbox]):not([type=hidden]), select, textarea) {
  width: 100%; min-height: 48px; padding: 10px 14px; margin: 0;
  font: 400 16px/1.4 var(--s-sans); color: var(--od-ink);
  background: #fff; border: 1px solid var(--od-line-2); border-radius: 12px; box-shadow: none;
}
.fx .fx-field textarea { min-height: 104px; resize: vertical; }
.fx .fx-field :is(input, select, textarea):focus { outline: 3px solid var(--od-red); outline-offset: 1px; border-color: var(--od-ink); box-shadow: none; }
.fx .fx-field ::placeholder { color: #8a94a6; }
.fx-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15.5px; color: var(--od-slate); cursor: pointer; }
.fx .fx-check input[type=checkbox] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--od-red); }
.fx .fx-check-card { align-items: flex-start; padding: 14px 16px; background: var(--od-bg); border: 1px solid var(--od-line); border-radius: 12px; }
.fx .fx-check-card input[type=checkbox] { margin-top: 2px; }
.fx .fx-check-card:has(input:checked) { background: var(--od-red-soft); border-color: var(--od-red); }
.fx .fx-check-card strong, .fx .fx-check-card small { display: block; }
.fx .fx-check-card strong { font-size: 15.5px; color: var(--od-ink); }
.fx .fx-check-card small { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--od-muted); }
.fx .fx-submit { width: 100%; min-height: 48px; font-size: 16px; }
.fx .fx-error { margin: 0; padding: 12px 14px; border: 1px solid #fecaca; border-radius: 12px; background: var(--od-red-soft); color: #9f1239; font-size: 15px; }
.fx .fx-error p { margin: 0; }
.fx-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 8px !important; }
.fx-links:empty { display: none; }

/* Google sign-in, then a quiet divider before the email form. */
.fx .fx-oauth { margin: 0; }
.fx .fx-google { gap: 10px; }
.fx-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 !important; font-size: 14.5px; color: var(--od-muted); }
.fx-or::before, .fx-or::after { content: ""; flex: 1; height: 1px; background: var(--od-line); }

/* /manage: who you're claiming, and the three steps. */
.fx .fx-context {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px;
  padding: 12px 16px; background: var(--od-bg); border: 1px solid var(--od-line); border-radius: 12px;
}
.fx .fx-context > div { min-width: 0; }
.fx .fx-context :is(strong, span) { display: block; }
.fx .fx-context strong { font-size: 16px; color: var(--od-ink); overflow-wrap: anywhere; }
.fx .fx-context span { font-size: 14.5px; color: var(--od-muted); }
.fx .fx-context .fx-context-label { font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--od-muted); }
.fx .fx-context .od-link { flex: none; }
.fx-steps { display: grid; gap: 18px; margin-top: 28px !important; }
.fx-steps li { display: flex; gap: 14px; align-items: flex-start; }
.fx-step-n {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--od-ink); color: #fff; font-weight: 800; font-size: 15px;
}
.fx-steps strong { display: block; font-size: 16.5px; color: var(--od-ink); }
.fx-steps p { margin-top: 2px !important; font-size: 15.5px; line-height: 1.5; color: var(--od-muted); max-width: 52ch; }

/* Status pages: a mark, the message, the next step. Left-aligned. */
.fx-mark {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px;
  border-radius: 14px; background: #fff; border: 1px solid var(--od-line); color: var(--od-ink);
}
.fx-mark.is-ok { background: #ecfdf3; border-color: #bbf7d0; color: var(--od-green); }
.fx-narrow > h1 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; font-weight: 800; }

/* Example deals: plain rows, not cards. */
.fx-sec { margin-top: 56px; }
.fx-sec > h2 { font-size: 22px; font-weight: 800; }
.fx-samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; margin-top: 14px !important; }
.fx-sample {
  display: grid; gap: 4px; height: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--od-line);
  border-radius: 14px; color: var(--od-slate); text-decoration: none; transition: border-color .15s;
}
.fx-sample:hover { border-color: var(--od-ink); }
.fx-sample-kind { font-size: 14px; font-weight: 600; color: var(--od-muted); }
.fx-sample-title { font-size: 16.5px; font-weight: 800; line-height: 1.3; color: var(--od-ink); }
.fx-sample:hover .fx-sample-title { text-decoration: underline; text-underline-offset: 3px; }
.fx-sample-meta { font-size: 15px; color: var(--od-muted); }
.fx-sample-meta strong { color: var(--od-red); }

/* /about: one reading column. */
.fx-prose .fx-founder { margin-top: 24px !important; padding-left: 16px; border-left: 3px solid var(--od-red); font-size: 17px; line-height: 1.6; color: var(--od-slate); }
.fx-prose > section { margin-top: 36px; }
.fx-prose > section > h2 { font-size: 21px; font-weight: 800; }
.fx-prose > section > p { margin-top: 8px !important; font-size: 17px; line-height: 1.65; color: var(--od-slate); max-width: 65ch; }
.fx-prose > section > p a { color: var(--od-red); font-weight: 700; }
.fx-prose > .fx-cta { margin-top: 48px; }
.fx-prose > .fx-cta > h2 { margin: 0 !important; }

@media (max-width: 860px) {
  .fx-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fx-list, .fx-steps { margin-top: 18px !important; }
}
@media (max-width: 640px) {
  .fx .od-wrap { padding-top: 20px; }
  .fx-head h1, .fx-narrow > h1 { font-size: 27px; }
  .fx-sub { font-size: 16px; }
  .fx-card { padding: 18px; }
  .fx-row { grid-template-columns: minmax(0, 1fr); }
  .fx-actions .od-btn { flex: 1 1 100%; }
  .fx-sec { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx *, .fx *::before, .fx *::after { transition: none !important; }
}

/* QR landing (/d/:id) on the offer layout: review state and the way on. */
.od .status-banner { text-align: left; font-size: 15px; }
.od .status-banner.status-draft { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.od .status-banner.status-draft strong { color: #78350f; }
.od-more-deals { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 40px !important; }

/* /explore: DESIGN.md floor on the fullscreen map. Every control is at least
   44px, labels are sentence case, and no text drops below 13px. The map
   explorer only renders here, so these sit on top of its own rules. */
.explore-page .map-filter { min-height: 44px; padding: 4px 14px 4px 6px; font-size: 14.5px; }
.explore-page .map-filter-icon { width: 30px; height: 30px; font-size: 14px; }
.explore-page .map-filter small { min-width: 22px; font-size: 13px; }
.explore-page .map-back-button { width: 44px; height: 44px; }
.explore-page .map-deck-arrow { width: 44px; height: 44px; }
.explore-page .map-reset-button,
.explore-page .map-location-button { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.explore-page .map-location-close { width: 44px; height: 44px; top: 4px; right: 4px; }
.explore-page .map-location-skip { min-height: 44px; padding: 8px 14px; font-size: 14.5px; }
.explore-page .map-location-primary,
.explore-page .map-location-secondary,
.explore-page .map-postal-form button,
.explore-page .map-postal-form input { min-height: 44px; font-size: 15px; }
.explore-page .map-location-copy > p:last-child { font-size: 14.5px; }
.explore-page :is(.map-location-eyebrow, .map-owner-banner-kicker, .map-card-label, .map-detail-label) {
  text-transform: none; letter-spacing: 0; font-weight: 700;
}
.explore-page .map-location-eyebrow,
.explore-page .map-owner-banner-kicker { font-size: 13.5px; }
.explore-page .map-owner-banner { padding-right: 48px; }
.explore-page .map-owner-banner-close { width: 44px; height: 44px; top: 0; right: 0; }
.explore-page .map-owner-banner-cta { min-height: 44px; font-size: 14.5px; }
.explore-page .map-card-label { font-size: 13px; }
.explore-page .map-card h3 { font-size: 16px; }
.explore-page .map-card-shop { font-size: 14px; }
.explore-page .map-card-description { font-size: 14px; }
.explore-page .map-card-footer { font-size: 13.5px; }
.explore-page .map-card-footer strong { font-size: 14.5px; }
.explore-page .map-detail-label { font-size: 13.5px; }
.explore-page .map-detail-shop { font-size: 15px; }
.explore-page .map-detail-meta { font-size: 14.5px; }
.explore-page .map-detail-close { min-width: 44px; min-height: 44px; }
.explore-page .map-explorer-attribution { font-size: 12px; }
@media (max-width: 760px) {
  .explore-page .map-explorer--fullscreen .map-filter { min-height: 44px; padding: 4px 12px 4px 6px; font-size: 14px; }
  .explore-page .map-explorer--fullscreen .map-filter-icon { width: 28px; height: 28px; font-size: 13px; }
  .explore-page .map-explorer--fullscreen .map-filter small { font-size: 13px; }
  .explore-page .map-explorer--fullscreen .map-back-button { width: 44px; height: 44px; }
  .explore-page .map-explorer--fullscreen .map-deck-arrow { width: 44px; height: 44px; }
  .explore-page .map-explorer--fullscreen .map-location-button { min-height: 44px; }
  .explore-page .map-explorer--fullscreen .map-location-copy > p:last-child { font-size: 14px; }
  .explore-page .map-explorer--fullscreen :is(.map-location-primary, .map-location-secondary, .map-postal-form button, .map-postal-form input) { min-height: 44px; }
  .explore-page .map-explorer--fullscreen .map-card { min-height: 112px; }
  .explore-page .map-explorer--fullscreen .map-card-label { font-size: 13px; margin-bottom: 2px; }
  .explore-page .map-explorer--fullscreen .map-card h3 { font-size: 15.5px; }
  .explore-page .map-explorer--fullscreen .map-card-shop { font-size: 13.5px; }
  .explore-page .map-explorer--fullscreen .map-card-footer { font-size: 13px; }
  .explore-page .map-explorer--fullscreen .map-card-footer strong { font-size: 14px; }
  .explore-page .map-explorer--fullscreen .map-explorer-attribution { font-size: 11px; }
}
.explore-page .map-owner-banner-copy h2 { font-size: 15px; line-height: 1.25; }
.explore-page .map-owner-banner-copy > p:last-child { font-size: 13.5px; line-height: 1.35; }
@media (max-width: 760px) {
  /* The kicker repeats the headline; drop it so the bigger copy fits. */
  .explore-page .map-owner-banner-kicker { display: none; }
}
@media (max-width: 760px) {
  /* The card rail swipes on touch; 44px arrows would crowd the filter row. */
  .explore-page .map-explorer--fullscreen .map-deck-controls { display: none; }
}
.fx-card > .fx-note:has(+ .fx-form) { margin: 0 0 16px !important; }
