/* Ashlingford Outdoor Supply. Charcoal, steel, concrete, safety orange. Dark text on orange (5.8:1). */
:root {
  --charcoal: #1b1f23;
  --steel: #2c333a;
  --steel-2: #3a434c;
  --steel-3: #4b5560;
  --concrete: #e9ebee;
  --concrete-2: #f4f5f7;
  --line: #cfd4da;
  --line-dark: #48525c;
  --white: #fff;
  --orange: #ff6a13;        /* fills, large text on dark */
  --orange-hover: #ff8340;
  --orange-light: #ff8a45;  /* small text on steel/charcoal (5.4:1 on steel) */
  --orange-deep: #d9520a;   /* graphics on white */
  --orange-tint: #ffe9db;
  --ink: #1b1f23;
  --muted: #4a535c;         /* 7.8:1 on white, 6.6:1 on concrete */
  --muted-dark: #b8c0c8;    /* 9:1 on charcoal, 7:1 on steel */
  --ok-bg: #e2f2e6; --ok-ink: #14532d;
  --low-bg: #fff0e3; --low-ink: #8a3500;
  --back-bg: #e3e8ee; --back-ink: #2c333a;
  --out-bg: #fbe6e4; --out-ink: #8f1d14;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1240px;
  --gutter: 16px;
  --focus: var(--charcoal);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.5 var(--sans); overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.015em; line-height: 1.1; margin: 0; }
p { margin: 0 0 12px; }
a { color: inherit; }
svg { max-width: 100%; }
table { border-collapse: collapse; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }

/* ---------- honesty note (kept visible) ---------- */
.lab-disclosure {
  background: var(--orange-tint); color: var(--ink); border-bottom: 1px solid #efc3a5;
  font-size: 14px; line-height: 1.45; font-weight: 500; text-align: center; padding: 8px var(--gutter);
}
.lab-disclosure::before {
  content: "DEMO"; display: inline-block; margin-right: 8px; padding: 2px 6px; border-radius: 2px;
  background: var(--charcoal); color: #fff; font: 700 13px/1.2 var(--mono); letter-spacing: 0.1em; vertical-align: 1px;
}

.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 10; background: var(--orange); color: var(--ink); padding: 10px 16px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 8px; }

/* hazard stripe */
.hazard { height: 8px; background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, var(--charcoal) 10px 20px); }

