/* =============================================================================
   StreetTea component styles — loaded AFTER tokens.css
   tokens.css provides :root (light) and [data-theme="dark"] color/type/space
   tokens. This file holds component rules only. No token re-declarations.
   ============================================================================= */

/* ── Layout tokens (not in tokens.css) ── */
:root {
  --content-max: 620px;
  --content-max-wide: 720px;
  --content-max-landing: 960px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ── */
h1 {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 var(--s-2) 0;
}
h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 var(--s-4) 0;
}
h3 {
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--s-2) 0;
}
p { margin: 0 0 var(--s-4) 0; }

.mono {
  font-family: 'JetBrains Mono', ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-3);
}
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.small {
  font-size: 0.78125rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.mono-tagline {
  font-family: 'JetBrains Mono', ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-secondary);
}
.data-row {
  font-family: 'JetBrains Mono', ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
  line-height: 1.9;
  font-weight: 500;
}
.data-key { color: var(--text-muted); }
.data-val { color: var(--text-primary); }
.tabular-nums { font-variant-numeric: tabular-nums; }

/* ── Links ── */
a { color: var(--text-primary); text-decoration: none; }
a:hover, a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
a[aria-current="page"] { color: var(--text-primary); font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Wordmark ── */
.wordmark {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover, .wordmark:focus-visible { text-decoration: none; }
.wordmark--on-dark { color: #E8E8EE; }
.wordmark--sm { font-size: 1.25rem; }

/* ── Nav bar (store/index pages) ── */
.topbar {
  height: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--s-11);
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-size: 0.8125rem;
}
.topbar-links a { color: var(--text-secondary); }

/* ── Landing nav ── */
.landing-nav {
  height: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--s-11);
}
.landing-nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-size: 0.8125rem;
}
.landing-nav-links a { color: var(--text-secondary); }
.nav-pill {
  display: inline-block;
  background: var(--btn);
  color: var(--btn-fg) !important;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: var(--s-1) var(--s-4);
  border-radius: var(--r-full);
  text-decoration: none;
}
.nav-pill:hover, .nav-pill:focus-visible {
  background: var(--btn-hover);
  text-decoration: none;
}

/* ── Hero split (landing two-column) ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--border);
}
.hero-split-text h1 {
  font-size: 2.5rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
}
.hero-split-lead {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--s-4);
}
.hero-split-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--s-6);
}
.hero-split-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
.btn:hover, .btn:focus-visible { text-decoration: none; }
.btn-primary {
  background: var(--btn);
  color: var(--btn-fg);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--btn-hover); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--surface); }

/* ── Photo frames ── */
.frame {
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  position: relative;
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ar-hero { aspect-ratio: 3/4; }
.ar-sq { aspect-ratio: 1; }
.frame-badge {
  position: absolute;
  bottom: var(--s-3);
  left: var(--s-3);
}

/* ── Verified badge (light — pale green pill, no glow) ── */
.vbadge {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--badge-text);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  padding: 2px var(--s-2);
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  white-space: nowrap;
}
.vbadge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--badge-dot);
}

/* ── Photo hero (store page) ── */
.store-hero {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}
.store-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.store-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--s-8) var(--s-11) var(--s-6);
  background: var(--hero-scrim);
}
.store-hero-overlay h1 {
  color: #f4f4f5;
  margin-bottom: var(--s-1);
}
.store-hero-overlay .verified-badge {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78125rem;
  color: var(--badge-text);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  box-shadow: var(--badge-glow);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.verified-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--badge-dot);
}

/* ── Content ── */
.content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 36px var(--s-11) var(--s-8);
}
.content--wide { max-width: var(--content-max-wide); }
.content--landing { max-width: var(--content-max-landing); }
.rule-strong {
  border: none;
  border-top: 1px solid var(--border-strong);
  margin: 0;
}

/* ── Sections ── */
.section { margin-top: var(--s-8); }
.data-block {
  border: 1px solid var(--border);
  padding: var(--s-4) 18px;
}

