:root {
  --primary: #c8202f;
  --primary-dark: #a31825;
  --secondary: #17233a;
  --foreground: #1f2937;
  --muted: #667085;
  --border: #d9dee7;
  --background: #f5f7fb;
  --background-alt: #eef2f7;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  background: var(--secondary);
  color: #fff;
  font-size: 14px;
}

.topbar-inner,
.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-inner {
  justify-content: space-between;
  padding: 8px 0;
}

.topbar p {
  margin: 0;
  font-weight: 650;
}

.topbar a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgb(15 23 42 / 8%);
}

.header-main {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-image-only {
  min-width: clamp(150px, 16vw, 190px);
}

.brand-logo-wide {
  display: block;
  width: min(190px, 100%);
  height: auto;
  max-height: 46px;
  object-fit: contain;
}

.brand-logo {
  flex: 0 0 auto;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgb(15 23 42 / 18%);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.search-form {
  display: flex;
  flex: 1 1 500px;
  max-width: 590px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 4px;
}

.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 14px;
}

.search-form button,
.primary-button {
  border: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.search-form button {
  padding: 0 20px;
}

.search-form button:hover,
.primary-button:hover {
  background: var(--primary-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fitment-help {
  display: grid;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
}

.fitment-help strong {
  color: var(--foreground);
}

.outline-button,
.secondary-button {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--foreground);
  font-weight: 700;
  cursor: pointer;
}

.outline-button {
  padding: 8px 16px;
}

.secondary-button {
  padding: 8px 12px;
  font-size: 12px;
}

.outline-button:hover,
.secondary-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--foreground);
}

.site-nav {
  border-top: 1px solid var(--border);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.hero-band {
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.category-menu,
.finder-card,
.product-card,
.cta-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.category-menu {
  padding: 16px;
}

.category-menu h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.category-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  font-size: 14px;
  font-weight: 650;
}

.category-menu a:hover {
  color: var(--primary);
}

.hero-stack {
  display: grid;
  gap: 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--secondary);
  color: #fff;
}

.hero-copy {
  padding: 36px;
}

.eyebrow,
.sku {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffbdc5;
}

.hero h1 {
  max-width: 760px;
  margin: 12px 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.03;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  color: #d8dee9;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 14px;
}

.primary-button.compact {
  min-height: 38px;
  padding: 8px 16px;
}

.primary-button.full {
  width: 100%;
  grid-column: 1 / -1;
}

.ghost-button {
  border: 1px solid rgb(255 255 255 / 35%);
  background: rgb(255 255 255 / 10%);
  color: #fff;
  font-weight: 700;
}

.ghost-button:hover {
  background: rgb(255 255 255 / 18%);
}

.hero-art,
.product-art {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background:
    radial-gradient(circle at 65% 28%, rgb(255 255 255 / 18%), transparent 34%),
    linear-gradient(145deg, #0f172a, #334155);
}

.part-lamp,
.part-rotor,
.part-pump,
.product-art::before,
.product-art::after {
  position: absolute;
  content: "";
  display: block;
}

.part-lamp {
  top: 34px;
  left: 36px;
  width: 190px;
  height: 96px;
  border: 12px solid #dbe7f5;
  border-left-width: 34px;
  border-radius: 70% 24% 24% 70%;
  transform: rotate(-10deg);
  box-shadow: inset 0 0 0 16px rgb(255 255 255 / 32%);
}

.part-rotor {
  right: 38px;
  bottom: 42px;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  border: 24px solid #cbd5e1;
  background: radial-gradient(circle, #0f172a 0 18px, #94a3b8 19px 34px, transparent 35px);
}

.part-pump {
  left: 34px;
  bottom: 32px;
  width: 94px;
  height: 128px;
  border-radius: 14px 14px 26px 26px;
  background: linear-gradient(180deg, #e2e8f0, #64748b);
  transform: rotate(8deg);
}

.finder-card {
  padding: 28px;
}

.section-heading,
.featured-heading,
.category-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.featured h2,
.title-strip h2 {
  margin: 0;
  font-size: 24px;
}

.finder-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.finder-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.finder-form span {
  font-weight: 650;
}

.finder-form select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd6e2;
  border-radius: 4px;
  background: #fff;
  color: var(--foreground);
  padding: 11px 12px;
}

.finder-form select:disabled {
  cursor: not-allowed;
  background: var(--background-alt);
  color: #98a2b3;
}

.title-strip {
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}

.category-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}

.category-section:nth-child(even),
.why-band {
  background: var(--background-alt);
}

.category-title h2 {
  margin: 0;
  font-size: 24px;
}

.category-title a {
  color: var(--primary);
  font-size: 14px;
  font-weight: 750;
}

.category-list {
  margin: 18px 0 0;
  padding: 0;
  columns: 3;
  column-gap: 36px;
  list-style: none;
}

.category-list li {
  break-inside: avoid;
  margin: 0 0 10px;
}

.category-list a {
  font-size: 14px;
}

.category-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.featured {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 38px 0;
}

.featured-heading p:last-child {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.product-card {
  overflow: hidden;
}

.product-art {
  min-height: 176px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 25% 25%, #fff, transparent 20%),
    linear-gradient(135deg, #e9edf5, #cbd5e1);
}

.product-headlight::before {
  inset: 42px 34px auto;
  height: 74px;
  border: 10px solid #44546a;
  border-left-width: 26px;
  border-radius: 70% 22% 22% 70%;
  background: linear-gradient(90deg, #fff, #dbeafe);
}

.product-bumper::before {
  left: 30px;
  right: 30px;
  bottom: 42px;
  height: 76px;
  border-radius: 54px 54px 18px 18px;
  background: linear-gradient(180deg, #475569, #111827);
}

.product-bumper::after {
  left: 94px;
  right: 94px;
  bottom: 70px;
  height: 18px;
  border-radius: 20px;
  background: #cbd5e1;
}

.product-pump::before {
  left: calc(50% - 48px);
  top: 26px;
  width: 96px;
  height: 120px;
  border-radius: 12px 12px 28px 28px;
  background: linear-gradient(180deg, #475569, #94a3b8);
}

.product-pump::after {
  left: calc(50% - 24px);
  top: 8px;
  width: 48px;
  height: 36px;
  border: 8px solid #64748b;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.product-body {
  padding: 18px;
}

.product-body h3 {
  min-height: 52px;
  margin: 4px 0 8px;
  font-size: 20px;
}

.product-body > p:not(.sku) {
  min-height: 54px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.product-footer small,
.product-footer strong {
  display: block;
}

.product-footer small {
  color: var(--muted);
}

.why-band {
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.why-band h2 {
  margin: 0;
  font-size: 28px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.why-grid article {
  border: 1px solid var(--border);
  background: #fff;
  padding: 20px;
}

.why-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  padding: 32px 0;
  background: #fff;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  background: var(--background-alt);
}

.cta h2,
.cta p {
  margin: 0;
}

.cta p {
  margin-top: 4px;
  color: var(--muted);
}

.site-footer {
  margin-top: auto;
  background: #111827;
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 34px 0;
}

.footer-brand {
  color: #fff;
  background: #fff;
  border-radius: 4px;
  padding: 8px;
  width: fit-content;
}

.footer-grid p {
  max-width: 460px;
  color: #cbd5e1;
}

.footer-grid h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #fff;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 6px 0;
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 12%);
  padding: 18px 0;
  color: #cbd5e1;
  font-size: 14px;
}

.page-hero {
  background: var(--secondary);
  color: #fff;
  padding: 54px 0;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #d8dee9;
}

.content-section {
  padding: 42px 0;
  background: #fff;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
}

.content-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  padding: 24px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.part-tile {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px;
}

.part-tile h2,
.part-tile p {
  margin: 0;
}

.part-tile p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 650;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  margin: 0;
  border: 1px solid #bfd7c4;
  border-radius: 4px;
  background: #f0f8f2;
  color: #275c35;
  padding: 12px;
  font-size: 14px;
}

.form-status a {
  color: var(--primary);
  font-weight: 750;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .header-main {
    flex-wrap: wrap;
  }

  .search-form {
    order: 3;
    max-width: none;
    flex-basis: 100%;
  }

  .fitment-help {
    display: none;
  }

  .hero-grid,
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .category-menu {
    display: none;
  }

  .finder-form,
  .product-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .nav-links {
    align-items: stretch;
    flex-direction: column;
  }

  .menu-toggle {
    display: inline-block;
  }

  .outline-button {
    display: none;
  }

  .hero-copy,
  .finder-card,
  .cta-box {
    padding: 22px;
  }

  .finder-form,
  .product-grid,
  .why-grid,
  .parts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-list {
    columns: 1;
  }

  .section-heading,
  .featured-heading,
  .category-title,
  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}
