/* Parking BOXX store — brand tokens mirror pbx-astro-rebuild/src/styles/global.css */
@font-face { font-family: 'Satoshi'; src: url('/store/fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/store/fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --brand: #0067c6;
  --accent: #4da3ff; /* focus rings + highlights: light brand blue (no orange, brand rule) */
  --go: #007a33;
  --go-hover: #005f28;
  --ink: #0a1f3d;
  --muted: #4a5a70;
  --line: #d5dde8;
  --surface: #ffffff;
  --page: #f4f7fb;
  --select: #e6f0fa;
  --error: #b42318;
  --f-display: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--page); line-height: 1.5; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: 1.35rem; }
[hidden] { display: none !important; }

.topbar { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; padding: .9rem 1rem; background: var(--ink); }
.topbar a { color: #fff; text-decoration: none; }
.topbar__brand { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.topbar__nav { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .95rem; }
.topbar__nav a:hover { text-decoration: underline; }

.store { max-width: 1180px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.intro { margin-bottom: 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--brand); margin: 0 0 .25rem; }
.lede { max-width: 46rem; color: var(--muted); font-size: 1.05rem; margin: 0; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }

.steps { display: grid; gap: 1rem; }
.step { margin: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step legend { float: left; width: 100%; padding: 0; margin-bottom: .9rem; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.step legend + * { clear: both; }
.step__num { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--brand); color: #fff; font-size: .95rem; }

.label { font-weight: 600; margin: .75rem 0 .4rem; }
.hint { color: var(--muted); font-size: .9rem; margin: .5rem 0 0; }
.hint.block { display: block; margin: .15rem 0 0; }
.opt-price { color: var(--brand); font-weight: 600; white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .9rem; }
.card { position: relative; display: grid; gap: .35rem; padding: .9rem; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; background: var(--surface); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--page); }
.card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.card__text { color: var(--muted); font-size: .9rem; }
.card__price { font-weight: 700; color: var(--ink); }
.card input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.card.is-selected { border-color: var(--brand); background: var(--select); }
.card:focus-within, .chip:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; padding: .5rem .9rem; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--surface); font-size: .95rem; }
.chip.is-selected { border-color: var(--brand); background: var(--select); font-weight: 600; }

.check { display: flex; gap: .6rem; align-items: flex-start; margin: .75rem 0 0; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--brand); flex: none; }

.opt-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .75rem 0 0; }
.opt-photos img { width: 100%; height: auto; aspect-ratio: 720 / 333; object-fit: cover; border-radius: 6px; background: var(--ink); }
.opt-photos figcaption { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; color: var(--muted); font-size: .85rem; text-align: center; }
@media (max-width: 480px) { .opt-photos, .opt-photos figcaption { grid-template-columns: 1fr; } .opt-photos figcaption { display: none; } }

