/* Layout: directory in the "find a shop in your city" style. Utility bar, chunky header, colour hero band with an
   illustrated map card, a filter card overlapping the hero, a grid of outlined shop cards, a city strip, a CTA band,
   a dark footer. Each kind of shop has its own gemstone colour (amethyst, malachite, rose quartz, citrine, turquoise,
   jasper). A single bright theme by choice: ink outlines with hard offset shadows, like specimen labels. */
:root {
  --ink: #1c1626;
  --ink-soft: #4b4358;
  --paper: #ffffff;
  --page: #fbf9fe;
  --amethyst-deep: #7b4fe0;
  --amethyst: #b69cff;
  --malachite: #5fd49a;
  --malachite-deep: #22b46e;
  --rose: #ff9cc0;
  --citrine: #ffd23f;
  --turquoise: #4fd6d0;
  --jasper: #ff9a6b;
  --lavender: #d9ccff;
  --sky: #8fcaff;
  --wait: #fff0c2;
  --line: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 20px;
  --font-display: "Bricolage Grotesque", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pat-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='white' stroke-opacity='.22' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M22 10l-9 9 9 18 9-18z M13 19h18 M18 19l4-9 4 9-4 18'/%3E%3Cpath d='M86 60l-7 7 7 14 7-14z M79 67h14'/%3E%3Cpath d='M82 12l6 3.5v7l-6 3.5-6-3.5v-7z'/%3E%3Cpath d='M24 76l7 4v8l-7 4-7-4v-8z'/%3E%3Ccircle cx='56' cy='42' r='2.4'/%3E%3Ccircle cx='106' cy='104' r='2.4'/%3E%3Cpath d='M54 96l5 10 5-10-5-5z'/%3E%3C/svg%3E");
  --pat-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%231c1626' stroke-opacity='.13' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M22 10l-9 9 9 18 9-18z M13 19h18 M18 19l4-9 4 9-4 18'/%3E%3Cpath d='M86 60l-7 7 7 14 7-14z M79 67h14'/%3E%3Cpath d='M82 12l6 3.5v7l-6 3.5-6-3.5v-7z'/%3E%3Cpath d='M24 76l7 4v8l-7 4-7-4v-8z'/%3E%3Ccircle cx='56' cy='42' r='2.4'/%3E%3Ccircle cx='106' cy='104' r='2.4'/%3E%3Cpath d='M54 96l5 10 5-10-5-5z'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.6 var(--font-body); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--amethyst-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-soft); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.main { display: grid; gap: 0; padding-bottom: 64px; }
