/* ==========================================================================
   Pace Performance - flat, technical, mobile-first
   Palette: navy structure, orange actions, blue links, magenta/red accents.
   Signature: four skewed "swoosh" bars reused from the logo.
   ========================================================================== */

:root {
  --navy: #071525;
  --slate: #344353;
  --magenta: #F10556;
  --orange: #FA6F06;
  --red: #FA0E12;
  --blue: #0778E4;
  --white: #FFFFFF;

  /* derived tints and shades of the brand colours only */
  --blue-d: #0560B8;
  --blue-t: #E3F0FD;
  --magenta-d: #C00445;
  --magenta-t: #FDE3EE;
  --orange-d: #D95E00;
  --orange-t: #FDEEDA;
  --red-d: #A60009;
  --red-t: #FBDCDC;
  --soft: #F2F5F8;
  --line: #DCE3EB;
  --ph-bg: #E8EDF3;

  --action: var(--orange);
  --radius: 8px;      /* controls: buttons, inputs, chips, nav items */
  --radius-lg: 14px;  /* containers: cards, tiles, panels, media */
  --wrap: 1180px;
  --gutter: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* image slot aspect ratios - adjust to whatever artwork arrives */
  --ar-product: 4 / 3;
  --ar-hero: 4 / 3;
  --ar-cat: 16 / 10;
  --ar-media: 4 / 3;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}

/* clip (not hidden) so the sticky header keeps working - overflow-x:hidden
   on a scroll ancestor disables position:sticky in Chrome/Safari */
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.65rem, 1.35rem + 1.5vw, 2rem); }
h2 { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem); }
h3 { font-size: 1.05rem; }

p { margin: 0 0 1em; max-width: 70ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
a { color: var(--blue-d); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--navy); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.center p, .center ul { margin-left: auto; margin-right: auto; }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden;
  white-space: nowrap;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  transition: top .15s;
}
.skip:focus { top: 8px; color: var(--white); }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ------------------------------------------------------- signature swoosh */

.swoosh { display: inline-flex; gap: 4px; align-items: flex-end; }
.swoosh i {
  display: block; width: 7px; height: 20px;
  transform: skewX(-18deg);
}
.swoosh i:nth-child(1) { background: var(--magenta); }
.swoosh i:nth-child(2) { background: var(--orange); }
.swoosh i:nth-child(3) { background: var(--red); }
.swoosh i:nth-child(4) { background: var(--blue); }
.swoosh-lg i { width: 9px; height: 30px; }
.swoosh { margin-bottom: 14px; }

/* ------------------------------------------------------------------ image slots */

