:root {
  --red: #d8252e;
  --red-dark: #a9322a;
  --teal: #078c93;
  --teal-dark: #075e66;
  --ink: #111111;
  --muted: #686868;
  --line: #dddddd;
  --paper: #ffffff;
  --soft: #f4f4f4;
  --footer: #262626;
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f0f2f3;
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.main-menu {
  /* Premium navigation alignment update */
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 12px;
  display: flex;
  gap: clamp(28px, 2.2vw, 36px);
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.main-menu a {
  position: relative;
  color: #333333;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 200ms ease;
}

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

.main-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.main-menu a:hover::after,
.main-menu a:focus-visible::after {
  transform: scaleX(1);
}

.header-shell {
  max-width: 1280px;
  height: 86px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 42px auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.plain-icon,
.round-icon,
.hero-arrow {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
}

.menu-button span {
  width: 28px;
  height: 3px;
  border-radius: 4px;
  background: currentColor;
}

.brand {
  display: grid;
  gap: 0;
  min-width: 190px;
}

.brand-main {
  color: var(--red);
  font-size: 50px;
  line-height: 0.86;
  font-weight: 900;
}

.brand-main sup {
  position: relative;
  top: -0.42em;
  font-size: 17px;
}

.brand-sub {
  padding-left: 3px;
  color: #151515;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-form {
  min-width: 0;
  height: 54px;
  border: 1px solid #d2d2d2;
  border-radius: 999px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  padding: 0 18px;
  color: #777777;
}

.search-form input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 17px;
}

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

.round-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.round-icon:hover,
.round-icon:focus-visible {
  background: #f2f2f2;
}

.cart-button span,
.bottom-cart span,
[data-wishlist-count] {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.cart-button span {
  position: absolute;
  top: 2px;
  right: 1px;
}

.header-actions [data-wishlist-count] {
  position: absolute;
  top: 2px;
  right: 1px;
}

main {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--paper);
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 40px 58px;
  background: #ffffff;
}

.page-hero {
  margin-bottom: 28px;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5f5f5, #ffffff);
  border: 1px solid #e2e2e2;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 900;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.filter-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.filters-panel,
.content-card {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.filters-panel {
  position: sticky;
  top: 112px;
}

.filters-panel h2,
.filters-panel h3 {
  margin: 0 0 12px;
}

.filters-panel h3 {
  padding-top: 16px;
  font-size: 15px;
}

.filters-panel label,
.content-card label,
.contact-grid label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.filters-panel label span,
.content-card label span,
.contact-grid label span {
  font-size: 12px;
  font-weight: 900;
}

.filters-panel input,
.filters-panel select,
.content-card input,
.content-card textarea,
.contact-grid input,
.contact-grid textarea {
  width: 100%;
  border: 1px solid #d6d6d6;
  border-radius: 7px;
  background: #f9f9f9;
  padding: 10px 11px;
}

.filter-chips.stacked {
  display: grid;
  gap: 8px;
}

.filter-chips.stacked .filter-chip {
  width: 100%;
  justify-content: start;
}

.listing-panel {
  min-width: 0;
}

.empty-state {
  border: 1px dashed #cfcfcf;
  border-radius: 8px;
  padding: 22px;
  color: var(--muted);
}

.breadcrumb {
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--red);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.product-gallery,
.product-info {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-gallery {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-gallery img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.product-info {
  padding: 26px;
}

.product-info h1 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.14;
}

.detail-price {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 30px;
  font-weight: 900;
}

.product-info p {
  color: var(--muted);
  line-height: 1.6;
}

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

.spec-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

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

.spec-list dd {
  margin: 0;
  font-weight: 900;
}

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

.secondary-button,
.inline-button {
  min-height: 42px;
  border: 1px solid #d6d6d6;
  border-radius: 7px;
  background: #f5f5f5;
  color: #333333;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  cursor: pointer;
}

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

.directory-card {
  min-height: 120px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.directory-card strong {
  font-size: 20px;
}

.directory-card span {
  color: var(--muted);
  font-weight: 800;
}

.brand-logo-card {
  min-height: 148px;
  align-content: center;
  text-align: center;
}

.brand-logo-wrap {
  min-height: 74px;
  display: grid;
  place-items: center;
}

.brand-logo {
  width: 172px;
  max-width: 88%;
  height: 68px;
  object-fit: contain;
  display: block;
}

.directory-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.content-page {
  max-width: 860px;
  color: #333333;
  line-height: 1.7;
}

.content-page h2 {
  margin-top: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.map-box {
  min-height: 180px;
  border-radius: 8px;
  background: #f0f0f0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 8px;
  background: #333333;
  color: #ffffff;
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 365px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 135, 143, 0.95) 0%, rgba(6, 135, 143, 0.82) 42%, rgba(6, 135, 143, 0.34) 100%),
    linear-gradient(135deg, #0b9599, #17666b);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.05), transparent 48%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 58px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 56px 36px 52px 130px;
  color: #ffffff;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 50px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy > p {
  margin: 0 0 28px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.feature-strip span {
  min-height: 64px;
  max-width: 200px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #22d8de;
  color: #07262a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.feature-strip b {
  width: 32px;
  height: 32px;
  display: block;
  position: relative;
}

.gear::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 6px solid #06282b;
  border-radius: 50%;
}

.gear::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 8px;
  left: 1px;
  top: 12px;
  background: #06282b;
  box-shadow: 0 -10px 0 -2px #06282b, 0 10px 0 -2px #06282b;
}

.battery-symbol::before {
  content: "";
  position: absolute;
  inset: 8px 4px 7px;
  border: 4px solid #06282b;
  border-radius: 2px;
}

.battery-symbol::after {
  content: "";
  position: absolute;
  right: 0;
  top: 14px;
  width: 5px;
  height: 10px;
  background: #06282b;
}

.timer::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 5px solid #06282b;
  border-radius: 50%;
}

.timer::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 3px;
  width: 5px;
  height: 22px;
  background: #06282b;
  transform: rotate(42deg);
  transform-origin: bottom;
}

.hero-device {
  position: relative;
  z-index: 1;
  margin: 0;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 24px 74px 24px 0;
}

.hero-device img {
  width: min(520px, 100%);
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  object-position: 62% 50%;
  border-radius: 6px;
  mix-blend-mode: multiply;
  filter: saturate(1.12) contrast(1.06);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 50px;
  height: 64px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.hero-arrow.left {
  left: 24px;
  border-radius: 0 30px 30px 0;
}

.hero-arrow.right {
  right: 24px;
  border-radius: 30px 0 0 30px;
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
  padding: 34px 40px 50px;
}

.store-main,
.category-section,
.products-section,
.quote-panel {
  min-width: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

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

.category-card,
.product-card,
.quote-panel {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.category-card {
  min-height: 190px;
  padding: 14px 12px 16px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-2px);
}

.category-card strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.category-photo {
  width: 100%;
  height: 120px;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.catalog-art,
.product-art {
  display: block;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.catalog-art {
  height: 120px;
  border-radius: 6px;
}

.catalog-art::before,
.catalog-art::after,
.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
}

.diagnostic::before,
.proscan::before {
  inset: 24px 29px 20px;
  border-radius: 9px;
  background: linear-gradient(145deg, #192025, #42494d);
  box-shadow: inset 0 0 0 8px #252d32, 0 7px 0 #0d1114;
}

.diagnostic::after,
.proscan::after {
  inset: 39px 48px 39px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.7) 0 2px, transparent 2px 100%),
    linear-gradient(135deg, #37dde2, #f5f5f5 54%, #2c78bc);
}

.battery-kit::before,
.analyzer::before {
  width: 90px;
  height: 74px;
  left: 48%;
  top: 22px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1f2529, #343d44);
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 9px #47535b;
}

.battery-kit::after,
.analyzer::after {
  width: 88px;
  height: 42px;
  left: 50%;
  top: 70px;
  border-radius: 0 0 24px 24px;
  border-left: 7px solid #bd2b2d;
  border-right: 7px solid #222;
  border-bottom: 7px solid #bd2b2d;
  transform: translateX(-50%);
}

.keys::before {
  width: 72px;
  height: 34px;
  top: 30px;
  left: 35px;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(145deg, #1f2529, #4d565b);
  box-shadow: 48px 22px 0 -8px #d8d8d8, 70px 18px 0 -12px #111;
}

.keys::after {
  width: 82px;
  height: 9px;
  top: 76px;
  left: 45px;
  background: #cfcfcf;
  transform: rotate(-30deg);
}

.service-kit::before {
  width: 108px;
  height: 78px;
  top: 20px;
  left: calc(50% - 54px);
  border-radius: 8px;
  background: linear-gradient(145deg, #202428, #3a4248);
  box-shadow: inset 0 0 0 9px #b6292d;
}

.service-kit::after {
  width: 118px;
  height: 8px;
  top: 62px;
  left: calc(50% - 59px);
  background: #d9d9d9;
  box-shadow: 0 20px 0 #b6292d, 24px -21px 0 #eeeeee, -28px 30px 0 #eeeeee;
  transform: rotate(-8deg);
}

.tpms-kit::before {
  width: 84px;
  height: 78px;
  left: 36px;
  top: 25px;
  border-radius: 10px;
  background: linear-gradient(145deg, #193238, #2d6971);
  box-shadow: inset 0 0 0 8px #2f3d42;
}

.tpms-kit::after {
  width: 64px;
  height: 64px;
  left: 106px;
  top: 31px;
  border: 9px solid #2e3438;
  border-radius: 50%;
  box-shadow: -18px 44px 0 -22px var(--red);
}

.ac-kit::before {
  width: 82px;
  height: 82px;
  top: 22px;
  left: 37px;
  border: 8px solid #c83832;
  border-radius: 50%;
  box-shadow: 72px 0 0 -6px #2d9aa2;
}

.ac-kit::after {
  width: 145px;
  height: 9px;
  top: 74px;
  left: 24px;
  background: #ebb03f;
  border-radius: 10px;
  transform: rotate(-22deg);
  box-shadow: 0 24px 0 #2d9aa2;
}

.accessory-kit::before,
.keyprog::before {
  width: 118px;
  height: 82px;
  top: 22px;
  left: calc(50% - 59px);
  border-radius: 7px;
  background: linear-gradient(145deg, #181d22, #39424a);
  box-shadow: inset 0 0 0 7px #4b565f;
}

.accessory-kit::after,
.keyprog::after {
  width: 92px;
  height: 32px;
  top: 82px;
  left: calc(50% - 42px);
  border-radius: 8px;
  border: 8px solid #1d252b;
  border-top: 0;
}

.software-kit::before {
  width: 116px;
  height: 72px;
  top: 23px;
  left: calc(50% - 58px);
  border-radius: 7px;
  background: linear-gradient(135deg, #111820, #e9f7fb);
  box-shadow: inset 0 0 0 7px #2d343a;
}

.software-kit::after {
  width: 46px;
  height: 46px;
  right: 22px;
  bottom: 13px;
  border-radius: 12px;
  background: linear-gradient(145deg, #19bdc8, #1972ab);
}

.products-section {
  padding-top: 36px;
}

.keys-section {
  padding-top: 34px;
}

.section-kicker {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.keys-heading {
  align-items: end;
  margin-bottom: 16px;
}

.product-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-chip {
  min-height: 34px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 13px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
}

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

.catalog-product {
  min-width: 0;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: 150px minmax(84px, auto) auto;
}

.catalog-product-image {
  position: relative;
  background: #f7f7f7;
  display: grid;
  place-items: center;
}

.catalog-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.product-brand-logo-wrap {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  width: 74px;
  height: 30px;
  padding: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
}

.catalog-product-image .product-brand-logo {
  width: 74px;
  max-width: 74px;
  height: 30px;
  padding: 0;
  object-fit: contain;
  display: block;
}

.catalog-product-image .fallback-art {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1d2328, #515b63);
  box-shadow: inset 0 0 0 10px #252d32;
}

.catalog-product-body {
  padding: 12px 12px 6px;
}

.catalog-product h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 900;
}

.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.catalog-price {
  color: var(--red);
  font-size: 17px;
  font-weight: 900;
}

.catalog-actions {
  padding: 0 12px 12px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}

.catalog-actions .add-cart {
  min-height: 34px;
}

.source-link {
  width: 34px;
  height: 34px;
  border: 1px solid #d7d7d7;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.source-link svg {
  width: 17px;
  height: 17px;
}

.load-more {
  min-height: 44px;
  margin: 20px auto 0;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #ffffff;
  padding: 0 22px;
  display: none;
  font-weight: 900;
  cursor: pointer;
}

.load-more.visible {
  display: block;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-row h2 {
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls .round-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #dddddd;
  color: #777777;
}

.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px 2px 16px;
}

.product-track::-webkit-scrollbar {
  height: 8px;
}

.product-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c6c6c6;
}

.product-card {
  position: relative;
  min-height: 292px;
  padding: 14px 14px 16px;
  display: grid;
  grid-template-rows: 128px minmax(52px, auto) auto auto;
  gap: 9px;
  scroll-snap-align: start;
}

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.product-art {
  height: 128px;
  border-radius: 6px;
}

.tpms-master::before {
  width: 74px;
  height: 96px;
  left: calc(50% - 37px);
  top: 16px;
  border-radius: 12px;
  background: linear-gradient(145deg, #153d45, #236d76);
  box-shadow: inset 0 0 0 9px #222a2f;
}

.tpms-master::after {
  width: 30px;
  height: 42px;
  left: calc(50% - 15px);
  top: 45px;
  border-radius: 5px;
  background: linear-gradient(135deg, #f4f8f9, #43d7de);
}

.product-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
}

.price {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.add-cart {
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: var(--red);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.quote-panel {
  position: sticky;
  top: 104px;
  padding: 20px 16px 18px;
}

.quote-panel h2 {
  margin: 0;
  color: var(--red-dark);
  font-size: 24px;
  text-align: center;
}

.quote-panel > p {
  margin: 2px 0 15px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.quote-panel form {
  display: grid;
  gap: 10px;
}

.quote-panel label {
  display: grid;
  gap: 5px;
}

.quote-panel label span {
  font-size: 13px;
  font-weight: 900;
}

.quote-panel input,
.quote-panel select,
.quote-panel textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 7px;
  background: #f3f3f5;
  color: var(--ink);
  padding: 9px 10px;
  font-size: 13px;
}

.quote-panel textarea {
  resize: vertical;
}

.quote-submit {
  min-height: 42px;
  margin-top: 5px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(#d94a42, #b82f28);
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(184, 47, 40, 0.24);
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.form-status.error {
  color: var(--red);
}

.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 40px 24px;
  background: var(--footer);
  color: #ffffff;
}

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

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.35;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.copyright {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  font-size: 12px;
}

.bottom-nav {
  display: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(216, 37, 46, 0.28);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  body {
    background: #ffffff;
  }

  .header-shell {
    height: 82px;
    grid-template-columns: 42px auto minmax(0, 1fr) 44px;
    gap: 12px;
    padding: 0 18px;
  }

  .main-menu {
    padding: 0 18px 10px;
    justify-content: flex-start;
  }

  .page-shell {
    padding: 26px 26px 98px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .filter-layout,
  .product-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: static;
  }

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

  .brand-main {
    font-size: 43px;
  }

  .brand-sub,
  .header-actions .round-icon:first-child {
    display: none;
  }

  .search-form {
    height: 48px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 330px;
  }

  .hero-copy {
    padding: 38px 26px 24px 40px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy > p {
    font-size: 21px;
  }

  .hero-device {
    position: absolute;
    inset: 0 0 0 auto;
    width: 48%;
    opacity: 0.34;
    padding: 18px 14px 18px 0;
    pointer-events: none;
  }

  .hero-device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .store-layout {
    grid-template-columns: 1fr;
    padding: 30px 26px 98px;
  }

  .quote-panel {
    position: static;
    order: -1;
  }

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

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

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

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
    padding-bottom: 82px;
  }

  main {
    width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    position: static;
  }

  .main-menu {
    padding: 0 18px 12px;
  }

  .header-shell {
    height: 88px;
    grid-template-columns: 36px auto minmax(0, 1fr) 42px;
    padding: 0 18px;
  }

  .menu-button {
    width: 36px;
  }

  .menu-button span {
    width: 24px;
  }

  .brand {
    min-width: 112px;
  }

  .brand-main {
    font-size: 36px;
  }

  .search-form {
    height: 44px;
    grid-template-columns: minmax(0, 1fr) 40px;
    padding: 0 0 0 13px;
  }

  .search-form svg {
    order: 2;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: var(--red);
    color: #ffffff;
  }

  .search-form input {
    font-size: 15px;
  }

  .header-actions .cart-button {
    display: none;
  }

  .hero {
    min-height: 292px;
  }

  .hero-copy {
    padding: 34px 18px 30px 42px;
  }

  .hero h1 {
    font-size: 30px;
    max-width: 310px;
  }

  .hero-device {
    width: 56%;
    opacity: 0.26;
  }

  .hero-copy > p {
    margin-bottom: 16px;
    font-size: 16px;
  }

  .feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .feature-strip span {
    min-height: 68px;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 8px 5px;
    font-size: 10px;
    text-align: center;
  }

  .feature-strip b {
    width: 24px;
    height: 24px;
  }

  .hero-arrow {
    width: 38px;
    height: 54px;
  }

  .hero-arrow.left {
    left: 0;
  }

  .hero-arrow.right {
    right: 0;
  }

  .store-layout {
    padding: 24px 14px 126px;
  }

  .page-shell {
    padding: 16px 14px 126px;
  }

  .page-hero {
    padding: 24px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .product-gallery {
    min-height: 300px;
  }

  .product-info {
    padding: 20px;
  }

  .product-info h1 {
    font-size: 26px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    display: none;
  }

  h2 {
    font-size: 22px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-product {
    grid-template-rows: 180px minmax(70px, auto) auto;
    max-width: 100%;
  }

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

  .source-link {
    display: none;
  }

  .category-card {
    min-height: 190px;
    width: 100%;
  }

  .catalog-art {
    height: 105px;
  }

  .category-photo {
    height: 138px;
  }

  .product-track {
    grid-auto-columns: minmax(220px, 82%);
  }

  .catalog-product-image img {
    max-width: 100%;
    max-height: 100%;
  }

  .product-brand-logo-wrap {
    top: 7px;
    left: 7px;
    width: 64px;
    height: 26px;
  }

  .catalog-product-image .product-brand-logo {
    width: 64px;
    max-width: 64px;
    height: 26px;
  }

  .product-card {
    min-height: 292px;
  }

  .site-footer {
    display: none;
  }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.13);
  }

  .bottom-nav a,
  .bottom-nav button {
    min-height: 70px;
    border: 0;
    background: transparent;
    color: var(--ink);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
  }

  .bottom-nav svg {
    width: 28px;
    height: 28px;
  }

  .bottom-cart span {
    position: absolute;
    transform: translate(28px, -20px);
  }
}

@media (max-width: 390px) {
  .header-shell {
    grid-template-columns: 34px minmax(94px, auto) minmax(0, 1fr) 38px;
    gap: 8px;
    padding: 0 12px;
  }

  .brand-main {
    font-size: 31px;
  }

  .main-menu {
    padding-inline: 12px;
    gap: 12px;
  }

  .store-layout,
  .page-shell {
    padding-inline: 10px;
  }

  .catalog-product {
    grid-template-rows: 165px minmax(70px, auto) auto;
  }

  .category-photo {
    height: 126px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  main,
  .store-layout,
  .store-main,
  .category-section,
  .products-section,
  .page-shell,
  .listing-panel,
  .filter-layout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .store-layout,
  .page-shell {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 128px !important;
  }

  .category-grid,
  .catalog-grid,
  .directory-grid,
  .filter-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .category-card,
  .catalog-product,
  .directory-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .category-card {
    min-height: 0 !important;
    grid-template-rows: auto auto !important;
    padding: 12px !important;
  }

  .category-photo,
  .directory-card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 150px !important;
    max-height: 150px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .catalog-product {
    grid-template-rows: 170px auto auto !important;
  }

  .catalog-product-image {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .catalog-product-image img:not(.product-brand-logo) {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .bottom-nav {
    height: 76px !important;
  }
}
