:root {
  color-scheme: light;
  --navy: #0d2b52;
  --navy-deep: #09203e;
  --red: #a92e2c;
  --gold: #f5b72a;
  --cream: #fff7ed;
  --paper: #fffdf9;
  --white: #fff;
  --ink: #1e293b;
  --muted: #526174;
  --line: #e5ddd2;
  --soft-shadow: 0 8px 28px rgb(13 43 82 / 6%);
  --radius: 15px;
  font-family: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.55; }
html { scroll-padding-top: 92px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 0.19em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; color: var(--navy); letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 4.15vw, 3.65rem); max-width: 17ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.18rem; }
:focus-visible { outline: 3px solid #1377b0; outline-offset: 4px; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: .7rem; left: .7rem; z-index: 20; padding: .65rem 1rem; background: white; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: none; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-library { position: absolute; width: 0; height: 0; pointer-events: none; }
.icon-soft { fill: currentColor; opacity: .18; stroke: none; }
.muted, .small-print, .section-description { color: var(--muted); }
.small-print { font-size: .875rem; margin-top: 1rem; }
.section-description { margin: .65rem 0 1.1rem; max-width: 67ch; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--navy); color: white; border-bottom: 1px solid #fff2; }
.header-row { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-weight: 750; white-space: nowrap; text-decoration: none; letter-spacing: -.02em; }
.brand img { flex: none; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.65rem); }
.desktop-nav > a, .desktop-nav summary, .header-actions > a { color: #fff; text-decoration: none; font-size: .91rem; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"], .desktop-nav summary:hover, .header-actions a:hover { color: var(--gold); }
.desktop-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .4em; }
.desktop-nav > a, .desktop-nav summary, .header-actions > a { min-height: 44px; display: inline-flex; align-items: center; }
.menu-popover, .mobile-menu { position: relative; }
.menu-popover summary, .mobile-menu summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.menu-popover summary .icon { width: 17px; margin-left: 3px; }
.menu-panel, .mobile-menu nav { position: absolute; padding: .6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--soft-shadow); }
.menu-panel { display: grid; grid-template-columns: 1fr 1fr; width: 370px; }
.menu-panel a, .mobile-menu nav a { display: block; text-decoration: none; color: var(--navy); padding: .65rem .7rem; font-weight: 700; font-size: .9rem; border-radius: .5rem; }
.menu-panel a:hover, .menu-panel a[aria-current="page"], .mobile-menu nav a:hover, .mobile-menu nav a[aria-current="page"] { color: var(--red); background: var(--cream); }
.search-icon { display: grid !important; width: 44px; place-items: center; border: 1px solid #ffffff40; border-radius: 10px; }
.mobile-menu, .mobile-bar { display: none; }
.site-header :focus-visible, .feature-band :focus-visible, .home-hero :focus-visible, .spotlight :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.button { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: .55rem; padding: .65rem 1rem; border: 1px solid transparent; border-radius: 10px; font-weight: 750; text-decoration: none; line-height: 1.25; }
.button .icon, .text-action .icon, .source-link .icon { width: 18px; height: 18px; }
.button.primary { background: var(--red); color: white; }
.button.primary:hover { background: #822320; }
.button.gold { background: var(--gold); color: var(--navy-deep); }
.button.gold:hover { background: #ffd171; }
.button.outline { background: white; border-color: #c8cdd2; color: var(--navy); }
.button.outline:hover { background: var(--cream); border-color: var(--navy); }
.button.light-outline { background: #ffffff0c; color: white; border-color: #ffffff55; }
.button.light-outline:hover { background: #ffffff22; border-color: #ffffffaa; }
.compact-button { padding: .55rem .7rem; min-height: 44px; font-size: .88rem; }
.text-action { display: inline-flex; align-items: center; gap: .45rem; font-weight: 750; text-decoration: none; }
.text-action:hover { text-decoration: underline; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; margin-top: 1.15rem; }

.home-hero { background: var(--navy-deep); color: white; }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: 3.9rem; }
.hero-copy { padding-block: .25rem; }
.hero-copy h1 { color: white; }
.eyebrow { margin-bottom: .85rem; color: #ffcb59; font-size: .79rem; font-weight: 750; letter-spacing: .085em; text-transform: uppercase; }
.lead { margin-top: .95rem; max-width: 58ch; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.home-hero .lead { color: #d8e2ef; }
.hero-figure { overflow: hidden; background: #10243b; border-radius: 20px; position: relative; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 6 / 4.4; object-fit: cover; }
.hero-figure figcaption { position: absolute; right: .65rem; bottom: .65rem; background: #101a27e8; color: white; border-radius: .3rem; padding: .25rem .45rem; font-size: .68rem; }
.hero-search { display: flex; align-items: center; gap: .55rem; padding: .35rem; border-radius: 12px; background: white; color: var(--navy); margin-top: 1.6rem; }
.hero-search > .icon { margin-left: .45rem; width: 20px; }
.hero-search input { min-height: 46px; flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); padding: .35rem .18rem; }
.hero-search input:focus-visible { outline-color: var(--red); outline-offset: 0; }
.hero-search .button { white-space: nowrap; }
.home-hero .text-action { color: #fff1cb; }
.hero-find { margin-top: .6rem; }
.hero-find:not([hidden]) { display: flex; align-items: center; gap: .6rem; padding: .65rem .78rem; border: 1px solid #ffffff55; border-radius: 10px; color: #fff1cc; text-decoration: none; font-weight: 750; }
.hero-find:hover { background: #ffffff12; }
.hero-find .icon:last-child { margin-left: auto; }

.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1.4rem; box-shadow: var(--soft-shadow); }
.quick-card { min-height: 62px; padding: .7rem 1rem; display: flex; flex-direction: row-reverse; align-items: center; gap: .7rem; justify-content: flex-end; text-decoration: none; color: var(--navy); background: white; font-weight: 750; }
.quick-card + .quick-card { border-left: 1px solid var(--line); }
.quick-card:hover { background: var(--cream); color: var(--red); }
.quick-card .icon { color: var(--red); height: 21px; width: 21px; }
.home-body, .page-body { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.section { margin-top: clamp(2.8rem, 6vw, 4.9rem); }
.section > h2 { margin-bottom: 1rem; }
.section > h2:has(+ .section-description) { margin-bottom: 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.category-tile { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); text-decoration: none; box-shadow: var(--soft-shadow); }
.category-tile:hover, .short-card:hover { border-color: #b8945f; }
.category-tile img { width: 100%; height: auto; aspect-ratio: 1.92; object-fit: cover; background: var(--cream); }
.category-tile > div { position: relative; padding: 1rem 2.45rem 1rem 1rem; }
.category-tile p { margin-top: .25rem; font-size: .9rem; color: var(--muted); }
.category-tile .icon { position: absolute; right: .9rem; top: 1rem; width: 20px; height: 20px; color: var(--red); }
.short-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.compact-categories { margin-top: .85rem; }
.short-card { display: flex; align-items: center; justify-content: space-between; gap: .7rem; text-decoration: none; min-height: 55px; padding: .65rem .85rem; border: 1px solid #cbd6e2; border-radius: 10px; background: #f8fbff; color: var(--navy); }
.short-card:hover { background: #fff4df; color: var(--red); }
.short-card .icon { width: 18px; height: 18px; color: var(--red); }
.center-cta { display: flex; justify-content: center; margin-top: 1.45rem; }
.main-price-cta { min-height: 54px; padding-inline: 1.4rem; box-shadow: 0 5px 13px #a92e2c25; }
.main-price-cta .icon { order: -1; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.photo-grid-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 850px; }
.photo-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--soft-shadow); }
.photo-card img { width: 100%; aspect-ratio: 1.56; object-fit: cover; }
.photo-card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem; }
.photo-card-body h3 { line-height: 1.2; }
.photo-card-body p { flex: 1; color: var(--muted); font-size: .92rem; }
.photo-card-body .button { margin-top: .25rem; }
.spotlight { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); background: var(--navy); border-radius: 20px; overflow: hidden; margin-top: 4rem; color: white; }
.spotlight img { height: 100%; min-height: 260px; width: 100%; object-fit: cover; }
.spotlight > div { padding: clamp(1.3rem, 4.2vw, 3.6rem); align-self: center; }
.spotlight h2, .feature-band h2, .feature-band h3 { color: white; }
.spotlight p, .feature-band p { margin: .65rem 0 1rem; color: #e1eaf3; }
.spotlight-link { display: inline-flex; color: white; margin: .75rem 0 .15rem 1rem; gap: .4rem; align-items: center; font-weight: 700; }
.spotlight-link .icon { width: 17px; }

.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero > .shell { padding-block: 1.3rem 2.75rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 .85rem; list-style: none; color: var(--muted); font-size: .84rem; }
.breadcrumbs li + li::before { content: "/"; padding-right: .35rem; color: #6d7580; }
.breadcrumbs a { color: var(--navy); }
.page-intro { padding-top: .35rem; }
.page-intro.with-image { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .78fr); gap: 1.8rem; align-items: center; }
.page-intro h1 { max-width: 20ch; }
.page-intro > img { width: 100%; max-height: 290px; aspect-ratio: 1.52; object-fit: cover; border-radius: var(--radius); }
.page-body > .section:first-child { margin-top: 2.1rem; }
.editorial { max-width: 72ch; margin-top: clamp(2rem, 5vw, 3.75rem); }
.prose-section + .prose-section { margin-top: 1.9rem; }
.prose-section h2 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); }
.prose-section p { margin-top: .6rem; }
.notice { display: flex; gap: .7rem; align-items: flex-start; padding: .95rem 1rem; margin: .8rem 0 1.2rem; max-width: 80ch; background: #fff3db; border: 1px solid #efdaaf; border-radius: 10px; }
.notice .icon { width: 21px; height: 21px; color: #85551a; }
.notice strong { color: var(--navy); }
.notice p { margin-top: .17rem; }
.notice.caution { border-color: #be8235; margin-top: 2rem; }
.price-context { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: 1rem; margin: .85rem 0 1.2rem; background: #fff5df; border: 1px solid #ebd6a5; border-radius: 13px; }
.price-context-icon { display: grid; width: 44px; height: 44px; place-items: center; background: #ffdf93; color: #553509; border-radius: 10px; }
.price-context-icon .icon { width: 21px; height: 21px; }
.price-context strong { display: block; color: var(--navy); }
.price-context p { margin-top: .18rem; color: #535157; font-size: .91rem; }
.price-context .button { border-color: #cab985; }
.feature-band { margin-top: 2rem; color: white; background: var(--navy); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.feature-band .source-list { margin-top: .4rem; }
.feature-band .source-link { color: #fff2d0; }

.filter-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; margin: .8rem 0 .5rem; }
.filter-controls label, .calculator label, .correction-panel label { display: grid; gap: .35rem; color: var(--navy); font-weight: 700; font-size: .9rem; }
.filter-term { flex: 1 1 250px; }
.filter-term > span { display: flex; align-items: center; gap: .25rem; border: 1px solid #b9c1cb; border-radius: 8px; background: white; }
.filter-term > span > .icon { margin-left: .65rem; width: 19px; color: var(--muted); }
.filter-term > span > input { flex: 1; min-width: 0; width: 100%; border: 0; }
input:not(.hero-search input), select, textarea { min-height: 44px; color: var(--ink); background: white; border: 1px solid #b9c1cb; border-radius: 8px; padding: .45rem .65rem; font-weight: 400; }
.filter-controls .filter-term span input { border: 0; }
.filter-reset { background: transparent; color: var(--red); border: 0; min-height: 44px; font-weight: 750; }
.filter-reset:hover { text-decoration: underline; }
.result-count { min-height: 1.5em; margin: .45rem 0 .5rem; font-size: .85rem; color: var(--muted); }
.empty-state { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.empty-state p { margin: .2rem 0 .75rem; }
.table-wrap { max-width: 100%; overflow: auto; background: white; border: 1px solid var(--line); border-radius: 11px; }
.filter-table .table-wrap { max-height: min(65vh, 580px); }
table { min-width: 580px; width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; }
.macro-table { min-width: 772px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .62rem .78rem; vertical-align: top; border-bottom: 1px solid #eee5da; }
thead th { position: sticky; top: 0; z-index: 1; background: var(--navy); color: white; font-size: .83rem; vertical-align: middle; }
tbody th { color: var(--navy); font-weight: 700; min-width: 11rem; }
tbody tr:nth-child(even) { background: #fffaf2; }
tbody tr:last-child > * { border-bottom: 0; }
tbody td strong { color: var(--navy); white-space: nowrap; }
tbody td a { font-weight: 600; }
.price-amount { display: inline-block; padding: .2rem .48rem; background: #fff0d0; color: #583a12; border-radius: 6px; font-variant-numeric: tabular-nums; }
.table-category { display: inline-flex; align-items: center; gap: .3rem; min-height: 35px; padding: .22rem .48rem; border: 1px solid #dce6f0; border-radius: .38rem; background: #f2f7fc; color: var(--navy); font-weight: 700; font-size: .84rem; text-decoration: none; }
.table-category:hover { border-color: var(--navy); background: #eaf2fa; text-decoration: underline; }
.table-category .icon { width: 15px; height: 15px; }
.mobile-cell-label { display: none; }
tbody small { display: block; color: var(--muted); font-size: .81rem; font-weight: 400; max-width: 34ch; margin-top: .18rem; }

.calculator, .correction-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.45rem); }
.calculator-choices, .form-grid { display: grid; gap: .65rem; grid-template-columns: 1fr 1fr; }
.calculator label, .calculator select, .form-grid > label { min-width: 0; }
.calculator-results { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; padding-top: .85rem; }
.calculator-results > div { display: grid; gap: .15rem; background: var(--cream); border-radius: .5rem; padding: .5rem .65rem; }
.calculator-results strong { color: var(--navy); font-size: 1.3rem; }
.calculator-results span { color: var(--muted); font-size: .8rem; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; }
.full-field { grid-column: 1 / -1; }
.optional { color: var(--muted); font-weight: 400; }
.form-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin: .65rem 0; }
.form-status { color: var(--navy); font-weight: 650; }
.store-tools { display: grid; gap: .8rem; background: var(--navy); color: white; padding: clamp(.9rem, 2.3vw, 1.4rem); border-radius: 15px; }
.store-filter-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: .8rem; }
.store-search { display: grid; gap: .35rem; font-size: .92rem; font-weight: 750; }
.store-search span { display: flex; align-items: center; gap: .45rem; padding-inline: .65rem; background: #fff; color: var(--navy); border-radius: 9px; }
.store-search .icon { width: 20px; }
.store-search input:not(.hero-search input) { min-width: 0; width: 100%; border: 0; padding-inline: .2rem; }
.store-tools :focus-visible { outline-color: var(--gold); }
.store-count { margin: .85rem 0 .55rem; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .85rem; }
.store-card { display: flex; flex-direction: column; gap: .32rem; min-width: 0; border: 1px solid var(--line); background: white; border-radius: var(--radius); padding: 1rem; box-shadow: var(--soft-shadow); content-visibility: auto; contain-intrinsic-block-size: auto 9.25rem; }
.store-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: .24rem; }
.store-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: #f9ecea; color: var(--red); }
.store-icon:empty::before { content: ""; width: 13px; height: 13px; border-radius: 50% 50% 50% 0; background: radial-gradient(circle at center, white 18%, currentColor 21%); transform: rotate(-45deg); }
.store-icon .icon { display: block; width: 22px; height: 22px; }
.store-card h4 { margin: 0; color: var(--navy); font-size: 1.12rem; line-height: 1.25; }
.state-tag { border-radius: 5px; background: #eaf0f8; color: var(--navy); font-weight: 750; padding: .18rem .42rem; font-size: .8rem; }
.store-note { color: var(--navy); font-weight: 700; font-size: .85rem; margin: 0; }
.store-card address { margin-bottom: .55rem; color: var(--muted); font-style: normal; font-size: .9rem; }
.store-bottom { margin-top: auto; display: flex; flex-direction: column; gap: .48rem; }
.store-bottom > .button { align-self: flex-start; }
.store-empty { border: 1px solid var(--line); background: white; border-radius: 10px; padding: 1rem; }
.store-empty p { margin: 0 0 .6rem; }
.flavor-feature { margin-top: 2.1rem; }
.store-state { display: grid; gap: .35rem; align-content: start; font-size: .92rem; font-weight: 750; }
.store-state select { min-width: 0; width: 100%; }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; }
.map-actions .button:disabled { opacity: .65; cursor: wait; }
.map-status-filter { display: inline-flex; align-items: center; gap: .45rem; font-size: .87rem; color: #edf4fb; cursor: pointer; min-height: 44px; }
.map-status-filter input { min-height: auto; width: 1rem; height: 1rem; accent-color: var(--gold); }
.map-location-status { margin: 0; font-size: .9rem; color: #e3edf7; }
.map-location-status:empty { display: none; }
.restaurant-map-wrap { margin: .75rem 0 1rem; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.restaurant-map { isolation: isolate; z-index: 0; height: clamp(330px, 49vw, 540px); scroll-margin-top: 6rem; background: #e0eef6 !important; }
.restaurant-map-preview { display: block; width: 100%; height: 100%; pointer-events: none; }
.restaurant-map .leaflet-bar.leaflet-control-zoom { border: 1px solid #b8c9d8; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px #16324b28; }
.restaurant-map .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; color: var(--navy); }
.restaurant-map .leaflet-control-zoom a:hover { background: #edf5fb; }
.map-state-label span, .map-city-label span { display: inline-block; translate: -50% -50%; white-space: nowrap; pointer-events: none; text-shadow: 0 0 3px #fff, 0 0 2px #fff, 0 1px #fff; }
.map-state-label span { color: #4b6359; font-size: .75rem; font-weight: 750; letter-spacing: .1em; }
.map-city-label span { color: #284768; font-size: .75rem; font-weight: 700; }
.map-city-label span::before { content: ""; display: inline-block; vertical-align: .1em; width: .32rem; height: .32rem; margin-right: .25rem; border-radius: 50%; background: #436586; }
.restaurant-map .leaflet-popup-content { font: inherit; font-size: .9rem; }
.restaurant-map .leaflet-popup-content p { margin: .3rem 0; }
.map-restaurant-popup .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 6px 20px #172d4350; }
.map-store-card strong { display: block; color: var(--navy); font-size: 1rem; }
.restaurant-map .leaflet-popup-content .map-google-link { display: flex; justify-content: center; margin-top: .65rem; color: white; }
.map-caption { padding: .55rem .85rem; margin: 0; color: var(--muted); font-size: .85rem; }
.nearest-restaurants { margin-top: 1.5rem; border: 1px solid #efdbac; border-radius: var(--radius); padding: clamp(.8rem, 2.2vw, 1.25rem); background: #fffbf0; }
.nearest-restaurants h3 { margin: 0 0 .8rem; }
.nearest-restaurants .store-card { border-color: #eddfbb; }
.store-results-heading { margin: 1.6rem 0 0; }
.location-source { margin-top: 1rem; }
.state-directory { display: grid; align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.state-directory details { border: 1px solid var(--line); border-radius: 10px; background: white; }
.state-directory summary { cursor: pointer; padding: .7rem .9rem; color: var(--navy); font-weight: 760; }
.state-directory summary span { margin-left: .3rem; color: var(--muted); font-size: .83rem; }
.state-directory ul { margin: 0; padding: 0 .9rem .6rem; list-style: none; }
.state-directory li a { display: block; padding: .4rem 0; font-size: .9rem; overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .store-filter-row { grid-template-columns: 1fr; }
  .state-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .state-directory { grid-template-columns: 1fr; }
}
.faq-list { display: grid; gap: .45rem; max-width: 800px; }
.faq-list details { padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: white; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: .7rem; cursor: pointer; color: var(--navy); font-weight: 750; list-style: none; }
.faq-list summary .icon { width: 18px; height: 18px; }
.faq-list details[open] summary .icon { rotate: 180deg; }
.faq-list details p { margin-top: .55rem; color: var(--muted); }
.source-grid, .site-footer ul { list-style: none; padding: 0; margin: 0; }
.source-grid { display: grid; gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.source-button { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7rem; min-height: 75px; height: 100%; padding: .67rem .8rem; border: 1px solid #c8d5e3; background: white; color: var(--navy); border-radius: 11px; text-decoration: none; }
.source-button:hover { border-color: var(--red); background: #fff8ea; color: var(--red); }
.source-button small { display: block; color: var(--muted); margin-top: .1rem; font-size: .81rem; }
.source-icon { display: grid; place-items: center; width: 38px; height: 38px; background: #eaf0f8; border-radius: 8px; }
.source-button .icon { width: 20px; height: 20px; }
.source-button > .icon { color: var(--red); width: 18px; height: 18px; }

.site-footer { color: #d3dfed; background: var(--navy-deep); padding-top: 2.7rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(1rem, 3vw, 2.75rem); }
.footer-brand img { margin-bottom: .6rem; }
.footer-brand strong, .footer-title { color: white; font-weight: 750; }
.footer-brand p { margin-top: .5rem; max-width: 33ch; font-size: .9rem; }
.footer-title { margin-bottom: .45rem; }
.site-footer li + li { margin-top: .24rem; }
.site-footer a { color: #dbe7f7; font-size: .9rem; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #ffffff25; margin-top: 1.8rem; padding-block: 1rem; display: flex; justify-content: space-between; gap: .6rem; font-size: .83rem; }

@media (max-width: 1000px) {
  .header-row { gap: 1rem; }
  .header-actions { gap: .6rem; }
  .desktop-nav { gap: .75rem; }
  .desktop-nav a, .desktop-nav summary { font-size: .85rem; }
}

@media (max-width: 880px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; place-items: center; min-width: 45px; min-height: 45px; border: 1px solid #ffffff40; border-radius: 10px; }
  .mobile-menu nav { right: 0; top: calc(100% + .75rem); width: min(320px, calc(100vw - 32px)); max-height: min(70dvh, 680px); overflow: auto; }
  .mobile-menu .mobile-categories summary { display: flex; justify-content: space-between; min-height: 44px; padding-inline: .7rem; margin-top: .3rem; border: 1px solid var(--line); color: var(--navy); font-size: .9rem; font-weight: 750; }
  .mobile-categories > div { display: grid; grid-template-columns: 1fr 1fr; padding-top: .3rem; }
  .mobile-categories summary .icon { width: 18px; height: 18px; }
  .home-hero-inner { padding-block: 2.65rem; }
  .quick-grid, .short-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-card:nth-child(3) { border-left: 0; }
  .quick-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .store-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 760px) {
  .mobile-cards.table-wrap, .filter-table .mobile-cards.table-wrap {
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .mobile-cards table, .mobile-cards tbody { display: block; width: 100%; min-width: 0; }
  .mobile-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mobile-cards tbody > tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .45rem .55rem;
    padding: .9rem;
    margin: 0 0 .65rem;
    background: white;
    border: 1px solid #e2ddd4;
    border-radius: 15px;
    box-shadow: 0 3px 10px #152c4910;
  }
  .mobile-cards tbody > tr > * { display: block; min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
  .mobile-cards .cell-name { grid-column: 1 / -1; color: var(--navy); font-size: 1.03rem; font-weight: 780; line-height: 1.25; }
  .mobile-cards .cell-name small { margin: .28rem 0 .05rem; font-size: .8rem; line-height: 1.35; max-width: 42ch; }
  .mobile-cards .cell-group, .mobile-cards .cell-serving { grid-column: 1 / -1; }
  .mobile-cards .cell-group .mobile-cell-label { display: none; }
  .mobile-cards .cell-group .table-category { min-height: 32px; padding: .18rem .48rem; font-size: .78rem; }
  .mobile-cards .cell-serving { display: flex; gap: .45rem; align-items: baseline; padding: .26rem 0 .1rem; }
  .mobile-cards .cell-serving .cell-value { color: var(--ink); font-size: .86rem; }
  .mobile-cards .mobile-cell-label { display: flex; align-items: center; gap: .3rem; margin: 0 0 .16rem; font-size: .74rem; color: #46586b; font-weight: 740; line-height: 1.2; }
  .mobile-cards .mobile-cell-label .icon { color: #5a6676; width: .97rem; height: .97rem; }
  .mobile-cards .cell-serving .mobile-cell-label { flex-shrink: 0; margin: 0; }
  .mobile-cards .cell-price, .mobile-cards .cell-calories,
  .mobile-cards .cell-protein, .mobile-cards .cell-carbs, .mobile-cards .cell-fat, .mobile-cards .cell-sodium {
    padding: .58rem .62rem;
    border-radius: 9px;
    background: #f0f4f9;
  }
  .mobile-cards .cell-price { background: #fff2d4; }
  .mobile-cards .cell-price .mobile-cell-label, .mobile-cards .cell-price .icon { color: #664518; }
  .mobile-cards .price-amount { padding: 0; background: transparent; color: #442d12; white-space: normal; }
  .mobile-cards .cell-price .cell-value, .mobile-cards .cell-calories .cell-value { font-weight: 750; font-variant-numeric: tabular-nums; }
  .mobile-cards .cell-calories .muted { color: #46586b; font-weight: 650; }
  .mobile-cards .cell-calories .cell-value { font-size: .88rem; }
  .mobile-cards .macro-table tbody > tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mobile-cards .macro-table .cell-group { font-size: .84rem; color: var(--muted); }
  .mobile-cards .macro-table .cell-value strong { font-size: .99rem; }
  .mobile-cards .macro-table .mobile-cell-label { overflow-wrap: normal; }
  .mobile-cards .macro-table .cell-sodium { grid-column: span 2; }
  .filter-controls { gap: .55rem; }
  .menu-more { margin-top: 1.05rem; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 74px; }
  body { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
  .shell { width: calc(100% - 32px); }
  .header-row { min-height: 60px; gap: .45rem; }
  .brand { gap: .38rem; font-size: .94rem; white-space: normal; }
  .brand img { width: 33px; }
  .header-actions .search-icon { display: none !important; }
  .header-actions .lang-link { font-size: .82rem; }
  .home-hero-inner, .page-intro.with-image { grid-template-columns: 1fr; gap: 1.2rem; }
  .home-hero-inner { padding-block: 1.8rem; }
  .hero-figure img { aspect-ratio: 1.72; }
  .hero-search { margin-top: 1.05rem; }
  .hero-search > .icon { display: none; }
  .hero-search input { padding-left: .35rem; }
  .hero-search button { padding-inline: .62rem; }
  .page-hero > .shell { padding-bottom: 1.6rem; }
  .page-intro > img { max-height: 208px; aspect-ratio: 1.85; }
  .category-grid, .photo-grid, .store-grid, .calculator-choices, .form-grid { grid-template-columns: 1fr; }
  .source-grid { grid-template-columns: 1fr; }
  .price-context { grid-template-columns: auto minmax(0, 1fr); gap: .65rem; }
  .price-context > .button { grid-column: 2; justify-self: start; }
  .category-tile img { aspect-ratio: 2.25; }
  .quick-card { font-size: .88rem; padding: .45rem .55rem; min-height: 52px; gap: .38rem; }
  .quick-card .icon { width: 17px; height: 17px; }
  .short-card { font-size: .92rem; }
  .spotlight, .feature-band { grid-template-columns: 1fr; margin-top: 2.6rem; }
  .spotlight img { min-height: 0; height: auto; aspect-ratio: 2; }
  .spotlight-link { display: flex; margin-left: 0; }
  .filter-controls { align-items: stretch; }
  .filter-controls > label:not(.filter-term) { flex: 1 1 120px; min-width: 0; }
  .filter-controls > label > select { width: 100%; }
  .filter-table .table-wrap { max-height: min(60vh, 500px); }
  table { font-size: .9rem; }
  th, td { padding: .55rem .6rem; }
  .calculator-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0; z-index: 4; border-top: 1px solid var(--line); background: white; padding: .2rem .15rem calc(.2rem + env(safe-area-inset-bottom)); }
  .mobile-action { display: flex; gap: .12rem; min-height: 48px; align-items: center; justify-content: center; flex-direction: column-reverse; color: var(--navy); font-size: .73rem; font-weight: 700; text-decoration: none; }
  .mobile-action .icon { color: var(--red); width: 20px; height: 20px; }
}

@media print {
  .site-header, .site-footer, .mobile-bar, .filter-controls, .hero-actions, .hero-search, .hero-find, .menu-more { display: none; }
  .shell { width: 100%; }
  .filter-table .table-wrap { max-height: none; overflow: visible; }
  table, .macro-table { min-width: 0; }
  thead th { position: static; }
}