.ph {
  position: relative;
  aspect-ratio: var(--ar, 4 / 3);
  background: var(--ph-bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.ph-tag {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px;
  padding: 12px; text-align: center;
  color: var(--slate); font-size: .8rem; line-height: 1.4;
}
.ph-tag svg { opacity: .55; flex: none; }

/* Photo strip - three images in a row on larger screens */
.img-strip { display: grid; gap: 12px; }
.img-strip .ph { border-radius: var(--radius-lg); }
@media (min-width: 640px) { .img-strip { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .img-strip { grid-template-columns: 1fr 1fr 1fr; gap: 16px; } }

/* -------------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--action); border-color: var(--action); color: var(--navy); }
.btn-primary:hover { background: var(--orange-d); border-color: var(--orange-d); color: var(--navy); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--slate); border-color: var(--slate); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-inv { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-inv:hover { background: var(--white); color: var(--navy); }
.btn-wa { background: var(--magenta-d); border-color: var(--magenta-d); color: var(--white); }
.btn-wa:hover { background: var(--magenta); border-color: var(--magenta); color: var(--white); }
.btn-cta { background: var(--action); border-color: var(--action); color: var(--navy); padding: 8px 16px; min-height: 44px; }
.btn-cta:hover { background: var(--orange-d); border-color: var(--orange-d); color: var(--navy); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .85rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.center-cta { justify-content: center; }

/* -------------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.header-in {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .swoosh { margin: 0; }
.brand-word {
  font: 800 1.15rem/1 var(--font); color: var(--white);
  letter-spacing: .04em; display: flex; flex-direction: column;
}
.brand-word small {
  font: 700 .52rem/1.4 var(--font); color: #9FB2C8;
  letter-spacing: .3em;
}
.brand-logo {
  display: block; height: auto; width: 190px;
  background: var(--white); border-radius: var(--radius);
  padding: 7px 14px;
  object-fit: contain;
}
.brand-logo-footer {
  display: block; height: auto; width: 210px;
  background: var(--white); border-radius: var(--radius);
  padding: 8px 14px; margin-bottom: 14px;
  object-fit: contain;
}

.h-search { display: none; }
.h-searchlink { display: none; }
.h-nav { display: none; }
.header-in .btn-cta { display: none; }

.nav-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius); color: var(--white); cursor: pointer;
}
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

.m-nav {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 14px 0 20px;
}
.m-nav nav { display: flex; flex-direction: column; }
.m-nav nav a {
  color: var(--white); text-decoration: none;
  padding: 12px 4px; font-weight: 600; min-height: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .15s;
}
.m-nav nav a:hover { color: var(--orange); }
.m-nav nav a.m-sub { padding-left: 22px; font-weight: 400; color: #C4D2E2; }
.m-nav nav a.m-cta {
  margin-top: 12px; background: var(--action); color: var(--navy);
  border-radius: var(--radius); text-align: center; border: 0;
}
.m-search { display: flex; gap: 8px; margin-bottom: 10px; }
.m-search input {
  flex: 1; min-height: 46px; padding: 10px 12px;
  font-size: 16px; border: 0; border-radius: var(--radius);
}

/* ------------------------------------------------------------------ hero */

/* Hero - full-bleed background photo under the same navy tint as page heads */
.hero {
  position: relative; padding: 36px 0 44px;
  background-color: var(--navy);
  background-position: center; background-size: cover;
  color: #D8E2EE;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(7, 21, 37, .86);
}
.hero > .wrap { position: relative; }
.hero-copy { max-width: 640px; }
.hero-copy h1 {
  font-size: clamp(1.8rem, 1.4rem + 2.2vw, 2.6rem);
  margin-top: 4px; color: var(--white);
}
.lede { font-size: 1.05rem; }
.hero-trust {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.hero-trust li {
  font-size: .82rem; font-weight: 600; color: #E4ECF5;
  border: 1px solid rgba(255,255,255,.32); border-radius: 999px;
  padding: 6px 12px; background: rgba(255,255,255,.07);
}
.hero-stripes {
  position: absolute; right: var(--gutter); bottom: 14px;
  display: flex; gap: 6px;
}
.hero-stripes i {
  display: block; width: 13px; height: 42px;
  transform: skewX(-18deg);
}
.hero-stripes i:nth-child(1) { background: var(--magenta); }
.hero-stripes i:nth-child(2) { background: var(--orange); }
.hero-stripes i:nth-child(3) { background: var(--red); }
.hero-stripes i:nth-child(4) { background: var(--blue); }

/* ---------------------------------------------------------------- bands */

.band-navy { background: var(--navy); color: #D8E2EE; padding: 40px 0; }
.band-navy h1, .band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy a { color: var(--blue-t); }
.band-navy .swoosh { margin-bottom: 12px; }
.band-title { font-size: 1.3rem; }
.band-lede { max-width: 60ch; }

.band-search { padding: 28px 0; }
.band-hint { font-size: .9rem; margin: 10px 0 0; }

.band-orange { background: var(--orange); color: var(--navy); padding: 32px 0; }
.band-orange h2 { color: var(--navy); }
.band-orange p { margin: 0; }
.band-split { display: grid; gap: 18px; align-items: center; }

.band-close { text-align: center; padding: 52px 0; }
.band-close .hero-cta { justify-content: center; }
.band-close h2 { font-size: 1.6rem; }
.band-close .swoosh { justify-content: center; display: flex; }

.big-search {
  display: flex; gap: 8px; max-width: 640px;
}
.big-search input {
  flex: 1; min-height: 50px; padding: 10px 14px;
  font-size: 16px; border: 2px solid transparent;
  border-radius: var(--radius); min-width: 0;
}
.big-search.on-white input { border-color: var(--navy); }

/* ---------------------------------------------------------------- sections */

.section { padding: 44px 0; }
.bg-soft { background: var(--soft); }
.sec-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 6px 16px; margin-bottom: 22px;
}
.sec-head .swoosh { flex-basis: 100%; margin-bottom: 2px; }
.sec-head h2 { margin: 0; }
.sec-link { margin-left: auto; font-weight: 600; font-size: .92rem; }

/* ---------------------------------------------------------- category tiles */

.tile-grid { display: grid; gap: 14px; }
.tile {
  display: block; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); text-decoration: none; color: inherit;
}
.tile { transition: border-color .15s; }
.tile:hover { border-color: var(--navy); }
.tile:hover .ph img { transform: scale(1.04); }
.tile .ph { border: 0; border-bottom: 1px solid var(--line); --ar: var(--ar-cat); }
.tile-solid {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: var(--ar-cat);
  background: var(--navy); color: var(--orange);
}
.tile-solid-b { background: var(--slate); color: var(--white); }
.tile-body { display: block; padding: 14px 16px 18px; }
.tile-body strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.tile-body span { font-size: .88rem; }

/* ------------------------------------------------------------- product cards */

.grid-products { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
  display: flex; flex-direction: column;
  transition: border-color .15s;
}
.card:hover { border-color: var(--navy); }
.card:hover .ph img { transform: scale(1.04); }
/* stretched link - the product name makes the whole card clickable */
.card-name a::after { content: ""; position: absolute; inset: 0; }
.card .btn, .card .badge { position: relative; z-index: 1; }
.card-img .ph { border: 0; border-bottom: 1px solid var(--line); --ar: var(--ar-product); }
.card-body {
  padding: 12px; display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.card-meta {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-d); margin: 0;
}
.card-name {
  font-size: .92rem; font-weight: 700; margin: 0; line-height: 1.3;
}
.card-name a { color: var(--navy); text-decoration: none; }
.card-name a:hover { color: var(--blue-d); }
.card-spec { font-size: .8rem; margin: 0; flex: 1; }
.card-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; margin-top: 4px;
}
.price { font-weight: 800; color: var(--navy); font-size: .95rem; }
.price-quote { font-size: .82rem; font-weight: 700; color: var(--magenta-d); }
.card .btn { margin-top: 8px; min-height: 44px; font-size: .88rem; padding: 8px 10px; }

.badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 999px; border: 1px solid;
  white-space: nowrap;
}
.badge-in_stock { background: var(--blue-t); color: var(--blue-d); border-color: #B9D9F7; }
.badge-low_stock { background: var(--orange-t); color: var(--orange-d); border-color: #F3CFA5; }
.badge-on_order { background: var(--soft); color: var(--slate); border-color: var(--line); }
.badge-out_of_stock { background: var(--red-t); color: var(--red-d); border-color: #F2B5B5; }

/* ------------------------------------------------------------------- steps */

.steps { list-style: none; padding: 0; margin: 18px 0 24px; }
.steps li { display: flex; gap: 14px; margin-bottom: 18px; }
.steps svg {
  flex: none; width: 44px; height: 44px; padding: 9px;
  background: var(--soft); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--navy);
}
.steps strong { display: block; }
.steps p { margin: 2px 0 0; font-size: .92rem; }

/* ------------------------------------------------------------------ forms */

.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: .85rem; font-weight: 700;
  color: var(--navy); margin-bottom: 5px;
}
.band-navy .field label { color: var(--white); }
.field .opt { font-weight: 400; color: inherit; opacity: .75; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  font: 400 16px/1.4 var(--font);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--navy);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23344353' stroke-width='2' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 16px; padding-right: 38px;
}
.field input[type="file"] {
  border-style: dashed; background: var(--soft); padding: 12px;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--blue); outline-offset: 0;
  border-color: var(--blue-d);
}
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error {
  margin: 5px 0 0; font-size: .82rem; font-weight: 600;
  color: var(--red-d);
}
.fine { font-size: .8rem; margin-top: 10px; }
.fine-inv { font-size: .8rem; margin: 12px 0 0; color: #AFC0D4; }
.fine-inv a { color: var(--blue-t); }

.finder-form .f-row { display: grid; gap: 0; }
.f-row { display: grid; gap: 0; }

.radio-set {
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-lg);
  padding: 12px 14px; margin: 0 0 16px;
}
.radio-set legend { font-size: .85rem; font-weight: 700; padding: 0 6px; }
.radio-set label {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; font-size: .95rem;
}
.radio-set input { width: 18px; height: 18px; accent-color: var(--orange); }
.radio-set label:has(input:checked) { font-weight: 700; }

