/* ============================================================
   Independent Chick-fil-A Menu Guide — Design System
   Brand-inspired palette: signature red on clean white.
   All photography is local .avif scraped from the official site.
   ============================================================ */

:root {
  --primary: #DD0031;
  --primary-bright: #E51636;
  --primary-hover: #B80028;
  --primary-soft: #FFF1F3;
  --primary-border: #F7C9D2;
  --secondary: #004F71;
  --secondary-soft: #EAF4F8;
  --dark: #23201F;
  --muted: #6B6563;
  --light-bg: #FAF8F8;
  --surface: #FFFFFF;
  --border: #E9DEE2;
  --green: #167A4B;
  --green-soft: #E9F6EF;
  --amber: #9A6200;
  --amber-soft: #FFF5E3;
  --shadow-sm: 0 1px 2px rgba(35,32,31,.06), 0 2px 8px rgba(35,32,31,.04);
  --shadow-md: 0 8px 24px rgba(35,32,31,.08);
  --shadow-lg: 0 18px 48px rgba(35,32,31,.12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1220px;
  --font: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: var(--surface);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary-bright); outline-offset: 2px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 880px); margin-inline: auto; }
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.bg-light { background: var(--light-bg); }
.bg-soft { background: var(--primary-soft); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .76rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* Typography */
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 16px; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 16px; }
ul, ol { padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: #403B39; max-width: 72ch; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.divider { height: 1px; background: var(--border); border: 0; margin: 40px 0; }

/* Notice bar */
.notice-bar { background: var(--primary); color: #fff; font-size: .8rem; font-weight: 600; }
.notice-bar .container { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 34px; flex-wrap: wrap; padding-block: 6px; text-align: center; }
.notice-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.notice-sep { opacity: .5; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-weight: 900; font-size: 1.06rem; letter-spacing: -.04em; white-space: nowrap; }
.brand:hover { color: var(--primary-hover); }
.brand-badge { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; line-height: 1; box-shadow: inset 0 -3px 0 rgba(0,0,0,.1); }
.brand small { display: block; font-size: .6rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.main-nav { display: flex; gap: 4px; align-items: center; flex: 1; flex-wrap: wrap; }
.main-nav a { color: #3B3635; font-size: .84rem; font-weight: 700; padding: 8px 10px; border-radius: 8px; }
.main-nav a:hover, .main-nav a.active { background: var(--primary-soft); color: var(--primary); }
.header-search { display: flex; align-items: center; gap: 8px; background: var(--light-bg); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; width: 220px; }
.header-search input { border: 0; background: transparent; outline: 0; width: 100%; font-size: .82rem; color: var(--dark); }
.kbd { font-size: .66rem; border: 1px solid var(--border); background: #fff; border-radius: 5px; padding: 1px 5px; color: var(--muted); }
.menu-toggle { display: none; border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 9px 11px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--dark); margin: 4px 0; border-radius: 2px; }

/* Search results overlay */
.search-results { position: absolute; top: calc(100% + 8px); right: 0; width: min(92vw, 460px); max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px; display: none; }
.search-results.open { display: block; }
.search-group { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.search-hit { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 10px; align-items: center; }
.search-hit:hover { background: var(--primary-soft); }
.search-hit strong { display: block; font-size: .86rem; }
.search-hit small { color: var(--muted); font-size: .72rem; }
.search-hit .price { color: var(--primary); font-weight: 800; font-size: .82rem; white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #B80028 0%, var(--primary) 48%, #F04B62 100%); color: #fff; }
.hero::after { content: ""; position: absolute; right: -140px; top: -180px; width: 620px; height: 620px; border-radius: 50%; background: rgba(255,255,255,.07); }
.hero-inner { position: relative; z-index: 1; padding: 76px 0 68px; }
.hero h1 { max-width: 900px; margin-bottom: 18px; }
.hero .lead { color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 38px; }
.hero-stats div strong { display: block; font-size: 1.8rem; font-weight: 900; line-height: 1; }
.hero-stats div span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.hero-search { margin-top: 30px; max-width: 640px; display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.hero-search input { flex: 1; border: 0; outline: 0; padding: 10px 16px; border-radius: 999px; min-width: 0; color: var(--dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 800; font-size: .88rem; border: 1px solid transparent; transition: transform .18s, background .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(221,0,49,.24); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #fff4f6; color: var(--primary-hover); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-soft); }
.btn-ghost { background: var(--light-bg); color: var(--dark); border-color: var(--border); }
.btn-sm { padding: 8px 14px; font-size: .78rem; }
.btn-block { width: 100%; }

/* Chips / pills */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { border: 1px solid var(--border); background: #fff; color: #4A4442; border-radius: 999px; padding: 8px 15px; font-size: .78rem; font-weight: 750; transition: all .18s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active, .chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.blue { background: var(--secondary-soft); color: var(--secondary); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.gray { background: #F1EFEF; color: #5E5856; }

/* Category tiles */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.tile { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; background: #fff; color: var(--dark); transition: all .18s; }
.tile:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--dark); }
.tile img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: var(--light-bg); }
.tile strong { display: block; font-size: .88rem; }
.tile small { color: var(--muted); font-size: .7rem; }

/* Product cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-border); }
.card-media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 20px); }
.card-badges .pill { background: #fff; box-shadow: var(--shadow-sm); }
.card-kcal { position: absolute; bottom: 10px; right: 10px; background: rgba(35,32,31,.86); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: .7rem; font-weight: 800; }
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--primary); }
.card-title { font-size: 1rem; font-weight: 800; line-height: 1.3; margin: 0; }
.card-title a { color: var(--dark); }
.card-title a:hover { color: var(--primary); }
.card-desc { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { font-size: 1.15rem; font-weight: 900; color: var(--primary); }
.macro-row { display: flex; gap: 6px; flex-wrap: wrap; }
.macro-row span { font-size: .68rem; background: var(--light-bg); border: 1px solid var(--border); border-radius: 6px; padding: 3px 7px; color: #4E4846; font-weight: 700; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.card-actions .btn { flex: 1; }

/* Section headings with links */
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.section-title-row h2 { margin: 0; }
.text-link { font-weight: 800; font-size: .82rem; color: var(--primary); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
thead th { background: var(--primary); color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--light-bg); }
td a { font-weight: 750; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Content / editorial */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: #3F3A38; }
.callout { border-left: 4px solid var(--primary); background: var(--primary-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 26px 0; }
.callout.blue { border-color: var(--secondary); background: var(--secondary-soft); }
.callout.green { border-color: var(--green); background: var(--green-soft); }
.callout strong { color: var(--dark); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.info-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: #fff; }
.info-box h3 { font-size: 1rem; margin-bottom: 8px; }
.info-box p { font-size: .86rem; color: var(--muted); margin: 0; }
.fact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0; }
.fact { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; background: var(--light-bg); }
.fact strong { display: block; font-size: 1.5rem; color: var(--primary); line-height: 1.1; }
.fact span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--light-bg); margin-bottom: 26px; }
.filter-bar input[type="search"], .filter-bar select { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: #fff; outline: 0; min-width: 220px; }
.filter-bar input[type="search"]:focus, .filter-bar select:focus { border-color: var(--primary); }
.range-wrap { display: flex; align-items: center; gap: 10px; min-width: 240px; }
.range-wrap input[type="range"] { flex: 1; accent-color: var(--primary); }
.count-badge { font-size: .8rem; font-weight: 800; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.empty-state { text-align: center; padding: 70px 20px; border: 1px dashed var(--border); border-radius: var(--radius-lg); background: var(--light-bg); }

/* Item page */
.breadcrumbs { font-size: .76rem; color: var(--muted); padding: 18px 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { margin: 0 8px; opacity: .5; }
.item-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding: 20px 0 54px; }
.item-hero-img { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); aspect-ratio: 1; display: grid; place-items: center; padding: 24px; box-shadow: var(--shadow-md); }
.item-hero-img img { width: 100%; height: 100%; object-fit: contain; }
.item-hero h1 { margin-bottom: 12px; }
.item-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.item-price { font-size: 2.1rem; font-weight: 900; color: var(--primary); line-height: 1; }
.tabbar { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); margin: 30px 0 28px; position: sticky; top: 72px; background: #fff; z-index: 20; }
.tabbar button { border: 0; background: transparent; padding: 14px 14px; font-size: .78rem; font-weight: 800; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.tabbar button.active { color: var(--primary); border-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.nutrient-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.nutrient { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: var(--light-bg); }
.nutrient strong { display: block; font-size: 1.2rem; color: var(--dark); }
.nutrient span { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.compare-select { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.compare-select select { border: 1px solid var(--border); border-radius: 10px; padding: 10px; background: #fff; min-width: 230px; }

/* FAQ */
.faq { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 750; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.2rem; color: var(--primary); font-weight: 500; }
.faq[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 18px 18px; color: #453F3D; font-size: .9rem; }

/* Reviews */
.rating-summary { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--light-bg); margin-bottom: 18px; }
.stars { color: #E8A400; letter-spacing: 2px; font-size: 1.1rem; }
.review { border-bottom: 1px solid var(--border); padding: 16px 0; }
.review strong { display: block; font-size: .88rem; }
.review p { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }

/* Calculator */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .8fr); gap: 28px; align-items: start; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1.6fr) auto auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.calc-row:hover { background: var(--light-bg); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.stepper button { border: 0; background: #fff; width: 30px; height: 30px; font-weight: 800; color: var(--primary); }
.stepper span { min-width: 26px; text-align: center; font-weight: 800; font-size: .82rem; }
.tray { position: sticky; top: 92px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); overflow: hidden; }
.tray-head { background: var(--primary); color: #fff; padding: 16px 20px; font-weight: 800; }
.tray-body { padding: 20px; max-height: 60vh; overflow: auto; }
.tray-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .82rem; }
.tray-total { display: flex; justify-content: space-between; font-weight: 900; font-size: 1.05rem; margin-top: 12px; }
.goal-bars { height: 10px; border-radius: 999px; background: #EEE9EA; overflow: hidden; margin: 8px 0 16px; }
.goal-bars span { display: block; height: 100%; background: var(--primary); width: 0; transition: width .3s; }

/* Location cards */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.loc-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: #fff; }
.loc-card h3 { font-size: .98rem; margin-bottom: 4px; }
.loc-card p { font-size: .82rem; color: var(--muted); margin: 2px 0; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card .post-body { padding: 18px; }
.post-card h3 { font-size: 1.05rem; }
.post-card p { font-size: .84rem; color: var(--muted); }

/* Footer */
.site-footer { background: #201D1C; color: #EFEAEA; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 64px 0 40px; }
.footer-grid h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-grid a { display: block; color: #C7BFC0; font-size: .84rem; padding: 5px 0; }
.footer-grid a:hover { color: #fff; }
.footer-about p { font-size: .84rem; color: #B8B0B1; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter input { flex: 1; min-width: 0; border: 1px solid #494343; background: #2C2827; color: #fff; border-radius: 999px; padding: 10px 14px; outline: 0; }
.footer-bottom { border-top: 1px solid #3A3534; padding: 22px 0; font-size: .75rem; color: #A9A1A2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-disclaimer { background: #171514; color: #BDB5B6; font-size: .72rem; line-height: 1.6; padding: 20px 0 28px; border-top: 1px solid #332F2E; }
.footer-disclaimer strong { color: #EFEAEA; }

/* Toast / modal */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .84rem; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; z-index: 120; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal-backdrop { position: fixed; inset: 0; background: rgba(20,18,18,.55); display: none; place-items: center; z-index: 130; padding: 20px; }
.modal-backdrop.open { display: grid; }
.modal { background: #fff; border-radius: var(--radius-lg); width: min(100%, 460px); padding: 28px; box-shadow: var(--shadow-lg); }
.modal h3 { margin-bottom: 8px; }

/* Mobile */
@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 14px 20px 20px; box-shadow: var(--shadow-md); max-height: 70vh; overflow: auto; }
  .main-nav.open { display: block; }
  .main-nav a { display: block; padding: 10px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-search { display: none; }
  .item-hero { grid-template-columns: 1fr; gap: 24px; }
  .calc-layout { grid-template-columns: 1fr; }
  .tray { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container, .narrow { width: min(100% - 28px, var(--container)); }
  .section { padding: 52px 0; }
  .hero-inner { padding: 54px 0 48px; }
  .hero-stats { gap: 20px; }
  .hero-search { border-radius: var(--radius); flex-wrap: wrap; }
  .hero-search .btn { width: 100%; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
  .card-body { padding: 13px; }
  .card-desc { display: none; }
  .card-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 30px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar input[type="search"], .filter-bar select { min-width: 0; width: 100%; }
  .calc-row { grid-template-columns: 1fr auto; }
  .notice-sep { display: none; }
}

@media print {
  .site-header, .site-footer, .notice-bar, .tabbar, .card-actions, .hero-actions { display: none !important; }
}