/* ---------- header ---------- */
.site-header { background: var(--charcoal); color: #fff; --focus: var(--orange); }
.topbar { background: var(--steel); color: var(--muted-dark); font-size: 13px; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 24px; padding-block: 6px; }
.topbar p { margin: 0; }
.topbar p::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--orange); margin-right: 8px; vertical-align: 2px; }
.masthead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-right: auto; }
.logo-mark { flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: 0.01em; }
.brand-sub { margin-top: 5px; font-size: 12px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-dark); }
.mainnav { order: 3; width: 100%; }
.mainnav ul { list-style: none; margin: 0 -10px; padding: 0; display: flex; flex-wrap: wrap; }
.mainnav a { display: block; padding: 10px; font-size: 15px; font-weight: 700; color: #fff; text-decoration: none; }
.mainnav a:hover { color: var(--orange-light); }
.mainnav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange); }
.call { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: #fff; border-left: 3px solid var(--orange); padding-left: 12px; }
.call-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
.call-num { font: 700 17px/1 var(--mono); }
.call:hover .call-num { color: var(--orange-light); }
@media (min-width: 980px) {
  .masthead { flex-wrap: nowrap; }
  .brand { margin-right: 0; }
  .mainnav { order: 0; width: auto; flex: 1; }
  .mainnav ul { margin: 0; justify-content: center; gap: 4px; }
  .mainnav a { padding: 12px 12px; }
}

/* ---------- shared type + buttons ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 8px; background: repeating-linear-gradient(-45deg, var(--orange) 0 3px, var(--charcoal) 3px 6px); }
.lead { font-size: 19px; line-height: 1.45; max-width: 40ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  font: 800 16px/1.1 var(--sans); letter-spacing: 0.01em; text-decoration: none; border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--steel); }
.btn-outline-dark { border-color: var(--charcoal); color: var(--ink); }
.btn-outline-dark:hover { background: var(--charcoal); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* spec bar: label/value strip */
.specbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 36px 0 0; border-top: 1px solid var(--line-dark); }
.specbar > div { padding: 14px 16px 18px 0; }
.specbar dt { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.specbar dd { margin: 4px 0 0; font: 700 19px/1.2 var(--mono); color: #fff; }
@media (min-width: 900px) { .specbar > div + div { border-left: 1px solid var(--line-dark); padding-left: 18px; } }
@media (max-width: 899px) {
  .specbar > div { padding: 12px 12px 14px 0; }
  .specbar dt { font-size: 11.5px; letter-spacing: 0.08em; }
  .specbar dd { font-size: 17px; }
  .specbar > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.specbar--compact { margin-top: 22px; }
.specbar--compact dd { font-size: 17px; }

/* ---------- hero ---------- */
.hero, .pagehead {
  background-color: var(--charcoal); color: #fff; --focus: var(--orange);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero { padding-top: 40px; }
.hero .eyebrow, .pagehead .eyebrow, .reserve .eyebrow, .fleet .eyebrow { color: var(--orange-light); }
.hero .eyebrow::before, .pagehead .eyebrow::before, .reserve .eyebrow::before, .fleet .eyebrow::before { background: var(--orange); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); line-height: 0.95; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 12ch; }
.hero .lead { color: #d5dbe1; }
.hero-art { justify-self: center; width: 100%; max-width: 560px; }
.hero-svg { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

/* ---------- sections ---------- */
.section { padding-block: 56px; }
@media (min-width: 900px) { .section { padding-block: 72px; } }
.section--concrete { background: var(--concrete); }
.section-head { margin-bottom: 28px; }
.section-head h2, .accounts h2, .reserve h2 { font-size: clamp(28px, 3.8vw, 42px); letter-spacing: -0.02em; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.more { font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.more::after { content: " \2192"; }

/* ---------- cards (featured + shop) ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--charcoal); padding: 18px 18px 20px; transition: border-color .15s; }
.card:hover { border-top-color: var(--orange); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; }
.brand-tag { font-weight: 800; letter-spacing: 0.04em; padding-left: 8px; border-left: 3px solid var(--orange); }
.sku-wrap { white-space: nowrap; }
.sku-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.sku { font: 600 13px/1 var(--mono); background: var(--concrete); border: 1px solid var(--line); padding: 4px 6px; border-radius: 2px; }
.card-name { font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 6px; }
.card-name a { text-decoration: none; }
.card-name a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card-cat { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.summary { color: var(--muted); font-size: 15px; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-block: 12px; border-top: 2px solid var(--charcoal); border-bottom: 1px solid var(--line); }
.price { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.stock { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 2px; font-size: 13px; font-weight: 700; line-height: 1.2; }
.stock::before { content: ""; flex: none; width: 8px; height: 8px; background: currentColor; }
.stock--in { background: var(--ok-bg); color: var(--ok-ink); }
.stock--low { background: var(--low-bg); color: var(--low-ink); }
.stock--back { background: var(--back-bg); color: var(--back-ink); }
.stock--out { background: var(--out-bg); color: var(--out-ink); }
.specs { width: 100%; margin: 4px 0 12px; font-size: 14px; }
.specs th { text-align: left; font-weight: 500; color: var(--muted); padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs td { text-align: right; font: 600 14px/1.35 var(--mono); padding: 7px 0; border-bottom: 1px solid var(--line); }
.fcard .specs { margin-top: auto; }
.fcard .buy-row { border-bottom: 0; padding-bottom: 4px; }
.card-cta { margin-top: 10px; align-self: flex-start; font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card-cta::after { content: " \2192"; }
.meta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.meta-row p { margin: 0; }
.meta-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-right: 4px; }
.warranty { color: var(--ink); font-weight: 600; }
.rating { display: inline-flex; align-items: center; gap: 6px; }
.stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 1px; color: #c3c9cf; }
.stars::before { content: "\2605\2605\2605\2605\2605"; }
.stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--orange-deep); }
.stars-fill::before { content: "\2605\2605\2605\2605\2605"; }
.btn-reserve { margin-top: auto; width: 100%; }
.unavailable { margin: auto 0 0; padding: 12px; background: var(--out-bg); color: var(--out-ink); font-weight: 700; font-size: 14px; }
.product { scroll-margin-top: 16px; }
.product:target { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange); }

.fgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* ---------- category tiles ---------- */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.cat-tile { --focus: var(--orange); display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; background: var(--charcoal); color: #fff; text-decoration: none; border-bottom: 4px solid var(--steel-3); transition: border-color .15s, background-color .15s; }
.cat-tile:hover { border-bottom-color: var(--orange); background: var(--steel); }
.cat-icon { color: var(--orange); margin-bottom: 8px; }
.cat-name { font-size: 18px; font-weight: 800; line-height: 1.2; }
.cat-meta { font: 500 13px/1.3 var(--mono); color: var(--muted-dark); }

/* ---------- services ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border: 1px solid var(--line); }
.services li { padding: 24px; border-bottom: 1px solid var(--line); }
.services li:last-child { border-bottom: 0; }
@media (min-width: 840px) { .services li { border-bottom: 0; } .services li + li { border-left: 1px solid var(--line); } }
.svc-num { display: inline-block; margin-bottom: 14px; padding: 4px 8px; background: var(--charcoal); color: #fff; font: 700 14px/1 var(--mono); box-shadow: 4px 4px 0 var(--orange); }
.services h3 { font-size: 20px; margin-bottom: 8px; }
.services p { color: var(--muted); margin: 0; }

/* ---------- contractor accounts band ---------- */
.accounts { position: relative; background: var(--orange); color: var(--ink); --focus: var(--charcoal); padding-block: 58px; }
.accounts::before, .accounts::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--charcoal) 0 10px, var(--orange) 10px 20px); }
.accounts::before { top: 0; }
.accounts::after { bottom: 0; }
.accounts-grid { display: grid; gap: 24px; }
.accounts .eyebrow { color: var(--ink); }
.accounts .eyebrow::before { background: var(--charcoal); }
.accounts h2 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 12px; }
.accounts-copy p:last-child { font-size: 17px; max-width: 46ch; margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 700; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; background: var(--charcoal); clip-path: polygon(14% 50%, 0 64%, 38% 100%, 100% 24%, 86% 10%, 38% 72%); }
.accounts-cta { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
@media (min-width: 1000px) {
  .accounts-grid { grid-template-columns: 1.15fr 1fr auto; align-items: center; gap: 40px; }
  .accounts-cta { flex-direction: column; }
}

/* ---------- fleet battery strip ---------- */
.fleet { background: var(--steel); color: #fff; --focus: var(--orange); padding-block: 56px; }
.fleet-intro { color: var(--muted-dark); max-width: 46ch; margin: 0; }
.platforms { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); background: var(--line-dark); border: 1px solid var(--line-dark); }
.platform { background: var(--steel); padding: 22px; }
.platform h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.volt { font: 800 46px/1 var(--mono); color: var(--orange); letter-spacing: -0.03em; }
.volt-label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.platform-meta { font: 500 13px/1.3 var(--mono); color: var(--muted-dark); margin-bottom: 12px; }
.platform ul { list-style: none; margin: 0; padding: 0; }
.platform li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-dark); font-size: 14px; }
.platform a { color: #fff; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.platform a:hover { color: var(--orange-light); }
.platform .mono { color: var(--muted-dark); white-space: nowrap; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; } }
.about-copy h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 16px; }
.about-lead { font-size: 18px; line-height: 1.6; max-width: 56ch; }
.factsheet { width: 100%; border: 2px solid var(--charcoal); font-size: 15px; }
.factsheet caption { text-align: left; caption-side: top; background: var(--charcoal); color: #fff; padding: 10px 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.factsheet th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); width: 44%; vertical-align: top; }
.factsheet td { font-weight: 700; padding: 10px 14px; border-top: 1px solid var(--line); }

/* ---------- hours board + visit ---------- */
.visit-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; } }
.board { position: relative; background: var(--charcoal); color: #fff; padding: 34px 26px 26px; border: 1px solid #000; box-shadow: inset 0 0 0 6px var(--steel); }
.board::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 10px; background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, var(--charcoal) 10px 20px); }
.board h2 { font-size: 28px; margin: 6px 0 18px; }
.board-hours { width: 100%; font-size: 18px; }
.board-hours th { text-align: left; font-weight: 700; padding: 14px 12px 14px 0; border-bottom: 1px dashed var(--line-dark); }
.board-hours td { text-align: right; font: 700 18px/1.3 var(--mono); color: var(--orange); padding: 14px 0; border-bottom: 1px dashed var(--line-dark); }
.board-note { margin: 16px 0 0; color: var(--muted-dark); font-size: 15px; }
.visit-info { background: #fff; border: 1px solid var(--line); padding: 26px; }
.visit-info h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.visit-info h3 + * { margin-bottom: 0; }
.visit-address { font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.visit-phone { margin: 10px 0 22px; }
.visit-phone a { font: 700 20px/1 var(--mono); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.policies { margin: 0; display: grid; gap: 0; }
.policies > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.policies dt { font-weight: 800; }
.policies dd { margin: 0; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: var(--muted-dark); --focus: var(--orange); font-size: 15px; border-top: 8px solid var(--steel); }
.footer-grid { display: grid; gap: 28px; padding-block: 44px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.site-footer h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--orange-light); }
.f-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; }
.f-logo .logo-mark { width: 36px; height: 36px; }
.f-hours th { text-align: left; font-weight: 600; color: #fff; padding: 2px 14px 2px 0; }
.f-hours td { font-family: var(--mono); font-size: 14px; padding: 2px 0; }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 18px 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-base p { margin: 0; }

/* ---------- shop page ---------- */
.pagehead { padding-block: 26px 32px; }
.pagehead h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1; letter-spacing: -0.03em; margin: 8px 0 12px; }
.pagehead .lead { color: #d5dbe1; max-width: 60ch; margin: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted-dark); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #8a949e; }
.crumbs a { color: #fff; text-underline-offset: 3px; }

.alert { margin: 24px 0 0; padding: 14px 16px; background: var(--out-bg); color: var(--out-ink); border-left: 6px solid var(--out-ink); font-weight: 600; }

.shop-layout { display: grid; gap: 24px; padding-block: 28px 64px; }
.filters-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.filters ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 12px; background: #fff; color: var(--ink); border: 1px solid var(--line); font-size: 15px; font-weight: 700; text-decoration: none; }
.filters a:hover { border-color: var(--charcoal); }
.filters a[aria-current="page"] { background: var(--charcoal); color: #fff; border-color: var(--charcoal); box-shadow: inset 0 -4px 0 var(--orange); }
.count { font: 600 13px/1 var(--mono); padding: 3px 6px; background: var(--concrete); color: var(--muted); }
.filters a[aria-current="page"] .count { background: var(--steel); color: var(--muted-dark); }
.side-notes { display: none; }
@media (min-width: 1024px) {
  .shop-layout { grid-template-columns: 236px minmax(0, 1fr); gap: 32px; align-items: start; }
  .shop-side { position: sticky; top: 16px; }
  .filters ul { flex-direction: column; gap: 0; border: 1px solid var(--line); }
  .filters a { border: 0; border-bottom: 1px solid var(--line); }
  .filters li:last-child a { border-bottom: 0; }
  .filters a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); }
  .side-notes { display: grid; gap: 12px; margin-top: 20px; }
}
.side-note { padding: 14px; background: var(--concrete); font-size: 14px; border-left: 4px solid var(--charcoal); }
.side-note p { margin: 0; }
.side-note p + p { margin-top: 4px; }
.side-title { font-weight: 800; }
.side-note--dark { background: var(--charcoal); color: var(--muted-dark); border-left-color: var(--orange); --focus: var(--orange); }
.side-note--dark .side-title, .side-note--dark a { color: #fff; }

.listing-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--charcoal); }
.listing-head h2 { font-size: 26px; }
.listing-count { margin: 0; font: 600 14px/1 var(--mono); color: var(--muted); }
.pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); }

