:root {
  --ink: #151515;
  --muted: #5b626b;
  --paper: #f4f5f7;
  --surface: #ffffff;
  --line: #d8dce2;
  --teal: #d71920;
  --teal-dark: #a70f16;
  --mint: #f0f1f3;
  --gold: #f4b400;
  --coral: #d71920;
  --charcoal: #101114;
  --shadow: 0 18px 50px rgba(11, 12, 14, 0.15);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(215, 25, 32, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(16, 17, 20, 0.04) 0 1px, transparent 1px 100%);
  background-size: 72px 72px;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 220, 226, 0.92);
  backdrop-filter: blur(14px);
}

.site-header:has(.wholesale-account-cta) {
  grid-template-columns: auto max-content minmax(20px, 1fr) minmax(160px, 220px) auto 42px 42px;
  gap: clamp(10px, 1.4vw, 18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--charcoal);
  border-radius: 8px;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #353a42;
  font-weight: 650;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.language-switcher a {
  min-width: 34px;
  padding: 6px 8px;
  border: 1px solid rgba(10, 25, 41, 0.16);
  color: #353a42;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.language-switcher a.is-active {
  border-color: var(--teal);
  color: var(--teal);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--teal);
}

.wholesale-account-cta {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-width: 230px;
  max-width: 260px;
  gap: 9px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(215, 25, 32, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(215, 25, 32, 0.07);
}

.wholesale-account-cta::before {
  content: "B2B";
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: var(--teal);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0;
}

.wholesale-account-cta strong,
.wholesale-account-cta span {
  display: block;
  grid-column: 2;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.wholesale-account-cta strong {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
}

.wholesale-account-cta span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.25;
}

.site-header:has(.wholesale-account-cta) .main-nav {
  gap: clamp(12px, 1.8vw, 24px);
  justify-content: flex-start;
}

.site-header:has(.wholesale-account-cta) .wholesale-account-cta {
  grid-column: 4;
}

.site-header:has(.wholesale-account-cta) .language-switcher {
  grid-column: 5;
}

.site-header:has(.wholesale-account-cta) .account-trigger {
  grid-column: 6;
}

.site-header:has(.wholesale-account-cta) .cart-trigger {
  grid-column: 7;
}

.account-trigger,
.cart-trigger,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.account-trigger {
  overflow: hidden;
  color: var(--ink);
}

.cart-trigger {
  position: relative;
}

.cart-icon {
  width: 17px;
  height: 15px;
  border: 2px solid currentColor;
  border-top: 0;
  transform: translateY(2px);
}

.cart-icon::before {
  content: "";
  display: block;
  width: 9px;
  height: 7px;
  margin: -8px auto 0;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
}

.facebook-tool {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  z-index: 70;
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(16, 17, 20, 0.22);
}

.facebook-tool svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.facebook-tool::before {
  content: none;
}

.facebook-tool-page {
  bottom: calc(clamp(14px, 2.4vw, 28px) + 66px);
  background: #1877f2;
}

.facebook-tool-page::before {
  content: none;
}

.facebook-tool-messenger {
  bottom: clamp(14px, 2.4vw, 28px);
  background: linear-gradient(135deg, #00b2ff, #006aff 55%, #a033ff);
}

.facebook-tool-messenger::before {
  content: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  min-height: calc(88svh - 72px);
  padding: clamp(20px, 4vw, 58px) clamp(18px, 4vw, 64px) 24px;
}

.power-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 17, 20, 0.96) 0%, rgba(16, 17, 20, 0.86) 48%, rgba(16, 17, 20, 0.22) 100%),
    url("assets/powerstop/hero-truck.jpg") center / cover no-repeat;
}

.power-hero .hero-copy {
  padding: clamp(10px, 2vw, 24px) 0;
}

.power-hero .eyebrow {
  color: var(--gold);
}

.power-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.power-hero .hero-media {
  min-height: clamp(280px, 42vw, 560px);
  background: #111216;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.power-hero .hero-media img {
  opacity: 1;
  filter: saturate(1.05) contrast(1.08);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3.7vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p,
.finder-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.distributor-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(215, 25, 32, 0.86);
  font-size: 0.9rem;
  font-weight: 850;
}

