:root {
  font-family: "Nunito Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1d2b25;
  background: #f4f7f5;
  font-synthesis: none;
  --bg: #f4f7f5;
  --surface: #ffffff;
  --ink: #1d2b25;
  --muted: #5e6c65;
  --brand: #ff7a3d;
  --brand-dark: #d94f18;
  --brand-deep: #8f3a14;
  --accent: #4fb286;
  --accent-dark: #2f8d68;
  --accent-soft: #dff5e9;
  --yellow: #ffd166;
  --border: #d9e1dd;
  --shadow: 0 12px 30px rgba(29, 43, 37, 0.10);
  --shadow-soft: 0 4px 14px rgba(29, 43, 37, 0.07);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body, #root { min-height: 100%; margin: 0; }
body { min-width: 320px; background: var(--bg); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent-dark); }

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  background: var(--bg);
}

.topbar {
  flex: 0 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 68px);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.brand-block { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-logo-link, .brand-home, .brand-parent-site, .brand-block { color: var(--ink); text-decoration: none; }
.brand-logo-link { display: block; flex: none; }
.brand-text { display: flex; align-items: center; min-width: 0; }
.brand-home { display: block; min-width: 0; }
.brand-block strong {
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}
.brand-parent-site { color: var(--muted); font-size: 13px; line-height: 1.2; font-weight: 700; margin-left: auto; white-space: nowrap; }
.brand-logo { width: 108px; height: 62px; object-fit: contain; display: block; flex: none; }
.brand-home:hover strong, .brand-parent-site:hover { color: var(--brand-dark); }

.view-nav {
  min-height: 58px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px clamp(18px, 4vw, 68px);
  overflow-x: auto;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.view-nav::-webkit-scrollbar { display: none; }
.nav-tab,
.seo-nav a,
.footer-link {
  flex: none;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 9px 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.nav-tab:hover,
.seo-nav a:hover,
.footer-link:hover {
  color: var(--brand-dark);
  background: rgba(255, 122, 61, 0.10);
  text-decoration: none;
}
.nav-tab.active,
.footer-link.active {
  color: #fff;
  background: var(--accent-dark);
}

main {
  flex: 1 0 auto;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 48px) 0 70px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.55fr);
  align-items: stretch;
  gap: clamp(18px, 3vw, 34px);
  margin-bottom: 22px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.home-hero h1,
.search-workspace h1,
.section-heading h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 950;
  color: var(--ink);
}
.section-heading h1 { font-size: clamp(38px, 4.8vw, 68px); }
.home-hero h1,
.search-workspace h1,
.section-heading h1,
.content-card h2,
.data-card h2,
.data-card h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.lead-text,
.search-workspace > p,
.section-heading p {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  margin: 20px 0 0;
}
.seo-intro { max-width: none; }

.hero-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
  min-height: 0;
  align-self: start;
}
.hero-card > * { position: relative; z-index: 1; }
.hero-window-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f7f9f8; border-radius: 6px; }
.hero-card strong { display: block; font-size: 20px; line-height: 1.08; }
.hero-card p { max-width: 270px; color: var(--muted); font-size: 14px; line-height: 1.42; }
.stat-grid { display: grid; gap: 8px; margin-top: 14px; }
.stat-grid span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f8faf9;
  border: 1px solid var(--border);
}
.stat-grid b { color: var(--brand-dark); font-size: 24px; line-height: 1; }

