: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 {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
}

body::before {
  content: "STRONA W BUDOWIE - jeśli czegoś nie znalazłeś, napisz lub zadzwoń.";
  display: block;
  position: relative;
  z-index: 80;
  width: 100%;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(16, 17, 20, 0.18);
  color: #151515;
  background: #ffd84d;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

html[lang="en"] body::before {
  content: "SITE UNDER CONSTRUCTION - if you cannot find something, write to us or call.";
}

html[lang="de"] body::before {
  content: "SEITE IM AUFBAU - wenn Sie etwas nicht finden, schreiben Sie uns oder rufen Sie an.";
}
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: clamp(12px, 1.8vw, 24px);
  min-height: 64px;
  padding: 8px clamp(18px, 4vw, 64px) 8px clamp(8px, 1.2vw, 24px);
  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;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-self: start;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: clamp(126px, 12vw, 164px);
  max-height: 56px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  color: var(--charcoal);
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.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;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #353a42;
  font-weight: 650;
}

.nav-dropdown {
  position: relative;
}

.nav-root {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
}

.nav-root::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 40;
  display: grid;
  width: min(360px, 86vw);
  padding: 8px;
  border: 1px solid rgba(10, 25, 41, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(10, 25, 41, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  transition-delay: 0.04s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-dropdown-menu a {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: #f3f7f8;
  color: var(--teal-dark);
}

.nav-dropdown-menu strong {
  font-size: 0.94rem;
}

.nav-dropdown-menu span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.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);
}

.site-search-bar {
  position: sticky;
  top: 64px;
  z-index: 19;
  display: grid;
  grid-template-columns: minmax(180px, 560px) auto;
  justify-content: center;
  gap: 10px;
  padding: 10px clamp(12px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(16, 17, 20, 0.06);
}

.site-search-bar:has(.site-search-suggestions:not([hidden])) {
  z-index: 30;
}

.site-search-label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.site-search-label span {
  font-size: 0.72rem;
  font-weight: 850;
  color: var(--muted);
  text-transform: uppercase;
}

.site-search-bar input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(10, 25, 41, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.site-search-bar button {
  align-self: end;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.site-search-bar input:focus-visible,
.site-search-bar button:focus-visible {
  outline: 3px solid rgba(222, 24, 35, 0.2);
  outline-offset: 2px;
}

.site-search-suggestions {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  width: min(760px, calc(100vw - 24px));
  max-height: min(520px, calc(100vh - 170px));
  overflow: auto;
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid rgba(10, 25, 41, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 17, 20, 0.2);
}

.site-search-suggestion,
.site-search-more,
.site-search-empty {
  border-radius: 8px;
}

.site-search-suggestion {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  color: var(--ink);
}

.site-search-suggestion:hover,
.site-search-suggestion:focus-visible {
  background: #f5f7f8;
}

.site-search-thumb {
  display: grid;
  place-items: center;
  width: 74px;
  height: 62px;
  border: 1px solid rgba(10, 25, 41, 0.08);
  border-radius: 8px;
  background: #fff;
}

.site-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-search-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.site-search-copy strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.site-search-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.site-search-suggestion em {
  color: var(--red);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.site-search-more,
.site-search-empty {
  display: block;
  margin-top: 4px;
  padding: 12px;
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}

.site-search-more {
  color: var(--red);
}

.site-search-more:hover,
.site-search-more:focus-visible {
  background: #fff5f5;
}

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

.wholesale-account-cta {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  min-width: 210px;
  max-width: 230px;
  gap: 8px;
  padding: 6px 10px 6px 7px;
  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: 30px;
  height: 30px;
  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.72rem;
  font-weight: 900;
  line-height: 1.15;
}

.wholesale-account-cta span {
  display: none;
}

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

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

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

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

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

.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;
}

.hero.power-hero {
  position: relative;
  display: block;
  min-height: clamp(420px, 68svh, 760px);
  overflow: hidden;
  padding: 0;
  color: #fff;
  background: #050607;
}

.hero-intro-band {
  position: relative;
  z-index: 3;
  padding: clamp(16px, 2.4vw, 28px) clamp(18px, 4vw, 64px);
  color: #fff;
  background: #090b0e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-intro-band .hero-copy {
  position: relative;
  display: flex;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0;
  gap: clamp(14px, 3vw, 44px);
  align-items: center;
  justify-content: space-between;
}

.hero-intro-band h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.18rem, 2vw, 2.05rem);
  line-height: 1.16;
}

.power-hero .eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
}