.distributor-badge:hover,
.distributor-badge:focus-visible {
  background: #f4b400;
  color: #101114;
}

.stock-promo-banner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  max-width: 620px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(244, 180, 0, 0.66);
  border-radius: 8px;
  color: #151515;
  background: rgba(255, 246, 184, 0.94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.stock-promo-banner strong {
  color: var(--teal-dark);
  font-size: 0.98rem;
  font-weight: 950;
}

.stock-promo-banner span {
  color: #2f3338;
  font-size: 0.94rem;
  font-weight: 760;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  border-color: var(--line);
  background: var(--surface);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 550px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-stats dt {
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: var(--muted);
}

.hero-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mint);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: min(58vw, 620px);
  object-fit: cover;
  display: block;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 64px);
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.trust-strip div {
  display: grid;
  gap: 5px;
  padding: 22px;
  background: var(--surface);
}

.trust-strip span {
  color: var(--muted);
}

.payment-section {
  display: grid;
  gap: 18px;
  margin: 0 clamp(18px, 4vw, 64px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.payment-section .section-heading {
  max-width: 860px;
}

.payment-section .eyebrow {
  margin: 0 0 8px;
}

.payment-section h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
}

.payment-section .section-note {
  max-width: 820px;
  line-height: 1.65;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-badges span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.payment-badges span::first-letter {
  color: var(--teal);
  font-weight: 950;
}

.catalog-section,
.finder-section {
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 64px);
}

.section-heading {
  max-width: 760px;
}

.section-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 16px;
  align-items: end;
  margin: 28px 0;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.search-box input,
.quote-form input,
.quote-form textarea,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.search-box input {
  height: 48px;
  padding: 0 14px;
}

.search-box input:focus,
.quote-form input:focus,
.quote-form textarea:focus,
.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 125, 116, 0.14);
}

.segment-control {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.segment-control button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.segment-control button.is-active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-card-link {
  display: grid;
  color: inherit;
}

.product-visual {
  position: relative;
  min-height: 188px;
  background:
    linear-gradient(135deg, rgba(0, 125, 116, 0.14), rgba(197, 138, 37, 0.15)),
    #f5f7f5;
}

.product-image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 16px;
  background: #fff;
}