.inline-field { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .75rem; }
.inline-field label { font-weight: 600; }
.inline-field input { width: 5.5rem; }
input, select, textarea { font: inherit; color: var(--ink); padding: .55rem .65rem; border: 1px solid #9aa8bb; border-radius: 6px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--brand); }

.summary { position: sticky; top: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (max-width: 900px) { .summary { position: static; } }
.summary__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; max-height: 50vh; overflow: auto; }
.summary__lines li { display: grid; grid-template-columns: 1fr auto; gap: 0 .75rem; font-size: .92rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.line__code { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }
.line__pn { color: var(--ink); font-family: var(--f-display); font-weight: 900; letter-spacing: .02em; }
.line__price { font-weight: 600; text-align: right; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2rem; margin: 1rem 0 .25rem; }
.summary__total strong { font-family: var(--f-display); font-size: 1.6rem; }

.btn { display: inline-block; width: 100%; margin-top: 1rem; padding: .85rem 1.2rem; border: 2px solid transparent; border-radius: 8px; font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer; text-align: center; }
.btn--go { background: var(--go); color: #fff; }
.btn--go:hover:not(:disabled) { background: var(--go-hover); }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.error { color: var(--error); font-weight: 600; margin: .75rem 0 0; }

.checkout, .confirmation { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.grid label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.grid .span2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.pay { margin-top: 1.25rem; padding: 1rem; border-radius: 8px; background: var(--page); }
.pay p { margin: 0; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.actions .btn { width: auto; flex: 1 1 220px; }

.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 2rem 1rem; }

/* ---- cart, badges, reseller ---- */
.topbar__cart { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.badge { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; border-radius: 999px; background: #fff; color: var(--brand); font-size: .8rem; font-weight: 700; }
.btn--inline { width: auto; margin-top: 0; padding: .55rem 1rem; }
.btn--link { width: auto; margin: 0; padding: .25rem .4rem; background: none; border: 0; color: var(--brand); text-decoration: underline; font-weight: 600; }
.input--code { width: 12rem; text-transform: uppercase; letter-spacing: .04em; }
.ok { color: var(--go); font-weight: 600; margin: .75rem 0 0; }
.added { margin: .75rem 0 0; font-weight: 600; color: var(--go); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .grid--3 { grid-template-columns: 1fr; } }

.cart-items { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; }
.cart-item { padding: 1rem; border: 1px solid var(--line); border-radius: 8px; }
.cart-item__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.cart-item__title { font-family: var(--f-display); font-size: 1.05rem; }
.cart-item__price { font-weight: 700; white-space: nowrap; }
.cart-item__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .6rem; }
.cart-item__controls .qty { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.cart-item__controls .qty input { width: 4.5rem; }
.cart-item__parts { margin-top: .6rem; }
.cart-item__parts summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.cart-item__parts .summary__lines { margin-top: .6rem; max-height: none; }
.line__list { color: var(--muted); font-weight: 400; }

.totals { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; margin: 0 0 .75rem; }
.totals dt { font-size: .92rem; }
.totals dd { margin: 0; text-align: right; font-weight: 600; white-space: nowrap; }
.totals .totals__grand { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; padding-top: .6rem; border-top: 1px solid var(--line); }
.totals dd.totals__grand { font-size: 1.5rem; }

.store--narrow { max-width: 860px; }
.store--narrow .step h2 { margin-top: 1.25rem; }
.store--narrow .step h2:first-child { margin-top: 0; }

/* ===== Option A — "Proposal Blue" theme (chosen 2026-10-08). Overrides the base styles above. ===== */
:root { --page: #e9edf2; --ink-2: #14325e; --blue-deep: #004a91; --radius: 16px;
  --f-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --f-mono: 'IBM Plex Mono', ui-monospace, monospace; }
body { background: var(--page); }

.site-nav { background: #fff; border-bottom: 1px solid #dfe5ec; }
.site-nav__inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.site-nav__brand img { display: block; height: 52px; width: auto; }
.site-nav__links { display: flex; flex-wrap: wrap; gap: 6px 22px; flex: 1 1 480px; font-size: 15px; font-weight: 500; }
.site-nav__links a, .site-nav__end a:not(.site-nav__cart) { color: var(--ink); text-decoration: none; }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.site-nav__end { display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 15px; }
.site-nav__cart { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; }
.site-nav__cart:hover { background: var(--blue-deep); color: #fff; }

.page-hero { background: linear-gradient(160deg, var(--blue-deep) 0%, var(--brand) 100%); color: #fff; }
.page-hero__inner { max-width: 1200px; margin: 0 auto; padding: 48px 24px 52px; }
.page-hero .eyebrow { font-family: var(--f-mono); font-weight: 500; letter-spacing: .12em; color: #cfe3f7; margin-bottom: 12px; }
.page-hero h1 { font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; color: #fff; }
.page-hero .lede { color: #e3eefa; font-size: 1.1rem; max-width: 40rem; }
.page-hero a { color: #fff; }

.store { max-width: 1200px; padding: 36px 24px 48px; }
.eyebrow { font-family: var(--f-mono); font-weight: 500; letter-spacing: .12em; font-size: .78rem; }
h2 { font-size: 1.5rem; }
.step, .summary, .checkout, .confirmation { border: 0; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(10, 31, 61, .08); }
.step { padding: 1.5rem; }
.card { border-radius: 14px; }
.card img { border-radius: 10px; }
.btn { border-radius: 999px; font-weight: 600; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); color: #fff; }
.btn--white { background: #fff; color: var(--blue-deep); }
.btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn--accent { background: #fff; color: var(--brand); }
.cart-item { border: 1px solid #e3e9f1; border-radius: 12px; }
.hint, .lede, .card__text { color: var(--ink-2); }
.pay { background: #f4f7fb; border-radius: 12px; }
.foot { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; text-align: left; color: var(--ink-2); padding: 36px 24px 44px; }

/* ---- store home ---- */
.home-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 64px 24px 72px; }
.home-hero__copy { flex: 1 1 460px; min-width: 0; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-hero__actions .btn { width: auto; margin: 0; padding: 14px 26px; }
.home-hero__card { flex: 1 1 400px; min-width: 0; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 18px 40px rgba(0, 31, 61, .28); color: var(--ink); text-decoration: none; }
.home-hero__card img { display: block; width: 100%; height: auto; border-radius: 12px; }
.home-hero__card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 8px 6px; }
.home-hero__card-title { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.home-hero__price { font-family: var(--f-display); font-weight: 900; font-size: 1.25rem; color: var(--brand); white-space: nowrap; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(10, 31, 61, .08); transition: box-shadow .15s, transform .15s; }
.cat-card:hover { box-shadow: 0 10px 24px rgba(10, 31, 61, .14); transform: translateY(-2px); }
.cat-card img { width: 100%; height: 200px; object-fit: cover; background: #f4f7fb; }
.cat-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; }
.cat-card__text { font-size: .95rem; color: var(--ink-2); }
.cat-card__cta { font-weight: 700; color: var(--brand); margin-top: auto; padding-top: 4px; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--select); color: var(--blue-deep); }
.tag--soon { background: #eef1f5; color: var(--muted); }
.cat-card--suggest { justify-content: center; gap: 10px; padding: 28px; background: transparent; border: 2px dashed #9fb6cf; box-shadow: none; }

.how { margin-top: 64px; background: #fff; border-radius: 20px; padding: 40px 36px; }
.how__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; margin-top: 24px; }
.how__num { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.how__title { font-weight: 600; font-size: 1.05rem; margin: 8px 0 2px; }
.band { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: #fff; border-radius: 20px; padding: 36px; }
.band h2 { color: #fff; margin: 0 0 6px; }
.band p { color: #c9d6e6; margin: 0; }
.band .btn { width: auto; margin: 0; }

/* hero link colors: the generic white-link rule must not repaint buttons or the product card */
.btn { text-decoration: none; }
.page-hero a.btn--white { color: var(--blue-deep); }
.page-hero a.btn--white:hover { background: #e6f0fa; }
.page-hero a.home-hero__card { color: var(--ink); }
.page-hero .home-hero__card .hint { color: var(--ink-2); }

.check.is-disabled { cursor: default; color: var(--ink-2); }
.check.is-disabled input { cursor: not-allowed; }
.hint--warn { color: var(--error); font-weight: 600; }

/* ---- product page: gallery, facts, detail tabs ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; background: #fff; border-radius: var(--radius); padding: 22px; margin-bottom: 24px; box-shadow: 0 1px 2px rgba(10, 31, 61, .08); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery__main { margin: 0; border-radius: 12px; overflow: hidden; background: #f4f7fb; aspect-ratio: 4 / 3; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; background: #f4f7fb; cursor: pointer; overflow: hidden; width: 72px; height: 56px; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb.is-active { border-color: var(--brand); }
.gallery__thumb:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.product__facts h2 { font-size: 1.45rem; margin: 0 0 12px; }
.facts { margin: 0; padding-left: 1.1rem; display: grid; gap: 8px; color: var(--ink); }
.facts li::marker { color: var(--brand); }

.details { margin-top: 28px; background: #fff; border-radius: var(--radius); padding: 8px 22px 24px; box-shadow: 0 1px 2px rgba(10, 31, 61, .08); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #e3e9f1; margin-bottom: 18px; }
.tabs [role="tab"] { font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink-2); background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 12px 11px; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { color: var(--blue-deep); border-bottom-color: var(--brand); }
.tabs [role="tab"]:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid #eef2f6; }
.spec-table th { width: 32%; color: var(--ink-2); font-weight: 600; }
.downloads { margin: 0; padding-left: 1.1rem; display: grid; gap: 10px; }
.product__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.video-grid figure { margin: 0; }
.video-grid video { width: 100%; height: auto; aspect-ratio: 739 / 415; object-fit: cover; border-radius: 10px; background: var(--ink); display: block; }
.video-grid figcaption { font-size: .9rem; color: var(--ink-2); margin-top: 6px; }

fieldset.pay { border: 0; margin: 1.25rem 0 0; }
fieldset.pay legend { padding: 0; }
fieldset.pay legend h3 { margin: 0; }
#ap-fields { margin-top: .9rem; }

/* Touch targets: every nav/footer link is at least 44px tall (WCAG 2.5.8 needs 24px; 44px is the mobile norm). */
.site-nav__links a, .site-nav__end a:not(.site-nav__cart) { display: inline-flex; align-items: center; min-height: 44px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
/* Phones: logo + Resellers + Cart on one row; categories become one sideways-scrolling row. */
@media (max-width: 700px) {
  .site-nav__inner { padding: 8px 16px; gap: 0 12px; }
  .site-nav__brand img { height: 40px; }
  .site-nav__end { margin-left: auto; gap: 12px; }
  .site-nav__links { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; gap: 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-nav__links::-webkit-scrollbar { display: none; }
  .site-nav__links a { white-space: nowrap; }
}
/* Sticky total + Add to cart on phones and tablets (buy-bar.js). Desktop keeps the side summary. */
.buy-bar { display: none; }
@media (max-width: 900px) {
  .buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(10, 31, 61, .12);
    transition: transform .2s ease; }
  .buy-bar.is-hidden { transform: translateY(110%); }
  .buy-bar__text { display: flex; flex-direction: column; min-width: 0; }
  .buy-bar__total { font-size: 1.25rem; color: var(--ink); }
  .buy-bar__monthly { font-size: .85rem; color: var(--muted); }
  .buy-bar__btn { width: auto; min-height: 48px; padding: 0 22px; flex: none; }
  body.has-buy-bar { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .buy-bar { transition: none; } }
/* Product pages: a short banner so the photo, starting price and first option show without scrolling. */
.page-hero--compact .page-hero__inner { padding: 22px 24px 24px; }
.page-hero--compact .eyebrow { display: none; }
.page-hero--compact h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 6px; }
.page-hero--compact .lede { font-size: 1rem; }
@media (max-width: 700px) {
  .page-hero--compact .page-hero__inner { padding: 16px 16px 18px; }
  .page-hero--compact .lede { display: none; }
}
/* Arm length chips + lighted switch (product pages) reuse the gate page's chip look. */
.step .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip .opt-price { margin-left: 6px; }
/* Add-ons: optional groups folded into one step (render-product.js). */
.legend__note { font-family: var(--f-body); font-weight: 500; font-size: .85rem; color: var(--muted); margin-left: 6px; }
.addon { border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; background: #fff; }
.addon summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px; cursor: pointer; font-weight: 600; list-style: none; }
.addon summary::-webkit-details-marker { display: none; }
.addon summary::after { content: '+'; font-size: 1.3rem; color: var(--brand); font-weight: 500; }
.addon[open] summary::after { content: '\2212'; }
.addon summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.addon__label { flex: 1; }
.addon__count { font-size: .85rem; font-weight: 600; color: var(--brand); }
.addon__body { padding: 0 16px 14px; }
/* Trust line under Add to cart. */
.trust { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.trust li { display: flex; gap: 8px; align-items: flex-start; }
.trust li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: .5em; border-radius: 50%; background: var(--brand); }
/* Phones: detail tabs become an accordion (product.js). */
.details-accordion details { border-top: 1px solid var(--line); }
.details-accordion summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; cursor: pointer; list-style: none; }
.details-accordion summary::-webkit-details-marker { display: none; }
.details-accordion summary::after { content: '+'; color: var(--brand); font-size: 1.3rem; }
.details-accordion details[open] summary::after { content: '\2212'; }
.details-accordion .tab-panel { padding-bottom: 14px; }
/* ===================================================================================================
   High-end polish (2026-11-21): Parking BOXX design system — Satoshi Black headings, Work Sans body,
   14px cards with soft shadows, option rows that highlight when chosen, tabular prices, navy footer.
   Overrides the layers above; blue and neutrals only.
   =================================================================================================== */
@font-face { font-family: 'Satoshi'; src: url('/store/fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
:root {
  --page: #f7f8fb; --ink: #0a1f3d; --ink-2: #14325e; --muted: #5a6b85; --line: #e3e7ee; --rule-soft: #eef2f6;
  --brand: #0067c6; --blue-deep: #004a91; --tint: #e6f0fa; --tint-line: #cfe1f3; --navy: #0a1f3d; --sky: #a8daef;
  --radius: 14px; --shadow-card: 0 1px 2px rgba(15, 26, 43, .04), 0 8px 24px rgba(15, 26, 43, .06);
  --shadow-go: 0 6px 20px -8px rgba(0, 122, 51, .55); --focus: #2e8bd8; --accent: #2e8bd8;
}
body { font-family: 'Work Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -.01em; color: var(--ink); }
h1, h2 { font-weight: 900; }
h3 { font-weight: 700; }
.eyebrow { font-family: var(--f-mono); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.opt-price, .line__price, .summary__total strong, .totals dd, .card__price, .cart-item__price, .home-hero__price, .product__from strong { font-variant-numeric: tabular-nums; }

/* Header: stays on screen while scrolling, quiet shadow. */
.site-nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.site-nav__links a { font-weight: 500; }
.site-nav__links a:hover { text-decoration: none; color: var(--brand); }
.site-nav__links a[aria-current="page"] { font-weight: 700; text-decoration: none; box-shadow: inset 0 -2px 0 var(--brand); }

/* Banner */
.page-hero { background: linear-gradient(135deg, var(--blue-deep) 0%, var(--brand) 100%); }
.page-hero h1 { font-family: var(--f-display); font-weight: 900; letter-spacing: -.015em; }

/* Product overview */
.store { padding-top: 32px; }
.product { padding: 28px; gap: 36px; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.gallery__main { border-radius: 12px; background: var(--rule-soft); }
.gallery__thumbs { gap: 10px; margin-top: 12px; }
.gallery__thumb { width: 84px; height: 63px; border-radius: 10px; border: 2px solid transparent; opacity: .85; transition: opacity .15s, border-color .15s; }
.gallery__thumb:hover, .gallery__thumb.is-active { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--brand); }
.product__facts .eyebrow { margin-bottom: 8px; }
.product__facts h2 { font-size: 1.6rem; }
.product__from { margin: 4px 0 18px; color: var(--muted); font-size: .95rem; }
.product__from strong { display: block; font-family: var(--f-display); font-weight: 900; font-size: 2.1rem; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
.facts { list-style: none; padding: 0; gap: 10px; }
.facts li { position: relative; padding-left: 30px; line-height: 1.5; }
.facts li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--tint); }
.facts li::after { content: ''; position: absolute; left: 7px; top: calc(.2em + 5px); width: 5px; height: 9px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Configuration steps */
.steps { gap: 18px; }
.step { padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow-card); background: #fff; }
.step legend { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.step__num { width: 32px; height: 32px; font-family: var(--f-display); font-weight: 700; font-size: .95rem; }

/* Option rows: the whole row is the target and highlights when chosen. */
.step .check { margin: 10px 0 0; padding: 14px 16px; border: 1px solid #d5dbe4; border-radius: 12px; background: #fff; align-items: center; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.step .check:hover { border-color: var(--tint-line); background: #fbfdff; }
.step .check:has(input:checked) { border-color: var(--brand); background: #f3f8fd; box-shadow: 0 0 0 1px var(--brand) inset; }
.step .check:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.step .check > span { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; font-weight: 500; }
.step .check .opt-price { font-weight: 700; }
.step .check .hint.block { grid-column: 1 / -1; font-weight: 400; color: var(--muted); }
.step .check.is-disabled { opacity: .7; }

.chip { padding: 10px 18px; border: 1px solid #d5dbe4; font-weight: 600; transition: border-color .15s, background-color .15s; }
.chip:hover { border-color: var(--tint-line); }
.chip.is-selected { border-color: var(--brand); background: #f3f8fd; box-shadow: 0 0 0 1px var(--brand) inset; }
.card { border: 1px solid #d5dbe4; padding: 16px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--tint-line); }
.card.is-selected { border-color: var(--brand); background: #f3f8fd; box-shadow: 0 0 0 1px var(--brand) inset; }
.card__price { font-family: var(--f-display); font-weight: 900; font-size: 1.15rem; }
.addon { border-color: #d5dbe4; border-radius: 12px; }
.addon summary { font-family: var(--f-display); font-weight: 700; }
input, select, textarea { border: 1px solid var(--muted); border-radius: 8px; }

/* Order summary */
.summary { top: 96px; padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.summary h2 { font-size: 1.35rem; }
.summary__lines li { border-bottom-color: var(--rule-soft); }
.summary__total { margin-top: 18px; }
.summary__total strong { font-family: var(--f-display); font-weight: 900; font-size: 2rem; letter-spacing: -.01em; }
.summary__monthly strong { font-size: 1.15rem; }

/* Buttons */
.btn { font-family: var(--f-display); font-weight: 700; letter-spacing: .01em; transition: background-color .15s, box-shadow .15s, transform .15s; }
.btn--go { min-height: 54px; font-size: 1.08rem; box-shadow: var(--shadow-go); }
.btn--go:hover:not(:disabled) { transform: translateY(-1px); }
.btn--primary { box-shadow: 0 4px 16px -6px rgba(0, 103, 198, .45); }
@media (prefers-reduced-motion: reduce) { .btn, .cat-card, .gallery__thumb, .step .check, .chip, .card { transition: none; } .btn--go:hover:not(:disabled), .cat-card:hover { transform: none; } }

/* Details */
.details { padding: 8px 28px 28px; box-shadow: var(--shadow-card); }
.tabs [role="tab"] { font-family: var(--f-display); font-weight: 700; }

/* Home */
.cat-card { box-shadow: var(--shadow-card); }
.cat-card img { height: auto; aspect-ratio: 4 / 3; }
.cat-card__title { font-weight: 900; font-size: 1.35rem; }
.how, .band { border-radius: 20px; }
.how { box-shadow: var(--shadow-card); }
.band { background: var(--navy); }

/* Cart and checkout */
.checkout, .confirmation { box-shadow: var(--shadow-card); padding: 28px; }
.cart-item { border-color: var(--line); padding: 18px; }
.totals .totals__grand { font-weight: 900; }

/* Footer: navy band */
.foot { max-width: none; margin-top: 56px; padding: 40px max(24px, calc((100% - 1200px) / 2 + 24px)) 48px; background: var(--navy); color: #c9d6e6; font-size: .92rem; }
.foot a { color: var(--sky); }
.foot a:hover { color: #fff; }
@media (max-width: 700px) { .site-nav { position: static; } .summary { top: auto; } .product { padding: 18px; } .step { padding: 20px; } .product__from strong { font-size: 1.8rem; } }
@media (max-width: 700px) { .gallery__thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .gallery__thumbs::-webkit-scrollbar { display: none; } .gallery__thumb { flex: none; width: 68px; height: 51px; } }

/* ---- Cart and checkout polish ---- */
.layout:has(#totals) { grid-template-columns: minmax(0, 1fr) 380px; }
@media (max-width: 900px) { .layout:has(#totals) { grid-template-columns: 1fr; } }
.step > h2 { font-size: 1.35rem; margin-bottom: 16px; }
.cart-item { background: #fff; transition: border-color .15s; }
.cart-item__title { font-weight: 700; font-size: 1.1rem; }
.cart-item__price { font-family: var(--f-display); font-weight: 900; font-size: 1.15rem; }
.cart-item__controls .btn--link { color: var(--muted); }
.add-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.add-more:hover { text-decoration: underline; }
.input--code { width: 14rem; }

/* Totals: label and amount on one line, the note across the full width below. */
.totals { display: grid; gap: 0; margin: 0 0 14px; }
.totals__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.totals__row dt { font-weight: 500; font-size: .95rem; }
.totals__row dd { margin: 0; text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.totals__row dd.totals__note { grid-column: 1 / -1; text-align: left; white-space: normal; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.totals__row--grand { border-top: 2px solid var(--ink); border-bottom: 0; margin-top: 6px; padding-top: 14px; }
.totals__row--grand dt { font-family: var(--f-display); font-weight: 900; font-size: 1.15rem; }
.totals__row--grand dd:not(.totals__note) { font-family: var(--f-display); font-weight: 900; font-size: 1.8rem; line-height: 1.1; letter-spacing: -.01em; }

/* Checkout: numbered groups, option-row payment choices, a clear total by the button. */
.checkout { scroll-margin-top: 96px; max-width: 880px; margin-left: auto; margin-right: auto; }
.checkout > h2 { font-size: 1.6rem; }
.form-group { border: 0; margin: 0; padding: 22px 0 6px; border-top: 1px solid var(--rule-soft); }
.form-group:first-of-type { border-top: 0; padding-top: 6px; }
.form-group legend { padding: 0; margin-bottom: 14px; }
.form-group legend h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.2rem; }
.form-group .step__num { width: 30px; height: 30px; }
fieldset.pay { background: none; border-radius: 0; padding: 22px 0 6px; }
.pay .check { margin: 10px 0 0; padding: 14px 16px; border: 1px solid #d5dbe4; border-radius: 12px; background: #fff; transition: border-color .15s, background-color .15s; }
.pay .check:has(input:checked) { border-color: var(--brand); background: #f3f8fd; box-shadow: 0 0 0 1px var(--brand) inset; }
.pay .check:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.pay .check strong { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.place { margin-top: 18px; padding: 22px; border-radius: 12px; background: var(--page); }
.place__totals { margin: 0 0 8px; }
.check--terms { margin-top: 14px; font-weight: 500; }
.place .btn--go { margin-top: 16px; }
@media (max-width: 700px) { .checkout { padding: 20px; } .place { padding: 16px; } }.totals { grid-template-columns: minmax(0, 1fr); }
.form-group legend { float: left; width: 100%; }
.form-group legend + * { clear: both; }
.inline-field .input--code { width: 14rem; max-width: 100%; }
@media (max-width: 700px) { .totals__row--grand dd:not(.totals__note) { font-size: 1.45rem; } .totals__row--grand dt { font-size: 1.05rem; } }

/* Option diagrams + lane notes (Brock's mockup, 2026-11-24) */
.opt-diagram{margin:.9rem 0 0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.opt-diagram img{display:block;width:100%;height:auto}
.opt-diagram figcaption{padding:.5rem .8rem;color:var(--muted);font-size:.88rem;border-top:1px solid var(--line)}
.notes-field{display:grid;gap:.35rem;margin-top:1rem}
.notes-field label{font-weight:600}
.notes-field textarea{width:100%;box-sizing:border-box;min-height:5.5rem;resize:vertical;font:inherit}

/* Product galleries show the whole photo, never cropped (main image + thumbnails). */
.gallery__main img, .gallery__thumb img { object-fit: contain; }
/* Grayed-out choice chip (saw-cut loops below the 2-gate installation minimum). */
.chip.is-disabled { opacity: .55; cursor: not-allowed; }
.chip.is-disabled input { cursor: not-allowed; }
/* "How will drivers open the gate?" step + cart reminder (Brock: buyers miss that a gate needs an opener). */
.opener-cards { display: grid; gap: 10px; margin-top: .75rem; }
.opener-cards .check.opener { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; background: #fff; }
.opener-cards .check.opener:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(0, 103, 198, .15); background: #f4f8fd; }
.opener-reminder { margin-top: 1rem; border: 2px solid var(--brand); border-radius: 12px; padding: 14px 16px; background: #f4f8fd; }
.opener-reminder p { margin: 0 0 .5rem; }
.opener-reminder__title { font-weight: 700; font-size: 1.05rem; }
.opener-reminder__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* Choice-card photos show the whole product, never cropped (straight vs folding arm side by side). */
.card img { object-fit: contain; background: #fff; }
/* Small requirement tag on a choice, e.g. saw-cut loops "2+ gates". */
.req-badge { display: inline-block; margin-left: .35rem; padding: .1rem .45rem; border-radius: 999px; font-size: .78em; font-weight: 700; color: #0067c6; background: #e8f1fb; border: 1px solid #b9d4f1; white-space: nowrap; }
.hint--strong { color: var(--ink, #0a1f3d); font-weight: 600; }

/* Phones: single-column grids must be allowed to shrink to the screen. Plain "1fr" means minmax(auto, 1fr),
   so the nowrap thumbnail strip forced the product block to ~536px on a 375px phone and the page zoomed out. */
@media (max-width: 860px) { .product { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .layout, .layout:has(#totals) { grid-template-columns: minmax(0, 1fr); } }
.product > *, .layout > *, .steps > * { min-width: 0; }/* The screen-reader labels inside each thumbnail are position:absolute. With static thumbnails their
   containing block sat outside the scrolling strip, so they stretched the phone layout to ~544px and the
   pinned Add to cart button landed off-screen. Keep them inside the strip. */
.gallery__thumb { position: relative; }
.gallery__thumbs { contain: paint; }/* Long option prices (e.g. meter install "+$2,000 first, $250 each additional") wrap instead of widening the phone layout. */
.step .check .opt-price { white-space: normal; max-width: 11rem; text-align: right; }
/* Forms on phones: fieldsets default to min-width: min-content, and fields must never exceed their column. */
fieldset { min-width: 0; }
.grid > *, label { min-width: 0; }
input, select, textarea { max-width: 100%; box-sizing: border-box; }/* File inputs size their own track; keep form labels' single column shrinkable. */
form label { grid-template-columns: minmax(0, 1fr); }
input[type="file"] { width: 100%; min-width: 0; }

/* Product renders on the home cards (pedestal, meter, P-123 phone) are shown whole, never cropped. */
.cat-card--product img { object-fit: contain; background: #fff; padding: 10px; box-sizing: border-box; }

/* Market switch (United States / Canada) and Canada-only notes */
.market-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.market-switch select { font: inherit; font-weight: 600; color: var(--ink); border: 1px solid #cfd8e3; border-radius: 8px; padding: 6px 8px; background: #fff; min-height: 36px; }
.market-note { margin: 6px 0 12px; padding: 10px 12px; border-left: 3px solid var(--brand); background: #f2f7fd; font-size: 14px; }
.card.is-disabled, .chip.is-disabled, .inline-field.is-disabled { opacity: .55; }
.card.is-disabled input, .chip.is-disabled input { cursor: not-allowed; }
@media (max-width: 760px) { .site-nav__end { flex-wrap: wrap; row-gap: 4px; } .market-switch select { padding: 6px 4px; } .market-switch__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }