:root {
  color-scheme: light;
  --page: #f5f5f2;
  --white: #fff;
  --ink: #172329;
  --dark: #132128;
  --muted: #56656a;
  --line: #dadfdd;
  --orange: #ff9847;
  --orange-hover: #ffaf72;
  --blue: #dfe9e9;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --title: "Arial Black", "Helvetica Neue", var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font: 1rem/1.58 var(--sans); }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bf5b1c; outline-offset: 3px; }
.wrap { width: min(100% - 3.75rem, 75rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; transform: translateY(-170%); z-index: 3; padding: .75rem 1rem; background: white; }
.skip:focus { transform: none; }

.banner { display: flex; justify-content: center; gap: .85rem; align-items: center; padding: .48rem 1rem; font-size: .81rem; line-height: 1.4; background: #e7eae6; color: #304047; }
.banner a { font-weight: 700; }
.header { background: var(--white); }
.navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: .6rem; color: var(--ink); text-decoration: none; font-size: 1.25rem; line-height: 1.05; font-style: italic; font-weight: 900; letter-spacing: -.045em; }
.brand .mark { width: 2.55rem; aspect-ratio: 1; display: grid; place-items: center; background: var(--dark); color: var(--orange); border-radius: .55rem; font-style: normal; font-size: 1.6rem; }
.brand-auto { margin-left: .2rem; }
.brand small { display: block; margin-top: .31rem; font-weight: 700; font-size: .6rem; letter-spacing: .11em; font-style: normal; color: var(--muted); }
nav { display: flex; align-items: center; gap: clamp(.9rem, 3.4vw, 2.7rem); }
nav a { font-size: .92rem; font-weight: 700; text-decoration: none; color: #33454c; padding-block: .8rem; white-space: nowrap; }
nav a:hover, .text-link:hover { text-decoration: underline; }
.cart-toggle { justify-self: end; display: flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border: 1px solid var(--line); color: var(--ink); background: var(--white); border-radius: .55rem; font-size: .9rem; font-weight: 750; white-space: nowrap; }
.cart-toggle:hover { background: var(--page); }
.bag { display: inline-block; border: 1.5px solid currentColor; width: .85rem; height: .75rem; border-radius: .1rem .1rem .15rem .15rem; position: relative; margin-right: .1rem; margin-top: .18rem; }
.bag::before { content: ''; position: absolute; width: .43rem; height: .34rem; border: 1.5px solid currentColor; border-bottom: 0; top: -.36rem; left: 50%; transform: translateX(-50%); border-radius: .4rem .4rem 0 0; }
.cart-count { min-width: 1.2rem; height: 1.2rem; display: grid; place-items: center; padding-inline: .2rem; border-radius: 50%; background: var(--blue); font-size: .72rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #111b21; color: white; }
.hero-media { position: absolute; z-index: -2; inset: 0 0 0 32%; }
.hero-media img { height: 100%; width: 100%; object-fit: cover; object-position: 58% 48%; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#111b21 11%,#111b21 33%,#111b21cd 49%,#111b2120 78%),linear-gradient(0deg,#111b2155,transparent 36%); }
.hero-inner { position: relative; min-height: clamp(28rem, 39vw, 34rem); display: flex; align-items: center; padding-block: 3.4rem 5.7rem; }
.hero-copy { max-width: 39rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; letter-spacing: .12em; font-weight: 780; font-size: .8rem; line-height: 1.4; text-transform: uppercase; color: #ffc49a; }
.eyebrow span { width: 1.1rem; height: .15rem; background: var(--orange); }
.eyebrow.dark { color: #4f666d; }
h1, h2 { line-height: 1.02; font-family: var(--title); letter-spacing: -.055em; font-weight: 900; }
.hero h1 { margin-block: .94rem .95rem; font-size: clamp(3.45rem, 6.5vw, 6.25rem); }
.hero h1 span { color: var(--orange); }
.lede { color: #d9e3e6; font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 30rem; margin-bottom: 1.5rem; }
.photo-note { position: absolute; bottom: 3.25rem; right: 0; background: #101a20c7; color: #f4f6f7; padding: .18rem .45rem; border-radius: .25rem; font-size: .72rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; padding: .62rem 1rem; border: 1px solid transparent; border-radius: .45rem; text-decoration: none; font-size: .91rem; line-height: 1.25; font-weight: 760; text-align: center; }
.primary { background: var(--orange); border-color: var(--orange); color: #1f272a; }
.primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.secondary, .quote-button { background: var(--white); border-color: #c9d1d0; color: var(--ink); }
.secondary:hover, .quote-button:hover { background: #edf1ef; }
.quote-button[aria-pressed="true"] { background: #dcebea; border-color: #b0cbca; }

.finder-wrap { position: relative; margin-top: -2.35rem; scroll-margin-top: .8rem; }
.finder { display: grid; grid-template-columns: .9fr .9fr .7fr 1.48fr auto; gap: .65rem; align-items: end; padding: 1rem 1.1rem .8rem; background: white; border: 1px solid var(--line); border-radius: .75rem; box-shadow: 0 12px 22px #151f2313; }
.field { display: grid; gap: .3rem; min-width: 0; }
.field label, .delivery-label { font-size: .82rem; font-weight: 760; }
select, input, textarea { width: 100%; min-height: 2.8rem; padding: .48rem .6rem; border: 1px solid #cbd4d4; background: #fbfcfb; color: var(--ink); border-radius: .43rem; }
input::placeholder { color: #59686e; opacity: 1; }
.search-submit { min-height: 2.8rem; white-space: nowrap; }
.sample-search { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; grid-column: 1 / -1; color: var(--muted); font-size: .78rem; }
.sample-search button { color: var(--ink); padding: .14rem .43rem; border: 1px solid #d7e0e1; background: #f2f6f6; border-radius: .2rem; font-size: .76rem; }
.sample-search button:hover { background: var(--blue); }

.catalog { padding-block: clamp(2.7rem, 5.2vw, 4.6rem) clamp(4rem, 7vw, 6.8rem); scroll-margin-top: .6rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: .85rem; }
h2 { font-size: clamp(2rem, 4.4vw, 3.45rem); }
.section-heading .eyebrow, .order-section .eyebrow, .contact .eyebrow { margin-bottom: .45rem; }
.text-link, .text-button { font-size: .88rem; font-weight: 750; }
.text-button { background: transparent; border: 0; color: #3c565b; padding: .3rem 0; text-decoration: underline; }
.categories { display: flex; flex-wrap: wrap; gap: .48rem; margin-top: 1.3rem; }
.chip { padding: .45rem .72rem; border: 1px solid #cad3d2; background: var(--white); color: #34464b; border-radius: 999px; font-size: .83rem; font-weight: 650; }
.chip:hover { border-color: #657d82; }
.chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: white; }
.status-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 2.7rem; margin-top: .45rem; font-size: .84rem; color: var(--muted); }
.year-note { margin-bottom: .75rem; color: var(--muted); font-size: .85rem; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.product { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: .65rem; }
.product-photo { display: block; width: 100%; padding: 0; border: 0; background: #e2e9e9; aspect-ratio: 1.48; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.product-photo:hover img { transform: scale(1.04); }
.product-body { flex: 1; display: flex; flex-direction: column; padding: .83rem .9rem .9rem; }
.vehicle { color: #4b646a; font-size: .76rem; font-weight: 780; text-transform: uppercase; letter-spacing: .07em; }
.product h3 { line-height: 1.23; margin-block: .25rem; }
.product-title { font-weight: 810; font-size: 1.04rem; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; }
.product-title:hover { text-decoration: underline; }
.spec { color: var(--muted); font-size: .81rem; margin-bottom: .65rem; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .48rem; padding-top: .65rem; margin-top: auto; border-top: 1px solid var(--line); }
.product-actions strong { font-weight: 780; font-size: .85rem; }
.product-actions .button { min-height: 2.1rem; padding: .42rem .52rem; font-size: .76rem; }
.no-results { border: 1px dashed #8da5a8; border-radius: .65rem; padding: 1.75rem; text-align: center; }
.no-results p { color: var(--muted); margin-block: .25rem .9rem; }

.order-section { background: #e8eeee; padding-block: clamp(3.5rem,6vw,5.25rem); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.35rem; }
.steps article { padding: 1.1rem; border: 1px solid #cdd9d9; border-radius: .5rem; background: #f4f7f6; }
.steps h3 { margin-bottom: .22rem; }
.steps p { color: var(--muted); }
.contact { background: var(--dark); color: white; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(3rem,5vw,4.5rem); }
.contact p:not(.eyebrow) { margin-top: .65rem; color: #d4e0e1; }
.contact-links { display: grid; gap: .55rem; justify-items: start; }
.email { color: #f0f5f5; }
.footer { display: flex; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; padding-block: 1.3rem; font-size: .84rem; color: var(--muted); }

.panel { width: min(100% - 1.5rem, 34rem); max-height: min(90dvh, 52rem); padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 15px 70px #101a2090; }
.panel::backdrop { background: #101b22a8; }
.panel[open] { display: flex; flex-direction: column; }
.panel-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.panel-header h2 { font-size: clamp(1.45rem, 6vw, 1.95rem); }
.close-button { min-width: 2.65rem; min-height: 2.65rem; background: var(--page); color: var(--ink); border: 1px solid var(--line); border-radius: .5rem; line-height: 1; font-size: 1.35rem; }
.panel-body { overflow: auto; padding: 1rem 1.1rem 1.2rem; }
.detail-image { background: #e8eeee; border-radius: .5rem; margin-bottom: 1rem; }
.detail-image img { width: 100%; max-height: 17rem; object-fit: contain; }
.detail-list { display: grid; grid-template-columns: .9fr 1.15fr; gap: .32rem .65rem; margin: 0 0 .7rem; font-size: .92rem; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.panel-note { font-size: .84rem; color: var(--muted); margin-top: .65rem; }
.panel-intro { margin-bottom: .65rem; color: var(--muted); }
.panel-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
.quote-list { margin: 0 0 1rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.quote-list li { display: grid; grid-template-columns: 3rem 1fr auto; gap: .65rem; align-items: center; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.quote-list img { width: 3rem; height: 2.7rem; object-fit: cover; border-radius: .25rem; }
.quote-list small { display: block; color: var(--muted); }
.delivery-label { display: block; margin-bottom: .25rem; }
.full { width: 100%; margin-top: .75rem; }
.empty-quote { margin-block: .65rem 1rem; }
textarea { display: block; resize: vertical; font-size: .92rem; }
.toast { position: fixed; z-index: 4; bottom: .9rem; right: .9rem; background: var(--dark); color: white; padding: .62rem .88rem; border-radius: .42rem; box-shadow: 0 8px 25px #101a2060; font-size: .87rem; }

@media (max-width: 58rem) {
  .wrap { width: min(100% - 2.5rem, 75rem); }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .finder { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .field-search { grid-column: span 2; }
}
@media (max-width: 41rem) {
  .wrap { width: min(100% - 1.5rem, 75rem); }
  .banner { gap: .55rem; font-size: .73rem; }
  .navigation { grid-template-columns: 1fr auto; min-height: auto; gap: .1rem .5rem; padding-top: .72rem; }
  nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  nav a { font-size: .84rem; padding-block: .62rem; }
  .hero-inner { min-height: 26rem; align-items: start; padding-block: 2.75rem 4.5rem; }
  .hero-media { inset: 0 0 0 10%; }
  .hero-media img { object-position: 67% 48%; }
  .hero::after { background: linear-gradient(90deg,#101b22f7 0%,#101b22da 44%,#101b2269 100%); }
  .hero h1 { font-size: clamp(2.95rem, 12vw, 4.1rem); }
  .lede { max-width: 25rem; }
  .photo-note { bottom: 2.8rem; }
  .finder { grid-template-columns: 1fr 1fr; padding: .75rem; }
  .field-search { grid-column: auto; }
  .search-submit { grid-column: 1 / -1; }
  .section-heading, .contact-inner { display: grid; align-items: start; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .product-body { padding: .62rem .62rem .65rem; }
  .product-title { font-size: .95rem; }
  .steps { grid-template-columns: 1fr; gap: .55rem; }
  .steps article { padding: .9rem; }
}
@media (max-width: 23rem) {
  .product-actions .button { width: 100%; }
  .finder { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