/* reserve */
.reserve { background: var(--charcoal); color: #fff; --focus: var(--orange); padding-bottom: 64px; scroll-margin-top: 0; }
.reserve-grid { display: grid; gap: 32px; padding-top: 48px; }
@media (min-width: 960px) { .reserve-grid { grid-template-columns: 1fr 1.3fr; gap: 56px; } }
.reserve h2 { margin-bottom: 14px; }
.reserve-info > p { color: #d5dbe1; font-size: 17px; }
.reserve-info h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin: 24px 0 8px; }
.steps { list-style: none; counter-reset: step; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: baseline; color: #e3e7eb; }
.steps li::before { content: counter(step, decimal-leading-zero); flex: none; padding: 3px 6px; background: var(--orange); color: var(--ink); font: 700 14px/1.2 var(--mono); }
.mini-hours { font-size: 15px; }
.mini-hours th { text-align: left; font-weight: 600; padding: 4px 18px 4px 0; }
.mini-hours td { font-family: var(--mono); padding: 4px 0; }
.reserve-form { background: #fff; color: var(--ink); padding: 22px; border-top: 6px solid var(--orange); --focus: var(--charcoal); }
@media (min-width: 600px) { .reserve-form { padding: 30px; } }

/* order form (classes from lib.mjs) */
.order-form { display: grid; gap: 16px; }
@media (min-width: 560px) {
  .order-form { grid-template-columns: 1fr 1fr; }
  .order-form .field:has(select), .order-form .field:has([name="pickup_date"]), .order-form .form-note, .order-form button { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; min-width: 0; }
.field span { font-size: 14px; font-weight: 700; }
.field input, .field select {
  width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; font: 16px/1.3 var(--sans); color: var(--ink);
  background: #fff; border: 2px solid #8a949e; border-radius: 2px;
}
.field input:hover, .field select:hover { border-color: var(--steel-3); }
.field input:focus-visible, .field select:focus-visible { border-color: var(--charcoal); outline-offset: 1px; }
.form-note { margin: 0; padding: 10px 12px; font-size: 14px; color: var(--muted); background: var(--concrete); border-left: 4px solid var(--orange); }
.order-form button {
  min-height: 52px; padding: 14px 24px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--orange); color: var(--ink); font: 800 17px/1 var(--sans); letter-spacing: 0.01em;
}
.order-form button:hover { background: var(--orange-hover); }

/* ---------- confirmation ---------- */
.ticket-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .ticket-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; } }
.ticket { border: 2px solid var(--charcoal); background: #fff; }
.ticket-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 18px; background: var(--charcoal); color: #fff; border-bottom: 8px solid var(--orange); }
.ticket-head h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.ticket-id { font: 700 20px/1 var(--mono); color: var(--orange); }
.ticket-table { width: 100%; font-size: 16px; }
.ticket-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); width: 34%; vertical-align: top; }
.ticket-table td { font-weight: 700; padding: 12px 18px 12px 0; border-bottom: 1px solid var(--line); }
.ticket-table .total th, .ticket-table .total td { background: var(--concrete); vertical-align: middle; }
.ticket-table .total td { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.ticket-table .sku { margin-left: 6px; font-size: 12px; }
.ticket-table .muted { font-weight: 500; }
.status { display: inline-block; padding: 3px 8px; font: 700 14px/1.2 var(--mono); }
.status--ok { background: var(--ok-bg); color: var(--ok-ink); }
.status--back { background: var(--back-bg); color: var(--back-ink); }
.ticket-policy { margin: 0; padding: 16px 18px 0; }
.ticket .actions { margin: 16px 18px 20px; }
.ticket-side { background: var(--concrete); padding: 24px; border-top: 4px solid var(--charcoal); }
.ticket-side h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side-small { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- htmx: search, in-place catalog, live counter, in-place reserve ---------- */
.search { margin-bottom: 18px; }
.search label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.search-row { display: flex; }
.search input { flex: 1; min-width: 0; padding: 11px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid var(--line); border-right: 0; border-radius: 0; }
.search input:focus-visible { border-color: var(--charcoal); outline: 3px solid var(--orange); outline-offset: 0; }
.search button { padding: 0 16px; font: 700 15px/1 var(--sans); color: var(--ink); background: var(--orange); border: 2px solid var(--orange); cursor: pointer; }
.search button:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.empty { padding: 18px; background: var(--concrete); border-left: 4px solid var(--charcoal); }
#catalog .pgrid { transition: opacity 0.15s ease; }
#catalog:has(.htmx-request) .pgrid { opacity: 0.5; }
@media (prefers-reduced-motion: reduce) { #catalog .pgrid { transition: none; } }

.live-board { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--steel-2); }
.live-board a { color: var(--orange-light); }
.live-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.live-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.live-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-dark); }
.live-list a { color: #fff; font-weight: 700; text-decoration: none; }
.live-list a:hover { text-decoration: underline; color: var(--orange-light); }
.live-time { margin: 10px 0 0; font: 13px/1.3 var(--mono); color: var(--muted-dark); }

#reserve-msg:empty { display: none; }
#reserve-msg .alert { margin: 0 0 16px; }
.reserve-done { display: grid; gap: 16px; }
.done-eyebrow { margin: 0; font-weight: 800; font-size: 18px; color: var(--ok-ink); }
.reserve-done .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.order-form button[disabled] { opacity: 0.6; cursor: progress; }
