﻿:root {
  --ink: #fff7ee;
  --muted: #cfc4ba;
  --line: rgba(255, 132, 31, 0.24);
  --surface: rgba(18, 18, 18, 0.92);
  --soft: rgba(255, 111, 0, 0.1);
  --red: #f05a00;
  --red-dark: #ff7a00;
  --yellow: #ffb13b;
  --green: #37b978;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.28);
  --soft-blue: rgba(255, 132, 31, 0.14);
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 111, 0, 0.16), transparent 28%),
    linear-gradient(180deg, #080808 0%, #111111 48%, #18110d 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(244, 183, 63, 0.55);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 1px 0 rgba(255, 132, 31, 0.22);
}

.top-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 9px 18px;
  color: #ffffff;
  background: #0a0a0a;
  font-size: 14px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1440px);
  max-width: none;
  margin: 0 auto;
  padding: 2px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-mark {
  display: block;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: contain;
}

.brand-logo {
  display: block;
  width: clamp(280px, 26vw, 390px);
  max-width: none;
  height: auto;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.35vw, 20px);
  min-width: 0;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  color: #f3eee8;
  font-size: clamp(13px, 1.05vw, 15px);
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 160ms ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.ticker-banner {
  overflow: hidden;
  height: 164px;
  color: #ffffff;
  background: linear-gradient(105deg, #0a0a0a, #171717 55%, #0b0b0b);
  border: 1px solid rgba(255, 139, 24, 0.45);
  transition: height 180ms ease, background 180ms ease;
}

.site-header.is-compact .ticker-banner {
  height: 164px;
  background: linear-gradient(105deg, #0a0a0a, #171717 55%, #0b0b0b);
}

.clearance-slideshow,
.clearance-slideshow-set,
.clearance-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.clearance-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 2.28fr);
  align-items: center;
  gap: clamp(18px, 3vw, 52px);
  width: min(1440px, calc(100% - 120px));
  margin: 0 auto;
  padding: 8px 34px 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(7%);
  transition: opacity 600ms ease, transform 600ms ease, visibility 600ms ease;
}

.clearance-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.clearance-slide-intro {
  padding-left: 10px;
}

.clearance-slide-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.clearance-slide-heading span,
.clearance-slide-heading em {
  color: #ff7417;
  font-style: normal;
}

.clearance-slide-intro p {
  margin: 14px 0 0 43px;
  color: #f3f3f3;
  font-size: 15px;
  line-height: 1.45;
}

.clearance-slide-parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 30px);
  height: 90%;
}

.clearance-slide-part {
  display: flex;
  min-width: 0;
  height: 100%;
  align-items: center;
  gap: 0;
  overflow: hidden;
  padding: 8px;
  color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 11px;
  background: linear-gradient(145deg, #ffffff, #eeeeee);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.34);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.clearance-slide-part:hover,
.clearance-slide-part:focus-visible {
  border-color: #ff8a1f;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.42), 0 0 0 2px rgba(255, 117, 23, 0.2);
  transform: translateY(-2px);
}

.clearance-card-image {
  display: grid;
  width: clamp(78px, 7.5vw, 112px);
  height: 100%;
  flex: 0 0 clamp(78px, 7.5vw, 112px);
  place-items: center;
  overflow: hidden;
  padding: 2px;
  border: 0;
  border-right: 1px solid #dedede;
  border-radius: 7px 0 0 7px;
  background: #ffffff;
}

.clearance-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.14);
}

.clearance-card-copy {
  display: flex;
  height: 100%;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 7px 10px 6px;
  background: transparent;
}

.clearance-slideshow-mobile {
  display: none;
}

.mobile-more-item {
  display: none;
}

.clearance-slide-part strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.clearance-slide-part strong {
  display: -webkit-box;
  color: #161616;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.clearance-card-sku {
  overflow: hidden;
  margin-bottom: 2px;
  color: #777777;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.clearance-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: auto;
  padding-top: 4px;
}

.clearance-card-pricing b {
  color: #f05a00;
  font-size: 15px;
  font-weight: 950;
}

.clearance-card-pricing del {
  color: #777777;
  font-size: 10px;
  font-weight: 800;
}

.clearance-card-discount {
  align-self: flex-start;
  margin-top: 3px;
  padding: 2px 6px;
  color: #ffffff;
  border-radius: 999px;
  background: #f05a00;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.clearance-slide-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  color: #ffffff;
  border: 0;
  border-radius: 50%;
  background: #242424;
  cursor: pointer;
  font-size: 34px;
  transform: translateY(-50%);
}

.clearance-slide-control.previous { left: 18px; }
.clearance-slide-control.next { right: 18px; }
.clearance-slide-control:hover { background: #f05a00; }

.clearance-slide-dots {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.clearance-slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(73, 31, 4, 0.38);
  cursor: pointer;
}

.clearance-slide-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: #7d3000;
}

@media (max-width: 800px) {
  .ticker-banner {
    height: 184px;
  }

  .site-header.is-compact .ticker-banner {
    height: 184px;
  }

  .clearance-slideshow-desktop {
    display: none;
  }

  .clearance-slideshow-mobile {
    display: block;
  }

  .clearance-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 7px;
    width: calc(100% - 64px);
    padding: 9px 4px 16px;
  }

  .clearance-slide-intro {
    padding: 0;
    text-align: center;
  }

  .clearance-slide-heading {
    justify-content: center;
    text-align: center;
    font-size: 17px;
  }

  .clearance-slide-intro p {
    display: none;
  }

  .clearance-slide-parts,
  .clearance-slide-part {
    height: 100%;
  }

  .clearance-slide-parts {
    display: block;
  }

  .clearance-slide-part {
    width: min(100%, 390px);
    margin: 0 auto;
    padding: 7px;
  }

  .clearance-card-image {
    width: clamp(112px, 36vw, 150px);
    height: 100%;
    flex-basis: clamp(112px, 36vw, 150px);
  }

  .clearance-slide-part strong {
    font-size: 13px;
  }

  .clearance-card-copy {
    padding: 8px 12px;
  }

  .clearance-card-pricing b {
    font-size: 16px;
  }

  .clearance-slide-control {
    width: 34px;
    height: 34px;
    font-size: 26px;
  }

  .clearance-slide-control.previous { left: 7px; }
  .clearance-slide-control.next { right: 7px; }
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  min-width: max-content;
  height: 100%;
  padding-left: 100%;
  animation: ticker-scroll 38s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  transition: font-size 180ms ease;
}

.ticker-part a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.site-header.is-compact .ticker-track span {
  font-size: 12px;
}

.ticker-track strong {
  color: #ffffff;
}

.ticker-track small {
  color: #ffe7a3;
  font-size: 0.95em;
  font-weight: 900;
}

.ticker-part img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 4px;
  background: var(--surface);
  object-fit: cover;
  transition: width 180ms ease, height 180ms ease, flex-basis 180ms ease;
}

.site-header.is-compact .ticker-part img {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.ticker-track span::after {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 5px;
  height: 5px;
  background: #ffffff;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    padding-left: 18px;
    animation: none;
  }
}

.menu-toggle {
  display: none;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f3eee8;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.theme-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.theme-slider {
  position: relative;
  width: 46px;
  height: 24px;
  flex: 0 0 46px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 132, 31, 0.62);
  border-radius: 999px;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.theme-slider::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #ff8a1f;
  border-radius: 50%;
  content: "";
  transition: transform 180ms ease;
}

.theme-switch input:checked + .theme-slider {
  background: #ffffff;
}

.theme-switch input:checked + .theme-slider::after {
  transform: translateX(22px);
}

.theme-switch input:focus-visible + .theme-slider {
  box-shadow: 0 0 0 3px rgba(255, 132, 31, 0.34);
}

.cart-button,
.button,
.icon-button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.cart-button {
  padding: 10px 14px;
  color: #130b05;
  background: var(--yellow);
  border-radius: 6px;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 7px;
  color: #ffffff;
  background: var(--red);
  border-radius: 999px;
}

.hero,
.home-hero,
.parts-hero,
.vehicles-hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(10, 16, 24, 0.86), rgba(10, 16, 24, 0.3)),
    url("assets/parts/home-page-img.JPG")
      center / cover;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  background: #111111;
  isolation: isolate;
  --truck-mask-glow-low: 0.22;
  --truck-mask-glow-high: 0.46;
  --truck-mask-glow-blur-low: 18px;
  --truck-mask-glow-blur-high: 34px;
  --truck-mask-glow-shadow-low: rgba(255, 94, 0, 0.38);
  --truck-mask-glow-shadow-high: rgba(255, 190, 0, 0.6);
  --truck-mask-glow-x: translateX(-50%);
}

.home-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: min(1520px, calc(100% - 48px));
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.92) 0%, rgba(10, 10, 10, 0.74) 36%, rgba(10, 10, 10, 0.18) 68%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(255, 87, 0, 0.12)),
    url("assets/Freightliner_Neon_Accredited.webp") center / 100% auto no-repeat;
  content: "";
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 52px, #000 calc(100% - 52px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 52px, #000 calc(100% - 52px), transparent);
}

.home-hero .hero-overlay {
  width: min(1520px, calc(100% - 48px));
}

