@import url('/brand/fonts/road-sign/fonts.css');

:root {
  color-scheme: light;
  --ink: #fff;
  --panel: #f4f6fa;
  --line: #cbd1dc;
  --white: #2b2d31;
  --muted: #555c69;
  --gold: #1e5eff;
  --good: #214bcc;
  --bad: #a62d31;
  --chrome: #b19d85;
  --deep-blue: #1648cc;
  accent-color: var(--gold);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: white; color: var(--white); font: 16px/1.55 Lato, sans-serif; }
[hidden], .eyebrow { display: none !important; }
h1, h2, .brand span { font-family: Oswald, sans-serif; font-weight: 600; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { letter-spacing: -.025em; line-height: 1.12; }
h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
a { color: var(--deep-blue); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--deep-blue); outline-offset: 3px; }
button, input, select, textarea { font-family: inherit; }
input:not([type=checkbox]):not([type=radio]), label select, label textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  background: white;
  color: var(--white);
  border: 1px solid #8993a3;
  border-radius: 6px;
  font-size: 1rem;
}
input::placeholder { color: #626b78; }
button, .cta-primary, .cta-secondary, .action-btn, .action-btn.gold, .asset-foot button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .65rem .95rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: white;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: color .18s, background-color .18s, border-color .18s;
}
button:hover, .cta-primary:hover, .cta-secondary:hover, .action-btn:hover, .action-btn.gold:hover {
  background: var(--deep-blue);
  border-color: var(--deep-blue);
  color: white;
}
button:disabled { opacity: .65; cursor: default; }
header, .counter-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 15px max(24px, calc((100vw - 1240px) / 2));
  background: white;
  border-bottom: 1px solid var(--line);
}
.brand { min-height: 44px; color: var(--white); letter-spacing: normal; }
.brand img { border-radius: 6px; }
.brand span { font-size: 25px; }
.nav { display: flex; flex-wrap: wrap; width: auto; overflow: visible; padding: 0; gap: 3px 8px; }
.nav a, .nav button, .nav a.active, .nav button.active {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: white;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
}
.nav a:hover, .nav button:hover, .nav button.active { color: var(--deep-blue); background: #eef3ff; }
.counter-home, .counter-lane { width: 100%; padding: 0; }
.counter-wrap { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.counter-hero {
  padding: clamp(48px, 8vw, 120px) 0 48px;
  background: linear-gradient(90deg, rgba(244,246,250,.99) 12%, rgba(244,246,250,.92) 42%, rgba(244,246,250,.22) 100%), url('/images/auto-hero.jpg') center 48% / cover;
  border-bottom: 4px solid var(--chrome);
}
body[data-lane=truck] .counter-hero {
  background-image: linear-gradient(90deg, rgba(244,246,250,.99) 12%, rgba(244,246,250,.94) 48%, rgba(244,246,250,.35) 100%), url('/images/truck-hero.jpg');
}
.counter-hero h1 { font-size: clamp(3.5rem, 8.4vw, 8rem); margin: 0; }
.lane-counter-hero h1 { font-size: clamp(2.55rem, 5.5vw, 5.5rem); }
.hero-summary { font-size: clamp(1.05rem, 1.75vw, 1.4rem); margin: 12px 0 28px; max-width: 50ch; }
.counter-search {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  box-shadow: 0 12px 28px #2b2d311c;
}
.counter-search label, .lane-filters label { display: block; font-size: .9rem; font-weight: 700; margin: 0; }
.counter-search input { margin: 5px 0 0; padding: 8px 12px; }
.counter-search button { min-height: 46px; }
.search-help { margin: 9px 0 0; width: fit-content; padding: 4px 8px; border-radius: 4px; background: #fff; color: var(--muted); font-size: .9rem; }
.vehicle-fields { display: grid; grid-template-columns: minmax(0, .7fr) repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick-chips :is(a,button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid #8993a3;
  background: #fff;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: color .18s, background-color .18s, border-color .18s;
}
.quick-chips :is(a,button):hover, .quick-chips [aria-pressed=true] { color: white; background: var(--gold); border-color: var(--gold); }
.lane-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.lane-filters label { width: min(100%, 230px); }
.lane-disclosure { color: var(--white); background: #fffffff2; border-radius: 6px; width: fit-content; padding: 8px 12px; margin-bottom: 0; font-size: .85rem; }
.sourcing-strip, .counter-results { padding-block: 45px; }
.sourcing-strip h2, .counter-results h2 { margin: 0 0 22px; }
.sourcing-strip ol { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.sourcing-strip li { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.sourcing-strip img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 5px; }
.sourcing-strip h3 { margin: 9px 0 4px; font-size: 1.08rem; }
.sourcing-strip p { margin: 0; color: var(--muted); }
.counter-bottom { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; padding: 25px 0 52px; border-top: 1px solid var(--line); }
.counter-bottom h2 { font-size: 1.6rem; }
.counter-bottom a { display: inline-flex; min-height: 44px; align-items: center; }
.lane-workspace { padding: 28px 0 52px; }
.parts-grid { display: block; }
.part-card, .counter-result {
  position: relative;
  background: #fff;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 17px 12px;
}
.counter-result { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 16px; }
.counter-result h3, .counter-result p { margin: 0; }
.counter-result p { color: var(--muted); }
.part-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0, .8fr) minmax(0,1.25fr);
  gap: 5px 16px;
  align-items: center;
}
.part-card:hover, .part-card:focus-within, .counter-result:hover, .counter-result:focus-within { background: var(--panel); }
.part-card-top { grid-column: 2; grid-row: 1; justify-content: start; flex-wrap: wrap; }
.part-card h3 { grid-column: 1; grid-row: 1; margin: 0; font-weight: 700; }
.part-category, .part-number, .part-card .muted { grid-column: 1; margin: 0; }
.part-category { text-transform: none; letter-spacing: normal; }
.part-meta { grid-column: 2; grid-row: 2 / span 3; flex-direction: column; border: 0; justify-content: start; padding: 0; margin: 0; }
.part-card-bottom { grid-column: 3; grid-row: 1 / span 3; padding: 0; margin: 0; align-items: center; flex-wrap: wrap; }
.part-card-bottom strong { color: var(--white); font-variant-numeric: tabular-nums; }
.part-card > .card-link { grid-column: 3; margin: 0; display: inline-flex; font-size: .86rem; }
.part-card .arrival { grid-column: 1 / -1; grid-row: 5; }
.part-preview {
  display: none;
  position: absolute;
  z-index: 4;
  bottom: calc(100% - 6px);
  right: 14px;
  width: 224px;
  max-width: 80%;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 20px #2b2d3126;

}
.part-preview img { display: block; width: 100%; height: auto; }
.part-preview figcaption { color: var(--muted); font-size: .8rem; padding: 4px 6px 0; }
@media (hover: hover) { :is(.part-card,.counter-result):hover > .part-preview { display: block; } }
:is(.part-card,.counter-result):has(:focus-visible) > .part-preview { display: block; }
.panel, .comparison-card, .delivery-total, .urgent-panel, .fees-panel, .closing-cta, dialog {
  background: var(--panel);
  color: var(--white);
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: none;
}
.stock, .part-number, .card-link, .comparison-card strong, .progress-list .done { color: var(--deep-blue); }
.card-link { background: white; border-color: var(--line); }
.closing-cta .cta-secondary { border-color: var(--gold); color: white; }
.urgent-heading p { color: var(--white); }
.urgent-badge, .pill, .pill.warn { background: #f0e9df; color: #534333; border-color: var(--chrome); }
.category-card { background: white; color: var(--deep-blue); border-color: var(--line); }
.category-card:hover span { color: white; }
.section-note { font-size: .9rem; }
dialog .dialog-close { padding: 0; width: 44px; }
.toast { color: white; }
footer { background: var(--white); color: white; border: 0; padding: 28px max(24px, calc((100vw - 1240px) / 2)); }
footer a { color: white; }
footer > a + a { margin-left: 16px; }
.unavailable main { width: min(90%, 650px); margin: 12vh auto; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body:not([data-teaser]) .sourcing-strip { animation: source-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes source-reveal { from { opacity: .65; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  }
}
@media (max-width: 760px) {
  .counter-wrap { width: calc(100% - 36px); }
  header, .counter-header { padding: 10px 18px; gap: 5px 12px; }
  .nav { margin: 0; gap: 3px 4px; }
  .nav a { padding: 6px; font-size: .83rem; }
  .counter-hero { background-image: linear-gradient(#f4f6fae8,#f4f6faa8),url('/images/auto-hero.jpg'); padding: 45px 0 28px; }
  body[data-lane=truck] .counter-hero { background-image: linear-gradient(#f4f6faea,#f4f6fabb),url('/images/truck-hero.jpg'); }
  .counter-search, .counter-bottom { grid-template-columns: minmax(0,1fr); }
  .counter-search { padding: 12px; }
  .lane-filters label { flex: 1 1 0; min-width: 0; }
  .sourcing-strip ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .part-card { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .part-card h3 { grid-column: 1/-1; }
  .part-card-top { grid-row: 2; }
  .part-meta { grid-row: 3 / span 2; }
  .part-card-bottom, .part-card > .card-link, .part-card .arrival { grid-column: 1/-1; grid-row: auto; }
  .part-card-bottom { margin-top: 8px; }
  .counter-result { grid-template-columns: minmax(0,1fr) auto; }
  .counter-result a { grid-column: 1/-1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.card-link:hover, .card-link:focus-visible { background: #eef3ff; }
.closing-cta .cta-secondary:hover { background: var(--deep-blue); }