.form-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; background: var(--white);
}
.check-row { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 6px 0 16px; }
.check-row label {
  display: flex; align-items: center; gap: 8px;
  font-size: .92rem; min-height: 44px;
}
.check-row input { width: 18px; height: 18px; accent-color: var(--navy); }

/* ------------------------------------------------------------- accordions */

.acc details {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); margin-bottom: 10px;
}
.acc summary {
  list-style: none; cursor: pointer;
  padding: 16px 48px 16px 16px; min-height: 44px;
  font-weight: 700; color: var(--navy); position: relative;
  border-radius: var(--radius-lg);
  transition: background-color .15s;
}
.acc summary:hover { background: var(--soft); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; position: absolute; right: 16px; top: 12px;
  font: 800 1.3rem/1 var(--font); color: var(--magenta);
}
.acc details[open] summary::after { content: "\2212"; }
.acc details p { padding: 0 16px 16px; margin: 0; }

/* ------------------------------------------------------------------- misc */

.note {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--soft);
  padding: 16px 18px; margin: 22px 0 0;
}
.note h2, .note h3 { margin-top: 0; }
.note p:last-child { margin: 0; }
.note-slim {
  padding: 8px 14px; border-radius: var(--radius);
  background: var(--orange-t); color: var(--navy); font-weight: 600;
}