.home-hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: min(1520px, calc(100% - 48px));
  pointer-events: none;
  background: url("assets/mask_Lights.webp") center / 100% auto no-repeat;
  content: "";
  mix-blend-mode: screen;
  transform: var(--truck-mask-glow-x);
  transform-origin: center;
  animation: truck-mask-glow 4.2s ease-in-out infinite;
  will-change: filter, opacity;
}

.parts-hero {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(10, 16, 24, 0.88), rgba(10, 16, 24, 0.34)),
    url("assets/Shop_Parts_Hero.webp")
      center / cover;
}

.vehicles-hero {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(10, 16, 24, 0.88), rgba(10, 16, 24, 0.3)),
    url("assets/Sale_Hero.jpeg")
      center / cover;
}

.service-hero {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94), rgba(10, 10, 10, 0.38)),
    url("assets/Service_Hero.jpg") center / cover;
}

.municipal-hero { min-height: 600px; background: linear-gradient(90deg,rgba(5,5,5,.96),rgba(8,8,8,.7) 48%,rgba(8,8,8,.2)),url("assets/municpal_images/municipal_hero.webp") center 58%/cover; }
.municipal-hero h1 { max-width: 800px; }
.municipal-intro,.sourcewell-inner { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:clamp(36px,6vw,80px); align-items:center; }
.municipal-contact-card,.sourcewell-card { padding:clamp(28px,4vw,44px); background:var(--surface); border:1px solid var(--line); border-top:4px solid var(--red); border-radius:8px; box-shadow:var(--shadow); }
.municipal-contact-card h2 { font-size:clamp(26px,3vw,38px); }
.municipal-contact-card .button { width:100%; margin-top:24px; }
.municipal-email { display:inline-block; color:var(--yellow); font-weight:900; overflow-wrap:anywhere; }
.municipal-offerings-layout { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr); gap:clamp(36px,6vw,76px); align-items:center; }
.municipal-checklist { display:grid; gap:14px; margin:32px 0 0; padding:0; list-style:none; }
.municipal-checklist li { position:relative; padding:14px 18px 14px 52px; background:var(--surface); border:1px solid var(--line); border-radius:6px; color:var(--ink); font-size:17px; font-weight:800; }
.municipal-checklist li::before { position:absolute; top:50%; left:17px; display:grid; width:22px; height:22px; place-items:center; color:#fff; background:var(--red); border-radius:4px; content:"✓"; font-size:15px; font-weight:900; transform:translateY(-50%); }
.municipal-slideshow { position:relative; overflow:hidden; aspect-ratio:4/3; min-height:430px; background:#050505; border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow); }
.municipal-slides,.municipal-slide { position:absolute; inset:0; margin:0; }
.municipal-slide { opacity:0; visibility:hidden; transition:opacity 700ms ease,visibility 700ms ease; }
.municipal-slide.is-active { opacity:1; visibility:visible; }
.municipal-slide img { display:block; width:100%; height:100%; object-fit:cover; }
.municipal-slide-control { position:absolute; top:50%; z-index:2; display:grid; width:46px; height:46px; place-items:center; padding:0; color:#fff; background:rgba(5,5,5,.72); border:1px solid rgba(255,255,255,.3); border-radius:50%; cursor:pointer; font-size:34px; line-height:1; transform:translateY(-50%); transition:background 160ms ease,transform 160ms ease; }
.municipal-slide-control:hover { background:var(--red); transform:translateY(-50%) scale(1.05); }
.municipal-slide-control.previous { left:16px; }
.municipal-slide-control.next { right:16px; }
.municipal-slide-dots { position:absolute; right:0; bottom:18px; left:0; z-index:2; display:flex; justify-content:center; gap:8px; }
.municipal-slide-dot { width:10px; height:10px; padding:0; background:rgba(255,255,255,.58); border:0; border-radius:50%; cursor:pointer; box-shadow:0 1px 5px rgba(0,0,0,.5); }
.municipal-slide-dot.is-active { width:28px; background:var(--red-dark); border-radius:999px; }
.sourcewell-band { margin:100px 0; padding:clamp(64px,8vw,108px) 20px; background:linear-gradient(110deg,rgba(240,90,0,.18),transparent 48%),#050505; border-block:1px solid var(--line); }
.sourcewell-inner { width:min(1180px,100%); margin:0 auto; }
.sourcewell-inner>div>h2 { max-width:720px; margin:0 0 18px; font-size:clamp(34px,5vw,60px); line-height:1; }
.sourcewell-inner>div>p:not(.section-label) { max-width:720px; color:var(--muted); line-height:1.7; }
.sourcewell-kicker { margin:0 0 8px; color:var(--muted); font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.sourcewell-card h3 { margin:0; color:var(--yellow); font-size:clamp(36px,5vw,54px); }
.sourcewell-card ul { display:grid; gap:12px; margin:26px 0 30px; padding:0; color:var(--muted); list-style:none; }
.sourcewell-card li { position:relative; padding-left:26px; line-height:1.45; }
.sourcewell-card li::before { position:absolute; left:0; color:var(--red-dark); content:"✓"; font-weight:900; }
@media(max-width:860px){.municipal-intro,.sourcewell-inner,.municipal-offerings-layout{grid-template-columns:1fr}.municipal-slideshow{min-height:360px}}
@media(max-width:560px){.municipal-hero{min-height:540px;background-position:62% center}.municipal-slideshow{min-height:280px}.municipal-slide-control{width:40px;height:40px}.sourcewell-band{margin:72px 0}}
html[data-theme="light"] .municipal-contact-card,html[data-theme="light"] .municipal-checklist li,html[data-theme="light"] .sourcewell-card{background:rgba(255,255,255,.97)}
html[data-theme="light"] .sourcewell-band{background:linear-gradient(110deg,rgba(240,90,0,.13),transparent 48%),#fffaf6}
html[data-theme="light"] .sourcewell-inner>div>p:not(.section-label),html[data-theme="light"] .sourcewell-card ul{color:#645b54}

.promotions-hero {
  display: grid;
  min-height: 420px;
  align-items: end;
  padding: 80px 20px 64px;
  background:
    linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.64) 58%, rgba(5,5,5,.3)),
    url("assets/Promotions_Hero_Placeholder.jpg") center 44% / cover;
}

.promotions-hero > div {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.promotions-hero h1 {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
}

.promotions-hero p:not(.eyebrow) {
  max-width: 670px;
  color: #e7edf4;
  font-size: 19px;
  line-height: 1.6;
}

.promotions-content {
  display: grid;
  gap: 60px;
}

.promotions-loading {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.promotions-loading:empty {
  display: none;
}

.featured-flyer {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  min-height: 560px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.featured-flyer-media,
.promotion-card-media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(240,90,0,.24), rgba(255,177,59,.06)),
    #0b0b0b;
}

.featured-flyer-media:empty::after,
.promotion-card-media:empty::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  color: rgba(255,255,255,.72);
  content: "New promotion coming soon";
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  text-align: center;
}

.featured-flyer-media img,
.featured-flyer-media iframe,
.promotion-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.featured-flyer-media img {
  object-fit: contain;
  background: #fff;
}

.featured-flyer-media iframe {
  min-height: 560px;
  background: #fff;
}

.promotion-pdf-tile {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 28px;
  color: #fff;
  text-align: center;
}

.promotion-pdf-tile strong {
  font-size: 24px;
}

.featured-flyer-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 72px);
}

.featured-flyer-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.featured-flyer-copy > p:not(.section-label) {
  color: var(--muted);
  line-height: 1.7;
}

.featured-flyer-copy .button {
  align-self: flex-start;
  margin-top: 18px;
}

.promotions-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.promotions-section-heading h2 {
  margin: 0;
}

.promotions-section-heading > p {
  max-width: 500px;
  margin: 0;
}

.promotion-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.promotion-card {
  display: grid;
  grid-template-rows: minmax(300px, 1fr) auto;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.promotion-card-media img {
  aspect-ratio: 16 / 10;
}

.promotion-card-copy {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: clamp(26px, 4vw, 40px);
}

.promotion-card-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.promotion-card-copy > p:not(.section-label) {
  color: var(--muted);
  line-height: 1.65;
}

.promotion-text-link {
  align-self: end;
  margin-top: 18px;
  color: var(--yellow);
  font-weight: 900;
}

.promotion-text-link::after {
  margin-left: 10px;
  color: var(--red-dark);
  content: "→";
}

@media (max-width: 860px) {
  .featured-flyer { grid-template-columns: 1fr; }
  .featured-flyer-media { min-height: 460px; }
  .promotion-card-grid { grid-template-columns: 1fr; }
  .promotions-section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 560px) {
  .promotions-hero { min-height: 360px; }
  .featured-flyer-media { min-height: 360px; }
  .featured-flyer-media iframe { min-height: 430px; }
  .promotion-card { grid-template-rows: minmax(240px, auto) auto; }
}

html[data-theme="light"] .featured-flyer,
html[data-theme="light"] .promotion-card {
  background: rgba(255,255,255,.98);
}

html[data-theme="light"] .featured-flyer-copy > p:not(.section-label),
html[data-theme="light"] .promotion-card-copy > p:not(.section-label) {
  color: #645b54;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 72px;
  color: #ffffff;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.home-hero h1,
.parts-hero h1,
.vehicles-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.home-hero p,
.parts-hero p,
.vehicles-hero p {
  max-width: 620px;
  color: #e7edf4;
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 4px;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.button.primary {
  color: #ffffff;
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: #130b05;
  background: var(--yellow);
}

.button.ghost {
  color: var(--ink);
  background: var(--soft-blue);
  border: 1px solid var(--line);
}

.button.full {
  width: 100%;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-links a {
  padding: 28px;
  border-right: 1px solid var(--line);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.quick-links a:hover {
  background: var(--soft);
  transform: translateY(-2px);
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links strong,
.quick-links span {
  display: block;
}

.quick-links span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.quick-links a.excelerator-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 54px);
}

.excelerator-link-copy {
  min-width: 0;
}

.excelerator-link-logo {
  width: clamp(180px, 30%, 300px);
  max-height: 86px;
  flex: 0 0 auto;
  object-fit: contain;
}

.excelerator-logo-light {
  display: none;
}

html[data-theme="light"] .excelerator-logo-dark {
  display: none;
}

html[data-theme="light"] .excelerator-logo-light {
  display: block;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 86px auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: center;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.section p {
  color: var(--muted);
  line-height: 1.65;
}

.heading-link {
  display: inline-block;
}

.heading-link:hover {
  color: var(--yellow);
}

.about-history-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.history-copy {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}

.history-copy p {
  margin: 0;
  padding: 20px 22px;
  color: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

html[data-theme="light"] .history-copy p {
  color: #ffffff;
  background: rgba(18, 18, 18, 0.94);
}

.about-departments {
  width: 100%;
  margin: 28px 0 0;
}

.about-purpose-section {
  padding-top: 0;
}

.about-purpose {
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.about-purpose summary {
  position: relative;
  padding: 22px 60px 22px 24px;
  color: var(--ink);
  cursor: pointer;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  list-style: none;
}

.about-purpose summary::-webkit-details-marker {
  display: none;
}

.about-purpose summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--orange);
  content: "+";
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.about-purpose[open] summary::after {
  content: "\2212";
}

.about-purpose[open] summary {
  border-bottom: 1px solid var(--line);
}

.about-purpose-content {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 42px);
}

.about-purpose-content p,
.about-purpose-content h2,
.about-purpose-content ul {
  margin: 0;
}

.about-purpose-lead {
  color: var(--ink);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
}

.about-purpose-content h2 {
  margin-top: 8px;
  color: var(--yellow);
  font-size: clamp(22px, 3vw, 30px);
}

.about-purpose-subsection {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
  border-left: 3px solid var(--orange);
  border-radius: 5px;
  background: rgba(255, 132, 31, 0.07);
}

.about-purpose-subsection h2,
.about-purpose-subsection p {
  margin: 0;
}

.about-purpose-subsection p {
  color: var(--muted);
  line-height: 1.7;
}

.about-purpose-content ul {
  display: grid;
  gap: 13px;
  padding: 0;
  list-style: none;
}

.about-purpose-content li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  line-height: 1.6;
}

.about-purpose-content li::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  content: "\25AA";
  font-size: 22px;
}

.about-purpose-content > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.service-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 48px;
  align-items: start;
}

.service-intro p:last-child {
  margin-bottom: 0;
  font-weight: 800;
}

.service-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 18px 20px 18px 48px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  line-height: 1.5;
}

.service-list li::before {
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--yellow);
  content: "✓";
  font-weight: 900;
}

.service-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.service-contact > div:first-child {
  max-width: 760px;
}

.service-phone {
  color: var(--yellow);
  font-weight: 900;
  white-space: nowrap;
}

.service-actions {
  display: grid;
  gap: 12px;
  min-width: 240px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.stats-grid div {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  font-size: 34px;
}

.stats-grid span {
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-section {
  margin-top: 74px;
}

.inventory-grid,
.department-grid,
.contact-grid,
.welcome-section {
  display: grid;
  gap: 20px;
}

.reviews-section {
  padding: clamp(32px, 5vw, 54px);
  background: rgba(8, 8, 8, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease;
}

.review-card:hover {
  border-color: rgba(255, 132, 31, 0.55);
  transform: translateY(-3px);
}

.review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.review-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.review-stars {
  color: #ff8a1f;
  font-size: 21px;
  letter-spacing: 3px;
  line-height: 1;
}

.google-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: transparent;
  background: linear-gradient(135deg, #4285f4 20%, #34a853 40%, #fbbc05 62%, #ea4335 80%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.review-card blockquote {
  margin: 30px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.review-card > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--yellow);
  font-weight: 900;
}

.review-card > a span {
  color: var(--red-dark);
  font-size: 24px;
  transition: transform 160ms ease;
}

.review-card > a:hover span {
  transform: translateX(4px);
}

.reviews-disclaimer {
  margin: 20px 0 0;
  font-size: 12px;
}

@media (max-width: 940px) {
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .reviews-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .reviews-heading .button {
    width: 100%;
  }

  .review-card blockquote {
    font-size: 16px;
  }
}

html[data-theme="light"] .reviews-section,
html[data-theme="light"] .review-card {
  background: rgba(255, 255, 255, 0.97);
}

html[data-theme="light"] .review-card blockquote {
  color: #645b54;
}

.inventory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inventory-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.inventory-media {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 42px;
  font-weight: 900;
  background: #253141;
}

.inventory-media.isuzu {
  background: linear-gradient(135deg, #bc1c2b, #262f3a);
}

.inventory-media.freightliner {
  background: linear-gradient(135deg, #1d2836, #657483);
}

.inventory-media.western {
  background: linear-gradient(135deg, #101720, #b88939);
}

.inventory-body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
}

.inventory-body h3,
.department-grid h3 {
  margin: 0;
  font-size: 22px;
}

.inventory-body p,
.department-grid p {
  margin: 0;
}

.inventory-body strong {
  font-size: 24px;
}

.welcome-section {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: stretch;
}

.welcome-video-section {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  max-width: none;
  min-height: clamp(430px, 48vw, 650px);
  align-items: center;
  overflow: hidden;
  margin-right: 0;
  margin-left: 0;
  padding: clamp(42px, 8vw, 100px) clamp(24px, 7vw, 96px);
  border-top: 1px solid rgba(255, 132, 31, 0.3);
  border-bottom: 1px solid rgba(255, 132, 31, 0.3);
  background: #080808;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.welcome-video-background,
.welcome-video-shade {
  position: absolute;
  inset: 0;
}

.welcome-video-background {
  z-index: -2;
  container-type: size;
  overflow: hidden;
  background: #080808 url("https://customer-zmutbjhj5n67iqgw.cloudflarestream.com/59f43195dd189003ce2da3958c721c22/thumbnails/thumbnail.jpg?height=900") center / cover no-repeat;
}

.welcome-video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.778cqh);
  height: max(100cqh, 56.25cqw);
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.welcome-video-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.72) 0%, rgba(4, 4, 4, 0.52) 45%, rgba(4, 4, 4, 0.12) 78%, rgba(4, 4, 4, 0.25) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 45%);
}

.welcome-video-content {
  width: min(100%, 660px);
}

.home-page .welcome-video-content h2,
.home-page .welcome-video-content p {
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.home-page .welcome-video-content .section-label {
  color: #ff9a3d;
}

.welcome-video-content .button {
  margin-top: 12px;
}

.video-panel,
.department-grid article,
.contact-grid > div {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.video-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111820 url("https://customer-zmutbjhj5n67iqgw.cloudflarestream.com/e9785d255cf2d92e4c75b8382fd2efdb/thumbnails/thumbnail.jpg?time=1s&height=600") center / cover no-repeat;
}

.home-page {
  color: #f5f1eb;
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 111, 0, 0.16), transparent 28%),
    linear-gradient(180deg, #080808 0%, #111111 48%, #18110d 100%);
}

.home-page .site-header {
  background: rgba(8, 8, 8, 0.96);
  box-shadow: 0 1px 0 rgba(255, 132, 31, 0.22);
}

.home-page .nav-links a {
  color: #f3eee8;
}

.home-page .nav-links a::after {
  background: #ff8a1f;
}

.home-page .ticker-banner {
  background: linear-gradient(105deg, #0a0a0a, #171717 55%, #0b0b0b);
}

.home-page .section h2,
.home-page .section h3,
.home-page .quick-links strong,
.home-page .product-card h3 {
  color: #fff7ee;
}

.home-page .section p,
.home-page .quick-links span,
.home-page .product-card p,
.home-page .contact-list,
.home-page .hours-list,
.home-page .hours-list span {
  color: #cfc4ba;
}

.home-page .quick-links,
.home-page .product-card,
.home-page .video-panel,
.home-page .department-grid article,
.home-page .contact-grid > div {
  border-color: rgba(255, 132, 31, 0.24);
  background: rgba(18, 18, 18, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.home-page .quick-links {
  margin-top: 24px;
}

.home-page .quick-links a {
  border-right-color: rgba(255, 132, 31, 0.22);
}

.home-page .quick-links a:hover {
  background: rgba(255, 111, 0, 0.1);
}

.home-page .specials-band {
  border-left-color: #ff7a00;
  background: linear-gradient(90deg, rgba(255, 111, 0, 0.18), rgba(18, 18, 18, 0.98));
}

.home-page .button.primary {
  background: #f05a00;
}

.home-page .button.primary:hover {
  background: #ff7a00;
}

.home-page .button.secondary {
  color: #130b05;
  background: #ffb13b;
}

@keyframes truck-mask-glow {
  0%,
  100% {
    opacity: var(--truck-mask-glow-low);
    filter:
      hue-rotate(0deg)
      saturate(1.12)
      brightness(0.92)
      blur(var(--truck-mask-glow-blur-low))
      drop-shadow(0 0 24px var(--truck-mask-glow-shadow-low))
      drop-shadow(0 0 52px rgba(255, 94, 0, 0.22));
  }

  50% {
    opacity: var(--truck-mask-glow-high);
    filter:
      hue-rotate(18deg)
      saturate(1.35)
      brightness(1.12)
      blur(var(--truck-mask-glow-blur-high))
      drop-shadow(0 0 42px var(--truck-mask-glow-shadow-high))
      drop-shadow(0 0 78px rgba(255, 132, 0, 0.28));
  }
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.department-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.department-grid article {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.specials-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-left: 6px solid var(--red);
  background: var(--soft);
}

.specials-band h2 {
  max-width: 760px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.contact-grid > div {
  padding: 26px;
}

.contact-list,
.hours-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.contact-list li,
.hours-list li {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.shop-tools {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.vehicle-tools {
  max-width: 560px;
  margin-bottom: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(8, 8, 8, 0.84);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #ff8a1f;
  box-shadow: 0 0 0 4px rgba(255, 132, 31, 0.16);
  outline: 0;
}

textarea {
  resize: vertical;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.clearance-section {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 177, 59, 0.5);
  border-radius: 10px;
  background:
    radial-gradient(circle at top right, rgba(255, 177, 59, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(240, 90, 0, 0.13), var(--surface));
  box-shadow: var(--shadow);
}

.clearance-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.clearance-heading > div {
  max-width: 760px;
}

.clearance-heading p:last-child {
  margin-bottom: 0;
}

.clearance-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.clearance-highlights div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.clearance-highlights strong,
.clearance-highlights span {
  display: block;
}

.parts-quote-disclaimer {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 1040px;
}

.parts-quote-disclaimer p {
  margin: 0;
}

.parts-quote-disclaimer p + p {
  margin-top: 0.75rem;
}

.parts-quote-disclaimer a {
  color: inherit;
  text-decoration-color: currentColor;
  text-underline-offset: 0.2em;
}

.marketing-consent {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 0.3rem 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
}

.marketing-consent input {
  appearance: auto;
  width: 14px;
  height: 14px;
  min-height: 0;
  margin: 0.2rem 0 0;
  padding: 0;
  border: initial;
  border-radius: 0;
  background: initial;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.marketing-consent span {
  flex: 1 1 auto;
}

.clearance-tools {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(190px, 1fr);
  gap: 14px;
  max-width: 980px;
  margin-top: 2.5rem;
  margin-bottom: 28px;
}

.clearance-price-filter {
  grid-column: 1 / -1;
  display: grid;
  gap: 9px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.clearance-price-filter > span,
.clearance-price-filter small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.clearance-price-filter strong {
  color: var(--yellow);
}

.clearance-price-filter small {
  color: var(--muted);
}

.dual-price-range {
  --range-start: 0%;
  --range-end: 100%;
  position: relative;
  display: block;
  height: 24px;
  border-radius: 999px;
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.18) 0 var(--range-start),
      var(--red) var(--range-start) var(--range-end),
      rgba(255, 255, 255, 0.18) var(--range-end) 100%
    ) center / 100% 5px no-repeat;
}

.clearance-price-filter input[type="range"] {
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 24px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.clearance-price-filter input[type="range"]:disabled {
  cursor: wait;
  opacity: 0.6;
}

.clearance-price-filter input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  background: transparent;
}

.clearance-price-filter input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 19px;
  height: 19px;
  margin-top: -7px;
  border: 2px solid #111111;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  cursor: grab;
  pointer-events: auto;
}

.clearance-price-filter input[type="range"]::-moz-range-track {
  height: 5px;
  background: transparent;
}

.clearance-price-filter input[type="range"]::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border: 2px solid #111111;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  cursor: grab;
  pointer-events: auto;
}

.clearance-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.clearance-pagination .button {
  min-width: 180px;
}

.parts-availability-message {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 177, 59, 0.52);
  border-radius: 6px;
  color: #ffe7a3;
  background: rgba(95, 53, 0, 0.42);
  font-weight: 900;
}

.clearance-highlights strong {
  color: var(--yellow);
  font-size: 18px;
}

.clearance-highlights span {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
}

.clearance-grid .product-card::before,
.product-card.clearance-card::before {
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(1);
}

.product-card.clearance-card {
  border-color: rgba(255, 177, 59, 0.5);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 372px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.product-card::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 4px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.product-card:hover {
  border-color: #ff8a1f;
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.vehicle-card {
  display: grid;
  grid-template-rows: 150px 1fr auto;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.vehicle-card:hover {
  border-color: #ff8a1f;
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.vehicle-card.is-selectable {
  cursor: pointer;
}

.vehicle-card.is-selectable:focus-visible {
  outline: 3px solid rgba(255, 138, 31, 0.85);
  outline-offset: 4px;
}

.vehicle-media {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #bf1f2f, #7f1521);
  font-size: 44px;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.vehicle-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.vehicle-body {
  padding: 18px;
}

.vehicle-body h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.18;
}

.vehicle-vin {
  margin: -8px 0 16px;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.vehicle-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.vehicle-details div {
  display: grid;
  gap: 4px;
}

.vehicle-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.vehicle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.vehicle-footer strong {
  font-size: 22px;
}

.vehicle-detail-hint {
  display: block;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.vehicle-detail-dialog {
  width: min(880px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  overflow-y: auto;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111820;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.vehicle-detail-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.vehicle-detail-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: #111820;
}

.vehicle-detail-header h2,
.vehicle-detail-header p {
  margin: 0;
}

.vehicle-detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.vehicle-detail-content section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.vehicle-detail-content h3 {
  margin: 0 0 14px;
  color: #ff9c45;
  font-size: 18px;
}

.vehicle-detail-content dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.vehicle-detail-content dl div {
  display: grid;
  grid-template-columns: minmax(125px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.vehicle-detail-content dl div:first-child {
  padding-top: 0;
  border-top: 0;
}

.vehicle-detail-content dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.vehicle-detail-content dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.vehicle-info-unavailable,
.vehicle-detail-actions {
  grid-column: 1 / -1;
}

.vehicle-info-unavailable {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
}

.vehicle-detail-actions {
  display: flex;
  justify-content: flex-end;
}

.vehicle-additional-info {
  grid-column: 1 / -1;
}

.vehicle-additional-info p {
  margin: 0;
  line-height: 1.7;
  white-space: pre-wrap;
}

.vehicle-detail-photos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.vehicle-detail-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  object-fit: cover;
}

[data-theme="light"] .vehicle-detail-dialog,
[data-theme="light"] .vehicle-detail-header {
  background: #ffffff;
}

@media (max-width: 680px) {
  .vehicle-detail-content {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .vehicle-detail-header {
    padding: 18px 16px;
  }

  .vehicle-detail-content dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 138px;
  color: #ffffff;
  background: linear-gradient(135deg, #253141, #566270);
  font-size: 46px;
  font-weight: 900;
  overflow: hidden;
}

.product-media.has-dtna-watermark::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 56px;
  aspect-ratio: 1.39;
  background: url("assets/DTNA_Parts_Logo_badge.png") center / contain no-repeat;
  opacity: 0.65;
  pointer-events: none;
}

.product-media img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
}

.product-media img.product-image-fallback {
  padding: 4px;
  object-fit: contain;
  background: #000000;
}

.product-body {
  padding: 18px;
}


.product-card.out-of-stock {
  opacity: 0.55;
  background: rgba(45, 45, 45, 0.88);
  filter: grayscale(0.7);
}

.product-card.out-of-stock .product-media {
  background: #8b929b;
}

.product-card.out-of-stock .product-media img {
  filter: grayscale(0.8);
}

.product-card.out-of-stock .button.primary {
  background: #9ca3af;
  cursor: not-allowed;
}

.stock-tag {
  color: #ffd9c0;
  background: rgba(240, 90, 0, 0.22);
}

.in-stock-tag {
  color: var(--green);
  background: rgba(55, 185, 120, 0.14);
}

.clearance-tag {
  color: #231204;
  background: var(--yellow);
}














.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  padding: 5px 8px;
  color: #ffd9c0;
  background: rgba(240, 90, 0, 0.18);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.price {
  font-size: 22px;
  font-weight: 900;
}

.price-stack {
  display: grid;
  gap: 2px;
}

.original-price {
  color: var(--muted);
  text-decoration: line-through;
}

.savings-message {
  color: var(--green);
  font-weight: 900;
}

.service-band {
  padding: 40px;
  width: 100%;
  max-width: none;
  background: var(--soft);
}

.service-band > * {
  max-width: 540px;
}

.contact-intro {
  display: grid;
  gap: 18px;
}

.contact-map {
  width: 100%;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #000000;
  box-shadow: var(--shadow-soft);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 330px;
  border: 0;
}

.compact-form,
.checkout-form {
  display: grid;
  gap: 16px;
}

.status-section {
  padding-bottom: 40px;
}

.lookup-form {
  display: flex;
  gap: 12px;
  max-width: 620px;
}

.form-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--green);
  font-weight: 800;
}

.excelerator-signup-section {
  max-width: 1120px;
  padding-top: clamp(54px, 8vw, 96px);
  padding-bottom: clamp(54px, 8vw, 96px);
}

.excelerator-signup-heading {
  margin-bottom: 34px;
}

.excelerator-signup-heading h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
}

.excelerator-signup-heading p {
  max-width: 680px;
  margin-bottom: 8px;
}

.excelerator-signup-heading small,
.excelerator-signup-form label span {
  color: var(--yellow);
  font-weight: 900;
}

.excelerator-signup-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.excelerator-signup-form .form-grid {
  gap: 18px;
}

.excelerator-signup-form .form-grid-three {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.excelerator-signup-form .button {
  justify-self: start;
  min-width: 240px;
}

.admin-section {
  max-width: 1180px;
}

.admin-auth-form {
  display: grid;
  grid-template-columns: minmax(220px, 360px) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-summary[hidden] {
  display: none;
}

.admin-summary div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.admin-summary strong {
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
}

.admin-search {
  max-width: 520px;
  margin-bottom: 16px;
}

.admin-search input {
  width: 100%;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 14px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.admin-tab.active {
  color: var(--yellow);
  border-bottom-color: var(--red);
}

.admin-panel {
  display: grid;
  gap: 16px;
}

.admin-panel[hidden] {
  display: none;
}

.media-admin-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-admin-intro h2 { width: 100%; margin: 0; }
.media-admin-intro > p:not(.section-label) { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.55; }
.media-admin-grid { display: grid; gap: 22px; }
.media-slot-editor { display: grid; gap: 16px; padding: clamp(20px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.media-slot-editor.featured { border-top: 4px solid var(--red); }
.media-slot-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.media-slot-heading h3 { margin: 10px 0 0; font-size: 25px; }
.media-slot-status { color: var(--muted); font-size: 13px; font-weight: 800; text-align: right; }
.media-slot-preview { display: grid; width: min(100%, 620px); min-height: 230px; place-items: center; overflow: hidden; color: var(--muted); background: linear-gradient(135deg,rgba(240,90,0,.16),rgba(255,177,59,.04)),#090909; border: 1px solid var(--line); border-radius: 6px; font-weight: 800; }
.media-slot-preview img { display: block; width: 100%; max-height: 420px; object-fit: contain; background: #fff; }
.media-slot-preview a { color: var(--yellow); text-decoration: underline; }
.media-slot-editor textarea { resize: vertical; }
.media-active-toggle { display: flex; align-items: center; gap: 10px; flex-direction: row; }
.media-active-toggle input { width: auto; min-height: auto; }
.media-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
html[data-theme="light"] .media-admin-intro,html[data-theme="light"] .media-slot-editor { background: rgba(255,255,255,.97); }

.privacy-policy-editor {
  display: grid;
  gap: 18px;
  max-width: 900px;
}

.privacy-policy-editor h2 {
  margin: 4px 0 10px;
}

.privacy-policy-editor > div > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.privacy-policy-editor textarea {
  min-height: 440px;
  resize: vertical;
  line-height: 1.6;
}

.privacy-policy-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-policy-editor-updated {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.privacy-policy-pdf-upload {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.privacy-policy-pdf-upload h3 {
  margin: 0 0 8px;
}

.privacy-policy-pdf-upload > div > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.policy-documents-intro h2 {
  margin: 4px 0 10px;
}

.policy-documents-intro > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.policy-document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.policy-document-message {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.privacy-policy-section {
  max-width: 980px;
  min-height: 58vh;
}

.privacy-policy-section h1 {
  margin: 4px 0 12px;
}

.privacy-policy-updated {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.88rem;
}

.privacy-policy-text {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.privacy-policy-document iframe {
  display: block;
  width: 100%;
  min-height: 76vh;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.privacy-policy-document p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-policy-document a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.policy-html-content {
  display: grid;
  gap: 28px;
  color: var(--ink);
}

.policy-html-page {
  max-width: 860px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.policy-html-page:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.policy-html-page h2,
.policy-html-page h3 {
  margin: 1.4em 0 0.55em;
  color: var(--ink);
  line-height: 1.25;
}

.policy-html-page h2:first-child,
.policy-html-page h3:first-child {
  margin-top: 0;
}

.policy-html-page p {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.75;
}

.policy-html-page p:last-child {
  margin-bottom: 0;
}

.policy-mobile-pdf {
  display: grid;
  gap: 12px;
  width: 100%;
}

.policy-mobile-pdf[hidden] {
  display: none;
}

.policy-mobile-pdf canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.policy-pdf-loading {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

@media (max-width: 760px) {
  .privacy-policy-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .policy-html-content {
    gap: 22px;
  }

  .policy-html-page {
    padding-bottom: 20px;
  }

  .policy-html-page p {
    font-size: 0.96rem;
    line-height: 1.68;
  }
}

.part-image-upload {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.part-image-csv-upload {
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.part-image-csv-upload code {
  color: var(--yellow);
}

.part-image-import-results {
  max-height: 320px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.part-image-import-results p {
  margin: 4px 0;
}

.part-suggestions {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.part-suggestions[hidden] {
  display: none;
}

.part-suggestions button {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  background: rgba(8, 8, 8, 0.84);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.part-suggestions button:last-child {
  border-bottom: 0;
}

.part-suggestions button:hover,
.part-suggestions button:focus {
  background: var(--soft);
}

.part-suggestions span {
  color: var(--muted);
  font-size: 14px;
}

.part-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.part-camera {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.part-camera[hidden] {
  display: none;
}

.part-camera video {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 52vh;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111827;
  object-fit: cover;
}

.part-image-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  max-width: 760px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.part-image-result h2 {
  margin: 10px 0 8px;
  font-size: 21px;
}

.part-image-result p {
  margin: 0;
  color: var(--muted);
}

.part-image-result img,
.part-image-empty {
  width: 180px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.part-image-result img {
  display: block;
  object-fit: cover;
}

.part-image-empty {
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  background: var(--soft);
  font-weight: 800;
  text-align: center;
}

.admin-order-list {
  display: grid;
  gap: 16px;
}

.admin-order {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 20px;
  overflow: hidden;
}

.admin-order-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-order-header > div {
  min-width: 0;
}

.admin-order-header h2 {
  margin: 8px 0 0;
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.admin-order-header strong {
  white-space: nowrap;
}

.admin-order-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.admin-order-details div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.admin-order-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  line-height: 1.2;
}

.admin-order-details dd {
  margin: 0;
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-notes {
  margin: 0 0 14px;
  padding: 12px;
  background: rgba(255, 177, 59, 0.12);
  border: 1px solid rgba(255, 177, 59, 0.32);
  border-radius: 4px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-items-wrap {
  overflow-x: auto;
}

.admin-items {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  table-layout: fixed;
}

.admin-items th:nth-child(1),
.admin-items td:nth-child(1) {
  width: 22%;
}

.admin-items th:nth-child(3),
.admin-items td:nth-child(3) {
  width: 72px;
  text-align: right;
}

.admin-items th:nth-child(4),
.admin-items td:nth-child(4) {
  width: 96px;
  text-align: right;
}

.admin-items th,
.admin-items td {
  border-top: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: end;
  visibility: hidden;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: visibility 0s linear 240ms, background-color 240ms ease;
}

.vehicle-vin-admin-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.vehicle-vin-admin-heading h2,
.vehicle-vin-admin-heading p {
  margin-top: 0;
}

.vehicle-vin-admin-heading > div > p:last-child {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
}

.vehicle-vin-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vehicle-vin-results > h3 {
  margin: 26px 0 12px;
}

.vehicle-vin-list {
  display: grid;
  gap: 10px;
}

.vehicle-vin-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 1fr) minmax(260px, 1.2fr);
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
}

.vehicle-vin-list span,
.vehicle-vin-list small {
  color: var(--muted);
}

.vehicle-vin-failures {
  margin-top: 18px;
  padding: 16px;
  color: #ffd7cc;
  border: 1px solid rgba(230, 69, 32, 0.48);
  border-radius: 6px;
  background: rgba(117, 24, 12, 0.22);
}

.vehicle-vin-failures h3,
.vehicle-vin-failures p:last-child {
  margin-bottom: 0;
}

.vehicle-image-selected {
  margin-top: 16px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.vehicle-additional-info-editor {
  margin-top: 32px;
}

.vehicle-additional-info-editor > div:first-child p:last-child {
  color: var(--muted);
}

.vehicle-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.vehicle-image-gallery article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.vehicle-image-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.vehicle-image-gallery article > div {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.vehicle-image-gallery span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .vehicle-vin-admin-heading {
    flex-direction: column;
  }

  .vehicle-vin-admin-heading .button {
    width: 100%;
  }

  .vehicle-vin-summary,
  .vehicle-vin-list article {
    grid-template-columns: 1fr;
  }
}

.cart-drawer.open {
  visibility: visible;
  background: rgba(0, 0, 0, 0.68);
  pointer-events: auto;
  transition-delay: 0s;
}

body.cart-open {
  overflow: hidden;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(460px, 100%);
  height: 100%;
  background: #111111;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 240ms ease;
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  color: #130b05;
  background: var(--yellow);
}

.cart-items {
  overflow: auto;
  padding: 18px;
}

.cart-line {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line h3 {
  margin: 0;
  font-size: 17px;
}

.cart-line-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--soft);
  cursor: pointer;
  border-radius: 4px;
}

.line-total {
  min-width: 82px;
  text-align: right;
}

.remove-button {
  border: 0;
  color: var(--red);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.cart-summary {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.cart-summary small {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-dialog {
  width: min(720px, calc(100% - 24px));
  max-height: min(90vh, 860px);
  max-height: min(90dvh, 860px);
  overflow-y: auto;
  border: 0;
  border-radius: 6px;
  padding: 0;
  color: var(--ink);
  background: #111111;
  box-shadow: var(--shadow);
}

.checkout-dialog::backdrop {
  background: rgba(10, 16, 24, 0.48);
}

.checkout-form {
  padding: 0 20px 20px;
}

.checkout-entry {
  display: grid;
  gap: 16px;
}

.checkout-confirmation {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 10px 0 4px;
}

.checkout-confirmation h3,
.checkout-confirmation p {
  margin: 0;
}

.checkout-confirmation h3 {
  font-size: 1.65rem;
  line-height: 1.15;
}

.checkout-confirmation p {
  color: var(--muted);
  line-height: 1.55;
}

.checkout-confirmation strong {
  color: var(--ink);
}

.quote-number-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-number {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1.35rem;
}

.quote-confirmation-disclaimer {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 123, 0, 0.05);
}

.quote-call-button {
  width: fit-content;
}

.compact-button {
  min-height: auto;
  padding: 9px 14px;
  font-size: 0.88rem;
}

.after-hours-button {
  width: fit-content;
  margin-top: 16px;
}

.after-hours-hero {
  min-height: 400px;
}

.after-hours-section,
.manufacturer-support {
  display: grid;
  gap: 28px;
}

.after-hours-heading {
  max-width: 720px;
}

.after-hours-heading h2,
.after-hours-card h3 {
  margin: 6px 0 10px;
}

.after-hours-heading > p:last-child,
.after-hours-card > p:not(.section-label) {
  color: var(--muted);
  line-height: 1.6;
}

.after-hours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.after-hours-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.after-hours-card .button {
  margin-top: auto;
}

.manufacturer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.manufacturer-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
}

.manufacturer-grid a:hover,
.manufacturer-grid a:focus-visible {
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.manufacturer-grid span {
  color: var(--yellow);
  font-weight: 900;
}

.careers-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: 48px;
  align-items: start;
}

.careers-intro {
  position: sticky;
  top: 130px;
}

.careers-intro h2 {
  margin: 6px 0 12px;
}

.careers-intro > p:last-child {
  color: var(--muted);
}

.careers-form {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.form-span {
  grid-column: 1 / -1;
}

.career-interests {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.career-interests legend {
  padding: 0 8px;
  font-weight: 900;
}

.career-interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.career-interest-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  cursor: pointer;
}

.career-interest-grid input {
  appearance: auto;
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--red);
}

@media (max-width: 860px) {
  .after-hours-grid {
    grid-template-columns: 1fr;
  }

  .after-hours-card {
    min-height: 0;
  }

  .after-hours-card .button {
    margin-top: 14px;
  }

  .careers-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .careers-intro {
    position: static;
  }
}

@media (max-width: 560px) {
  .manufacturer-grid {
    grid-template-columns: 1fr;
  }

  .manufacturer-grid a {
    align-items: flex-start;
    flex-direction: column;
  }

  .career-interest-grid,
  .careers-form .form-grid {
    grid-template-columns: 1fr;
  }

  .form-span {
    grid-column: auto;
  }

  .careers-form {
    padding: 20px;
  }
}

.confirmation-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--green);
  border-radius: 999px;
  font-size: 1.45rem;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  color: #ffffff;
  background: #080808;
}

.footer-link-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
}

.feedback-dialog {
  width: min(620px, calc(100% - 24px));
}

.feedback-form {
  display: grid;
  gap: 18px;
}

.feedback-form .cart-header {
  padding-inline: 0;
}

.feedback-form .cart-header h2,
.feedback-form .cart-header p {
  margin: 0;
}

.feedback-form .form-message {
  min-height: 1.5em;
  margin: 0;
}

@media (orientation: landscape) and (max-height: 560px) {
  .admin-section {
    padding-top: 18px;
  }

  .part-image-upload {
    max-width: none;
  }

  .part-camera {
    grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.85fr);
    align-items: end;
    max-width: none;
  }

  .part-camera label {
    grid-column: 1 / -1;
  }

  .part-camera video {
    max-height: 44vh;
  }

  .part-camera .part-image-actions {
    align-content: end;
  }

  .part-camera .button {
    width: 100%;
  }
}

@media (max-width: 1280px) {
  .main-nav {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 14px;
    color: #ffffff;
    border: 1px solid rgba(255, 132, 31, 0.72);
    border-radius: 4px;
    background: #21150d;
    font-weight: 900;
    letter-spacing: 0.02em;
    cursor: pointer;
  }

  .menu-toggle::before {
    color: var(--yellow);
    content: "\2630";
    font-size: 18px;
    line-height: 1;
  }

  .menu-toggle:hover,
  .menu-toggle[aria-expanded="true"] {
    color: #ffffff;
    border-color: var(--yellow);
    background: #3a2111;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 100%);
    padding: 12px clamp(16px, 4vw, 32px) 18px;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 132, 31, 0.38);
    background: rgba(15, 15, 15, 0.99);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .theme-switch {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    color: #f8f4ef;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    font-size: 15px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    color: #ffffff;
    background: rgba(255, 132, 31, 0.16);
  }

  html[data-theme="light"] .menu-toggle {
    color: #25170f;
    border-color: rgba(212, 73, 0, 0.58);
    background: #fff4e9;
  }

  html[data-theme="light"] .menu-toggle:hover,
  html[data-theme="light"] .menu-toggle[aria-expanded="true"] {
    color: #1d1712;
    border-color: #d94a00;
    background: #ffe2c7;
  }

  html[data-theme="light"] .nav-links {
    border-top-color: rgba(212, 73, 0, 0.28);
    background: rgba(255, 255, 255, 0.99);
  }

  html[data-theme="light"] .nav-links a,
  html[data-theme="light"] .nav-links .theme-switch {
    color: #25170f;
    border-bottom-color: rgba(37, 23, 15, 0.12);
  }

  html[data-theme="light"] .nav-links a:hover,
  html[data-theme="light"] .nav-links a:focus-visible {
    color: #1d1712;
    background: rgba(240, 90, 0, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer,
  .cart-panel {
    transition: none;
  }
}

@media (max-width: 860px) {
  .excelerator-signup-form .form-grid-three {
    grid-template-columns: 1fr;
  }

  .excelerator-signup-form .button {
    width: 100%;
  }

  .top-bar,
  .site-footer {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    background: var(--surface);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
    background: #111111;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .quick-links,
  .two-column,
  .shop-tools,
  .clearance-tools,
  .product-grid,
  .vehicle-grid,
  .form-grid,
  .stats-grid,
  .inventory-grid,
  .welcome-section,
  .department-grid,
  .contact-grid,
  .service-content,
  .service-contact,
  .clearance-highlights {
    grid-template-columns: 1fr;
  }

  .quick-links a,
  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .home-hero,
  .parts-hero,
  .vehicles-hero {
    min-height: 560px;
  }

  .home-hero {
    min-height: clamp(390px, 63vw, 600px);
    --truck-mask-glow-x: translateX(0);
  }

  .home-hero::before {
    right: 0;
    left: 0;
    width: auto;
    background:
      linear-gradient(90deg, rgba(7, 7, 7, 0.96) 0%, rgba(10, 10, 10, 0.78) 50%, rgba(10, 10, 10, 0.18) 76%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(255, 87, 0, 0.1)),
      url("assets/Freightliner_Neon_Accredited.webp") right -22vw center / auto 100% no-repeat;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-hero::after {
    right: 0;
    left: 0;
    width: auto;
    background: url("assets/mask_Lights.webp") right -22vw center / auto 100% no-repeat;
  }

  .home-hero .hero-overlay {
    width: min(50vw, 470px);
    margin-left: 20px;
    margin-right: auto;
    padding: clamp(44px, 8vw, 70px) 0 clamp(36px, 6vw, 54px);
  }

  .home-hero h1 {
    font-size: clamp(30px, 5.5vw, 52px);
    line-height: 1;
  }

  .home-hero p {
    font-size: clamp(14px, 2.1vw, 16px);
    line-height: 1.42;
  }

  .section-heading,
  .clearance-heading,
  .lookup-form,
  .admin-auth-form,
  .specials-band {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-auth-form {
    grid-template-columns: 1fr;
  }

  .admin-order {
    padding: 14px;
  }

  .part-image-upload {
    max-width: none;
  }

  .part-image-actions .button {
    flex: 1 1 160px;
  }

  .admin-order-header strong {
    white-space: normal;
  }

  .admin-order-details {
    grid-template-columns: 1fr;
  }

  .admin-items,
  .admin-items thead,
  .admin-items tbody,
  .admin-items tr,
  .admin-items th,
  .admin-items td {
    display: block;
  }

  .admin-items thead {
    display: none;
  }

  .admin-items tr {
    border-top: 1px solid var(--line);
    padding: 8px 0;
  }

  .admin-items td {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    border-top: 0;
    padding: 6px 0;
    text-align: left;
  }

  .admin-items td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .admin-items th:nth-child(1),
  .admin-items td:nth-child(1),
  .admin-items th:nth-child(3),
  .admin-items td:nth-child(3),
  .admin-items th:nth-child(4),
  .admin-items td:nth-child(4) {
    width: auto;
    text-align: left;
  }

  .service-band {
    padding: 40px 20px;
  }

  .service-contact {
    padding: 40px 20px;
  }

  .service-actions {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .main-nav {
    width: min(100% - 24px, 1440px);
    gap: 10px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-mark {
    width: clamp(40px, 12vw, 52px);
    height: clamp(40px, 12vw, 52px);
    flex-basis: clamp(40px, 12vw, 52px);
  }

  .brand-logo {
    width: clamp(200px, 60vw, 280px);
    max-width: 100%;
  }

  .menu-toggle {
    flex: 0 0 auto;
  }
}

@media (max-width: 560px) {
  .quick-links a.excelerator-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .excelerator-link-logo {
    width: min(280px, 100%);
  }

  .home-hero {
    min-height: clamp(360px, 92vw, 500px);
  }

  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(10, 10, 10, 0.82) 51%, rgba(10, 10, 10, 0.16) 79%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(255, 87, 0, 0.1)),
      url("assets/Freightliner_Neon_Accredited.webp") right -52vw center / auto 100% no-repeat;
  }

  .home-hero::after {
    background-position: right -52vw center;
  }

  .home-hero .hero-overlay {
    width: min(49vw, 270px);
    padding: clamp(34px, 9vw, 48px) 0 clamp(28px, 8vw, 42px);
  }

  .home-hero .eyebrow {
    font-size: 11px;
  }

  .home-hero h1 {
    font-size: clamp(22px, 6vw, 30px);
  }

  .home-hero p {
    font-size: clamp(12px, 3.4vw, 14px);
    line-height: 1.36;
  }

  .home-hero .hero-actions {
    gap: 10px;
  }

  .home-hero .button {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
  }
}

html[data-theme="light"] {
  --ink: #1d1712;
  --muted: #645b54;
  --surface: rgba(255, 255, 255, 0.96);
  --soft: rgba(255, 111, 0, 0.09);
  --line: rgba(240, 90, 0, 0.25);
  --shadow: 0 18px 45px rgba(87, 45, 13, 0.16);
  --shadow-soft: 0 10px 24px rgba(87, 45, 13, 0.11);
}

html[data-theme="light"] body,
html[data-theme="light"] .home-page {
  color: #1d1712;
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 111, 0, 0.13), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffaf6 48%, #ffffff 100%);
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .home-page .site-header {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(240, 90, 0, 0.24);
}

html[data-theme="light"] .top-bar {
  color: #1d1712;
  background: #ffffff;
}

html[data-theme="light"] .nav-links a,
html[data-theme="light"] .home-page .nav-links a,
html[data-theme="light"] .theme-switch {
  color: #1d1712;
}

html[data-theme="light"] .ticker-banner,
html[data-theme="light"] .home-page .ticker-banner {
  color: #000000;
  background: #ffb13b;
  border-top-color: rgba(240, 90, 0, 0.24);
}

html[data-theme="light"] .site-header.is-compact .ticker-banner {
  background: #ffb13b;
}

html[data-theme="light"] .clearance-slide-heading,
html[data-theme="light"] .clearance-slide-heading span,
html[data-theme="light"] .clearance-slide-heading em,
html[data-theme="light"] .clearance-slide-intro p,
html[data-theme="light"] .clearance-slide-part,
html[data-theme="light"] .clearance-card-sku,
html[data-theme="light"] .clearance-card-pricing b,
html[data-theme="light"] .clearance-card-pricing del,
html[data-theme="light"] .clearance-card-discount {
  color: #000000;
}

html[data-theme="light"] .clearance-card-discount {
  background: #ffb13b;
  border: 1px solid #000000;
}

html[data-theme="light"] .clearance-slide-control {
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.38);
  background: rgba(255, 255, 255, 0.38);
}

html[data-theme="light"] .clearance-slide-dot {
  background: rgba(0, 0, 0, 0.34);
}

html[data-theme="light"] .clearance-slide-dot.is-active {
  background: #000000;
}

html[data-theme="light"] .ticker-track small {
  color: #4a2508;
}

html[data-theme="light"] .ticker-track strong {
  color: #1d1712;
}

html[data-theme="light"] .ticker-track span::after {
  background: #1d1712;
}

html[data-theme="light"] .home-hero {
  background: #ffffff;
  --truck-mask-glow-low: 0.22;
  --truck-mask-glow-high: 0.46;
  --truck-mask-glow-blur-low: 18px;
  --truck-mask-glow-blur-high: 34px;
  --truck-mask-glow-shadow-low: rgba(255, 94, 0, 0.38);
  --truck-mask-glow-shadow-high: rgba(255, 190, 0, 0.6);
}

html[data-theme="light"] .home-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.7) 36%, rgba(255, 255, 255, 0.12) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 111, 0, 0.1)),
    url("assets/Freightliner_White.webp") center / 100% auto no-repeat;
}

html[data-theme="light"] .home-hero .hero-overlay,
html[data-theme="light"] .home-hero h1,
html[data-theme="light"] .home-hero p {
  color: #17120e;
}

@media (min-width: 1600px) {
  html[data-theme="light"] .home-hero::before {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.82) 32%, rgba(255, 255, 255, 0.28) 52%, rgba(255, 255, 255, 0.06) 68%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 111, 0, 0.04)),
      url("assets/Freightliner_White.webp") center / 100% auto no-repeat;
  }

  html[data-theme="light"] .home-hero::after {
    opacity: 0.3;
    filter:
      saturate(1.08)
      brightness(0.98)
      blur(2px)
      drop-shadow(0 0 12px rgba(255, 94, 0, 0.3));
    animation: none;
    will-change: auto;
  }
}

html[data-theme="light"] .home-page .section h2,
html[data-theme="light"] .home-page .section h3,
html[data-theme="light"] .home-page .quick-links strong,
html[data-theme="light"] .home-page .product-card h3 {
  color: #1d1712;
}

html[data-theme="light"] .home-page .section p,
html[data-theme="light"] .home-page .quick-links span,
html[data-theme="light"] .home-page .product-card p,
html[data-theme="light"] .home-page .contact-list,
html[data-theme="light"] .home-page .hours-list,
html[data-theme="light"] .home-page .hours-list span {
  color: #645b54;
}

html[data-theme="light"] .home-page .welcome-video-content p {
  color: #ffffff;
}

html[data-theme="light"] .home-page .welcome-video-content .heading-link {
  color: var(--yellow);
}

html[data-theme="light"] .home-page .welcome-video-content .heading-link {
  color: var(--yellow);
}

html[data-theme="light"] .tag,
html[data-theme="light"] .stock-tag,
html[data-theme="light"] .in-stock-tag {
  color: #17120e;
}

html[data-theme="light"] .home-page .quick-links,
html[data-theme="light"] .home-page .product-card,
html[data-theme="light"] .home-page .video-panel,
html[data-theme="light"] .home-page .department-grid article,
html[data-theme="light"] .home-page .contact-grid > div,
html[data-theme="light"] .admin-summary div,
html[data-theme="light"] .admin-order,
html[data-theme="light"] .part-image-result {
  border-color: rgba(240, 90, 0, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

html[data-theme="light"] .home-page .specials-band {
  background: linear-gradient(90deg, rgba(255, 111, 0, 0.14), #ffffff);
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .part-suggestions button,
html[data-theme="light"] .cart-panel,
html[data-theme="light"] .checkout-dialog {
  color: #1d1712;
  background: #ffffff;
}

html[data-theme="light"] .nav-links {
  background: #ffffff;
}

html[data-theme="light"] .site-footer {
  color: #1d1712;
  background: #ffffff;
  border-top: 1px solid rgba(240, 90, 0, 0.24);
}

@media (max-width: 860px) {
  html[data-theme="light"] .home-hero::before {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.76) 50%, rgba(255, 255, 255, 0.12) 76%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 111, 0, 0.08)),
      url("assets/Freightliner_White.webp") right -22vw center / auto 100% no-repeat;
  }

  .theme-switch {
    justify-content: space-between;
    padding: 8px 0;
  }
}

@media (max-width: 560px) {
  html[data-theme="light"] .home-hero::before {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.8) 51%, rgba(255, 255, 255, 0.12) 79%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 111, 0, 0.08)),
      url("assets/Freightliner_White.webp") right -52vw center / auto 100% no-repeat;
  }
}

/* Hybrid primary navigation: four core destinations plus a More menu. */
.main-nav.hybrid-nav {
  position: relative;
}

.main-nav.hybrid-nav .nav-links {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 1vw, 14px);
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.main-nav.hybrid-nav .nav-links > .primary-nav-link {
  width: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px clamp(5px, 0.7vw, 10px);
  border: 0;
  color: #f3eee8;
  font-size: clamp(12px, 1vw, 15px);
}

.truck-sales-menu {
  position: relative;
  flex: 0 0 auto;
}

.truck-sales-menu > .primary-nav-link {
  width: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px clamp(5px, 0.7vw, 10px);
  border: 0;
  color: #f3eee8;
  font-size: clamp(12px, 1vw, 15px);
}

.truck-sales-menu > .primary-nav-link::after {
  position: static;
  width: auto;
  height: auto;
  color: var(--yellow);
  background: transparent;
  content: "\25BE";
  font-size: 12px;
  opacity: 1;
  transform: none;
}

.truck-sales-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 35;
  display: none;
  width: max-content;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(255, 132, 31, 0.42);
  border-radius: 6px;
  background: rgba(15, 15, 15, 0.99);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.52);
}

.truck-sales-menu:hover .truck-sales-submenu,
.truck-sales-menu:focus-within .truck-sales-submenu {
  display: block;
}

.truck-sales-submenu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 12px;
  color: #f8f4ef;
  border-radius: 3px;
}

.truck-sales-submenu a:hover,
.truck-sales-submenu a:focus-visible {
  color: #ffffff;
  background: rgba(255, 132, 31, 0.16);
}

.nav-cart-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 10px;
  white-space: nowrap;
}

.nav-cart-button .cart-icon {
  font-size: 18px;
  line-height: 1;
}

.nav-cart-button .cart-count {
  min-width: 20px;
  height: 20px;
  margin-left: 1px;
  font-size: 12px;
}

.main-nav.hybrid-nav .nav-links > .primary-nav-link[aria-current="page"] {
  color: var(--yellow);
}

.more-menu {
  position: relative;
  flex: 0 0 auto;
}

.main-nav.hybrid-nav .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 132, 31, 0.72);
  border-radius: 4px;
  background: #21150d;
  font-weight: 900;
  cursor: pointer;
}

.main-nav.hybrid-nav .menu-toggle::before {
  content: none;
}

.main-nav.hybrid-nav .menu-toggle::after {
  color: var(--yellow);
  content: "\25BE";
  font-size: 14px;
  transition: transform 160ms ease;
}

.main-nav.hybrid-nav .menu-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.more-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: min(340px, calc(100vw - 24px));
  max-height: min(620px, calc(100vh - 150px));
  padding: 12px;
  overflow-y: auto;
  border: 1px solid rgba(255, 132, 31, 0.42);
  border-radius: 6px;
  background: rgba(15, 15, 15, 0.99);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.52);
}

.more-panel.open {
  display: flex;
}

.main-nav.hybrid-nav .more-panel > a,
.main-nav.hybrid-nav .more-panel > button,
.main-nav.hybrid-nav .more-panel > .theme-switch {
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  padding: 11px 12px;
  color: #f8f4ef;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  background: transparent;
  font-size: 15px;
  text-align: left;
}

.about-menu {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-menu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 11px 12px;
  color: #f8f4ef;
  border-radius: 3px;
  font-size: 15px;
}

.about-menu > a::after {
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  content: "\25B8";
  opacity: 1;
  transform: none;
}

.about-menu:hover > a,
.about-menu:focus-within > a {
  color: #ffffff;
  background: rgba(255, 132, 31, 0.16);
}

.about-submenu {
  display: none;
  padding: 4px 6px 8px 20px;
}

.about-menu:hover .about-submenu,
.about-menu:focus-within .about-submenu {
  display: block;
}

.about-submenu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  color: #f8f4ef;
  border-left: 3px solid var(--yellow);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.about-submenu a:hover,
.about-submenu a:focus-visible {
  color: #ffffff;
  background: rgba(255, 132, 31, 0.18);
}

.main-nav.hybrid-nav .more-panel > a::after {
  display: none;
}

.main-nav.hybrid-nav .more-panel > a:hover,
.main-nav.hybrid-nav .more-panel > a:focus-visible,
.main-nav.hybrid-nav .more-panel > button:hover,
.main-nav.hybrid-nav .more-panel > button:focus-visible {
  color: #ffffff;
  background: rgba(255, 132, 31, 0.16);
}

html[data-theme="light"] .main-nav.hybrid-nav .nav-links {
  background: transparent;
}

html[data-theme="light"] .main-nav.hybrid-nav .nav-links > .primary-nav-link {
  color: #1d1712;
}

html[data-theme="light"] .truck-sales-menu > .primary-nav-link,
html[data-theme="light"] .truck-sales-submenu a {
  color: #1d1712;
}

html[data-theme="light"] .truck-sales-submenu {
  border-color: rgba(212, 73, 0, 0.3);
  background: rgba(255, 255, 255, 0.99);
}

html[data-theme="light"] .main-nav.hybrid-nav .nav-links > .primary-nav-link[aria-current="page"] {
  color: #c94200;
}

html[data-theme="light"] .more-panel {
  border-color: rgba(212, 73, 0, 0.3);
  background: rgba(255, 255, 255, 0.99);
}

html[data-theme="light"] .main-nav.hybrid-nav .more-panel > a,
html[data-theme="light"] .main-nav.hybrid-nav .more-panel > button,
html[data-theme="light"] .main-nav.hybrid-nav .more-panel > .theme-switch {
  color: #25170f;
  border-bottom-color: rgba(37, 23, 15, 0.12);
}

html[data-theme="light"] .about-menu {
  border-bottom-color: rgba(37, 23, 15, 0.12);
}

html[data-theme="light"] .about-menu > a,
html[data-theme="light"] .about-submenu a {
  color: #25170f;
}

html[data-theme="light"] .about-submenu a {
  background: rgba(240, 90, 0, 0.07);
}

@media (max-width: 900px) {
  .main-nav.hybrid-nav {
    flex-wrap: wrap;
    gap: 0;
    padding-bottom: 6px;
  }

  .main-nav.hybrid-nav .brand {
    margin-right: auto;
  }

  .main-nav.hybrid-nav .nav-links {
    order: 2;
    width: 100%;
    justify-content: space-between;
    gap: 2px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 132, 31, 0.16);
  }

  .main-nav.hybrid-nav .nav-links > .primary-nav-link,
  .truck-sales-menu > .primary-nav-link,
  .main-nav.hybrid-nav .menu-toggle {
    min-height: 38px;
    padding: 7px clamp(4px, 1.5vw, 10px);
    font-size: clamp(11px, 2.8vw, 14px);
  }

  .more-panel {
    top: calc(100% + 6px);
  }

  .about-submenu {
    display: block;
  }
}

.amenities-hero {
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.68), rgba(6, 6, 6, 0.22)),
    url("assets/Amenities_Hero.webp") center / cover no-repeat;
}

.amenities-layout {
  display: grid;
  gap: clamp(42px, 7vw, 80px);
}

.amenities-intro {
  max-width: 760px;
}

.amenities-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.amenities-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 58px;
  padding: 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  line-height: 1.45;
}

.amenities-checklist input {
  width: 19px;
  height: 19px;
  min-height: 0;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--orange);
  opacity: 1;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.nearby-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.nearby-card-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.nearby-card h3,
.nearby-card p {
  margin: 0;
}

.nearby-card h3 {
  font-size: clamp(21px, 2.5vw, 28px);
}

.nearby-card p {
  color: var(--muted);
  line-height: 1.55;
}

.nearby-card iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.nearby-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.food-options {
  padding: clamp(24px, 4vw, 38px);
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  background: var(--surface);
}

.food-options h2,
.food-options p {
  margin-top: 0;
}

.food-options p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .amenities-checklist,
  .nearby-grid {
    grid-template-columns: 1fr;
  }

  .amenities-hero {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .top-bar {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 3px clamp(8px, 3vw, 16px);
    padding: 6px 5px;
    font-size: clamp(8px, 2.25vw, 10px);
    line-height: 1.2;
    white-space: nowrap;
  }

  .top-bar > :first-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .top-bar > a {
    justify-self: auto;
  }

  .top-bar > :last-child {
    justify-self: auto;
  }

  .main-nav.hybrid-nav .nav-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    justify-content: initial;
    gap: 4px;
  }

  .main-nav.hybrid-nav .truck-sales-menu,
  .main-nav.hybrid-nav .nav-links > a[href="service.html"],
  .main-nav.hybrid-nav .nav-links > a[href="promotions.html"],
  .main-nav.hybrid-nav .nav-links > a[href="about.html#contact"],
  .main-nav.hybrid-nav .nav-cart-button {
    display: none;
  }

  .main-nav.hybrid-nav .nav-links > a[href="index.html"] { grid-column: 1; }
  .main-nav.hybrid-nav .nav-links > a[href="/configurator"] { grid-column: 2; }
  .main-nav.hybrid-nav .nav-links > a[href="parts.html"] { grid-column: 3; }
  .main-nav.hybrid-nav .more-menu { grid-column: 4; }

  .main-nav.hybrid-nav .mobile-more-item {
    display: flex;
  }

  .main-nav.hybrid-nav .mobile-more-cart {
    width: 100%;
    color: #f8f4ef;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav.hybrid-nav .nav-links > .primary-nav-link,
  .more-menu {
    width: 100%;
  }

  .main-nav.hybrid-nav .nav-links > .primary-nav-link,
  .main-nav.hybrid-nav .menu-toggle {
    min-height: 44px;
    justify-content: center;
    padding: 6px 4px;
    font-size: 11px;
    text-align: center;
  }

  .more-panel {
    right: 0;
  }
}

@media (max-width: 420px) {
  .main-nav.hybrid-nav .nav-links > .primary-nav-link,
  .truck-sales-menu > .primary-nav-link,
  .main-nav.hybrid-nav .menu-toggle {
    width: 100%;
    justify-content: center;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 11px;
    text-align: center;
    white-space: normal;
  }

  .main-nav.hybrid-nav .menu-toggle {
    gap: 4px;
  }

}