.section { display: grid; gap: 14px; padding-block: 40px 0; }
.section > h2 { margin-bottom: 10px; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); margin-right: 8px; vertical-align: -1px; }
.dot.amethyst { background: #7b4fe0; } .dot.citrine { background: var(--citrine); } .dot.malachite { background: var(--malachite); } .dot.rose { background: var(--rose); }

/* Buttons, tags, pills */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink); font: 700 0.95rem/1 var(--font-body); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease; white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-citrine { background: var(--citrine); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 0.85rem; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1.02rem; }
.btn-dot { width: 12px; height: 12px; border-radius: 3px; background: var(--ink); }
.tag { display: inline-block; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  line-height: 1.3; background: var(--paper); white-space: nowrap; }
.tag-ink { background: var(--ink); color: #fff; }
.tag-amethyst { background: var(--amethyst); } .tag-malachite { background: var(--malachite); } .tag-rose { background: var(--rose); }
.tag-citrine { background: var(--citrine); } .tag-turquoise { background: var(--turquoise); } .tag-jasper { background: var(--jasper); }
.tag-lavender { background: var(--lavender); } .tag-sky { background: var(--sky); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; line-height: 1.3; background: var(--paper); white-space: nowrap; }
.pill svg { width: 12px; height: 12px; }
.pill-ok { background: var(--malachite); }
.pill-ok-soft { background: #d4f5e4; }
.pill-wait { background: var(--wait); border-style: dashed; }
.pill-plain { background: var(--paper); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px; border: 2px solid var(--ink); border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: var(--lavender); }

/* Gemstone backgrounds with the crystal pattern */
.g-amethyst { background: var(--amethyst) var(--pat-dark); } .g-malachite { background: var(--malachite) var(--pat-dark); }
.g-rose { background: var(--rose) var(--pat-dark); } .g-citrine { background: var(--citrine) var(--pat-dark); }
.g-turquoise { background: var(--turquoise) var(--pat-dark); } .g-jasper { background: var(--jasper) var(--pat-dark); }
.g-lavender { background: var(--lavender) var(--pat-dark); } .g-sky { background: var(--sky) var(--pat-dark); }

/* Utility bar and header */
.utility { background: var(--ink); color: #f1ecfa; font-size: 0.78rem; font-weight: 600; }
.utility-row { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.utility .dot { border-color: transparent; width: 8px; height: 8px; }
.site-head { background: var(--paper); border-bottom: var(--line); position: relative; z-index: 2; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font: 800 1.45rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand-word b { color: var(--amethyst-deep); }
.head-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-weight: 600; font-size: 0.95rem; }
.head-nav > a:not(.btn) { text-decoration: none; }
.head-nav > a:not(.btn):hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--citrine); }
.nav-review { color: #9a4b00; }
.head-row { position: relative; }
.nav-drop { position: static; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 4px; font: 600 0.95rem var(--font-body); color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.nav-drop-btn svg { width: 16px; height: 16px; transition: transform .15s ease; }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.drop-panel { display: none; position: absolute; top: calc(100% - 4px); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 20;
  width: min(calc(100% - 32px), 720px); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 20px; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.nav-drop.open .drop-panel { display: grid; }
.drop-panel::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.drop-col { display: grid; gap: 4px; align-content: start; }
.drop-h { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.drop-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.drop-link:hover { background: var(--lavender); }
.count-pill { min-width: 30px; padding: 0 8px; border: 2px solid var(--ink); border-radius: 999px; font-size: 0.75rem; font-weight: 800; text-align: center; background: var(--paper); font-variant-numeric: tabular-nums; }
.drop-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 800; color: var(--amethyst-deep); text-decoration: none; padding-left: 8px; }
.drop-all svg { width: 14px; height: 14px; }
.drop-panel { width: min(calc(100% - 32px), 880px); grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); }
.drop-state-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 6px; max-height: min(62vh, 540px); overflow-y: auto; }
.drop-state-grid .drop-link { padding: 4px 8px; font-size: 0.88rem; }
.state-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 8px; }
.state-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; }
.state-grid a:hover { background: var(--lavender); }
.bigmap { aspect-ratio: 16 / 9; min-height: 420px; box-shadow: 8px 8px 0 var(--ink); }
.bigmap-wrap { padding-top: 0; }
/* Home: ZIP code first */
.zip-hero { display: grid; gap: 8px; width: 100%; max-width: 520px; padding: 16px 18px; background: var(--paper); color: var(--ink); border: var(--line); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); }
.zip-hero label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.zip-hero-row { display: flex; gap: 10px; }
.zip-hero-row input { flex: 1; min-width: 0; font: 700 1.25rem var(--font-body); letter-spacing: 0.06em; color: var(--ink); background: var(--paper); border: var(--line); border-radius: 14px; padding: 8px 14px; min-height: 52px; }
.zip-hero-row .btn { flex: none; }
.link-btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; background: none; border: 0; font: 700 0.9rem var(--font-body); color: var(--amethyst-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn svg { width: 16px; height: 16px; }
.zip-hero-note { margin-top: 0; }
.hero-home { padding-bottom: 72px; }
.near-results { scroll-margin-top: 16px; }
.near-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.near-head h2 { margin: 0; }
.near-filters { display: grid; gap: 8px; padding: 14px 16px; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 10px; }
.near-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 10px; }
.map-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 28px; border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.map-teaser > div:first-child { display: grid; gap: 8px; max-width: 56ch; min-width: 0; }
.map-teaser-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.section-note { margin-top: -6px; margin-bottom: 18px; font-weight: 600; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 0.85rem; font-weight: 600; }
.fb-near input { font: 600 0.92rem var(--font-body); color: var(--ink); background: var(--paper); border: var(--line); border-radius: 12px; padding: 9px 12px; min-height: 44px; width: 9.5em; min-width: 0; }
.near-row { display: flex; gap: 6px; }
.near-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: var(--line); border-radius: 12px; background: var(--citrine); color: var(--ink); cursor: pointer; }
.near-btn svg { width: 20px; height: 20px; }
.drop-cta { padding: 16px; border: 2px solid var(--ink); border-radius: 14px; gap: 10px; }
.drop-cta p { font-size: 0.88rem; font-weight: 500; }
.drop-cta .btn { justify-self: start; }
.review-bar { background: var(--wait); border-bottom: 2px dashed var(--ink); font-size: 0.82rem; font-weight: 600; }
.review-bar .wrap { padding-block: 8px; }
.todo { border: 2px dashed var(--ink-soft); background: #f3f0f7; color: var(--ink-soft); border-radius: 14px; padding: 12px 16px; font-size: 0.9rem; margin-top: 16px; }
.todo strong { color: var(--ink); }
.review-notes { display: grid; gap: 0; }

/* Hero */
.hero { background: var(--amethyst-deep) var(--pat-light); color: #fff; border-bottom: var(--line); padding-block: 56px 96px; }
.hero-sm { padding-block: 32px 88px; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: start; min-width: 0; }
.hero h1 { color: #fff; }
.hero mark { background: var(--citrine); color: var(--ink); padding: 0 0.14em; border: 3px solid var(--ink); border-radius: 12px;
  box-shadow: var(--shadow-sm); -webkit-box-decoration-break: clone; box-decoration-break: clone; display: inline; line-height: 1.25; }
.lede { font-size: 1.08rem; max-width: 56ch; color: #f1ecfa; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; }
.stat { display: inline-flex; align-items: center; padding: 6px 14px; border: var(--line); border-radius: 999px; background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: 0.85rem; box-shadow: var(--shadow-sm); }
.crumbs { font-size: 0.82rem; font-weight: 600; color: #e6defa; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs a { color: #fff; }
.crumbs span { opacity: 0.6; }
.hero-art { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero-map { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); }
.hero-art-tag { position: absolute; top: -14px; right: 22px; transform: rotate(4deg); font-size: 0.8rem; }
.hero-art-badge { position: absolute; bottom: -14px; left: 26px; transform: rotate(-3deg); font-size: 0.85rem; padding: 6px 14px; box-shadow: var(--shadow-sm); }
.hero-mapcard { min-width: 0; }
.hero-sm:has(+ .hero-spacer) { padding-bottom: 40px; }
.hero-mapcard .map { box-shadow: 8px 8px 0 var(--ink); }

/* Filter card */
.filterbar { position: relative; z-index: 1; margin-top: -56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), auto)) ; grid-auto-flow: row;
  align-items: end; gap: 14px 18px; padding: 18px 20px; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.filterbar { grid-template-columns: repeat(auto-fit, minmax(150px, max-content)); }
.fb-field { display: grid; gap: 6px; min-width: 0; }
.fb-field label, .fb-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.fb-field select { font: 600 0.92rem var(--font-body); color: var(--ink); background: var(--paper); border: var(--line); border-radius: 12px;
  padding: 9px 34px 9px 12px; min-height: 44px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c1626' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.fb-quick { grid-column: span 2; }
.quick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.qf { font: 700 0.85rem var(--font-body); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.qf::before { content: ""; display: inline-block; width: 9px; height: 9px; border: 2px solid var(--ink); border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
.qf[aria-pressed="true"] { background: var(--citrine); }
.qf[aria-pressed="true"]::before { background: var(--ink); }
.fb-count { justify-self: end; min-height: 44px; }

/* Shop cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.scard { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; min-width: 0; transition: transform .14s ease, box-shadow .14s ease; }
.scard:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.scard-top { display: flex; align-items: flex-end; height: 128px; padding: 14px 18px; border-bottom: var(--line); text-decoration: none; overflow: hidden; }
.scard-city { font: 800 clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem)/0.95 var(--font-display); letter-spacing: -0.03em; color: var(--ink);
  -webkit-text-stroke: 0; text-shadow: 3px 3px 0 rgba(255,255,255,.55); overflow-wrap: anywhere; }
.scard-body { display: grid; gap: 10px; align-content: start; padding: 16px 18px 18px; }
.scard-body .tag { justify-self: start; margin-top: -30px; box-shadow: var(--shadow-sm); }
.scard h3 { font-size: 1.3rem; overflow-wrap: anywhere; }
.scard h3 a { text-decoration: none; }
.scard h3 a:hover { text-decoration: underline; text-decoration-color: var(--amethyst-deep); }
.meta { display: flex; gap: 8px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-soft); min-width: 0; }
.meta svg { width: 16px; height: 16px; margin-top: 3px; color: var(--amethyst-deep); }
.meta a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.meta span { overflow-wrap: anywhere; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.9rem; text-decoration: none; color: var(--amethyst-deep); margin-top: 4px; }
.more svg { width: 16px; height: 16px; transition: transform .12s ease; }
.more:hover svg { transform: translateX(3px); }
.more-lg { font-size: 1.05rem; justify-self: start; }
.empty { padding: 20px; border: 2px dashed var(--ink); border-radius: var(--radius); text-align: center; font-weight: 600; }

/* City strip */
.city-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.ccard { display: grid; gap: 4px; padding: 16px 18px; background: var(--paper); border: var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.ccard:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); background: var(--citrine); }
.ccard-name { font: 800 1.3rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.ccard-meta { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.how-card { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--paper); border: var(--line); border-radius: var(--radius); }
.how-card p { color: var(--ink-soft); font-size: 0.95rem; }
.how-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border: var(--line); border-radius: 12px; font: 800 1.2rem var(--font-display); box-shadow: var(--shadow-sm); }

/* FAQ and shows */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: var(--line); border-radius: 16px; padding: 14px 18px; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 800; font-family: var(--font-display); font-size: 1.1rem; }
.faq details p { margin-top: 10px; color: var(--ink-soft); max-width: 72ch; }
.show-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.show-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; font-weight: 700; }
.show-list .muted, .show-list span { font-weight: 500; color: var(--ink-soft); }

/* Map */
.map { width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border: var(--line); border-radius: var(--radius); overflow: hidden; background: #f3eefc; }
.map-off { display: grid; place-items: center; text-align: center; padding: 16px; background: #fffdf7 var(--pat-dark); }
.map-off span { background: var(--paper); padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.maplibregl-popup-content { border: 2px solid var(--ink); border-radius: 12px; font: 0.85rem/1.4 var(--font-body); color: var(--ink); }
.maplibregl-popup-content a { font-weight: 800; }

/* Shop page */
.shop-banner { border-bottom: var(--line); height: 250px; position: relative; overflow: hidden; }
.shop-banner .wrap { position: relative; height: 100%; padding-block: 18px; }
.crumbs-banner { color: var(--ink); position: relative; z-index: 1; }
.crumbs-banner a { color: var(--ink); }
.banner-city { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: -0.16em; font: 800 clamp(4rem, 2rem + 9vw, 10rem)/1 var(--font-display);
  letter-spacing: -0.05em; color: rgba(255,255,255,.55); -webkit-text-stroke: 3px var(--ink); white-space: nowrap; pointer-events: none; }
.shop-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: -110px; position: relative; }
.shop-headcard { display: grid; gap: 12px; padding: 24px 26px; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  max-width: 640px; flex: 1 1 380px; min-width: 0; }
.shop-headcard h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem); overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.meta-lg { font-size: 1rem; color: var(--ink); }
.shop-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.action-card { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: var(--paper); border: var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm); text-decoration: none; font: 800 1rem/1.2 var(--font-display); transition: transform .12s ease, box-shadow .12s ease; }
.action-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.action-card small { display: block; font: 700 0.68rem/1.4 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.ac-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 12px; }
.ac-icon svg { width: 20px; height: 20px; }
.shop-body { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 36px; align-items: start; padding-block: 36px 40px; }
.info-card { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.info-h { background: var(--ink); color: #fff; padding: 10px 18px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.info { margin: 0; }
.info > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 11px 18px; border-bottom: 2px solid #eee8f6; font-size: 0.9rem; }
.info > div:last-child { border-bottom: 0; }
.info dt { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.info dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.info dd a { color: var(--amethyst-deep); }
.shop-text { display: grid; gap: 14px; max-width: 70ch; }
.shop-text h3 { margin-top: 10px; }
.shop-text > p { font-size: 1.05rem; }
.info-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 2px solid #eee8f6; }
.pill-dist { background: var(--lavender); }
.meta-hours span { font-weight: 700; }
.meta-hours.open-yes span { color: #136b43; }
.meta-hours.open-no span { color: #9b3b2f; }
.meta-hours.open-maybe span { color: var(--ink-soft); }
.open-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 12px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 0.9rem; background: var(--paper); }
.open-status svg { width: 14px; height: 14px; }
.open-status.open-yes { background: var(--malachite); }
.open-status.open-no { background: var(--wait); }
.fb-note { display: block; margin-top: 4px; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
.pill-dist svg { color: var(--amethyst-deep); }
.spec-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.spec-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #f4f1f8; border: 2px dashed #b9b0c6; border-radius: 16px; color: var(--ink-soft); }
.spec-tile strong { display: block; font: 800 1.02rem/1.2 var(--font-display); }
.spec-tile small { font-size: 0.78rem; }
.spec-tile.on { background: var(--paper); border: var(--line); box-shadow: var(--shadow-sm); color: var(--ink); }
.st-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 2px solid currentColor; border-radius: 12px; background: var(--paper); }
.spec-tile.on .st-icon { background: var(--malachite); border-color: var(--ink); }
.st-icon svg { width: 18px; height: 18px; }
.terms { display: grid; gap: 8px; margin-top: 8px; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; }
.hours li { display: flex; justify-content: space-between; padding: 7px 2px; border-bottom: 2px solid #eee8f6; font-weight: 600; font-size: 0.92rem; }
.hours-note { margin-top: 6px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--wait); font-size: 0.88rem; font-weight: 500; }
.hours-note a { font-weight: 700; color: var(--amethyst-deep); }
.owner-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 10px; padding: 16px 18px;
  background: var(--lavender); border: var(--line); border-radius: 16px; }
.pattern-band { background: #fff1b8 var(--pat-dark); border-block: var(--line); padding-block: 44px; }
.map-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.mapcard, .hours-card { background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; min-width: 0; }
.mapcard .map { border-width: 2px; border-radius: 14px; aspect-ratio: 16 / 10; }
.map-addr { display: flex; gap: 8px; align-items: center; padding: 10px 6px 2px; font-weight: 600; font-size: 0.9rem; }
.map-addr svg { color: var(--amethyst-deep); }
.hours-card { padding: 22px; display: grid; gap: 10px; align-content: start; }
.hours-none { font-weight: 700; padding: 12px 14px; border: 2px dashed var(--ink); border-radius: 12px; background: var(--wait); }

/* CTA band and footer */
.cta-band { background: var(--malachite) var(--pat-dark); border-block: var(--line); padding-block: 48px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-text { display: grid; gap: 12px; justify-items: start; max-width: 640px; }
.cta-text p { font-weight: 500; }
.cta-band .btn { background: var(--citrine); }
.site-foot { background: var(--ink); color: #cfc6dd; font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 44px 32px; }
.foot-grid > div { display: grid; gap: 7px; align-content: start; }
.foot-brand { font: 800 1.5rem/1 var(--font-display); color: #fff; letter-spacing: -0.03em; }
.foot-brand b { color: var(--amethyst); }
.foot-h { font: 800 1.05rem var(--font-display); }
.c-citrine { color: var(--citrine); } .c-rose { color: var(--rose); } .c-turquoise { color: var(--turquoise); }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-bottom { border-top: 1px solid #3a3147; padding-block: 16px 22px; font-size: 0.8rem; }

/* Prose pages and review list */
.page-prose { padding-block: 48px 0; }
.prose { max-width: 68ch; display: grid; gap: 14px; background: var(--paper); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 40px); }
.prose h2 { font-size: 1.5rem; margin-top: 12px; }
.prose a { color: var(--amethyst-deep); font-weight: 600; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.shop-form { display: grid; gap: 18px; }
.shop-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.shop-form legend { font: 800 1.05rem var(--font-display); margin-bottom: 6px; }
.sf-kind { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.sf-kind label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; font-weight: 600; cursor: pointer; }
.sf-kind label:has(input:checked) { background: var(--citrine); }
.sf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.sf-grid label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 700; min-width: 0; }
.sf-wide { grid-column: 1 / -1; }
.sf-grid input:not([type="checkbox"]), .sf-grid select, .sf-grid textarea { font: 500 0.95rem var(--font-body); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 9px 12px; min-height: 44px; width: 100%; min-width: 0; }
.sf-grid textarea { resize: vertical; }
.sf-check { display: flex !important; align-items: center; gap: 8px; font-weight: 600 !important; }
.sf-check input { width: 18px; height: 18px; }
.req { font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); }
.sf-small { font-size: 0.82rem; color: var(--ink-soft); }
.sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.shop-form .btn { justify-self: start; }
.sf-status { font-weight: 700; }
.sf-ok { color: #136b43; } .sf-bad, .form-error { color: #9b3b2f; font-weight: 700; }
@media (max-width: 560px) { .sf-grid { grid-template-columns: minmax(0, 1fr); } }
.prose h3 { font-size: 1.15rem; margin-top: 4px; }
.guide-intro { max-width: 80ch; box-shadow: var(--shadow-sm); padding: 18px 22px; margin-bottom: 12px; }
.guide-body { max-width: 72ch; }
.page-head { display: grid; gap: 10px; }
.page-head .lede { color: var(--ink-soft); }
.review-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 600; }
.review-tools input, .review-tools select { font: inherit; padding: 7px 12px; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); }
.table-wrap { overflow-x: auto; border: var(--line); border-radius: 16px; background: var(--paper); }
.review-table { border-collapse: collapse; width: 100%; font-size: 0.82rem; }
.review-table th, .review-table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid #e6e0ee; vertical-align: top; }
.review-table th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
.review-table a { color: var(--amethyst-deep); font-weight: 600; }
.review-table .ev { max-width: 280px; color: var(--ink-soft); }
.st { font-weight: 700; font-size: 0.72rem; padding: 1px 8px; border: 2px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.st-ph-yes { background: var(--malachite); } .st-ph-online { background: var(--rose); } .st-ph-unknown { background: var(--wait); }
.st-confirmed { background: var(--malachite); } .st-probable { background: #d4f5e4; } .st-unverified { background: var(--wait); } .st-show { background: var(--sky); }

@media (max-width: 900px) {
  .hero-row, .map-row, .shop-body { grid-template-columns: minmax(0, 1fr); }
  .hero-art { justify-self: start; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-quick { grid-column: 1 / -1; }
  .fb-count { justify-self: start; }
  .drop-panel { left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: auto; grid-template-columns: minmax(0, 1fr); max-height: 70vh; overflow: auto; }
}
@media (max-width: 560px) {
  .utility .u-hide-sm { display: none; }
  .hero { padding-block: 36px 84px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-banner { height: 190px; }
  .shop-head-row { margin-top: -70px; }
  .filterbar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .head-nav { gap: 6px 14px; font-size: 0.9rem; }
  .drop-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; }
  .bigmap { aspect-ratio: 3 / 4; min-height: 360px; }
  .fb-near { grid-column: 1 / -1; }
  .fb-near input { flex: 1; width: auto; }
  .zip-hero-row { flex-wrap: wrap; }
  .zip-hero-row .btn { flex: 1; justify-content: center; }
  .map-teaser { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