.empty {
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  padding: 34px 20px; text-align: center; background: var(--white);
}
.empty h2 { font-size: 1.15rem; }
.empty-slim { padding: 20px; }
.empty .hero-cta { justify-content: center; }

.count { font-size: .9rem; font-weight: 600; color: var(--navy); }
.fine, .opt { color: var(--slate); }

.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 12px; height: 6px;
  border-left: 2.5px solid var(--magenta);
  border-bottom: 2.5px solid var(--magenta);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------- page heads */

.page-head {
  background: var(--navy); color: #D8E2EE;
  padding: 26px 0 30px;
}
.page-head h1 { color: var(--white); margin: 6px 0 8px; }
.page-head p { margin: 0; max-width: 68ch; }

/* Page head with a photo behind a solid navy tint */
.page-head-bg {
  position: relative;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}
.page-head-bg::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(7, 21, 37, .84);
}
.page-head-bg > .wrap { position: relative; }
.crumbs { font-size: .8rem; margin-bottom: 14px; }
.crumbs a { color: #AFC0D4; text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span { margin: 0 5px; color: #7E93AB; }

/* --------------------------------------------------------------- shop page */

.filters-m { display: block; margin-bottom: 16px; }
.filters-d { display: none; }
.filters-m summary {
  cursor: pointer; min-height: 46px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 700; color: var(--navy); list-style: none;
  display: flex; align-items: center; gap: 8px;
}
.filters-m summary::-webkit-details-marker { display: none; }
.filters-m summary::before { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg) translateY(-3px); }
.filters-m[open] summary::before { transform: rotate(-135deg) translateY(-1px); }
.filters-m .filters { padding: 14px 4px 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); }
.clear { display: inline-block; margin-top: 10px; font-size: .85rem; }