.hero-intro-band .hero-actions {
  flex: 0 0 auto;
  margin: 0;
  justify-content: flex-end;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: auto;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.22) 0%, rgba(3, 5, 8, 0.06) 50%, rgba(3, 5, 8, 0.26) 100%),
    linear-gradient(180deg, rgba(3, 5, 8, 0.22) 0%, rgba(3, 5, 8, 0) 48%, rgba(3, 5, 8, 0.34) 100%);
}

.power-hero p {
  max-width: 920px;
  margin-bottom: 14px;
  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(5, 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);
  align-items: stretch;
  gap: 10px;
}

.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: 1;
  grid-row: auto;
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
}

.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%;
  padding: 12px;
  overflow: hidden;
}

.stock-notify-card strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

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

.stock-notify-card label,
.stock-notify-card input,
.stock-notify-card button {
  min-width: 0;
  max-width: 100%;
}

.stock-notify-card button {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  white-space: normal;
  line-height: 1.15;
}

.stock-notify-card .stock-notify-account {
  width: auto;
  justify-self: start;
}

.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-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);
}

.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(1440px, 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 {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.category-section {
  padding: clamp(42px, 6vw, 84px) clamp(18px, 4vw, 64px);
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.vehicle-category-strip {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
  scroll-margin-top: 132px;
  padding: clamp(22px, 3.4vw, 38px) clamp(18px, 4vw, 64px);
  border-top: 1px solid rgba(10, 25, 41, 0.08);
  border-bottom: 1px solid rgba(10, 25, 41, 0.08);
  background: #f7fafb;
}

.vehicle-category-copy {
  display: grid;
  gap: 4px;
}

.vehicle-category-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.vehicle-dropdown {
  justify-self: start;
}

.vehicle-dropdown .nav-root {
  min-width: 190px;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid rgba(10, 25, 41, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(10, 25, 41, 0.08);
}

.vehicle-dropdown .nav-dropdown-menu {
  right: 0;
  left: auto;
}

.vehicle-category-list-section {
  align-items: start;
}

.vehicle-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
  width: 100%;
}

.vehicle-model-link {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 8px 11px 8px 8px;
  border: 1px solid rgba(10, 25, 41, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.18;
  box-shadow: 0 8px 18px rgba(10, 25, 41, 0.05);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  overflow: hidden;
}

.vehicle-model-photo {
  position: relative;
  display: block;
  width: 82px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #eef3f4;
}

.vehicle-model-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 41, 0.08);
  opacity: 0;
  transition: opacity 0.16s ease;
}

.vehicle-model-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.2s ease;
}

.vehicle-model-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.vehicle-model-link:hover,
.vehicle-model-link:focus-visible {
  border-color: rgba(20, 148, 146, 0.42);
  color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(10, 25, 41, 0.1);
}

.vehicle-model-link:hover .vehicle-model-photo img,
.vehicle-model-link:focus-visible .vehicle-model-photo img {
  transform: scale(1.08);
}

.vehicle-model-link:hover .vehicle-model-photo::after,
.vehicle-model-link:focus-visible .vehicle-model-photo::after {
  opacity: 1;
}

.vehicle-model-link.nav-root::after {
  justify-self: end;
}

.vehicle-model-dropdown {
  position: relative;
}

.vehicle-model-dropdown .vehicle-model-link {
  width: 100%;
}

.vehicle-model-dropdown .nav-dropdown-menu {
  top: calc(100% - 1px);
  left: 0;
  right: auto;
  z-index: 60;
  max-height: min(520px, 72vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.vehicle-model-dropdown .nav-dropdown-menu a {
  padding: 9px 12px;
}

.vehicle-model-dropdown .nav-dropdown-menu span {
  display: none;
}

.vehicle-model-dropdown:nth-child(4n) .nav-dropdown-menu {
  right: 0;
  left: auto;
}

.brand-category-section {
  background: #fff;
}

.brand-section-heading {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.brand-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.brand-tile {
  position: relative;
  display: grid;
  min-height: clamp(220px, 26vw, 340px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  isolation: isolate;
  box-shadow: 0 16px 34px rgba(10, 25, 41, 0.14);
}

.brand-tile img {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px 18px 34px;
  transform: scale(1);
  transition: transform 0.32s ease;
}

.brand-tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(244, 247, 250, 0.02) 42%, rgba(84, 96, 109, 0.66) 72%, rgba(30, 42, 54, 0.9) 100%);
  transition: background 0.32s ease;
}

.brand-tile-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 6px;
  padding: clamp(18px, 2.5vw, 26px);
  color: #fff;
  min-width: 0;
}

.brand-tile-copy strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1.25rem, 2.1vw, 2.05rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.brand-tile-copy em {
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.28;
}

.brand-tile:hover img,
.brand-tile:focus-visible img {
  transform: scale(1.03);
}

.brand-tile:hover .brand-tile-overlay,
.brand-tile:focus-visible .brand-tile-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(244, 247, 250, 0.08) 38%, rgba(71, 84, 98, 0.72) 70%, rgba(22, 33, 45, 0.94) 100%);
}