/* ── Fuel table ── */
.fuel-section-layout {
  display: flex;
  gap: var(--s-6);
  align-items: flex-start;
}
.fuel-section-layout .fuel-data { flex: 1; min-width: 0; }
.fuel-evidence {
  flex: 0 0 180px;
  aspect-ratio: 3/4;
  border-radius: var(--r-md);
  overflow: hidden;
}
.fuel-evidence img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fuel-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.fuel-table th {
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: var(--s-2) var(--s-3);
  border-bottom: 1px solid var(--border);
}
.fuel-table td {
  padding: var(--s-2) var(--s-3);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
.fuel-table tr:last-child td { border-bottom: none; }
.fuel-table .price { text-align: right; }
.fuel-table .price-na { color: var(--text-muted); text-align: right; }

/* ── Deals list ── */
.deals-list { list-style: none; padding: 0; margin: 0; }
.deals-list li {
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
}
.deals-list li:last-child { border-bottom: none; }
.deal-title { font-weight: 600; color: var(--text-primary); }
.deal-time {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78125rem;
  color: var(--text-muted);
}
.deal-detail {
  font-size: 0.78125rem;
  color: var(--text-secondary);
}

/* ── Amenities tag row ── */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78125rem;
  font-weight: 400;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: var(--s-1) var(--s-3);
  white-space: nowrap;
}