.filters-d h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 8px; }
.filters-d h2:first-child { margin-top: 0; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a {
  display: block; padding: 9px 10px; border-radius: var(--radius);
  color: var(--slate); text-decoration: none; font-size: .92rem;
  transition: background-color .15s, color .15s;
}
.cat-list a:hover { background: var(--soft); color: var(--navy); }
.cat-list a.on { background: var(--navy); color: var(--white); font-weight: 600; }

/* ------------------------------------------------------------- product page */

.pd { display: grid; gap: 24px; }
.pd-media .ph { --ar: var(--ar-media); border-radius: var(--radius-lg); }
.cond-flag {
  margin-top: 10px; font-size: .85rem; font-weight: 700;
  color: var(--orange-d);
}
.pd-info h1 { font-size: 1.45rem; margin: 2px 0 6px; }
.pd-short { font-size: .98rem; }
.pd-price-row { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.price-lg { font-size: 1.4rem; }
.fits {
  background: var(--soft);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 14px; font-size: .92rem;
}
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.pd-h { font-size: 1.05rem; margin: 22px 0 10px; }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.specs th, .specs td {
  text-align: left; padding: 9px 10px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.specs th { color: var(--navy); font-weight: 700; width: 42%; }
.pd-notes { font-size: .85rem; margin-top: 16px; }

/* ----------------------------------------------------------- bands & splits */

.split { display: grid; gap: 28px; }
.split-narrow { display: grid; gap: 24px; }
.split-media .ph { --ar: var(--ar-media); border-radius: var(--radius-lg); }

.three-col { display: grid; gap: 14px; }
.info-box {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px; background: var(--white);
}
.info-box h3 { margin-top: 0; }
.info-box .ticks { margin: 0; }

.why-grid { display: grid; gap: 14px; }
.why {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px; transition: border-color .15s;
}
.why:hover { border-color: var(--navy); }
.why h3 { margin-top: 0; }
.why p { margin: 0; font-size: .92rem; }

.brand-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 10px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; padding-bottom: 6px;
}
.brand-row li { flex: 0 0 auto; }
.brand-row a {
  display: flex; align-items: center; justify-content: center;
  min-width: 130px; min-height: 60px; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  font: 800 1.05rem var(--font); color: var(--navy);
  text-decoration: none; letter-spacing: .02em;
  transition: border-color .15s;
}
.brand-row a:hover { border-color: var(--navy); }

.brand-block { margin-bottom: 40px; }
.brand-head { margin-bottom: 16px; }
.brand-head p { margin: 0; }

/* -------------------------------------------------------------- reviews loop */

.rev-sec { padding-bottom: 44px; }
.rev-marquee { overflow: hidden; }
.rev-track {
  list-style: none; margin: 0; padding: 4px 0;
  display: flex; gap: 14px; width: max-content;
  animation: rev-scroll 90s linear infinite;
}
.rev-marquee:hover .rev-track,
.rev-marquee:focus-within .rev-track { animation-play-state: paused; }
@keyframes rev-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.rev-card {
  flex: none; width: 290px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 16px; background: var(--white);
}
.rev-card p { font-size: .88rem; margin: 8px 0 12px; }
.rev-card footer { display: flex; flex-direction: column; line-height: 1.3; }
.rev-card footer span { font-size: .78rem; color: var(--slate); }
.stars { display: inline-flex; gap: 2px; font-size: .9rem; }
.stars b { font-weight: 400; color: var(--line); }
.stars b.on { color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .rev-track { animation: none; }
  .rev-marquee { overflow-x: auto; }
}

/* -------------------------------------------------------------- track page */

.track-form { display: flex; gap: 8px; margin-bottom: 26px; }
.track-form input {
  flex: 1; min-height: 50px; padding: 10px 14px; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  text-transform: uppercase; letter-spacing: .06em; min-width: 0;
}
.track-result h2 { margin-bottom: 2px; }
.track-meta { font-size: .9rem; }
.timeline { list-style: none; padding: 0; margin: 22px 0; }
.timeline li {
  position: relative; padding: 0 0 22px 34px; color: var(--slate);
}
.timeline li::before {
  content: ""; position: absolute; left: 9px; top: 20px; bottom: 0;
  width: 2px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.tl-dot {
  position: absolute; left: 2px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 3px solid var(--line); background: var(--white);
}
.timeline li.done { color: var(--navy); }
.timeline li.done .tl-dot { border-color: var(--navy); background: var(--navy); }
.timeline li.now { color: var(--navy); font-weight: 700; }
.timeline li.now .tl-dot { border-color: var(--orange); background: var(--orange); }

/* -------------------------------------------------------------- misc pages */

.thanks { padding: 60px 0; }
.tick-big {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--blue-t); color: var(--blue-d);
  border: 2px solid #B9D9F7; margin-bottom: 18px;
}
.job-no {
  font: 800 1.5rem var(--font); color: var(--navy);
  letter-spacing: .08em; margin: 4px 0 14px;
}
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0 30px; }

.prose h2 { margin-top: 28px; font-size: 1.15rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

.contact-cards { display: grid; gap: 12px; }
.ccard {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 16px; text-decoration: none; color: var(--slate);
  min-height: 44px;
}
.ccard svg { flex: none; color: var(--navy); }
.ccard { transition: border-color .15s; }
.ccard:hover { border-color: var(--navy); }
.ccard-flat { background: var(--soft); }
.ccard em { font-style: normal; font-size: .85rem; }

.side-info h2 { font-size: 1rem; margin-top: 22px; }
.side-info h2:first-child { margin-top: 0; }
.side-tel { font-size: 1.2rem; font-weight: 800; color: var(--navy); text-decoration: none; }

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--navy); color: #AFC0D4; }
.f-grid { display: grid; gap: 26px; padding-top: 44px; padding-bottom: 30px; }
.f-brand .swoosh { margin-bottom: 10px; }
.f-word {
  font: 800 1.1rem/1 var(--font); color: var(--white);
  letter-spacing: .04em; margin: 0 0 12px;
}
.f-word small { display: block; font: 700 .5rem/1.6 var(--font); letter-spacing: .3em; color: #9FB2C8; }
.f-brand p { font-size: .9rem; }
.f-person { color: #D8E2EE; }
.f-col h2 {
  color: var(--white); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 12px;
}
.f-col a {
  display: block; color: #C4D2E2; text-decoration: none;
  padding: 5px 0; font-size: .92rem;
}
.f-col a:hover { color: var(--orange); }
.f-note { font-size: .85rem; margin-top: 10px; }
.f-base {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 16px; padding-bottom: 16px; font-size: .8rem;
}
.f-base p { margin: 0; }

/* -------------------------------------------------------- floating actions */

.float-actions {
  position: fixed; right: 12px; bottom: 12px; z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
}
.fab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; width: 52px;
}
.fab svg {
  width: 48px; height: 48px; padding: 11px;
  border-radius: 50%; box-sizing: border-box;
  border: 2px solid var(--white);
  transition: background-color .15s;
}
.fab-wa svg { background: #25D366; color: var(--white); }
.fab-tel svg { background: var(--navy); color: var(--white); }
.fab span {
  font-size: .62rem; font-weight: 700; color: var(--navy);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 1px 7px;
}
.fab-wa:hover svg { background: #1DA851; }
.fab-tel:hover svg { background: var(--slate); }

/* ------------------------------------------------------------------- admin */

.admin-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.admin-head .hero-cta { margin: 0; }
.admin-head > div { flex: 1; }
.admin-head > *:last-child { margin-left: auto; }
.stat-row { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-bottom: 26px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 16px; text-decoration: none; text-align: center;
}
.stat strong { display: block; font-size: 1.8rem; }
.stat span { font-size: .8rem; color: var(--slate); }
.admin-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.pw-card { max-width: 640px; }
.login-card { max-width: 420px; margin: 20px auto 0; text-align: left; }

.alert-ok {
  background: var(--blue-t); border: 1px solid var(--blue);
  color: var(--navy); padding: 10px 14px; border-radius: var(--radius);
  font-weight: 600; margin-bottom: 18px;
}
.alert-err {
  background: var(--red-t); border: 1px solid var(--red);
  color: var(--red-d); padding: 10px 14px; border-radius: var(--radius);
  font-weight: 600; margin-bottom: 18px;
}

.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.chip {
  display: inline-block; padding: 8px 16px; min-height: 40px;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--slate); text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.on { background: var(--navy); border-color: var(--navy); color: var(--white); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 820px; }
.table th {
  text-align: left; padding: 10px 12px; background: var(--soft);
  color: var(--navy); font-size: .75rem; text-transform: uppercase;
  letter-spacing: .06em; border-bottom: 1px solid var(--line);
}
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr.off td { opacity: .5; }
.table .detail { max-width: 340px; }
.table select { min-height: 38px; font-size: .85rem; padding: 5px 8px; border: 1.5px solid var(--line); border-radius: var(--radius); }
.nowrap { white-space: nowrap; }
.tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  background: var(--soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 8px; color: var(--slate);
}
.tag-quote { background: var(--blue-t); color: var(--blue-d); border-color: #B9D9F7; }
.tag-part { background: var(--magenta-t); color: var(--magenta-d); border-color: #F2B9D2; }
.tag-repair { background: var(--orange-t); color: var(--orange-d); border-color: #F3CFA5; }
.job { letter-spacing: .04em; }

/* ----------------------------- mobile: paired buttons + 2-up card grids
   Converted to two columns: product cards, category tiles, feature (why)
   tiles, contact cards, photo strip, admin stats - all stay readable at
   ~170px. Left single-column by design: sequential steps (.steps), forms
   (.f-row, .finder-form), long-form blocks (.three-col info lists, .prose),
   the reviews marquee and horizontal brand chips row. */

@media (max-width: 639px) {
  /* paired buttons stay on one line */
  .hero-cta { flex-wrap: nowrap; gap: 8px; }
  .hero-cta .btn,
  .pd-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 10px 8px;
    font-size: .84rem;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pd-actions { flex-wrap: nowrap; gap: 8px; }

  /* 2-up grids, 6px gutters */
  .tile-grid, .why-grid, .contact-cards, .img-strip {
    grid-template-columns: 1fr 1fr; gap: 6px;
  }
  .grid-products { gap: 6px; }
  .stat-row { gap: 6px; }

  /* compact card padding + type */
  .card-body { padding: 6px; gap: 5px; }
  .card-meta { font-size: .62rem; }
  .card-name { font-size: .8rem; }
  .card-spec {
    font-size: .72rem; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-row { flex-wrap: wrap; gap: 4px; }
  .card-row .price { font-size: .82rem; }
  .card-row .badge { font-size: .6rem; padding: 2px 6px; }
  .card .btn { font-size: .76rem; padding: 8px 4px; }

  .tile-body { padding: 6px; }
  .tile-body strong { font-size: .88rem; margin-bottom: 2px; }
  .tile-body span {
    font-size: .74rem; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tile .ph, .tile-solid { --ar: 16/9; aspect-ratio: 16/9; }

  .why { padding: 6px; }
  .why h3 { font-size: .9rem; margin-bottom: 4px; }
  .why p { font-size: .78rem; }

  .ccard { flex-direction: column; align-items: flex-start; gap: 8px; padding: 6px; }
  .ccard span { font-size: .8rem; line-height: 1.35; overflow-wrap: anywhere; }

  .img-strip .ph { --ar: 16/10; }
}

@media (max-width: 400px) {
  .hero-cta .btn, .pd-actions .btn { font-size: .79rem; padding: 10px 6px; }
}

/* ================================================================ breakpoints */

@media (min-width: 560px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .finder-form .f-row, .f-row { grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
  .finder-form .f-row:first-child { grid-template-columns: repeat(3, 1fr); }
  .band-split { grid-template-columns: 1fr auto; }
  .stat-row { gap: 16px; }
}

@media (min-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding: 56px 0; }
  .grid-products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .three-col { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .brand-row { flex-wrap: wrap; overflow: visible; }
  .pd { grid-template-columns: 46% 1fr; gap: 36px; }
  .band-navy { padding: 52px 0; }
  .header-in .btn-cta { display: inline-flex; }
}

@media (min-width: 900px) {
  .brand-logo { width: 210px; }
  .h-nav {
    display: flex; gap: 2px; margin-left: auto;
  }
  .h-nav a {
    color: #D8E2EE; text-decoration: none; font-weight: 600;
    font-size: .92rem; padding: 10px 12px; border-radius: var(--radius);
    min-height: 44px; display: flex; align-items: center;
    transition: background-color .15s, color .15s;
  }
  .h-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
  .h-nav a[aria-current="page"] { color: var(--orange); }
  .h-searchlink {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; color: #D8E2EE;
    border-radius: var(--radius);
  }
  .h-searchlink:hover { color: var(--white); background: rgba(255,255,255,.08); }
  .nav-toggle { display: none; }
  .m-nav { display: none; }
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 46px; }
  .split-narrow { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 40px; }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .f-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
}

@media (min-width: 1024px) {
  .filters-m { display: none; }
  .filters-d {
    display: block; flex: none; width: 230px;
    position: sticky; top: 80px; align-self: start;
  }
  .shop-layout { display: flex; gap: 36px; align-items: start; }
  .shop-results { flex: 1; min-width: 0; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .shop-results .grid-products { grid-template-columns: repeat(3, 1fr); }
  .finder-form .f-row { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .h-searchlink { display: none; }
  .h-search { display: flex; flex: 0 1 230px; gap: 0; }
  .h-search input {
    flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px;
    font: 400 .92rem var(--font); color: var(--white);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    border-right: 0; border-radius: var(--radius) 0 0 var(--radius);
  }
  .h-search input::placeholder { color: #AFC0D4; }
  .h-search button {
    width: 46px; min-height: 44px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.1); color: #D8E2EE;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 0 var(--radius) var(--radius) 0;
  }
  .h-search button:hover { color: var(--orange); }
  :root { --gutter: 24px; }
  .grid-products { grid-template-columns: repeat(4, 1fr); }
  .shop-results .grid-products { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 72px 0; }
}

@media print {
  .site-header, .m-nav, .float-actions, .band-search { display: none !important; }
}

@media (min-width: 1600px) {
  :root { --wrap: 1320px; }
  .shop-results .grid-products { grid-template-columns: repeat(4, 1fr); }
}
