:root {
  --yellow: #ffe500;
  --red: #ed1c24;
  --black: #020200;
  --grey: #c7c8cd;
  --paper: #f5f5f3;
  --ink: #151515;
  --muted: #5d5e63;
  font-family: "ITC Avant Garde Gothic", "Helvetica Neue LT", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }

.brand-link { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; }
.brand-link:focus-visible { outline: 3px solid var(--black); outline-offset: 5px; }
.brand-logo { width: min(26vw, 310px); max-width: 100%; height: auto; display: block; }
.hero { background: var(--black); color: white; overflow: hidden; }
.hero-inner { max-width: 1440px; min-height: clamp(210px, 23vw, 300px); margin: 0 auto; padding: 30px clamp(20px, 5vw, 78px); position: relative; display: flex; align-items: center; }
.hero h1 { font-size: clamp(49px, 6.4vw, 88px); font-weight: 900; line-height: .98; letter-spacing: -.055em; text-transform: uppercase; margin: 0; position: relative; z-index: 1; }
.hero-brand { position: absolute; inset: 0 0 0 auto; width: 45%; padding: 20px 2% 20px 11%; background: var(--yellow); clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); display: flex; align-items: center; justify-content: center; }

.finder, .results { max-width: 1320px; margin: 0 auto; padding-left: clamp(20px, 5vw, 72px); padding-right: clamp(20px, 5vw, 72px); }
.finder { padding-top: clamp(38px, 5vw, 62px); }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(27px, 3.3vw, 42px); line-height: 1.1; letter-spacing: -.035em; text-transform: uppercase; margin: 0; font-weight: 900; }
.finder-panel { background: white; border: 1px solid #e2e2e2; border-left: 6px solid var(--yellow); padding: clamp(20px, 3vw, 32px); box-shadow: 0 14px 35px #00000008; }
.vehicle-tabs { border: 0; padding: 0; margin: 0 0 24px; display: flex; gap: 8px; }
.vehicle-tabs legend { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.vehicle-tab { border: 1px solid #cfcfcf; background: white; color: var(--ink); padding: 11px 27px; min-width: 110px; font-weight: 800; text-transform: uppercase; font-size: 13px; transition: background .15s, border-color .15s; }
.vehicle-tab:hover { border-color: var(--black); }
.vehicle-tab.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.finder-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr; gap: 16px; align-items: start; }
.field { min-width: 0; }
.field label { display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.field select, .field input { width: 100%; height: 50px; border: 1px solid #c9c9c9; border-radius: 0; background: white; padding: 0 13px; color: var(--ink); outline: none; }
.field input { margin-bottom: 7px; }
.field select:focus, .field input:focus, .vehicle-tab:focus-visible, .brand-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-color: var(--black); }
.field select:disabled, .field input:disabled { background: #f1f1f1; color: #828282; cursor: not-allowed; }

.results { padding-top: clamp(42px, 5vw, 66px); padding-bottom: 70px; }
.results-heading { border-bottom: 3px solid var(--black); padding-bottom: 16px; margin-bottom: 22px; }
.empty-state { text-align: center; background: white; padding: clamp(44px, 6vw, 75px) 20px; border: 1px solid #e2e2e2; }
.empty-state h3 { font-size: clamp(21px, 2.5vw, 30px); text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 8px; }
.empty-state p { color: var(--muted); font-size: 14px; margin: 0; }
.selection-summary { background: var(--yellow); color: var(--black); padding: 22px 26px; margin-bottom: 20px; }
.selection-summary[hidden] { display: none; }
.selection-summary strong { display: block; font-size: clamp(19px, 2vw, 27px); line-height: 1.15; text-transform: uppercase; font-weight: 900; }
.summary-label { display: block; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 7px; }
.ordering-note { color: var(--muted); font-size: 13px; margin: 0 0 25px; line-height: 1.5; }
.use-group { margin: 30px 0 44px; }
.use-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; }
.use-icon { width: 54px; height: 54px; background: var(--black); color: var(--yellow); clip-path: polygon(0 0, 100% 0, 100% 79%, 64% 100%, 0 100%); display: grid; place-items: center; flex: none; }
.use-icon svg { width: 32px; height: 32px; display: block; margin: -3px 3px 3px -3px; }
.use-heading-copy { min-width: 0; flex: 1; }
.use-heading h3 { display: inline-block; background: var(--grey); padding: 5px 12px 4px; font-size: clamp(18px, 2vw, 25px); line-height: 1.15; text-transform: uppercase; margin: 0 0 4px; font-weight: 900; letter-spacing: -.02em; }
.use-heading p { font-size: 12px; color: var(--muted); line-height: 1.35; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.fitment-card { background: white; border: 1px solid #e0e0e0; border-top: 5px solid var(--yellow); min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 18px; box-shadow: 0 10px 24px #00000008; transition: transform .18s ease, box-shadow .18s ease; }
.fitment-card:hover { transform: translateY(-3px); box-shadow: 0 16px 28px #00000012; }
.fitment-card.has-image { min-height: 285px; }
.card-copy { width: 100%; border-top: 1px solid #ebebeb; padding-top: 14px; }
.fitment-card h4 { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.2; text-transform: uppercase; font-weight: 900; letter-spacing: -.025em; margin: 0 0 8px; text-align: left; overflow-wrap: anywhere; }
.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; }
.fitment-card h4.product-logo-heading { min-height: 34px; display: flex; align-items: center; margin-bottom: 8px; }
.product-logo-heading img { display: block; width: auto; max-width: min(100%, 215px); max-height: 45px; object-fit: contain; object-position: left center; }
.fitment-card p { color: #55565a; font-size: 12px; line-height: 1.45; font-weight: 600; margin: 0; }
.road-offroad { margin-top: 13px; padding-top: 10px; border-top: 1px solid #ebebeb; }
.road-offroad-labels { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9px; line-height: 1.1; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.road-offroad img { display: block; width: 100%; height: auto; max-height: 43px; object-fit: contain; margin-top: 4px; }
.card-sizes { border-top: 1px solid #e8e8e8; margin-top: 14px; padding-top: 11px; }
.card-sizes-title { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.card-sizes dl { margin: 0; }
.size-pair + .size-pair { border-top: 1px dashed #d6d6d6; margin-top: 9px; padding-top: 9px; }
.size-line { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 7px; align-items: start; font-size: 12px; line-height: 1.35; }
.size-line + .size-line { margin-top: 5px; }
.size-line dt { color: var(--muted); font-weight: 600; }
.size-line dd { margin: 0; color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
.fitment-design, .tyre-size, .sku-line, .pressure-line { display: block; }
.fitment-design { color: var(--ink); font-size: 10px; font-weight: 900; line-height: 1.3; letter-spacing: .025em; text-transform: uppercase; margin-bottom: 3px; }
.sku-line { color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 2px; }
.sku-value { color: var(--ink); font-weight: 400; }
.pressure-line { color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 2px; }
.pressure-value { color: var(--ink); font-weight: 600; }
.product-visual { width: 100%; height: 172px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 2px 0 14px; }
.product-visual img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.product-visual.double img { max-width: 48%; }
footer { background: var(--black); color: #cfcfcf; text-align: center; padding: 26px 20px; font-size: 12px; font-weight: 600; }
footer a { color: var(--yellow); margin-left: 5px; }
footer a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 900px) {
  .finder-grid { grid-template-columns: 1fr 1fr; }
  .finder-grid .field:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero-inner { min-height: 185px; padding: 25px 20px; }
  .hero h1 { font-size: clamp(36px, 8.8vw, 52px); }
  .hero-brand { width: 51%; padding-left: 11%; padding-right: 10px; }
  .brand-logo { width: min(35vw, 190px); }
  .finder-grid { grid-template-columns: 1fr; }
  .finder-grid .field:last-child { grid-column: auto; }
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .fitment-card { min-height: 115px; padding: 15px; }
  .fitment-card.has-image { min-height: 275px; }
  .fitment-card h4 { font-size: 18px; }
  .product-visual { height: 155px; }
  .use-heading { gap: 10px; }
  .use-icon { width: 46px; height: 46px; }
  .use-icon svg { width: 28px; height: 28px; }
  .use-heading h3 { padding: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fitment-card { transition: none; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 34px; }
}