/* ── Inventory compact list ── */
.fixture-list { list-style: none; padding: 0; margin: 0; }
.fixture-list li {
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
}
.fixture-list li:last-child { border-bottom: none; }
.fixture-type {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.fixture-brands {
  font-size: 0.78125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.fixture-pricing {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78125rem;
  color: var(--text-muted);
  margin-top: var(--s-1);
}

/* ── Food service ── */
.food-items { list-style: none; padding: 0; margin: 0; }
.food-items li {
  padding: var(--s-1) 0;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.food-price {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.food-note {
  font-size: 0.78125rem;
  color: var(--text-muted);
}
.food-inline {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Signature items ("Known for") ── */
.known-for {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
.known-for-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--s-3) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.known-for-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}
.known-for-price {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.known-for-detail {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.daypart-chip {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 2px var(--s-2);
  border-radius: var(--r-full);
  display: inline-block;
}
.daypart-chip--all {
  background: var(--dp-all-bg, rgba(6,78,59,.15));
  border: 1px solid var(--dp-all-border, #a7f3d0);
  color: var(--dp-all-text, #047857);
}
.daypart-chip--timed {
  background: var(--dp-timed-bg, rgba(120,53,15,.1));
  border: 1px solid var(--dp-timed-border, #fbbf24);
  color: var(--dp-timed-text, #92400e);
}

/* ── Photo gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--s-3);
}
.gallery-tile {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--s-1);
  text-align: center;
}

/* ── Editorial rows (landing) ── */
.editorial-rows {
  margin-top: var(--s-8);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  padding: var(--s-8) 0;
  border-bottom: 1px solid var(--border);
}
.row:last-child { border-bottom: none; }
.row.rev .row-text { order: 2; }
.row.rev .row-photo { order: 1; }
.row-text .eyebrow { margin-bottom: var(--s-2); }
.row-text h2 { margin-bottom: var(--s-3); }
.row-text p { color: var(--text-secondary); margin-bottom: var(--s-3); }
.row-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.row-link:hover, .row-link:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* ── Breadth grid (landing) ── */
.breadth {
  padding: var(--s-8) 0;
  border-bottom: 1px solid var(--border);
}
.breadth h2 { margin-bottom: var(--s-2); }
.breadth-sub {
  color: var(--text-secondary);
  margin-bottom: var(--s-6);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}

/* ── CTA band (landing) ── */
.band {
  background: var(--band-bg);
  border: 1px solid var(--band-border);
  border-radius: var(--r-md);
  padding: var(--s-8);
  margin-top: var(--s-8);
}
.band h2 { margin-bottom: var(--s-3); }
.band p { color: var(--text-secondary); margin-bottom: var(--s-3); }
.band p:last-of-type { margin-bottom: var(--s-4); }
.cta-button {
  display: inline-block;
  background: var(--btn);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
.cta-button:hover, .cta-button:focus-visible {
  background: var(--btn-hover);
  text-decoration: none;
}
.band-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: var(--s-3);
}

/* ── "What it takes" beat (landing) ── */
.beat {
  padding: var(--s-8) 0;
  border-bottom: 1px solid var(--border);
}
.beat h2 { margin-bottom: var(--s-3); }
.beat p { color: var(--text-secondary); }

/* ── Store cards (stores index) ── */
.store-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-6);
  margin-top: var(--s-6);
}
.store-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color var(--dur-fast) var(--ease);
}
.store-card:hover, .store-card:focus-visible {
  border-color: var(--border-strong);
  text-decoration: none;
}
.store-card-photo {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface);
}
.store-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-card-body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.store-card-name {
  font-weight: 600;
  font-size: 0.9375rem;
}
.store-card-locality {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border-strong);
  padding: 14px var(--s-11) 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.footer-left {
  font-size: 0.78125rem;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 0;
}
.footer-left a { color: var(--text-secondary); }
.footer-sep { margin: 0 var(--s-2); }
.footer-left .footer-brand {
  letter-spacing: -0.045em;
  font-weight: 700;
}
.footer-right {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.6;
}
.footer-right a { color: var(--text-muted); }

/* ── Prose pages (privacy, terms) ── */
.prose h2 {
  margin-top: var(--s-8);
  margin-bottom: var(--s-3);
}
.prose p { margin-bottom: var(--s-4); }
.prose .effective-date {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78125rem;
  color: var(--text-muted);
  margin-bottom: var(--s-6);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .content { padding-left: var(--s-5); padding-right: var(--s-5); }
  .topbar { padding: 0 var(--s-5); }
  .landing-nav { padding: 0 var(--s-5); }
  .site-footer { padding-left: var(--s-5); padding-right: var(--s-5); }
  .store-hero-overlay { padding-left: var(--s-5); padding-right: var(--s-5); }
  .known-for { grid-template-columns: 1fr; }
  .fuel-section-layout { flex-direction: column; }
  .fuel-evidence { flex: none; width: 100%; max-width: 280px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-text h1 { font-size: 2rem; }
  .row { grid-template-columns: 1fr; }
  .row.rev .row-text { order: 1; }
  .row.rev .row-photo { order: 2; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .store-cards { grid-template-columns: 1fr; }
  /* Footer: left-align the operator block on mobile so it stacks cleanly */
  .footer-right { text-align: left; width: 100%; margin-top: var(--s-2); }

  /* Mobile nav: keep wordmark + CTA pill only; hide secondary text links */
  .landing-nav { padding: 0 var(--s-5); }
  .landing-nav-links { gap: var(--s-3); }
  .landing-nav-links a:not(.nav-pill) { display: none; }
  .nav-pill {
    white-space: nowrap;
    font-size: 0.8125rem;
    padding: var(--s-2) var(--s-4);
  }
}

/* ── Unclaimed / dim treatment ── */
.store-hero--dim img {
  filter: saturate(0.4) brightness(0.7);
}
.unclaimed-badge {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78125rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
}
.unclaimed-dim { opacity: 0.7; }

/* Observable list */
.observable-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.observable-list li {
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.observable-list li:last-child { border-bottom: none; }

/* Ghost rows — empty-awaiting-data */
.ghost-rows {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.ghost-row {
  border: 1px dashed var(--border);
  border-radius: var(--r-sm);
  padding: var(--s-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.5;
}
.ghost-row-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.ghost-row-cta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Claim CTA */
.claim-cta {
  margin-top: var(--s-8);
  padding: var(--s-8);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  text-align: center;
}
.claim-cta h2 { margin-bottom: var(--s-2); }
.claim-cta p { margin-bottom: var(--s-4); }

/* Remove button (subtle) */
.remove-btn {
  background: none;
  border: none;
  font-size: 0.78125rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.remove-btn:hover { color: var(--text-secondary); }

/* Removal dialog */
.remove-dialog {
  max-width: 460px;
  padding: var(--s-6);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text-primary);
}
.remove-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
.remove-dialog p {
  margin-bottom: var(--s-4);
  line-height: 1.6;
}

/* Unclaimed store card (stores index) */
.store-card--unclaimed .store-card-photo img {
  filter: saturate(0.4);
}
.store-card--unclaimed .store-card-name,
.store-card--unclaimed .store-card-locality {
  opacity: 0.6;
}
.ar-hero-wide { aspect-ratio: 3 / 2; }

/* Removal disclosure (unclaimed pages) — zero-JS <details> */
.removal-disclosure { margin-top: var(--s-2); }
.removal-disclosure > summary {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.removal-disclosure > summary::-webkit-details-marker { display: none; }
.removal-disclosure > summary::before { content: "›"; transition: transform 0.15s ease; }
.removal-disclosure[open] > summary::before { transform: rotate(90deg); }
.removal-disclosure > p {
  margin-top: var(--s-2);
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 46ch;
}

/* Unclaimed badge — amber, stands out to a stranger */
.unclaimed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0.7em;
  border-radius: 6px;
  background: color-mix(in srgb, var(--amber-500) 16%, transparent);
  border: 1px solid var(--amber-500);
  color: var(--amber-300);
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Unclaimed card — amber tag + claim button (stores index) */
.store-card-link { text-decoration: none; color: inherit; display: block; }
.unclaimed-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  padding: 0.25em 0.65em;
  border-radius: 5px;
  background: color-mix(in srgb, var(--amber-500) 22%, transparent);
  border: 1px solid var(--amber-500);
  color: var(--amber-900);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.store-card-claim {
  display: inline-block;
  margin: 0 var(--s-3) var(--s-3);
  padding: 0.45em 0.9em;
  border-radius: 6px;
  background: var(--amber-500);
  color: #1a1205;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.store-card-claim:hover { background: var(--amber-400); box-shadow: var(--glow-amber); }

/* ── Claim / submit forms (Build 4) ── */
.claim-form-wrap { max-width: var(--content-max); margin: 0 auto; }
.claim-intro { color: var(--text-secondary); margin-bottom: var(--s-6); }
.st-form { display: flex; flex-direction: column; gap: var(--s-5); }
.st-field { display: flex; flex-direction: column; gap: var(--s-2); }
.st-label { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.st-optional { color: var(--text-muted); font-weight: 400; }
.st-field input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--s-3) var(--s-4);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--dur-fast) var(--ease);
}
.st-field input:focus {
  outline: none;
  border-color: var(--accent);
}
.st-field input::placeholder { color: var(--text-muted); }
.st-error { color: var(--red-400); font-size: 0.85rem; }
.st-form .btn { margin-top: var(--s-3); align-self: flex-start; }
.claim-confirmation { text-align: center; }
.claim-address { color: var(--text-muted); font-size: 0.95rem; margin-top: calc(-1 * var(--s-2)); margin-bottom: var(--s-5); }
.claim-browse { margin-top: var(--s-6); font-size: 0.9rem; color: var(--text-muted); }
.claim-browse a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }

/* ── Manage storefront (authenticated, dark register) ── */
.manage-wrap { max-width: var(--content-max); margin: 0 auto; }
.manage-address { color: var(--text-muted); font-size: 0.95rem; margin-top: calc(-1 * var(--s-2)); margin-bottom: var(--s-6); }
.manage-wrap section { margin-bottom: var(--s-9); }
.manage-wrap h2 { font-size: 1.1rem; margin-bottom: var(--s-4); }
.manage-hint { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: var(--s-4); }
.manage-flash {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid var(--accent);
  color: var(--text-primary);
  border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-6);
}
.manage-error {
  background: color-mix(in srgb, var(--red-500) 14%, transparent);
  border: 1px solid var(--red-500); color: var(--text-primary);
  border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4);
}
.status-markers { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.status-markers .marker { display: flex; align-items: center; gap: var(--s-3); }
.status-markers .marker-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.6em; height: 1.6em; border-radius: var(--r-full); flex: none;
  font-size: 0.85rem;
}
.marker.done .marker-icon { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
.marker.pending .marker-icon { background: var(--surface); color: var(--text-muted); }
.marker.pending span:last-child { color: var(--text-secondary); }
.manage-details textarea, .manage-photos input[type=file] {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: var(--s-3) var(--s-4); color: var(--text-primary); font-family: inherit; font-size: 1rem;
  width: 100%; box-sizing: border-box;
}
.manage-details textarea:focus { outline: none; border-color: var(--accent); }
.manage-photos input[type=file] { padding: var(--s-3); }
.manage-status, .manage-photos { margin-bottom: var(--s-10); }
.status-markers { margin-bottom: var(--s-2); }
.manage-status, .manage-photos, .manage-details { margin-bottom: var(--s-10); }

/* ── Claim pending state ── */
.claim-pending h2 { color: var(--text-secondary); }
.resend-disclosure { margin-top: var(--s-4); }
.resend-disclosure > summary {
  cursor: pointer; color: var(--accent); font-size: 0.9rem;
  list-style: none; text-decoration: underline; text-underline-offset: 2px;
}
.resend-disclosure > summary::-webkit-details-marker { display: none; }
.resend-form { margin-top: var(--s-4); max-width: 22rem; }
.store-card-pending-tag {
  display: inline-block; padding: 0.25em 0.65em; border-radius: 5px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* ── Landing CTA band actions + stores add CTA (piece 7) ── */
.band-actions { display: inline-flex; gap: var(--s-4); flex-wrap: wrap; justify-content: center; }
.cta-button--ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text-primary); }
.stores-add-cta { text-align: center; margin-top: var(--s-10); padding-top: var(--s-8); border-top: 1px solid var(--border); }
.stores-add-cta a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.manage-photos .st-form { margin-bottom: var(--s-6); }


/* Orienting flash on /stores (arriving from /my-storefront) */
.stores-flash {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid var(--accent); border-radius: var(--r-sm);
  padding: var(--s-3) var(--s-4); margin-bottom: var(--s-6);
  color: var(--text-primary); font-size: 0.95rem;
}

/* ── Second-section grouped action bank (Verified-pill aesthetic, light marketing) ── */
.action-bank {
  display: inline-flex; align-items: center; gap: var(--s-4);
  margin-top: var(--s-6);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-full);
  background: var(--band-bg);
  border: 1px solid var(--band-border);
}
.action-bank a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.action-bank a:hover, .action-bank a:focus-visible { text-decoration: underline; text-underline-offset: 2px; }
.action-bank-sep { width: 1px; height: 1.1em; background: var(--band-border); flex: none; }
@media (max-width: 480px) {
  .action-bank { flex-direction: column; align-items: flex-start; gap: var(--s-2); border-radius: var(--r-md); }
  .action-bank-sep { display: none; }
}

/* ── Get-my-link page ── */
.gml-context {
  background: var(--band-bg); border: 1px solid var(--band-border);
  border-radius: var(--r-sm); padding: var(--s-3) var(--s-4);
  margin-bottom: var(--s-5); color: var(--text-primary); font-size: 0.95rem;
}
.gml-forward { color: var(--text-secondary); font-size: 0.95rem; margin-top: var(--s-8); margin-bottom: var(--s-3); }

/* No-photo hero (drafted / awaiting photo): same footprint + overlay as the photo
   hero, just a dark band instead of an image. When a photo is added the store
   renders through the photo path and looks identical to any other store. */
.store-hero--nophoto {
  min-height: 240px;
  background: var(--surface, #16161a);
  border-bottom: 1px solid var(--border);
}
.store-hero--nophoto .store-hero-overlay {
  position: absolute;
  bottom: 0;
  background: transparent;
}

}

/* ── /stores filters, counts, tier groups, pagination ── */
.stores-count { font-size: 0.9rem; margin-bottom: var(--s-5); }
.stores-filters {
  display: flex; flex-direction: column; gap: var(--s-5);
  padding: var(--s-5) var(--s-6);
  margin-bottom: var(--s-8);
  background: var(--band-bg); border: 1px solid var(--border); border-radius: 10px;
}
/* top row: tier + town + search + sort, aligned along the bottom */
.filter-row {
  display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-6); align-items: flex-end;
}
.stores-filters .filter-group { margin: 0; padding: 0; border: none; }
.stores-filters legend {
  font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0; margin: 0 0 var(--s-2);
}
.filter-checks-inline { display: flex; gap: var(--s-4); align-items: center; }
.filter-checks-wrap { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.stores-filters .filter-check {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 0.9rem; color: var(--text-secondary); text-transform: capitalize; white-space: nowrap;
}
.stores-filters .filter-field {
  display: flex; flex-direction: column; gap: var(--s-1);
  font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.stores-filters .filter-field--search { flex: 1 1 220px; }
.stores-filters .filter-field select,
.stores-filters .filter-field input {
  font-size: 0.9rem; text-transform: none; letter-spacing: 0;
  padding: var(--s-2) var(--s-3); margin-top: var(--s-1);
  background: var(--surface); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: var(--r-sm);
}
.filter-group--brand { padding-top: var(--s-4); border-top: 1px solid var(--border); }
.filter-actions {
  display: flex; align-items: center; gap: var(--s-5);
  padding-top: var(--s-4); border-top: 1px solid var(--border);
}
.filter-clear { color: var(--accent); font-size: 0.9rem; text-decoration: underline; text-underline-offset: 2px; }
.stores-tier-header {
  font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.05em; margin: var(--s-8) 0 var(--s-4);
  padding-bottom: var(--s-2); border-bottom: 1px solid var(--border);
}
.stores-tier-header:first-of-type { margin-top: 0; }
.stores-pagination {
  display: flex; gap: var(--s-5); align-items: center; justify-content: center;
  margin: var(--s-8) 0; color: var(--text-secondary); font-size: 0.9rem;
}
.stores-pagination a { color: var(--accent); text-decoration: none; }
@media (max-width: 640px) {
  .filter-row { flex-direction: column; align-items: stretch; }
  .filter-checks-inline { flex-wrap: wrap; }
}