.filter-art {
  position: absolute;
  inset: 30px 42px;
  border: 12px solid #fdfdfb;
  border-radius: 6px;
  background: repeating-linear-gradient(90deg, #dce5e1 0 8px, #f7faf8 8px 18px);
  box-shadow: 0 16px 28px rgba(20, 32, 31, 0.13);
}

.filter-art.round {
  inset: 28px auto auto 50%;
  width: 126px;
  height: 126px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: radial-gradient(circle, #f9fbf8 0 28%, #a8b7b3 29% 36%, #edf2ef 37% 48%, #3b4744 49% 54%, #f7fbf8 55%);
}

.filter-art.carbon {
  background:
    radial-gradient(circle at 20% 35%, #323b38 0 8px, transparent 9px),
    radial-gradient(circle at 55% 45%, #1d2624 0 10px, transparent 11px),
    radial-gradient(circle at 75% 62%, #46504d 0 7px, transparent 8px),
    #e9efec;
}

.product-body {
  padding: 20px;
}

.product-kicker {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card h3 {
  margin: 9px 0 8px;
  font-size: 1.18rem;
}

.product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.product-meta span {
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 20px;
}

.product-footer > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.product-footer:has(.stock-notify-card) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.product-footer:has(.stock-notify-card) > div:first-child {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.product-footer:has(.stock-notify-card) .product-actions {
  display: contents;
}

.product-footer:has(.stock-notify-card) .stock-status-wrap {
  display: contents;
}

.product-footer:has(.stock-notify-card) .add-button[disabled],
.product-footer:has(.stock-notify-card) .add-button[aria-disabled="true"] {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
}

.product-footer:has(.stock-notify-card) .product-card-stock-note,
.product-footer:has(.stock-notify-card) .stock-notify-card {
  grid-column: 1 / -1;
}

.stock-notify-card {
  max-width: 100%;
}

.stock-notify-card .stock-notify-row {
  grid-template-columns: minmax(180px, 1fr) auto;
}

.price {
  font-size: 1.25rem;
  font-weight: 900;
}

.dual-price {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.dual-price span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dual-price small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.2;
}

.dual-price b {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.15;
  white-space: nowrap;
}

.dual-price .wholesale-price {
  border-color: rgba(215, 25, 32, 0.28);
  background: #fff5f5;
}

.price-history {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  clear: both;
}

.detail-main > .price-history {
  margin: -6px 0 16px;
  font-size: 0.96rem;
}

.cookie-banner {
  position: fixed;
  right: clamp(12px, 3vw, 32px);
  bottom: clamp(12px, 3vw, 32px);
  left: clamp(12px, 3vw, 32px);
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.58fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-copy h2 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.cookie-copy p {
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-copy a {
  color: var(--teal-dark);
  font-weight: 850;
}

.cookie-settings {
  display: none;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cookie-settings.is-open {
  display: grid;
}

.cookie-toggle {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  margin: 0;
  color: var(--ink);
}

.cookie-toggle input {
  width: auto;
  margin-top: 4px;
}

.cookie-toggle small {
  display: block;
  color: var(--muted);
  font-weight: 650;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  gap: 10px;
}

.cookie-actions .button {
  width: 100%;
}

.cookie-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.add-button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 900;
  cursor: pointer;
}

.add-button:hover,
.add-button:focus-visible {
  color: #fff;
  background: var(--teal);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.allegro-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 900;
}

.allegro-link:hover,
.allegro-link:focus-visible {
  border-color: var(--gold);
  color: #6d4612;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 750;
}

.finder-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  background: #eaf3ef;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.75fr);
  gap: 12px;
  align-items: start;
  background: #eaf3ef;
}

.contact-band h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.contact-band .button {
  justify-self: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 32, 31, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.contact-form input {
  height: 46px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 116px;
  resize: vertical;
  padding: 12px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--teal);
  font-weight: 850;
}

.is-hidden {
  display: none !important;
}

.finder-copy {
  max-width: 760px;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 32, 31, 0.08);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 6vw, 82px) clamp(18px, 4vw, 64px);
}

.detail-media {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-media img {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: contain;
  padding: clamp(18px, 4vw, 42px);
}

.detail-gallery {
  display: grid;
  gap: 10px;
}

.detail-pack-shot {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  background: #fff;
}

.detail-pack-shot img {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 520px;
  min-height: 360px;
  object-fit: contain;
  transition: transform 160ms ease, filter 160ms ease;
}

.detail-pack-shot img + img {
  display: none;
}

.detail-pack-shot.is-pack {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: clamp(12px, 3vw, 26px);
}

.detail-pack-shot.is-pack img {
  min-width: 0;
  min-height: 320px;
  padding: 8px;
}

.detail-pack-shot.is-pack img:first-child {
  grid-column: 1;
  transform: translateX(7%) rotate(-2deg);
}

.detail-pack-shot.is-pack img + img {
  display: block;
  grid-column: 2;
  transform: translateX(-7%) rotate(2deg);
  filter: drop-shadow(0 16px 24px rgba(20, 32, 31, 0.12));
}

.pack-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 92px));
  gap: 8px;
  padding: 0 12px 12px;
}

.detail-thumb {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 4px;
}

.detail-thumb.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(216, 32, 39, 0.14);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  padding: 0;
}

.detail-main {
  min-width: 0;
}

.detail-main h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--teal-dark);
  font-weight: 900;
}

.purchase-box,
.allegro-description,
.detail-not-found {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.purchase-box h2,
.allegro-description h2 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.allegro-description h3 {
  margin: 22px 0 10px;
  font-size: 1.08rem;
}

.variant-list {
  display: grid;
  gap: 10px;
}

.variant-option {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.variant-option:has(input:checked) {
  border-color: var(--teal);
  background: var(--mint);
}

.variant-option span {
  display: grid;
  gap: 3px;
}

.variant-option small {
  color: var(--muted);
  line-height: 1.35;
}

.variant-option b {
  white-space: nowrap;
}

.detail-quantity,
.b2b-quantity {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-weight: 800;
}

.detail-quantity input,
.b2b-quantity input {
  max-width: 140px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  font: inherit;
  font-weight: 800;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.detail-actions:has(.stock-notify-detail) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.detail-actions:has(.stock-notify-detail) > * {
  width: 100%;
}

.detail-actions .button[disabled],
.detail-actions .button[aria-disabled="true"] {
  justify-self: end;
  color: #5a4510;
  border-color: #cdb45a;
  background: #fff8da;
  box-shadow: 0 8px 18px rgba(90, 69, 16, 0.1);
}

.stock-status {
  width: 100%;
  margin: 0;
  padding: 13px 16px;
  border: 1px solid #e1cf76;
  border-radius: 8px;
  background: #fff8da;
  color: #5b626b;
  font-weight: 800;
  line-height: 1.5;
}

.stock-status-available {
  border-color: #a8d2b3;
  background: #f0faf3;
  color: #176b36;
}

.stock-status-card {
  margin-top: 10px;
  padding: 8px 10px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.stock-status-detail {
  margin-top: 10px;
}

.stock-notify {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d6c46a;
  border-radius: 8px;
  background: #fffdf2;
}

.stock-notify strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
}

.stock-notify-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.stock-notify label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 850;
}

.stock-notify input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.stock-notify input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(215, 25, 32, 0.15);
}

.stock-notify button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(215, 25, 32, 0.18);
}

.stock-notify button:hover,
.stock-notify button:focus-visible {
  background: var(--teal-dark);
}

.stock-notify .stock-notify-account {
  justify-self: start;
  color: #fff;
  border-color: #101827;
  background: #101827;
  box-shadow: none;
}

.stock-notify .stock-notify-account:hover,
.stock-notify .stock-notify-account:focus-visible {
  color: #fff;
  border-color: #263449;
  background: #263449;
}

.allegro-description p {
  color: var(--muted);
  line-height: 1.7;
}

.allegro-description ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 18px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.allegro-description strong {
  color: var(--ink);
}

.technical-specs-section {
  margin-top: 24px;
}

.technical-specs-table-wrap {
  overflow-x: auto;
}

.technical-specs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  color: var(--ink);
}

