/* Northwest Trail Innovations storefront.
   Palette from the fab shop: mill-scale steel, layout-fluid blue, cool plate grey. */

:root {
  --steel: #1e2428;
  --steel-2: #2a3237;
  --slate: #3f5765;
  --ink: #1e2428;
  --ink-2: #4a555c;
  --blue: #1b5faa;
  --blue-dk: #154c89;
  --plate: #eceeec;
  --panel: #fbfbfa;
  --line: #c6cccb;
  --line-2: #dde1e0;
  --alum-1: #e4e7e6;
  --alum-2: #cdd2d1;
  --alum-edge: #9aa3a2;
  --good: #2f6b3a;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4a00;
  --bad: #a3261c;
  --cond: "Barlow Condensed", "Arial Narrow", "DejaVu Sans Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gut: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--plate); color: var(--ink);
  font: 400 17px/1.55 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dk); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .contact-band :focus-visible { outline-color: #8fb8e8; }

h1, h2, h3, h4 { font-family: var(--cond); font-weight: 600; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 720px) { :root { --gut: 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.notice {
  margin: 0; background: #14191c; color: #cfd5d4; text-align: center;
  font-size: .9rem; padding: 6px var(--gut);
}
.site-header { background: var(--steel); color: #e6e9e8; }
.header-row {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px 28px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand img { width: 150px; }
.search { display: flex; max-width: 440px; width: 100%; justify-self: center; }
.search input {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 9px 12px;
  border: 1px solid #47525a; border-right: 0; border-radius: 3px 0 0 3px; background: #11161a; color: #fff;
}
.search input::placeholder { color: #8d979c; }
.search button {
  font: 600 1rem var(--cond); padding: 0 16px; border: 1px solid #47525a; border-radius: 0 3px 3px 0;
  background: var(--steel-2); color: #e6e9e8; cursor: pointer;
}
.search button:hover { background: #343e44; }
.header-phone { margin: 0; line-height: 1.2; text-align: right; }
.header-phone a { color: #fff; font: 600 1.35rem var(--cond); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.header-phone span { display: block; font-size: .8rem; color: #a5afb3; }
.cart-link {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none;
  font: 600 1.15rem var(--cond); padding: 8px 14px; border: 1px solid #47525a; border-radius: 3px;
}
.cart-link:hover { color: #fff; background: var(--steel-2); }
.cart-link .count { background: var(--blue); color: #fff; min-width: 1.6em; text-align: center; padding: 0 .4em; border-radius: 2px; font-size: 1rem; }
.main-nav { background: var(--steel-2); border-top: 1px solid #333c42; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a {
  display: block; padding: 11px 14px 9px; color: #d3d9d8; text-decoration: none; white-space: nowrap;
  font: 500 1.08rem var(--cond); border-bottom: 3px solid transparent;
}
.main-nav li:first-child a { padding-left: 0; }
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current] { color: #fff; border-bottom-color: var(--blue); }

@media (max-width: 900px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .header-phone { justify-self: end; }
  .header-phone a { font-size: 1.1rem; }
  .header-phone span { display: none; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .cart-link { grid-column: 3; justify-self: end; padding: 6px 10px; }
  .brand img { width: 112px; }
  .header-row { gap: 10px 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: 600 1.15rem/1.2 var(--cond); letter-spacing: .01em;
  background: var(--blue); color: #fff; text-decoration: none; border: 2px solid var(--blue);
  padding: .65em 1.3em; border-radius: 3px; cursor: pointer;
}
.btn:hover { background: var(--blue-dk); border-color: var(--blue-dk); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink-2); }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-small {
  font: 600 .95rem var(--cond); padding: 6px 12px; border: 1px solid var(--alum-edge); background: #fff;
  color: var(--ink); border-radius: 3px; cursor: pointer;
}
.btn-small:hover { border-color: var(--ink); }
.btn-link { border-color: transparent; background: none; color: var(--bad); text-decoration: underline; text-underline-offset: 2px; }
.btn-link:hover { border-color: transparent; color: #7a1c14; }

/* ---------- Home ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 5fr 6fr; gap: 48px; } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 700; line-height: .96; letter-spacing: -.015em; margin-bottom: .3em; max-width: 11ch; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4em; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  /* Chamfered corners, like a plasma-cut plate */
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}

.finder { background: #fff; border-top: 4px solid var(--blue); padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 5vw, 56px); }
.finder h2 { margin-bottom: .8em; }
.vehicles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .vehicles { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (max-width: 480px) {
  .vehicle { grid-template-columns: 84px 1fr; gap: 12px; }
  .vehicle-img img { width: 84px; height: 63px; }
  .vehicle h3 { font-size: 1.3rem; }
  .notice { font-size: .8rem; }
}
.vehicle { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.vehicle-img img { width: 112px; height: 84px; object-fit: cover; background: var(--plate); }
.vehicle h3 { font-size: 1.5rem; margin: 0 0 6px; }
.vehicle h3 a { color: var(--ink); text-decoration: none; }
.vehicle h3 a:hover { color: var(--blue); text-decoration: underline; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-block; font: 600 1.05rem/1 var(--cond); color: var(--blue); text-decoration: none;
  padding: 7px 11px; border: 1.5px solid var(--blue); border-radius: 2px; background: #fff; font-variant-numeric: tabular-nums;
}
.chip:hover { background: var(--blue); color: #fff; }
.chips-lg { margin: 4px 0 28px; }
.chips-lg .chip { font-size: 1.2rem; padding: 9px 14px; }
.also-h { margin-top: 1.6em; }
.also { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.also a { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); text-decoration: none; font: 600 1.15rem/1.15 var(--cond); }
.also a:hover { border-color: var(--blue); color: var(--blue); }
.also img { width: 72px; height: 54px; object-fit: cover; flex: none; }

.how { padding: clamp(32px, 5vw, 64px) 0; }
.how-grid h2 { margin-bottom: 1em; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 24px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.steps > li { counter-increment: step; position: relative; padding-top: 52px; }
.steps > li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font: 700 2.4rem/1 var(--cond); color: var(--blue);
}
.steps > li::after { content: ""; position: absolute; top: 18px; left: 34px; right: 0; border-top: 2px solid var(--line); }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--ink-2); margin: 0; }
.contact-band { background: var(--slate); color: #fff; padding: 22px 0; font-size: 1.1rem; }
.contact-band p { margin: 0; }
.contact-band a { color: #fff; font-weight: 600; }

/* ---------- Generic page ---------- */
.page { padding-top: 22px; padding-bottom: 64px; }
.narrow { max-width: 820px; }
.crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; font-size: .92rem; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--alum-edge); }
.crumbs a { color: var(--ink-2); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.empty { background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; }
.group-h { margin-top: 1.4em; padding-bottom: 6px; }
.count-line { color: var(--ink-2); }
.cat-desc { margin-bottom: 1em; }

/* Product rows */
.prows { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); }
.prow { display: grid; grid-template-columns: 136px 1fr auto; gap: 18px; align-items: center; padding: 12px 18px 12px 12px; border-top: 1px solid var(--line-2); }
.prow:first-child { border-top: 0; }
.prow-img img, .prow-img .noimg { width: 136px; height: 102px; object-fit: cover; background: var(--plate); display: block; }
.prow-name { font-size: 1.32rem; margin: 0 0 4px; }
.prow-name a { color: var(--ink); text-decoration: none; }
.prow-name a:hover { color: var(--blue); text-decoration: underline; }
.prow:hover .prow-name a { color: var(--blue); }
.prow-meta { margin: 0; color: var(--ink-2); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.callout { color: var(--warn-ink); font-weight: 600; }
.prow-price { margin: 0; font: 600 1.55rem var(--cond); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .prow { grid-template-columns: 96px 1fr; gap: 4px 14px; padding: 10px; }
  .prow-img { grid-row: span 2; }
  .prow-img img, .prow-img .noimg { width: 96px; height: 72px; }
  .prow-name { font-size: 1.15rem; }
  .prow-price { font-size: 1.25rem; }
}

/* ---------- Product page ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 960px) { .product-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; } }
.gallery-main { display: block; background: #fff; border: 1px solid var(--line); }
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.gallery-main.noimg { aspect-ratio: 4 / 3; }
.thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.thumbs a { display: block; border: 2px solid transparent; background: #fff; }
.thumbs a[aria-current] { border-color: var(--blue); }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.buybox h1 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.price { margin: 0 0 18px; display: flex; align-items: baseline; gap: 10px; }
.price-label { color: var(--ink-2); font-size: .95rem; }
.price-num { font: 700 2.2rem/1 var(--cond); font-variant-numeric: tabular-nums; }
.buy { background: #fff; border: 1px solid var(--line); padding: 18px; }
.opt-group { border: 0; margin: 0 0 18px; padding: 0; }
.opt-group legend { font: 600 1.2rem var(--cond); padding: 0; margin-bottom: 6px; }
.opt {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start;
  padding: 9px 10px; border: 1px solid var(--line-2); margin-top: -1px; cursor: pointer; background: #fff;
}
.opt:hover { background: #f3f5f4; }
.opt:has(input:checked) { background: #edf3fb; border-color: #9dbbe0; position: relative; }
.opt input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--blue); }
.opt-name { line-height: 1.35; }
.opt-sub { display: block; color: var(--ink-2); font-size: .9rem; }
.opt-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.opt-wt { display: block; font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.buy-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; padding-top: 14px; border-top: 2px solid var(--ink); }
.qty span { display: block; font: 600 1.05rem var(--cond); }
.qty input { width: 76px; font: inherit; padding: 8px; border: 1.5px solid var(--alum-edge); border-radius: 3px; }
.total { margin: 0; text-align: right; }
.total > span:first-child { display: block; color: var(--ink-2); font-size: .9rem; }
.total strong { font: 700 2rem/1.1 var(--cond); font-variant-numeric: tabular-nums; }
.total-wt { display: block; color: var(--ink-2); font-size: .9rem; }
.btn-buy { width: 100%; margin-top: 16px; font-size: 1.3rem; padding: .7em 1em; }
.buy-note { margin: 10px 0 0; color: var(--ink-2); font-size: .92rem; }
.callbox { background: var(--warn-bg); border: 1px solid #e3c77a; color: var(--warn-ink); padding: 16px 18px; }
.callbox p { margin: 0; }
.callbox a { color: var(--warn-ink); font-weight: 600; }

/* The spec plate: a stamped aluminium data plate with rivets. */
.plate {
  position: relative; margin-top: 22px; padding: 16px 30px 12px;
  background:
    radial-gradient(circle at 13px 13px, #8b9493 0 3px, #f4f5f5 3.5px 4.5px, transparent 5px),
    radial-gradient(circle at calc(100% - 13px) 13px, #8b9493 0 3px, #f4f5f5 3.5px 4.5px, transparent 5px),
    radial-gradient(circle at 13px calc(100% - 13px), #8b9493 0 3px, #f4f5f5 3.5px 4.5px, transparent 5px),
    radial-gradient(circle at calc(100% - 13px) calc(100% - 13px), #8b9493 0 3px, #f4f5f5 3.5px 4.5px, transparent 5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, var(--alum-1), var(--alum-2));
  border: 1px solid var(--alum-edge); border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.08);
}
.plate-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 0 0 8px; padding-bottom: 8px;
  font: 700 1.1rem var(--cond); letter-spacing: .03em; color: #2c3438;
  border-bottom: 1px solid #a3abaa; box-shadow: 0 1px 0 rgba(255,255,255,.7);
}
.plate-head span:last-child { font-weight: 500; color: var(--ink-2); }
.plate dl { margin: 0; }
.plate dl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid #b4bbba; box-shadow: 0 1px 0 rgba(255,255,255,.6); }
.plate dl > div:last-child { border-bottom: 0; box-shadow: none; }
.plate dt { font: 600 1.02rem/1.35 var(--cond); color: #49535a; }
.plate dd { margin: 0; font-weight: 500; color: #1f272b; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.plate ul { list-style: none; margin: 0; padding: 0; }
.plate li + li { margin-top: 4px; }
.fsize { color: var(--ink-2); font-size: .85rem; font-weight: 400; white-space: nowrap; }
@media (max-width: 480px) { .plate { padding: 16px 20px 12px; } .plate dl > div { grid-template-columns: 1fr; gap: 0; } }

.product-desc { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .product-grid { grid-template-areas: "main buy"; }
  .product-main { grid-area: main; }
  .buybox { grid-area: buy; }
}
@media (max-width: 959px) {
  /* On phones: photos, then the buy box, then the description. */
  .product-main { display: contents; }
  .gallery { order: 1; } .buybox { order: 2; } .product-desc { order: 3; margin-top: 8px; }
}

/* ---------- Search, info pages ---------- */
.search-big { display: flex; gap: 8px; max-width: 560px; margin-bottom: 20px; }
.search-big input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1.5px solid var(--alum-edge); border-radius: 3px; background: #fff; }
.files { list-style: none; padding: 0; margin: 24px 0 0; background: #fff; border: 1px solid var(--line); }
.files li { padding: 12px 16px; border-top: 1px solid var(--line-2); }
.files li:first-child { border-top: 0; }
.file-link { font-weight: 600; margin-right: 8px; }
.file-for { margin: 2px 0 0; font-size: .92rem; color: var(--ink-2); }

/* ---------- Cart & order form ---------- */
.flash { background: #e6f1e8; border: 1px solid #a8cbb0; color: #1f4a28; padding: 12px 16px; }
.flash-warn { background: var(--warn-bg); border-color: #e3c77a; color: var(--warn-ink); }
.empty-cart { background: #fff; border: 1px solid var(--line); padding: 28px; }
.cart-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 980px) { .cart-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 44px; } }
.lines { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 104px 1fr auto; gap: 16px; padding: 14px; border-top: 1px solid var(--line-2); }
.line:first-child { border-top: 0; }
.lines-static .line { grid-template-columns: 1fr auto; }
.line-img img { width: 104px; height: 78px; object-fit: cover; }
.line-name { font-size: 1.2rem; margin: 0 0 6px; font-family: var(--cond); font-weight: 600; }
.line-name a { color: var(--ink); }
.line-addons { list-style: none; margin: 0 0 10px; padding: 0; font-size: .92rem; color: var(--ink-2); }
.line-addons li { display: flex; justify-content: space-between; gap: 12px; }
.line-qty { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.line-qty input { width: 64px; font: inherit; padding: 5px 8px; border: 1.5px solid var(--alum-edge); border-radius: 3px; }
.line-total { margin: 0; font: 600 1.35rem var(--cond); text-align: right; font-variant-numeric: tabular-nums; }
.line-total span { display: block; font: 400 .85rem var(--body); color: var(--ink-2); }
@media (max-width: 560px) { .line { grid-template-columns: 72px 1fr; } .line-img img { width: 72px; height: 54px; } .line-total { grid-column: 2; text-align: left; } }
.cart-sum { margin: 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--ink); margin-top: -1px; }
.cart-sum div { display: flex; justify-content: space-between; gap: 12px; }
.cart-sum dt { font-weight: 600; }
.cart-sum dd { margin: 0; font: 700 1.5rem var(--cond); font-variant-numeric: tabular-nums; }
.cart-sum .sum-wt dt, .cart-sum .sum-wt dd { font: 400 .95rem var(--body); color: var(--ink-2); }
.cart-sum .sum-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.keep { margin-top: 14px; }
.cart-sum .sum-sub dt, .cart-sum .sum-sub dd { font: 400 1rem var(--body); }
.cart-sum .sum-discount dt, .cart-sum .sum-discount dd { font: 500 1rem var(--body); color: var(--good); }
.coupon { margin-top: 14px; background: #fff; border: 1px solid var(--line); padding: 12px 14px; }
.coupon label { display: block; font: 600 1.05rem var(--cond); margin-bottom: 4px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; max-width: 260px; font: inherit; padding: 6px 10px; border: 1.5px solid var(--alum-edge); border-radius: 3px; text-transform: uppercase; }
.coupon .field-error { margin: 6px 0 0; }
.coupon.applied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; background: #eef6ef; border-color: #a8cbb0; }
.coupon.applied p { margin: 0; }
.coupon-tag { font: 700 1.05rem var(--cond); letter-spacing: .02em; background: var(--good); color: #fff; padding: 2px 8px; border-radius: 2px; margin-right: 6px; }
.cart-form h2 { margin-bottom: .3em; }
.cart-form .intro { color: var(--ink-2); }
.order-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.order-form legend { font: 600 1.3rem var(--cond); padding: 0; margin-bottom: 8px; }
.field { margin-bottom: 14px; }
.field label { display: block; font: 600 1.05rem var(--cond); margin-bottom: 3px; }
.optional { font-weight: 400; color: var(--ink-2); font-family: var(--body); font-size: .85rem; }
.hint { display: block; color: var(--ink-2); font-size: .9rem; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 9px 11px; border: 1.5px solid var(--alum-edge); border-radius: 3px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.three { grid-template-columns: 2fr 1.1fr 1fr; } }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.field-error { display: block; color: var(--bad); font-size: .92rem; margin-top: 4px; font-weight: 500; }
.form-error { background: #fbe9e7; border: 1px solid #e0a39c; color: var(--bad); padding: 12px 16px; font-weight: 500; }
.delivery .opt { grid-template-columns: 22px 1fr; }
.address .hint { margin-bottom: 10px; }
.address[data-mode="pickup"] { display: none; }
.address[data-mode="fastenal"] .field:not(.zip-field) { display: none; }
.address[data-mode="fastenal"] .field-row.three { grid-template-columns: 1fr; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 14px; }

.thanks .lede { font-size: 1.2rem; }
.steps-compact { grid-template-columns: 1fr !important; gap: 18px; margin: 28px 0; }
.steps-compact > li { padding: 0 0 0 52px; }
.steps-compact > li::before { font-size: 2rem; top: -4px; }
.steps-compact > li::after { display: none; }
.steps-compact > li.done::before { content: "✓"; color: var(--good); }
.steps-compact h2 { font-size: 1.3rem; margin-bottom: 2px; }
.sum-h { margin-top: 1em; }
.fine { color: var(--ink-2); font-size: .9rem; margin-top: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 56px; } }
.big-phone a { font: 700 2.6rem var(--cond); text-decoration: none; color: var(--ink); }
.big-phone a:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel); color: #c3cacc; padding: 36px 0 28px; font-size: .95rem; }
.site-footer a { color: #e6e9e8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; } }
.footer-name { font: 600 1.35rem var(--cond); color: #fff; margin-bottom: .3em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.site-footer .fine { color: #97a1a5; margin-top: 0; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print {
  .site-header, .site-footer, .notice, .line-qty, .keep, .cart-form { display: none; }
  body { background: #fff; }
}