.seo-link-grid,
.seo-links nav,
.compact-link-list,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.seo-link-grid { margin: 24px 0; }
.quick-link-heading {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}
.seo-link-grid a,
.seo-links a,
.compact-link-list a,
.secondary-link {
  --pill-bg: #fff;
  --pill-border: var(--border);
  --pill-ink: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--pill-border);
  border-radius: 6px;
  background: var(--pill-bg);
  color: var(--pill-ink);
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(35, 49, 43, .07);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease;
}
.seo-link-grid a[data-kind="brand"],
.seo-links a[data-kind="brand"],
.compact-link-list a[data-kind="brand"],
.secondary-link[data-kind="brand"] {
  --pill-bg: #edf8f5;
  --pill-border: #9fcfc7;
  --pill-ink: #235f5b;
}
.seo-link-grid a[data-kind="store"],
.seo-links a[data-kind="store"],
.compact-link-list a[data-kind="store"],
.secondary-link[data-kind="store"] {
  --pill-bg: #fff3ec;
  --pill-border: #efc2a7;
  --pill-ink: #7a4327;
}
.seo-link-grid a[data-kind="city"],
.seo-links a[data-kind="city"],
.compact-link-list a[data-kind="city"],
.secondary-link[data-kind="city"] {
  --pill-bg: #fbf6df;
  --pill-border: #dfc985;
  --pill-ink: #5f4f18;
}
.seo-link-grid a[data-kind="combo"],
.seo-links a[data-kind="combo"],
.compact-link-list a[data-kind="combo"],
.secondary-link[data-kind="combo"] {
  --pill-bg: #f3f0ec;
  --pill-border: #c9b9a5;
  --pill-ink: #514537;
}
.seo-link-grid a[data-kind="other"],
.seo-links a[data-kind="other"],
.compact-link-list a[data-kind="other"],
.secondary-link[data-kind="other"] {
  --pill-bg: #f7f5f0;
  --pill-border: #d5cec2;
  --pill-ink: #4e5651;
}
.seo-link-grid a:hover,
.seo-links a:hover,
.compact-link-list a:hover,
.secondary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 22px rgba(35, 49, 43, .14);
  text-decoration: none;
}

form { max-width: 900px; }
label { display: block; font-weight: 900; font-size: 17px; margin-bottom: 10px; }
label span { color: var(--muted); font-size: 14px; font-weight: 750; }
.search-line { display: grid; grid-template-columns: 1fr auto; gap: 14px; }
.detail-line { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(180px, .7fr); gap: 18px; }
.input-wrap { position: relative; }
input {
  width: 100%;
  height: 68px;
  padding: 0 62px 0 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 23px);
  outline: none;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: border-color .18s, box-shadow .18s;
}
select {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font-size: 18px;
  outline: none;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 5px rgba(255, 122, 61, 0.16), var(--shadow-soft);
}
input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 5px rgba(255, 122, 61, 0.16), var(--shadow-soft);
}
.clear {
  position: absolute;
  inset: 0 12px 0 auto;
  width: 42px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.primary,
.secondary {
  min-height: 54px;
  border-radius: 8px;
  padding: 0 24px;
  font-weight: 900;
  cursor: pointer;
}
.primary {
  height: 68px;
  min-width: 176px;
  border: 0;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(217, 79, 24, 0.20);
}
.primary:hover { background: var(--brand-dark); }
.primary:disabled { opacity: .72; cursor: wait; }
.secondary { border: 1px solid var(--border); background: #fff; color: var(--ink); }
.secondary:hover { border-color: var(--brand); color: var(--brand-dark); }
.primary:focus-visible,
.secondary:focus-visible,
.nav-tab:focus-visible,
a:focus-visible,
.clear:focus-visible,
.text-action:focus-visible,
.address-map-link:focus-visible,
.footer-link:focus-visible {
  outline: 3px solid rgba(255, 122, 61, 0.34);
  outline-offset: 3px;
}

.landing-sections,
.content-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.landing-sections { margin: 22px 0; }
.home-directory,
.home-editorial {
  margin-top: clamp(34px, 5vw, 64px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.home-section-heading { max-width: 780px; margin-bottom: 22px; }
.home-section-heading h2,
.home-editorial h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
}
.home-section-heading p,
.home-editorial p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.home-city-directory,
.home-city-alpha-list {
  display: grid;
  gap: 22px;
}
.home-city-alpha-section {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.home-city-alpha-section h2,
.home-city-alpha-section h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
}
.home-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.home-city-link {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.home-city-link:hover { border-color: var(--accent); color: var(--brand-dark); }
.home-city-link strong { font-size: 17px; }
.home-city-link span { color: var(--muted); font-size: 13px; white-space: nowrap; }
.home-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(34px, 5vw, 64px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.home-value-grid article { padding: 28px 24px; border-right: 1px solid var(--border); }
.home-value-grid article:first-child { padding-left: 0; }
.home-value-grid article:last-child { padding-right: 0; border-right: 0; }
.home-value-grid h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; }
.home-value-grid p { margin: 0 0 16px; color: var(--muted); line-height: 1.58; }
.home-value-grid a,
.section-link,
.home-editorial a { color: var(--accent-dark); font-weight: 900; }
.home-brand-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.home-brand-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #9fcfc7;
  border-radius: 6px;
  background: #edf8f5;
  color: #235f5b;
  font-weight: 900;
  text-decoration: none;
}
.home-brand-links a:hover { border-color: var(--brand); color: var(--brand-dark); }
.home-editorial { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr); gap: 30px; }
.home-editorial nav { display: grid; align-content: start; gap: 10px; }
.content-card,
.data-card,
.settings-card,
.map-panel,
.result-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.content-card,
.data-card,
.settings-card {
  padding: clamp(18px, 2.4vw, 26px);
}
.content-card,
.data-card {
  display: flex;
  flex-direction: column;
}
.landing-sections .content-card {
  padding: 16px;
}
.landing-sections .content-card h2 {
  font-size: 21px;
}
.landing-sections .content-card p {
  font-size: 15px;
  line-height: 1.42;
}
.home-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.home-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 178, 134, .42);
  box-shadow: var(--shadow);
}
.content-card h2,
.data-card h2,
.data-card h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.12;
  letter-spacing: 0;
}
.content-card h2 a,
.data-card h2 a,
.data-card h3 a,
.store-title-link {
  color: var(--ink);
  text-decoration: none;
}
.content-card h2 a:hover,
.data-card h2 a:hover,
.data-card h3 a:hover,
.store-title-link:hover {
  color: var(--brand-dark);
}
.content-card p,
.data-card p,
.card-detail,
.field-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.card-meta {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-weight: 950;
}
.card-actions { margin-top: auto; padding-top: 18px; }