.jgc-page {
  max-width: 1520px;
}

.jgc-generation-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin: 18px 0 24px;
}

.jgc-generation-nav a {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid rgba(10, 25, 41, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(10, 25, 41, 0.04);
}

.jgc-generation-nav strong {
  font-size: 0.95rem;
  line-height: 1.22;
}

.jgc-generation-nav a:hover,
.jgc-generation-nav a:focus-visible {
  border-color: rgba(20, 148, 146, 0.42);
  color: var(--teal-dark);
}

.jgc-generation-nav span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.jgc-block {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.6vw, 30px) 0;
  border-top: 1px solid rgba(10, 25, 41, 0.1);
}

.jgc-block-heading {
  display: grid;
  gap: 6px;
}

.jgc-block-heading h2,
.jgc-block-heading p {
  margin: 0;
}

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

.jgc-category-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  margin-top: 28px;
}

.jgc-category-card {
  display: grid;
  grid-template-columns: clamp(160px, 15vw, 240px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 2.6vw, 32px);
  min-height: clamp(220px, 22vw, 300px);
  padding: clamp(22px, 2.8vw, 34px);
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(10, 25, 41, 0.06);
}

.jgc-category-card:hover,
.jgc-category-card:focus-visible {
  border-color: rgba(215, 25, 32, 0.36);
  color: var(--teal-dark);
}

.jgc-category-card strong,
.jgc-category-card em {
  display: block;
}

.jgc-category-card strong {
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.18;
}

.jgc-category-card em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-style: normal;
  font-weight: 750;
}

.jgc-category-card .product-preview-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.jgc-category-card .product-preview-thumb img {
  padding: 4px;
}

.jgc-product-group-wide {
  padding: clamp(14px, 2vw, 22px);
}

.jgc-product-group {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  background: #fff;
}

.jgc-product-group h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.category-path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.category-path span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(10, 25, 41, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.vehicle-card,
.category-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 17, 20, 0.08);
}

.vehicle-card {
  position: sticky;
  top: 90px;
  padding: 24px;
}

.vehicle-card h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.vehicle-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.vehicle-card div {
  display: grid;
  gap: 3px;
}

.vehicle-card dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.vehicle-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.35;
}

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

.category-card {
  padding: clamp(18px, 2.2vw, 26px);
}

.category-card-wide {
  grid-column: 1 / -1;
}

.category-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.category-card-link {
  display: grid;
  gap: 10px;
  margin: -4px -4px 16px;
  padding: 4px;
  border-radius: 8px;
  color: inherit;
}

.category-card-link:hover,
.category-card-link:focus-visible {
  background: #eef7f5;
  outline: none;
}

.category-card-link .category-card-head {
  margin-bottom: 0;
}

.category-card-link > strong {
  color: var(--teal-dark);
  font-size: 0.86rem;
}

.category-card-head span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 950;
}

.category-card h3,
.category-card h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
}

.category-card h3 {
  font-size: clamp(1.18rem, 2.2vw, 1.72rem);
}

.category-card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.product-preview-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-preview-list li {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  background: #f8fafb;
  color: var(--ink);
  line-height: 1.35;
}

.product-preview-link {
  display: grid;
  gap: 3px;
  color: inherit;
}

.product-preview-link.has-thumb {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.product-preview-thumb {
  display: block;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  background: #fff;
}

.product-preview-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  mix-blend-mode: multiply;
}

.product-preview-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.product-preview-link:hover,
.product-preview-link:focus-visible {
  color: var(--teal-dark);
  outline: none;
}

.product-item-link {
  display: grid;
  gap: 4px;
  color: inherit;
}

.product-item-link:hover,
.product-item-link:focus-visible {
  color: var(--teal-dark);
  outline: none;
}

.product-item-link em {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.product-preview-list strong {
  color: var(--teal-dark);
  font-size: 0.82rem;
}

.product-preview-list span,
.product-preview-list.compact li {
  color: #3f4650;
  font-size: 0.92rem;
}

.product-preview-list span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 2.8em;
}

.product-preview-copy span {
  min-width: 0;
}

.product-preview-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jgc-product-group .product-preview-list.compact {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.powerstop-finder-section ~ .jgc-product-group .product-preview-list.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.jgc-product-group .product-preview-list.compact li {
  grid-template-rows: 1fr auto;
  min-height: 500px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 17, 20, 0.08);
}