.technical-specs-table th,
.technical-specs-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.technical-specs-table thead th {
  font-weight: 900;
}

.technical-specs-table tbody th {
  width: 42%;
  padding-right: 18px;
  font-weight: 800;
}

.technical-specs-table td {
  color: var(--muted);
}

.technical-specs-table td a {
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-info-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 18px;
}

.product-info-panel > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-info-panel h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.product-summary-panel {
  align-content: start;
}

.merged-specs {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.merged-specs h3 {
  margin: 0 0 12px;
  font-size: 0.98rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-list li::before {
  content: none;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.spec-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-list dt {
  color: var(--muted);
  font-weight: 750;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.fitment-panel p,
.fitment-more,
.fitment-extra summary {
  color: var(--muted);
  line-height: 1.55;
}

.fitment-list {
  display: grid;
  gap: 8px;
  max-height: min(640px, 72vh);
  margin: 14px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.fitment-list li {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}

.fitment-more {
  margin-top: 12px;
  font-weight: 850;
}

.fitment-extra {
  margin-top: 12px;
}

.fitment-extra summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--teal);
  cursor: pointer;
  font-weight: 850;
}

.fitment-extra summary::-webkit-details-marker {
  display: none;
}

.fitment-extra[open] .fitment-summary-more,
.fitment-extra:not([open]) .fitment-summary-less {
  display: none;
}

.fitment-extra .fitment-list {
  margin-top: 12px;
}

.technical-images {
  display: grid;
  gap: 12px;
}

.technical-images img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.quote-form input {
  height: 46px;
  padding: 0 12px;
}

.quote-form textarea {
  min-height: 116px;
  resize: vertical;
  padding: 12px;
}

.cart-panel,
.account-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(640px, 100vw);
  max-width: 100vw;
  height: 100svh;
  padding: 24px;
  overflow: auto;
  background: var(--surface);
  box-shadow: -20px 0 60px rgba(20, 32, 31, 0.18);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.cart-panel.is-open,
.account-panel.is-open {
  transform: translateX(0);
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}

.account-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.36);
  opacity: 0;
  transition: opacity 180ms ease;
}

.account-modal.is-open .account-modal-backdrop {
  opacity: 1;
}

.account-modal-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(640px, 100vw);
  height: 100svh;
  padding: 24px;
  overflow: auto;
  background: var(--surface);
  box-shadow: -20px 0 60px rgba(20, 32, 31, 0.18);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.account-modal.is-open .account-modal-panel {
  transform: translateX(0);
}

.account-modal-close {
  align-self: flex-end;
  flex: 0 0 auto;
  margin-bottom: 12px;
}

body.modal-open {
  overflow: hidden;
}

.cart-header,
.cart-summary,
.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  flex: 0 0 auto;
  align-content: start;
  gap: 12px;
  max-height: none;
  overflow-y: visible;
  overflow-x: hidden;
  padding: 18px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: flex-start;
  justify-content: stretch;
  gap: 12px;
  min-height: 92px;
  overflow: visible;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-line-media {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-line-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-line > div {
  min-width: 0;
}

.cart-line strong {
  display: block;
  overflow-wrap: anywhere;
}

.cart-line span {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.cart-quantity {
  display: inline-grid;
  grid-template-columns: 34px 58px 34px;
  align-items: center;
  gap: 4px;
  width: max-content;
  margin: 2px 0;
}

.cart-quantity input {
  width: 58px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: center;
  font: inherit;
  font-weight: 900;
}

.cart-line .cart-quantity button {
  grid-column: auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
}

.cart-line button {
  align-self: start;
  justify-self: start;
  grid-column: 2;
  white-space: nowrap;
  border: 0;
  padding: 4px 0 0;
  background: transparent;
  color: var(--coral);
  font-weight: 900;
  cursor: pointer;
}

.cart-empty {
  align-self: center;
  justify-self: center;
  color: var(--muted);
}

.cart-empty.is-hidden {
  display: none;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.account-panel-form {
  display: grid;
  gap: 12px;
  padding: 18px 0;
}

.checkout-form h3 {
  margin: 0;
  font-size: 1.05rem;
}

.checkout-form label,
.delivery-methods,
.payment-methods,
.buyer-methods,
.account-methods {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  min-width: 0;
}

.checkout-form input,
.account-panel input,
.account-panel select {
  height: 42px;
  padding: 0 11px;
  min-width: 0;
}

.checkout-form textarea {
  min-height: 78px;
  resize: vertical;
  padding: 10px 11px;
  min-width: 0;
}

.checkout-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.78fr) minmax(170px, 1fr);
  gap: 12px;
}

.delivery-methods,
.payment-methods,
.buyer-methods,
.account-methods,
.inpost-selector {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.delivery-methods legend,
.payment-methods legend,
.buyer-methods legend,
.account-methods legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 900;
}

.delivery-methods label,
.payment-methods label,
.buyer-methods > label,
.consent-label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
}

.account-methods > label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 8px;
}