.section-heading { max-width: 900px; margin-bottom: 28px; }
.section-heading .eyebrow,
.eyebrow {
  display: block;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.seo-page-heading {
  max-width: none;
  padding: 0 0 clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--border);
}
.seo-section-grid { margin-bottom: 18px; }
.seo-links,
.seo-list,
.link-card-section {
  margin: 20px 0;
}
.seo-links h2,
.seo-list h2,
.link-card-section h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.15;
}
.compact-links {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.seo-list { max-width: none; }
.seo-source { margin-top: 16px; }

.link-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.link-card {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.link-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}
.link-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.link-card h3 a:hover { color: var(--brand-dark); }

.toolbar { max-width: 760px; margin: 0 0 26px; }
.toolbar input,
.settings-card input,
.detail-line input { height: 58px; font-size: 18px; }
.brand-card { min-height: 0; }
.city-heading {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  color: var(--ink);
  font-size: 28px;
}
.store-contact { display: flex; flex-direction: column; gap: 4px; }
.store-contact a,
.result-contact-link {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.source-note {
  display: block;
  margin-top: 8px;
  color: #7a4d12;
  font-size: 13px;
  line-height: 1.35;
}
.store-selection-card .source-note {
  margin-top: 10px;
}
.text-action {
  margin-top: auto;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  padding: 0;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
}
.text-action:hover { color: var(--brand-dark); text-decoration: underline; }
.list-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: #fffdf8;
}

.notice,
.crawl-warning,
.search-feedback,
.active-area,
.error {
  max-width: 900px;
}
.notice {
  margin-top: 24px;
  min-height: 72px;
  padding: 18px 22px;
  background: var(--accent-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  border: 1px solid rgba(79, 178, 134, 0.28);
}
.notice svg,
.empty svg,
.result-row a svg,
.clear svg,
.text-action svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.notice svg,
.empty svg { color: var(--accent-dark); flex: none; }
.active-area { color: var(--muted); margin: 14px 0 0; font-size: 15px; }
.search-feedback {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}
.search-feedback a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.search-feedback a:hover { color: var(--brand-dark); }
.inline-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}
.inline-link:hover { color: var(--brand-dark); }
.error { color: #b42318; font-weight: 800; margin: 12px 0 0; }
.crawl-warning { color: #8a4b08; background: #fff8e8; border-left: 4px solid var(--yellow); padding: 12px 14px; margin: 16px 0 0; }

.results { margin-top: 40px; }
.results h2 { font-size: clamp(25px, 2.8vw, 36px); margin: 0 0 18px; }
.result-table { overflow: hidden; }
.result-head,
.result-row {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(260px, 1.4fr);
  column-gap: 26px;
  align-items: center;
}
.result-head {
  min-height: 44px;
  padding: 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 950;
  border-bottom: 1px solid var(--border);
}
.result-row {
  min-height: 76px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.result-row:last-child { border-bottom: 0; }
.result-row:hover { background: #fff9f2; }
.result-row strong { font-size: 18px; }
.store-result-link {
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}
.store-result-link:hover { color: var(--brand-dark); }
.result-address { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.address-map-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}
.address-map-link:hover { color: var(--brand-dark); text-decoration: underline; }
.result-contact-row { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; }
.match-badge { width: fit-content; border-radius: 6px; padding: 4px 9px; font-size: 12px; font-weight: 950; }
.match-badge.full { color: #05603a; background: #dff5e9; }
.match-badge.partial { color: #8a4b08; background: #fff4d6; }

.map-panel { margin-top: 36px; overflow: hidden; }
.map-heading-row {
  min-height: 88px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}
.map-heading-row h2,
.map-heading-row h3 { margin: 3px 0 0; font-size: clamp(22px, 2.4vw, 31px); }
.map-count {
  flex: none;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}
#store-map,
.city-store-map { width: 100%; height: 430px; background: #eaf5ef; z-index: 0; }
.leaflet-container .leaflet-tile {
  width: 257px !important;
  height: 257px !important;
  border: 0;
  outline: 1px solid transparent;
  backface-visibility: hidden;
}
.leaflet-tile-container {
  will-change: transform;
}
.city-map-panel { margin: 24px 0; }
.map-fallback { margin: 0; padding: 24px; color: var(--muted); }
.map-popup { display: grid; gap: 6px; font-family: inherit; color: var(--ink); }
.map-popup span { color: var(--muted); line-height: 1.35; }
.map-popup a { color: var(--accent-dark); font-weight: 900; text-decoration: none; overflow-wrap: anywhere; word-break: break-word; }
.store-cluster-icon { border-radius: 50%; background: rgba(79, 178, 134, .24); display: grid; place-items: center; }
.store-cluster-icon span {
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 2px 8px rgba(16, 24, 39, .28);
}

.empty {
  margin: 48px auto 0;
  width: fit-content;
  max-width: 680px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 18px;
}
.empty strong { color: var(--ink); font-size: 18px; }
.settings-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.settings-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr); gap: 16px; }
.settings-status { min-height: 22px; margin: 16px 0 0; color: var(--ink); font-weight: 850; }
.prose-card { max-width: 920px; }
.content-card p + h2 { margin-top: 26px; }
.card-lines { display: grid; gap: 6px; }
.card-lines p { margin: 0; }

.alpha-list {
  display: grid;
  gap: 22px;
}
.alpha-list .alphabet-panel {
  margin-bottom: 0;
}
.alpha-section {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.alpha-heading,
.city-heading {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
}
.city-heading {
  padding-top: 0;
}

.store-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.store-link-card {
  min-height: 164px;
}
.store-link-card h3 {
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.1;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
}
.store-link-card[hidden],
.store-alpha-group[hidden] {
  display: none;
}
.store-link-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.directory-filter-panel {
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.directory-filter-panel label {
  color: var(--ink);
  font-weight: 900;
}
.directory-filter-panel input {
  max-width: 560px;
}
.store-alpha-group .store-card-grid {
  margin-top: 14px;
}
.brand-directory {
  margin: 22px 0;
}
.brand-directory h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.15;
}
.alphabet-panel {
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.alphabet-panel h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}
.alphabet-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.alphabet-jump a {
  min-width: 38px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 950;
  text-decoration: none;
}
.alphabet-jump a:hover {
  color: var(--brand-dark);
  border-color: rgba(255, 122, 61, 0.42);
  background: #fff7ef;
}
.brand-group-list {
  display: grid;
  gap: 0;
}
.brand-group {
  border-radius: 0;
  border-width: 0 0 1px;
  box-shadow: none;
  background: transparent;
  padding: 22px 0;
}
.brand-group:first-child {
  border-top: 2px solid var(--border);
}
.brand-group:last-child {
  border-bottom: 2px solid var(--border);
}
.brand-group h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0 0 14px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--brand-deep);
  font-size: 23px;
  line-height: 1.08;
}
.brand-group .store-link-card h3,
.store-link-card h3 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--brand-deep);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.15;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
}
.brand-group-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 9px;
}
.brand-group-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent-dark);
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(35, 49, 43, 0.05);
  overflow-wrap: anywhere;
}
.brand-group-links a:hover {
  color: var(--brand-dark);
  background: #fff7ef;
  border-color: rgba(255, 122, 61, 0.42);
}
.brand-text-directory .alphabet-panel {
  margin-bottom: 26px;
}
.brand-alpha-list {
  display: grid;
  gap: 0;
}
.brand-alpha-section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.brand-alpha-section:last-child {
  border-bottom: 1px solid var(--border);
}
.brand-alpha-section h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--brand-dark);
  font-size: 28px;
  line-height: 1;
}
.brand-alpha-section ul {
  columns: 3 170px;
  column-gap: 30px;
  margin: 0;
  padding-left: 20px;
}
.brand-alpha-section li {
  break-inside: avoid;
  margin: 0 0 8px;
  color: var(--muted);
}
.brand-alpha-section a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
}
.brand-alpha-section a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}
.related-card {
  margin-top: 18px;
}
.availability-note {
  margin: 18px 0;
  background: var(--accent-soft);
  border-color: rgba(79, 178, 134, 0.30);
}
.availability-note h2 {
  font-size: 22px;
}
.local-area-section {
  margin: 24px 0;
}
.local-area-section > h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
}
.local-area-list {
  display: grid;
  gap: 22px;
}
.local-area-card {
  padding: 0;
}
.local-area-card > h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