.jgc-product-group .product-preview-link.has-thumb {
  grid-template-columns: 1fr;
  grid-template-rows: clamp(315px, 24vw, 380px) auto;
  min-height: 100%;
  gap: 0;
  overflow: hidden;
  background: #fff;
}

.jgc-product-group .product-preview-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  height: clamp(315px, 24vw, 380px);
  min-height: clamp(315px, 24vw, 380px);
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(10, 25, 41, 0.08);
  border-radius: 0;
}

.jgc-product-group .product-preview-thumb img {
  padding: 6px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
}

.jgc-product-group .product-preview-link:hover .product-preview-thumb img,
.jgc-product-group .product-preview-link:focus-visible .product-preview-thumb img {
  transform: scale(1.05);
}

.jgc-product-group .product-preview-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 22px 24px;
  position: relative;
  z-index: 1;
  overflow: visible;
  background: #fff;
  max-height: none;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.jgc-product-group .product-preview-list strong {
  font-size: 1.06rem;
  line-height: 1.32;
}

.jgc-product-group .product-preview-copy > span:not(.product-preview-price) {
  display: block;
  overflow: visible;
  color: #303742;
  font-size: 1.02rem;
  line-height: 1.38;
  font-weight: 650;
  max-height: none;
  -webkit-line-clamp: unset;
}

.jgc-product-group .product-preview-list .product-preview-price {
  display: block;
  max-height: none;
  color: #c5162e;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.1;
  -webkit-line-clamp: unset;
}

.jgc-product-group .product-preview-list em {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
}

.ebc-index-page.legal-page {
  width: min(1760px, calc(100% - 32px));
}

.ebc-index-page .jgc-product-group-wide {
  padding: 14px;
}