.account-fields label {
  display: grid;
  grid-template-columns: 1fr;
}

.company-fields,
.account-fields {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

.company-fields.is-hidden,
.account-fields.is-hidden {
  display: none;
}

.company-fields label {
  display: grid;
  grid-template-columns: 1fr;
}

.account-status {
  color: var(--teal);
  font-weight: 850;
}

.account-orders {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.account-orders.is-hidden {
  display: none;
}

.account-orders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-orders-head h3 {
  margin: 0;
  font-size: 1.12rem;
}

.account-orders-head span,
.account-orders-empty {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.account-orders-list {
  display: grid;
  gap: 10px;
}

.account-order-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #fffafa;
}

.account-order-main,
.account-order-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 12px;
}

.account-order-main strong {
  color: var(--ink);
}

.account-order-main span,
.account-order-card p,
.account-order-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.account-order-card p {
  margin: 0;
}

.account-order-card a {
  color: var(--red);
  font-weight: 900;
}

.inpost-selector {
  display: grid;
  gap: 12px;
  background: #fff;
}

.inpost-selector.is-hidden {
  display: none;
}

.inpost-selector-head {
  display: grid;
  gap: 4px;
}

.inpost-selector-head strong {
  color: var(--ink);
}

.inpost-selector-head span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.inpost-selector [data-inpost-map] {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f7f5;
}

.inpost-selector [data-inpost-map]:empty {
  display: none;
}

.manual-point {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.payment-hint {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.consent-label {
  align-items: start;
  color: var(--ink);
  line-height: 1.42;
}

.consent-label a {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.optional-consent {
  color: var(--muted);
}

.consent-label input {
  margin-top: 2px;
}

.cart-summary {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout-link {
  width: 100%;
}

.small-button {
  justify-self: start;
  width: auto;
  min-height: 40px;
  padding: 9px 12px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  pointer-events: none;
  background: rgba(20, 32, 31, 0.34);
  opacity: 0;
  transition: opacity 180ms ease;
}

.overlay.is-open {
  pointer-events: auto;
  opacity: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 64px);
  color: #fff;
  background: #172321;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span {
  color: #b7c6c1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.legal-page {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-page h2 {
  margin: 30px 0 10px;
  font-size: 1.3rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
}

.brand small {
  font-size: 0.82rem;
  color: var(--teal);
}

.finder-section,
.catalog-section,
.contact-section {
  padding: clamp(42px, 6vw, 84px) clamp(18px, 4vw, 64px);
}

.finder-section {
  padding-block: clamp(20px, 3vw, 36px);
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.finder-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
  min-width: 0;
}

.vehicle-finder {
  display: grid;
  grid-template-columns: minmax(108px, 0.8fr) minmax(124px, 0.95fr) minmax(150px, 1.1fr) minmax(160px, 1.15fr) minmax(112px, auto);
  gap: 12px;
  align-items: end;
  min-width: 0;
}

.finder-tools .catalog-tools {
  grid-template-columns: 1fr;
  margin: 0;
  min-width: 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(16, 17, 20, 0.08);
  font-weight: 850;
  cursor: pointer;
}

.filter-pill:hover,
.filter-pill:focus-visible {
  border-color: var(--teal);
  outline: none;
}

.filter-pill.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.vehicle-finder label {
  display: grid;
  gap: 7px;
  color: #31363d;
  font-weight: 800;
  min-width: 0;
}

.vehicle-finder input,
.vehicle-finder select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

.finder-submit {
  min-height: 48px;
  min-width: 112px;
}

@media (max-width: 1180px) {
  .vehicle-finder {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .finder-submit {
    width: 100%;
  }
}

.support-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 64px) clamp(42px, 6vw, 84px);
}

.support-strip > div {
  min-height: 190px;
  padding: clamp(22px, 3vw, 34px);
  color: #fff;
  background: var(--charcoal);
}

.support-strip span {
  color: var(--teal);
  font-weight: 900;
}

.support-strip strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 1.25rem;
}

.support-strip p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.product-card {
  border-top: 4px solid var(--teal);
}

.product-card img {
  object-fit: contain;
  background: #fff;
}

.product-kicker {
  color: var(--teal);
}

.contact-section {
  background: #fff;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

@media (max-width: 1500px) {
  .finder-tools,
  .finder-tools .catalog-tools {
    grid-template-columns: 1fr;
  }

  .finder-tools .catalog-tools {
    margin-top: 4px;
  }
}

@media (max-width: 1320px) {
  .site-header:has(.wholesale-account-cta) {
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    align-items: center;
  }

  .site-header:has(.wholesale-account-cta) .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: clamp(14px, 2.2vw, 26px);
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .site-header:has(.wholesale-account-cta) .wholesale-account-cta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: min(100%, 250px);
    min-width: 0;
  }

  .site-header:has(.wholesale-account-cta) .language-switcher {
    grid-column: 3;
    grid-row: 1;
  }

  .site-header:has(.wholesale-account-cta) .account-trigger {
    grid-column: 4;
    grid-row: 1;
  }

  .site-header:has(.wholesale-account-cta) .cart-trigger {
    grid-column: 5;
    grid-row: 1;
  }

  .finder-tools,
  .finder-tools .catalog-tools {
    grid-template-columns: 1fr;
  }

  .finder-tools .catalog-tools {
    margin-top: 4px;
  }
}

@media (max-width: 980px) {
  .site-header:has(.wholesale-account-cta) {
    grid-template-columns: auto 1fr auto auto;
  }

  .hero,
  .finder-section,
  .finder-tools,
  .vehicle-finder,
  .contact-band,
  .catalog-tools,
  .product-detail,
  .product-info-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .segment-control {
    justify-content: flex-start;
  }

  .site-header:has(.wholesale-account-cta) .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-header:has(.wholesale-account-cta) .wholesale-account-cta {
    grid-column: 1 / 4;
    grid-row: 3;
    width: auto;
    max-width: none;
  }

  .site-header:has(.wholesale-account-cta) .language-switcher {
    grid-column: 1 / 2;
    grid-row: 4;
    justify-content: flex-start;
  }

  .site-header:has(.wholesale-account-cta) .account-trigger {
    grid-column: 3;
    grid-row: 1;
  }

  .site-header:has(.wholesale-account-cta) .cart-trigger {
    grid-column: 4;
    grid-row: 1;
  }

  .detail-media {
    position: static;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .trust-strip,
  .support-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .vehicle-finder {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header:has(.wholesale-account-cta) {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switcher {
    grid-column: 1 / 2;
    justify-content: flex-start;
  }

  .site-header:has(.wholesale-account-cta) .wholesale-account-cta {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .site-header:has(.wholesale-account-cta) .language-switcher {
    grid-row: 4;
  }

  .site-header:has(.wholesale-account-cta) .account-trigger {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header:has(.wholesale-account-cta) .cart-trigger {
    grid-column: 3;
    grid-row: 1;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-media {
    min-height: 240px;
  }

  .hero-media img {
    min-height: 300px;
  }

  .hero-stats,
  .product-grid,
  .trust-strip,
  .support-strip {
    grid-template-columns: 1fr;
  }

  .product-footer,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .add-button,
  .button {
    width: 100%;
  }

  .cart-panel,
  .account-panel,
  .account-modal-panel {
    width: 100vw;
    padding: 18px;
  }

  .checkout-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stock-notify-row {
    grid-template-columns: 1fr;
  }

  .stock-notify .stock-notify-account,
  .stock-notify button {
    justify-self: stretch;
    width: 100%;
  }
}

.catalog-landing-hero {
  padding: clamp(34px, 5vw, 64px) clamp(18px, 4vw, 64px) 36px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.catalog-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.catalog-breadcrumbs a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-landing-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.catalog-landing-lead {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.65;
}

.catalog-landing-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
}

.catalog-landing-summary strong {
  color: var(--ink);
  font-size: 1.45rem;
}

.catalog-landing-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.catalog-landing-links strong {
  margin-right: 4px;
}

.catalog-landing-links a {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
  text-decoration: none;
}

.catalog-landing-links a:hover,
.catalog-landing-links a:focus-visible,
.catalog-landing-links a.is-active {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.catalog-home-links {
  margin: -6px 0 28px;
}

.catalog-landing-results {
  padding-top: 42px;
}

.catalog-landing-tools {
  grid-template-columns: minmax(240px, 420px);
}

.catalog-server-availability {
  display: block;
  margin-top: 7px;
  font-size: 0.78rem;
  font-weight: 850;
}

.catalog-server-availability.is-in-stock {
  color: #187047;
}

.catalog-server-availability.is-out-of-stock {
  color: var(--muted);
}

.catalog-card-cta {
  flex: 0 0 auto;
}

@media (max-width: 680px) {
  .catalog-landing-hero {
    padding-top: 28px;
  }

  .catalog-breadcrumbs {
    margin-bottom: 22px;
  }

  .catalog-landing-links {
    align-items: stretch;
  }

  .catalog-landing-links strong {
    flex-basis: 100%;
  }

  .catalog-landing-links a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .catalog-card-cta {
    width: 100%;
  }
}