footer {
  min-height: 92px;
  border-top: 1px solid var(--border);
  padding: 20px clamp(18px, 4vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  flex-wrap: wrap;
  background: #ffffff;
}
.footer-stats,
.footer-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
footer i { width: 4px; height: 4px; background: var(--muted); border-radius: 50%; }
footer a { color: var(--accent-dark); font-weight: 900; text-decoration: none; }
footer a:hover { color: var(--brand-dark); }

.spin,
.spinner { animation: spin .8s linear infinite; }
.spinner {
  width: 19px;
  height: 19px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: white;
  border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-value-grid { grid-template-columns: 1fr; }
  .home-value-grid article { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .home-value-grid article:last-child { border-bottom: 0; }
  .home-editorial { grid-template-columns: 1fr; }
  .hero-card { min-height: 0; }
  .result-head { display: none; }
  .result-row { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .result-row > *::before {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
  }
  .result-row > :nth-child(2)::before { content: "Osoite"; }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 86px;
    padding: 12px 16px;
  }
  .brand-logo { width: 88px; height: 58px; }
  .brand-block strong { font-size: 20px; }
  .brand-parent-site { display: none; }
  .view-nav { min-height: 50px; padding: 7px 16px; }
  .nav-tab, .seo-nav a { padding: 8px 11px; font-size: 14px; }
  main { width: calc(100% - 28px); padding: 28px 0 48px; }
  .home-hero h1, .search-workspace h1, .section-heading h1 { font-size: 42px; line-height: 1.02; }
  .lead-text, .search-workspace > p, .section-heading p { font-size: 18px; }
  .search-line, .detail-line, .settings-fields { grid-template-columns: 1fr; }
  input, .primary { height: 60px; }
  .primary { width: 100%; }
  .hero-card, .content-card, .data-card, .settings-card { border-radius: 8px; }
  .landing-sections, .content-grid, .card-grid, .link-card-grid { grid-template-columns: 1fr; }
  .brand-alpha-section { grid-template-columns: 1fr; gap: 12px; }
  .brand-alpha-section ul { columns: 1; }
  .home-city-grid { grid-template-columns: 1fr; }
  .map-heading-row { min-height: 82px; padding: 17px; align-items: flex-end; }
  #store-map, .city-store-map { height: 340px; }
  footer { align-items: flex-start; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