.ebc-index-page .jgc-product-group .product-preview-list.compact {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.ebc-index-page .jgc-product-group .product-preview-list.compact li {
  min-height: 430px;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.ebc-index-page .jgc-product-group .product-preview-link.has-thumb {
  display: grid;
  grid-template-rows: 220px minmax(0, auto);
  min-height: 0;
  overflow: hidden;
}

.ebc-index-page .jgc-product-group .product-preview-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ebc-index-page .jgc-product-group .product-preview-thumb img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ebc-index-page .jgc-product-group .product-preview-copy {
  gap: 8px;
  padding: 16px 16px 18px;
  min-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: #fff;
}

.ebc-index-page .jgc-product-group .product-preview-list strong {
  font-size: 0.94rem;
  line-height: 1.22;
}

.ebc-index-page .jgc-product-group .product-preview-copy > span:not(.product-preview-price) {
  font-size: 0.88rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ebc-index-page .jgc-product-group .product-preview-copy > span:not(.product-source-note):not(.product-preview-price) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ebc-index-page .jgc-product-group .product-preview-list .product-preview-price {
  font-size: 1.05rem;
}

.ebc-index-page .product-preview-actions {
  padding: 0 16px 16px;
}

.ebc-index-page .product-source-note {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ebc-index-page .product-preview-add {
  min-height: 40px;
  font-size: 0.9rem;
}

.ebc-index-page .powerstop-finder-results {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.ebc-index-page .powerstop-finder-card {
  overflow: hidden;
}

.ebc-index-page .powerstop-finder-card a {
  grid-template-rows: 190px auto;
}

.ebc-index-page .powerstop-finder-card-media {
  height: 190px;
  overflow: hidden;
}

.ebc-index-page .powerstop-finder-card-media img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
  padding: 12px;
}

.ebc-index-page .powerstop-finder-card-copy {
  position: relative;
  z-index: 1;
  gap: 7px;
  padding: 14px 16px 16px;
  background: #fff;
}

.ebc-index-page .powerstop-finder-card-copy strong {
  font-size: 0.94rem;
  line-height: 1.22;
}

.ebc-index-page .powerstop-finder-card-copy span {
  font-size: 0.82rem;
  line-height: 1.25;
}

.ebc-index-page .powerstop-finder-card-copy em {
  font-size: 1rem;
}

.ebc-index-page .powerstop-finder-status {
  display: block;
  margin: 4px 0 2px;
  padding: 14px 18px;
  border-left: 5px solid #c5162e;
  border-radius: 8px;
  background: #fff4f5;
  color: #111820;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  font-weight: 950;
  line-height: 1.25;
}

.category-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 18px;
}

.category-pagination:last-child {
  margin: 22px 0 0;
}

.pagination-link,
.pagination-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.pagination-link:hover,
.pagination-link:focus-visible,
.pagination-link.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.pagination-gap {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.product-preview-actions {
  display: grid;
  padding: 0 22px 22px;
}

.product-preview-add {
  width: 100%;
  min-height: 46px;
  font-size: 0.98rem;
}

.powerstop-page.legal-page {
  width: calc(100% - 16px);
  max-width: none;
}

.powerstop-page .jgc-product-group-wide {
  padding: 14px;
}

.powerstop-page .jgc-product-group .product-preview-list.compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.powerstop-page .jgc-product-group .product-preview-list.compact li {
  min-width: 0;
  min-height: 0;
}

.powerstop-page .jgc-product-group .product-preview-link.has-thumb {
  grid-template-rows: 220px auto;
  min-height: 0;
}

.powerstop-page .jgc-product-group .product-preview-thumb {
  height: 220px;
  min-height: 220px;
}

.powerstop-page .jgc-product-group .product-preview-copy {
  gap: 7px;
  padding: 14px 16px 14px;
}

.powerstop-page .jgc-product-group .product-preview-list strong {
  font-size: 0.9rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.powerstop-page .jgc-product-group .product-preview-copy > span:not(.product-preview-price) {
  font-size: 0.84rem;
  line-height: 1.32;
}

.powerstop-page .product-preview-actions {
  min-width: 0;
  padding: 0 16px 14px;
}

.powerstop-page .product-preview-actions .stock-status-wrap,
.powerstop-page .product-preview-actions .stock-notify-card {
  min-width: 0;
  max-width: 100%;
}

.powerstop-page .product-preview-actions .stock-notify-card {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.powerstop-page .product-preview-actions .stock-notify-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.powerstop-page .product-preview-actions .stock-notify-card input,
.powerstop-page .product-preview-actions .stock-notify-card button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.powerstop-page .product-preview-actions .stock-notify-card button {
  height: auto;
  min-height: 42px;
  padding: 8px 10px;
  white-space: normal;
}

.powerstop-page .product-preview-actions .stock-notify-account {
  max-width: 100%;
}

@media (max-width: 1180px) {
  .powerstop-page .jgc-product-group .product-preview-list.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .powerstop-page .jgc-product-group .product-preview-list.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .powerstop-page .jgc-product-group .product-preview-list.compact {
    grid-template-columns: 1fr;
  }

  .powerstop-page .jgc-product-group .product-preview-link.has-thumb {
    grid-template-rows: 260px auto;
  }
}

.powerstop-finder-section {
  display: grid;
  gap: 20px;
  margin: 30px 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 17, 20, 0.07);
}

.powerstop-finder-section .section-heading {
  max-width: 920px;
}

.powerstop-finder-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.powerstop-filter-button {
  min-height: 44px;
  border: 1px solid rgba(10, 25, 41, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  padding: 0 16px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.powerstop-filter-button:hover,
.powerstop-filter-button:focus-visible {
  border-color: rgba(197, 22, 46, 0.45);
  color: #b31328;
  transform: translateY(-1px);
}

.powerstop-filter-button.is-active {
  border-color: #c5162e;
  background: #c5162e;
  color: #fff;
}

.powerstop-finder-axis[hidden] {
  display: none;
}

.powerstop-finder-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}

.powerstop-finder-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

.powerstop-finder-form select,
.powerstop-finder-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(10, 25, 41, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0 12px;
}

.powerstop-finder-form select:disabled {
  color: #8b939f;
  background: #f4f6f8;
}

.powerstop-finder-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.powerstop-finder-actions .button {
  min-height: 46px;
  white-space: nowrap;
}

.powerstop-finder-status {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.powerstop-finder-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.legal-page.jgc-page:not(.ebc-index-page) > .powerstop-finder-section .powerstop-finder-results {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.powerstop-finder-card {
  min-width: 0;
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.powerstop-finder-card a {
  display: grid;
  grid-template-rows: 255px auto;
  min-height: 100%;
  color: inherit;
}

.powerstop-finder-card-media {
  display: grid;
  place-items: center;
  min-height: 255px;
  overflow: hidden;
  border-bottom: 1px solid rgba(10, 25, 41, 0.08);
  background: #fff;
}

.powerstop-finder-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  mix-blend-mode: multiply;
  transition: transform 180ms ease;
}

.powerstop-finder-card a:hover img,
.powerstop-finder-card a:focus-visible img {
  transform: scale(1.05);
}

.powerstop-finder-card-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
  position: relative;
  z-index: 1;
  background: #fff;
}

.powerstop-finder-card-copy strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.28;
}

.powerstop-finder-card-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.powerstop-finder-card-copy em {
  color: #c5162e;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 950;
}

.powerstop-page > .powerstop-finder-section .powerstop-finder-results {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.powerstop-page > .powerstop-finder-section .powerstop-finder-card a {
  grid-template-columns: 1fr;
  grid-template-rows: 220px auto;
  gap: 0;
  overflow: hidden;
  background: #fff;
}

.powerstop-page > .powerstop-finder-section .powerstop-finder-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  height: 220px;
  min-height: 220px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(10, 25, 41, 0.08);
  border-radius: 0;
}

.powerstop-page > .powerstop-finder-section .powerstop-finder-card-media img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  mix-blend-mode: multiply;
}

.powerstop-page > .powerstop-finder-section .powerstop-finder-card a:hover img,
.powerstop-page > .powerstop-finder-section .powerstop-finder-card a:focus-visible img {
  transform: none;
}

.subcategory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr);
  gap: 16px;
}

.subcategory-grid section {
  min-width: 0;
}

.category-placeholder {
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(10, 25, 41, 0.24);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcfd;
}

.category-detail-page {
  max-width: 1080px;
}

.category-detail-page h1 {
  max-width: 860px;
}

.subcategory-panel {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.subcategory-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-placeholder-page {
  width: min(1840px, calc(100% - 24px));
  max-width: none;
}

.product-code-line {
  color: var(--muted);
}

.product-source-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.25fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  min-width: 0;
}

.product-source-layout:has(h3) {
  grid-template-columns: minmax(520px, 0.95fr) minmax(460px, 1.05fr);
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 22px;
}

.product-source-layout:has(h3) .product-source-media {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100%;
  margin: 0;
}

.product-source-layout:has(h3) > div {
  display: contents;
}

.product-source-layout:has(h3) > div > h2 {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 8px;
}

.product-source-layout:has(h3) .product-meta-panel {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.product-source-layout:has(h3) .product-buy-box {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin-top: 0;
}

.product-source-layout:has(h3) > div > h3,
.product-source-layout:has(h3) > div > p,
.product-source-layout:has(h3) > div > ul {
  grid-column: 1 / -1;
}

.product-source-media {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.product-source-media figcaption {
  display: none;
}

.product-source-media img {
  width: 100%;
  min-height: clamp(520px, 40vw, 720px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: clamp(10px, 1.4vw, 22px);
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  background: #fff;
}

.product-source-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.product-placeholder-card {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 17, 20, 0.08);
  min-width: 0;
  overflow: visible;
}

.product-placeholder-card h2 {
  margin: 0;
}

.product-placeholder-card h3 {
  margin: 8px 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.25;
}

.product-placeholder-card p,
.product-placeholder-card li {
  line-height: 1.62;
}

.product-placeholder-card ul:not(.product-description-list) {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.2rem;
}

.product-buy-box {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 16px;
  border: 1px solid rgba(10, 25, 41, 0.12);
  border-radius: 8px;
  background: #f8fafb;
}

.product-meta-panel {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 14px;
  border: 1px solid rgba(10, 25, 41, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.42;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  align-items: baseline;
}

.product-meta-row > span:first-child {
  color: var(--muted);
  font-weight: 850;
}

.product-meta-panel a {
  color: var(--red);
  font-weight: 850;
  text-decoration: none;
}

.product-meta-panel a:hover {
  text-decoration: underline;
}

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

.product-availability {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #127a3d;
  font-weight: 900;
}

.product-availability::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.product-availability.is-out {
  color: var(--red);
}

.product-price-history-inline {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-history-chart {
  width: min(180px, 100%);
  height: 32px;
  overflow: visible;
}

.price-history-chart polyline {
  fill: none;
  stroke: var(--red);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-buy-price {
  display: grid;
  gap: 2px;
}

.product-buy-price span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-buy-price strong {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.05;
}

.product-buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-buy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-preview-price {
  color: var(--ink);
  font-weight: 900;
}

.product-placeholder-card h1,
.product-placeholder-card h2,
.product-placeholder-card h3,
.product-placeholder-card p,
.product-placeholder-card li,
.product-placeholder-card dd,
.product-placeholder-card dt,
.product-source-layout > div,
.product-source-note,
.product-code-line,
.category-path,
.back-link {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

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

.product-description-list li {
  padding: 12px;
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  background: #f8fafb;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.product-placeholder-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.product-placeholder-card dl div {
  padding: 12px;
  border: 1px solid rgba(10, 25, 41, 0.1);
  border-radius: 8px;
  background: #f8fafb;
}

.product-placeholder-card dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-placeholder-card dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.product-description-html {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin-top: 18px;
  overflow: hidden;
  color: var(--ink);
}

.product-description-html .opisproduktow,
.product-description-html > div {
  display: grid;
  gap: 16px;
}

.product-description-html h3,
.product-description-html h4 {
  margin: 22px 0 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(10, 25, 41, 0.12);
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.38rem);
  line-height: 1.25;
  text-align: left;
}

.product-description-html h3:first-child,
.product-description-html h4:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.product-description-html p,
.product-description-html li {
  max-width: 1080px;
  margin: 0;
  color: #384152;
  font-size: 1rem;
  line-height: 1.72;
}

.product-description-html ul,
.product-description-html ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.product-description-html center {
  display: block;
  margin: 14px auto;
  text-align: center;
}

.product-description-html img {
  display: block;
  width: auto;
  max-width: min(100%, 760px);
  height: auto;
  margin: 14px auto;
  border-radius: 8px;
}

.product-description-html img[src^="/App_Themes/"] {
  display: none;
}

.product-description-html .table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(10, 25, 41, 0.12);
  border-radius: 8px;
}

.product-description-html table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.product-description-html th,
.product-description-html td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(10, 25, 41, 0.08);
  text-align: left;
  vertical-align: top;
}

.product-description-html th {
  background: #f5f7fa;
  color: var(--ink);
  font-weight: 850;
}

.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) {
  .category-layout,
  .subcategory-grid {
    grid-template-columns: 1fr;
  }

  .brand-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vehicle-model-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .jgc-generation-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .vehicle-model-dropdown:nth-child(4n) .nav-dropdown-menu {
    right: auto;
    left: 0;
  }

  .vehicle-model-dropdown:nth-child(3n) .nav-dropdown-menu {
    right: 0;
    left: auto;
  }

  .vehicle-card {
    position: static;
  }

  .vehicle-finder {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

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

@media (max-width: 760px) {
  .hero.power-hero {
    min-height: 54svh;
    padding: 0;
  }

  .hero-video {
    object-position: 58% center;
  }

  .hero-video-overlay {
    background:
      linear-gradient(90deg, rgba(3, 5, 8, 0.22) 0%, rgba(3, 5, 8, 0.05) 58%, rgba(3, 5, 8, 0.24) 100%),
      linear-gradient(180deg, rgba(3, 5, 8, 0.2) 0%, rgba(3, 5, 8, 0) 42%, rgba(3, 5, 8, 0.34) 100%);
  }

  .hero-intro-band .hero-copy {
    display: grid;
    gap: 14px;
  }

  .hero-intro-band .hero-actions {
    justify-content: stretch;
  }

  .vehicle-category-strip {
    grid-template-columns: 1fr;
  }

  .vehicle-dropdown {
    justify-self: stretch;
  }

  .vehicle-dropdown .nav-root {
    width: 100%;
  }

  .vehicle-dropdown .nav-dropdown-menu {
    right: auto;
    left: 0;
  }

  .vehicle-model-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-model-link {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    min-height: 72px;
  }

  .vehicle-model-photo {
    width: 76px;
  }

  .vehicle-model-dropdown:nth-child(3n) .nav-dropdown-menu {
    right: auto;
    left: 0;
  }

  .vehicle-model-dropdown:nth-child(even) .nav-dropdown-menu {
    right: 0;
    left: auto;
  }

  .hero-intro-band h1 {
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .power-hero p {
    margin-bottom: 10px;
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .hero-intro-band .hero-actions {
    margin-top: 8px;
  }

  .category-grid,
  .brand-tile-grid,
  .vehicle-model-grid,
  .jgc-category-nav,
  .jgc-generation-nav,
  .jgc-group-grid,
  .powerstop-finder-form,
  .product-preview-list.compact,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .powerstop-finder-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .powerstop-finder-results {
    grid-template-columns: 1fr;
  }

  .vehicle-model-dropdown:nth-child(even) .nav-dropdown-menu,
  .vehicle-model-dropdown:nth-child(3n) .nav-dropdown-menu,
  .vehicle-model-dropdown:nth-child(4n) .nav-dropdown-menu {
    right: auto;
    left: 0;
  }

  .category-card-wide {
    grid-column: auto;
  }

  .jgc-generation-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jgc-generation-nav a {
    padding: 9px;
  }
}

.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 max-content minmax(16px, 1fr) minmax(178px, 220px) 42px 42px;
    align-items: center;
  }

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

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

  .site-header:has(.wholesale-account-cta) .language-switcher {
    display: none;
  }

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

  .site-header:has(.wholesale-account-cta) .cart-trigger {
    grid-column: 6;
    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 {
    display: flex;
    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;
  }

  .product-source-layout:has(h3) {
    grid-template-columns: 1fr;
  }

  .product-source-layout:has(h3) .product-source-media,
  .product-source-layout:has(h3) .product-meta-panel,
  .product-source-layout:has(h3) .product-buy-box,
  .product-source-layout:has(h3) > div > h2,
  .product-source-layout:has(h3) > div > h3,
  .product-source-layout:has(h3) > div > p,
  .product-source-layout:has(h3) > div > ul {
    grid-column: 1;
    grid-row: auto;
  }

  .product-source-layout:has(h3) .product-source-media {
    width: 100%;
    margin: 0 auto;
    order: 1;
  }

  .product-source-layout:has(h3) .product-buy-box {
    order: 3;
  }

  .product-source-layout:has(h3) .product-meta-panel {
    order: 2;
    margin-top: 0;
  }

  .product-source-layout:has(h3) > div > h2 {
    order: 4;
  }

  .product-source-layout:has(h3) > div > h3,
  .product-source-layout:has(h3) > div > p,
  .product-source-layout:has(h3) > div > ul {
    order: 5;
  }

  .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;
  }

  .product-placeholder-card dl {
    grid-template-columns: 1fr;
  }

  .product-source-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body::before {
    padding: 7px 10px;
    font-size: 0.82rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 10px;
    padding: 8px 12px 10px;
  }

  .site-search-bar {
    top: 0;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 8px;
    padding: 8px 12px;
  }

  .site-search-bar input {
    min-height: 44px;
    font-size: 0.95rem;
    text-overflow: ellipsis;
  }

  .site-search-bar button {
    min-height: 40px;
    width: 64px;
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .site-search-suggestions {
    top: calc(100% - 4px);
    width: calc(100vw - 16px);
    max-height: min(430px, calc(100vh - 110px));
  }

  .site-search-suggestion {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .site-search-thumb {
    width: 58px;
    height: 54px;
  }

  .site-search-suggestion em {
    grid-column: 2;
    justify-self: start;
  }

  .site-search-label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .site-header:has(.wholesale-account-cta) {
    grid-template-columns: minmax(0, 1fr) 44px 44px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: flex-start;
    gap: 8px 14px;
    overflow-x: visible;
    overflow-y: visible;
    padding: 2px 0 6px;
    scrollbar-width: none;
    font-size: 0.88rem;
    line-height: 1.15;
  }

  .main-nav a {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: nowrap;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-dropdown-menu {
    width: min(330px, calc(100vw - 36px));
  }

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

  .site-header:has(.wholesale-account-cta) .wholesale-account-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 44px;
    padding: 7px 10px 7px 8px;
  }

  .wholesale-account-cta strong {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .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 {
    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%;
  }
}

/* Isolated homepage brand tiles. Keep this block scoped to #kategorie only. */
#kategorie.acp-home-brand-section {
  background: #fff;
}

#kategorie.acp-home-brand-section .acp-home-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

#kategorie.acp-home-brand-section .acp-home-brand-tile {
  position: relative;
  display: grid;
  min-height: clamp(220px, 26vw, 340px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  isolation: isolate;
  box-shadow: 0 16px 34px rgba(10, 25, 41, 0.14);
}

#kategorie.acp-home-brand-section .acp-home-brand-tile img {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px 18px 34px;
  transform: scale(1);
  transition: transform 0.32s ease;
}

#kategorie.acp-home-brand-section .acp-home-brand-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(244, 247, 250, 0.02) 42%, rgba(84, 96, 109, 0.66) 72%, rgba(30, 42, 54, 0.9) 100%);
  transition: background 0.32s ease;
}

#kategorie.acp-home-brand-section .acp-home-brand-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: clamp(18px, 2.5vw, 26px);
  color: #fff;
}

#kategorie.acp-home-brand-section .acp-home-brand-copy strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1.25rem, 2.1vw, 2.05rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

#kategorie.acp-home-brand-section .acp-home-brand-copy em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.28;
}

#kategorie.acp-home-brand-section .acp-home-brand-tile:hover img,
#kategorie.acp-home-brand-section .acp-home-brand-tile:focus-visible img {
  transform: scale(1.03);
}

#kategorie.acp-home-brand-section .acp-home-brand-tile:hover .acp-home-brand-overlay,
#kategorie.acp-home-brand-section .acp-home-brand-tile:focus-visible .acp-home-brand-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(244, 247, 250, 0.08) 38%, rgba(71, 84, 98, 0.72) 70%, rgba(22, 33, 45, 0.94) 100%);
}

@media (max-width: 1180px) {
  #kategorie.acp-home-brand-section .acp-home-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  #kategorie.acp-home-brand-section .acp-home-brand-grid {
    grid-template-columns: 1fr;
  }

  #kategorie.acp-home-brand-section .acp-home-brand-tile {
    min-height: 230px;
  }
}
