@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --blue: #0057d9;
  --blue-bright: #0066ff;
  --blue-soft: #eef5ff;
  --orange: #ff8a00;
  --red: #e30613;
  --green: #16a34a;
  --text: #101828;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.1);
  --shadow-soft: 0 8px 24px rgba(16, 24, 40, 0.07);
  --radius: 16px;
  --wrap: min(1280px, calc(100% - 48px));
}

body {
  background: #f3f6fb;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: #27364a;
}

.top-info-bar { min-height: 34px; }

.top-info-inner {
  justify-content: flex-end;
}

.top-info-left {
  margin-right: auto;
}

.brand-mark {
  grid-template-columns: 34px max-content;
}

.brand-mark strong {
  font-size: 21px;
  letter-spacing: -.2px;
}

.brand-mark strong span {
  display: block;
  margin-top: 2px;
  color: var(--red);
  font-size: 13px;
  line-height: 1;
}

.footer-brand strong span {
  display: inline;
  margin-top: 0;
  font-size: inherit;
}

.header-main {
  grid-template-columns: 230px minmax(430px, 1fr) auto;
  min-height: 72px;
}

.category-nav {
  min-height: 44px;
}

.category-nav a {
  font-size: 13px;
}

.home-hero {
  width: min(1120px, calc(100% - 48px));
  margin: 20px auto 0;
}

.hero-slider {
  position: relative;
  border-radius: 8px;
  overflow: visible;
}

.hero-slide {
  position: relative;
  height: 330px;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  background: #dceffd;
  box-shadow: 0 8px 22px rgba(15, 38, 71, .08);
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.44) 38%, rgba(255,255,255,0) 70%);
}

.hero-slide-copy {
  position: relative;
  z-index: 2;
  width: min(430px, 54%);
  padding: 54px 0 0 62px;
}

.hero-slide-copy span {
  display: inline-block;
  margin-bottom: 12px;
  color: #20242e;
  font-size: 17px;
  font-weight: 700;
  transform: rotate(-5deg);
}

.hero-slide-copy h1 {
  display: inline;
  padding: 7px 14px 9px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: #086fe7;
  color: #fff;
  font-size: 36px;
  line-height: 1.34;
  font-weight: 800;
  font-style: italic;
}

.hero-slide-copy p {
  width: fit-content;
  max-width: 280px;
  margin: 18px 0 20px 265px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #52b900;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
  transform: rotate(-3deg);
}

.hero-slide-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 50px;
  border-radius: 4px;
  background: #143b66;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #172033;
  box-shadow: 0 3px 14px rgba(16,24,40,.2);
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.slider-arrow.left { left: -18px; }
.slider-arrow.right { right: -18px; }

.home-hero .hero-search-card {
  width: min(1000px, calc(100% - 96px));
  margin: 12px auto 0;
  border: 1px solid #0874ff;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: none;
  padding: 0 16px 18px;
}

.home-hero .search-tabs {
  margin: 0 -16px 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #0874ff;
  gap: 0;
}

.home-hero .search-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: #f1f4f8;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.home-hero .search-tabs button.is-active {
  background: #0874ff;
  color: #fff;
}

.home-hero .finder-fields {
  grid-template-columns: 1.25fr repeat(4, minmax(100px, 1fr)) 120px;
  gap: 10px;
}

.home-hero .field span {
  font-size: 11px;
}

.home-hero .field select,
.home-hero .filter-submit {
  height: 44px;
  border-radius: 5px;
}

.home-hero .filter-submit {
  background: #6b7280;
  box-shadow: none;
  font-size: 13px;
}

.home-hero .search-help {
  margin-top: 12px;
}

.products-section {
  margin-top: 34px;
}

.products-section .section-head {
  justify-content: center;
  text-align: center;
}

.products-section .section-head h2 {
  color: #4b5563;
  font-size: 31px;
  line-height: 1.1;
  font-weight: 800;
}

.products-section .section-actions {
  position: absolute;
  right: 24px;
  margin-top: 4px;
}

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

.product-card {
  min-height: 0;
  border: 1px solid #d7dde7;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  padding: 12px 10px 10px;
}

.product-card:hover {
  transform: none;
  border-color: #bdc7d6;
  box-shadow: 0 10px 28px rgba(16,24,40,.11);
}

.product-badge {
  top: 10px;
  right: 10px;
  left: auto;
  border-radius: 0 14px 14px 0;
  background: #ff8500;
  color: #fff;
  font-size: 11px;
}

.favorite-button {
  top: 8px;
  right: 8px;
  display: none;
}

.card-season-icons {
  position: absolute;
  top: 14px;
  left: 13px;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.sun-mark,
.car-mark {
  display: block;
  width: 22px;
  height: 22px;
  background: #ffad00;
  -webkit-mask: radial-gradient(circle, #000 0 45%, transparent 47%), conic-gradient(from 0deg, #000 0 10deg, transparent 10deg 25deg, #000 25deg 35deg, transparent 35deg 50deg, #000 50deg 60deg, transparent 60deg 75deg, #000 75deg 85deg, transparent 85deg 100deg, #000 100deg 110deg, transparent 110deg 125deg, #000 125deg 135deg, transparent 135deg 150deg, #000 150deg 160deg, transparent 160deg 175deg, #000 175deg 185deg, transparent 185deg 200deg, #000 200deg 210deg, transparent 210deg 225deg, #000 225deg 235deg, transparent 235deg 250deg, #000 250deg 260deg, transparent 260deg 275deg, #000 275deg 285deg, transparent 285deg 300deg, #000 300deg 310deg, transparent 310deg 325deg, #000 325deg 335deg, transparent 335deg 360deg);
  mask: radial-gradient(circle, #000 0 45%, transparent 47%), conic-gradient(from 0deg, #000 0 10deg, transparent 10deg 25deg, #000 25deg 35deg, transparent 35deg 50deg, #000 50deg 60deg, transparent 60deg 75deg, #000 75deg 85deg, transparent 85deg 100deg, #000 100deg 110deg, transparent 110deg 125deg, #000 125deg 135deg, transparent 135deg 150deg, #000 150deg 160deg, transparent 160deg 175deg, #000 175deg 185deg, transparent 185deg 200deg, #000 200deg 210deg, transparent 210deg 225deg, #000 225deg 235deg, transparent 235deg 250deg, #000 250deg 260deg, transparent 260deg 275deg, #000 275deg 285deg, transparent 285deg 300deg, #000 300deg 310deg, transparent 310deg 325deg, #000 325deg 335deg, transparent 335deg 360deg);
}

.car-mark {
  width: 26px;
  height: 15px;
  background: #6f7785;
  -webkit-mask: url("assets/icon-car.svg") center/contain no-repeat;
  mask: url("assets/icon-car.svg") center/contain no-repeat;
}

.product-media {
  height: 190px;
  margin: 6px 0 8px;
  background: #fff;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-card {
  display: grid;
  place-items: center;
  height: 42px;
  margin: 2px 0 8px;
}

.brand-logo-card img {
  max-width: 140px;
  max-height: 38px;
  object-fit: contain;
}

.brand-logo-card strong {
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.tire-card-labels {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  color: #182230;
}

.tire-card-labels .tire-label {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 22px;
  gap: 3px;
  color: #172033;
}

.tire-card-labels .tire-label svg {
  width: 20px;
  height: 20px;
  color: #5a6575;
  stroke-width: 1.8;
}

.tire-card-labels .tire-label b {
  color: #1f2937;
  font-size: 13px;
  line-height: 1;
}

.product-name {
  min-height: 46px;
  margin: 8px 0 12px;
  color: #27364a;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.shipping-line {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  color: #1f2937;
  font-size: 12px;
}

.shipping-line span {
  color: #ff5b00;
  font-weight: 800;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.price {
  color: #49a500;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.2px;
}

.rating-line {
  display: grid;
  justify-items: end;
  gap: 0;
  color: #ff9f00;
  font-size: 12px;
  line-height: 1.05;
}

.rating-line strong {
  color: #101828;
  font-size: 13px;
}

.rating-line small {
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
}

.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.source-badge {
  border-radius: 3px;
  background: #f3f6fb;
  color: #667085;
  font-size: 10px;
}

.add-card-button {
  width: auto;
  min-height: 32px;
  margin: 0;
  border-radius: 4px;
  padding: 0 10px;
  background: #0b63e5;
  box-shadow: none;
  font-size: 11px;
}

.brand-carousel {
  margin-top: 34px;
  padding-top: 10px;
}

.brand-carousel .section-head h2 {
  display: none;
}

.brand-row {
  display: block;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(10, minmax(90px, 1fr));
  align-items: center;
  gap: 0;
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.brand-strip img {
  width: 100%;
  max-height: 54px;
  object-fit: contain;
  padding: 14px 18px;
  filter: saturate(.9);
  border-right: 1px solid #eef0f4;
}

@media (max-width: 1180px) {
  .header-main { grid-template-columns: 220px minmax(260px, 1fr) auto; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-strip { grid-template-columns: repeat(5, minmax(120px, 1fr)); }
}

@media (max-width: 920px) {
  .header-main { grid-template-columns: auto 1fr auto; }
  .home-hero { width: min(100% - 24px, 1120px); margin-top: 14px; }
  .hero-slide { min-height: 280px; }
  .hero-slide-copy { width: 68%; padding: 32px 0 0 28px; }
  .hero-slide-copy h1 { font-size: 27px; }
  .hero-slide-copy p { margin-left: 0; font-size: 15px; }
  .home-hero .hero-search-card { width: 100%; }
  .home-hero .finder-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero .filter-submit { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .brand-mark strong { font-size: 18px; }
  .brand-mark strong span { font-size: 11px; }
  .hero-slide { min-height: 240px; }
  .hero-slide-copy { width: 82%; padding: 24px 18px; }
  .hero-slide-copy span { font-size: 13px; }
  .hero-slide-copy h1 { font-size: 22px; }
  .hero-slide-copy p { display: none; }
  .hero-slide-copy a { min-width: 150px; min-height: 42px; margin-top: 16px; font-size: 12px; }
  .slider-arrow { width: 30px; height: 30px; font-size: 24px; }
  .slider-arrow.left { left: -8px; }
  .slider-arrow.right { right: -8px; }
  .home-hero .hero-search-card { padding: 0 12px 14px; }
  .home-hero .search-tabs { margin-right: -12px; margin-left: -12px; }
  .home-hero .finder-fields { grid-template-columns: 1fr; }
  .products-section .section-head { text-align: left; }
  .products-section .section-head h2 { font-size: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 430px; }
  .brand-strip { display: flex; overflow-x: auto; }
.brand-strip img { flex: 0 0 130px; }
}

.hero-slide { height: 330px; min-height: 330px; }
.hero-slide:not(.is-active) { display: none; }
.product-card { min-height: 0; }
.product-media { height: 190px; padding: 0; background: #fff; }
.product-body { gap: 0; padding: 0; }
.brand-strip { min-height: 78px; }
.brand-strip img { height: 72px; max-height: 72px; }

@media (max-width: 920px) {
  .hero-slide { height: 280px; min-height: 280px; }
}

@media (max-width: 640px) {
  .hero-slide { height: 240px; min-height: 240px; }
  .product-card { min-height: 0; }
  .brand-strip { display: flex; flex-wrap: nowrap; align-items: center; height: 78px; min-height: 78px; overflow-x: auto; overflow-y: hidden; }
  .brand-strip img { flex: 0 0 132px; width: 132px; height: 72px; max-height: 72px; }
}

/* Slider spacing and refreshed banner */
.home-hero {
  width: min(1240px, calc(100% - 40px));
}

.hero-slider {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 18px;
}

.hero-slide {
  grid-column: 2;
  grid-row: 1;
  height: 390px;
  min-height: 390px;
  border-radius: 10px;
}

.hero-slide::after {
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.74) 34%, rgba(255,255,255,.18) 60%, rgba(255,255,255,0) 100%);
}

.hero-slide img {
  object-position: center right;
}

.hero-slide-copy {
  width: min(465px, 48%);
  padding: 58px 0 0 54px;
}

.hero-slide-copy span {
  margin-bottom: 14px;
  color: #172033;
  font-size: 16px;
  font-weight: 700;
  transform: none;
}

.hero-slide-copy h1 {
  display: block;
  width: fit-content;
  max-width: 450px;
  padding: 10px 18px 12px;
  background: #086fe7;
  color: #fff;
  font-size: 35px;
  line-height: 1.2;
  font-weight: 800;
  font-style: italic;
}

.hero-slide-copy p {
  width: fit-content;
  max-width: 270px;
  margin: 20px 0 22px 250px;
  padding: 10px 17px;
  border-radius: 10px;
  background: #54b900;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.08;
  transform: rotate(-3deg);
}

.hero-slide-copy a {
  min-width: 190px;
  min-height: 48px;
  border-radius: 5px;
  background: #153e67;
}

.slider-arrow {
  position: static;
  transform: none;
  width: 40px;
  height: 40px;
  align-self: center;
  justify-self: center;
  border: 1px solid #e5eaf2;
  background: #fff;
  box-shadow: 0 5px 16px rgba(16,24,40,.14);
}

.slider-arrow.left,
.slider-arrow.right {
  left: auto;
  right: auto;
}

.slider-arrow.left { grid-column: 1; grid-row: 1; }
.slider-arrow.right { grid-column: 3; grid-row: 1; }

.home-hero .hero-search-card {
  width: min(1000px, calc(100% - 140px));
}

@media (max-width: 920px) {
  .home-hero { width: min(100% - 20px, 1240px); }
  .hero-slider { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 8px; }
  .hero-slide { height: 310px; min-height: 310px; }
  .hero-slide-copy { width: 70%; padding: 34px 0 0 28px; }
  .hero-slide-copy h1 { font-size: 27px; }
  .hero-slide-copy p { margin-left: 0; font-size: 15px; }
  .slider-arrow { width: 34px; height: 34px; font-size: 25px; }
  .home-hero .hero-search-card { width: calc(100% - 84px); }
}

@media (max-width: 640px) {
  .hero-slider { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 5px; }
  .hero-slide { height: 260px; min-height: 260px; }
  .hero-slide-copy { width: 82%; padding: 24px 16px; }
  .hero-slide-copy span { font-size: 13px; }
  .hero-slide-copy h1 { font-size: 22px; }
  .hero-slide-copy p { display: none; }
  .hero-slide-copy a { margin-top: 16px; }
  .slider-arrow { width: 30px; height: 30px; font-size: 22px; }
  .home-hero .hero-search-card { width: calc(100% - 70px); }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.overlay-open { overflow: hidden; }

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

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

button { cursor: pointer; }

a { color: inherit; }

svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-info-bar {
  min-height: 36px;
  background: var(--blue-soft);
  border-bottom: 1px solid #d9e9ff;
  color: #18406f;
  font-size: 12px;
  font-weight: 750;
}

.top-info-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--wrap);
  min-width: 0;
  min-height: 36px;
  margin: 0 auto;
  overflow: hidden;
}

.top-info-left,
.top-info-right {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.top-info-left span,
.top-info-right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
}

.top-info-left span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  box-shadow: 0 5px 20px rgba(16, 24, 40, 0.04);
  backdrop-filter: blur(14px);
}

.header-main {
  display: grid;
  grid-template-columns: 190px minmax(420px, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: var(--wrap);
  min-height: 76px;
  margin: 0 auto;
}

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

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.menu-toggle span + span { margin-top: 6px; }

.brand-mark {
  display: inline-grid;
  grid-template-columns: 38px max-content;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.brand-wheel {
  position: relative;
  width: 38px;
  height: 38px;
  border: 3px solid #14213d;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #eff4ff;
}

.brand-wheel::before,
.brand-wheel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.brand-wheel::before {
  inset: 9px;
  border: 2px solid var(--blue);
}

.brand-wheel::after {
  inset: 15px;
  background: var(--red);
}

.brand-mark strong {
  color: #14213d;
  font-size: 27px;
  font-weight: 950;
  line-height: 1;
}

.brand-mark strong span { color: var(--red); }

.header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(16, 24, 40, 0.05);
}

.header-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: var(--text);
  background: transparent;
}

.header-search button {
  height: 40px;
  margin-right: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.hidden-refresh { display: none; }

.header-tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tool-icon,
.trust-icon,
.category-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-soft);
}

.tool-icon::before,
.trust-icon::before,
.category-icon::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-color: var(--blue);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.user-icon::before { -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0 24%, transparent 25%), radial-gradient(ellipse at 50% 92%, #000 0 45%, transparent 46%); mask-image: radial-gradient(circle at 50% 30%, #000 0 24%, transparent 25%), radial-gradient(ellipse at 50% 92%, #000 0 45%, transparent 46%); }
.heart-icon::before { -webkit-mask-image: url("assets/icon-heart.svg"); mask-image: url("assets/icon-heart.svg"); }
.cart-icon::before { -webkit-mask-image: url("assets/icon-cart.svg"); mask-image: url("assets/icon-cart.svg"); }

.cart-tool strong {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
}

.category-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  width: var(--wrap);
  min-height: 44px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  color: #344054;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.category-nav a:hover { color: var(--blue); }

main {
  width: var(--wrap);
  margin: 0 auto;
}

.hero-search-section {
  position: relative;
  margin: 26px 0 0;
  padding: 48px;
  border: 1px solid #d8e8ff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 24%, rgba(0, 102, 255, 0.18), transparent 280px),
    linear-gradient(135deg, #eef6ff 0%, #ffffff 56%, #fff7ed 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 950;
  line-height: 1.06;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  border: 1px solid #cfe2ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #18406f;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 87, 217, 0.12), rgba(255, 138, 0, 0.18));
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(430px, 92%);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(16, 24, 40, 0.18));
}

.hero-search-card {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.search-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  padding: 0 16px;
  font-weight: 900;
}

.search-tabs button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.finder-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) 1.15fr;
  gap: 12px;
  align-items: end;
}

.field,
.qty-field,
.checkout-form label,
.newsletter label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field span,
.qty-field span,
.checkout-form span,
.newsletter span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.field select,
.field input,
.qty-field input,
.checkout-form input,
.checkout-form textarea,
.newsletter input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.field select,
.field input,
.qty-field input {
  height: 48px;
  padding: 0 13px;
}

.field select option {
  background: #fff;
  color: var(--text);
}

.brand-field { display: none; }

.filter-submit,
.primary-button,
.primary-link,
.add-card-button,
.cart-toast button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 87, 217, 0.24);
}

.filter-submit:hover,
.primary-button:hover,
.primary-link:hover,
.add-card-button:hover,
.cart-toast button:hover {
  background: var(--blue-bright);
}

.search-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.search-help button,
.text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
  padding: 0;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 0;
}

.trust-bar article,
.category-grid button,
.product-card,
.blog-grid article,
.step-grid article,
.brand-row span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.trust-bar article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  min-height: 118px;
  padding: 20px;
}

.trust-bar article:hover,
.category-grid button:hover,
.product-card:hover,
.campaign-card:hover,
.blog-grid article:hover,
.step-grid article:hover {
  transform: translateY(-4px);
  border-color: #bfd7ff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.13);
}

.trust-icon {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-soft);
}

.trust-icon::before {
  width: 26px;
  height: 26px;
}

.trust-icon.shipping::before { -webkit-mask-image: url("assets/icon-shipping.svg"); mask-image: url("assets/icon-shipping.svg"); }
.trust-icon.montage::before { -webkit-mask-image: url("assets/icon-service.svg"); mask-image: url("assets/icon-service.svg"); }
.trust-icon.payment::before { -webkit-mask-image: url("assets/icon-card.svg"); mask-image: url("assets/icon-card.svg"); background-color: var(--orange); }
.trust-icon.support::before { -webkit-mask-image: url("assets/icon-support.svg"); mask-image: url("assets/icon-support.svg"); }

.trust-bar strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 950;
}

.trust-bar p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-block {
  margin-top: 54px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 22px;
}

.section-head.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-head h2,
.montage-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 950;
  line-height: 1.12;
}

.section-head p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  padding: 0 16px;
  font-weight: 950;
  text-decoration: none;
}

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

.category-grid button {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 132px;
  border-radius: 16px;
  padding: 18px 10px;
  color: var(--text);
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.category-icon::before {
  width: 30px;
  height: 30px;
}

.tire-summer::before,
.tire-winter::before,
.tire-all::before,
.suv::before,
.van::before { -webkit-mask-image: url("assets/icon-tire.svg"); mask-image: url("assets/icon-tire.svg"); }
.rim::before { -webkit-mask-image: url("assets/icon-rim.svg"); mask-image: url("assets/icon-rim.svg"); }
.battery::before { -webkit-mask-image: url("assets/icon-battery.svg"); mask-image: url("assets/icon-battery.svg"); background-color: var(--orange); }
.oil::before { -webkit-mask-image: url("assets/icon-oil.svg"); mask-image: url("assets/icon-oil.svg"); background-color: var(--orange); }

.category-grid strong {
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.campaign-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  grid-template-rows: repeat(2, minmax(180px, auto));
  gap: 18px;
  margin-top: 54px;
}

.campaign-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-soft);
}

.campaign-main {
  grid-row: 1 / 3;
  min-height: 376px;
  background:
    linear-gradient(115deg, rgba(0, 87, 217, 0.98), rgba(0, 102, 255, 0.8) 48%, rgba(255, 138, 0, 0.72)),
    url("assets/hero-car.png") center right / cover no-repeat;
}

.campaign-main::after,
.campaign-small::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.campaign-card div,
.campaign-card h3,
.campaign-card p,
.campaign-card span,
.campaign-card a {
  position: relative;
  z-index: 1;
}

.campaign-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.campaign-card h2,
.campaign-card h3 {
  margin: 16px 0 8px;
  font-weight: 950;
  line-height: 1.12;
}

.campaign-card h2 { max-width: 470px; font-size: clamp(30px, 4vw, 46px); }
.campaign-card h3 { font-size: 25px; }

.campaign-card p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.campaign-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  padding: 0 16px;
  font-weight: 950;
  text-decoration: none;
}

.campaign-small.orange { background: linear-gradient(135deg, #ff8a00, #ffb545); }
.campaign-small.blue { background: linear-gradient(135deg, #0057d9, #46a2ff); }

.section-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.summary-row {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--muted);
}

.summary-row strong {
  color: var(--blue);
  font-size: 22px;
  font-weight: 950;
}

.status {
  margin: 18px 0;
  border: 1px solid #cfe2ff;
  border-radius: 14px;
  background: var(--blue-soft);
  color: #18406f;
  padding: 14px 16px;
  font-weight: 800;
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  border-radius: 999px;
  background: #fff4e5;
  color: #b85b00;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 950;
}

.favorite-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--faint);
}

.favorite-button::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("assets/icon-heart.svg") center / contain no-repeat;
  mask: url("assets/icon-heart.svg") center / contain no-repeat;
}

.favorite-button.is-active {
  border-color: #ffd0d5;
  background: #fff1f3;
  color: var(--red);
}

.product-media {
  display: grid;
  place-items: center;
  height: 220px;
  padding: 28px 20px 16px;
  background:
    radial-gradient(circle at 50% 66%, rgba(0, 87, 217, 0.08), transparent 45%),
    linear-gradient(180deg, #f9fbff, #fff);
}

.product-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.18s ease;
  filter: drop-shadow(0 18px 24px rgba(16, 24, 40, 0.14));
}

.product-card:hover .product-media img { transform: scale(1.035); }

.product-media.no-image::before {
  content: "Lastik görseli";
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef5ff, #fff4e5);
  color: var(--muted);
  font-weight: 950;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 0 18px 18px;
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.brand {
  color: #344054;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.source-badge {
  display: inline-flex;
  max-width: 116px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #18406f;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-name {
  min-height: 42px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 850;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f59e0b;
  font-size: 13px;
  font-weight: 950;
}

.rating-line span:last-child {
  color: var(--muted);
  font-size: 12px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: auto;
}

.price {
  color: var(--red);
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.installment {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.code {
  max-width: 108px;
  color: var(--faint);
  font-size: 11px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.add-card-button {
  width: 100%;
  margin-top: 2px;
  box-shadow: none;
}

.add-card-button svg { display: none; }

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
}

.pager button {
  min-width: 96px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-weight: 900;
}

.pager button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pager span {
  color: var(--muted);
  font-weight: 850;
}

.brand-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
}

.brand-row > button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 26px;
  font-weight: 900;
}

.brand-row div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.brand-row span {
  display: grid;
  place-items: center;
  min-height: 78px;
  color: #344054;
  font-size: 16px;
  font-style: italic;
  font-weight: 950;
}

.montage-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 32px;
  align-items: center;
  margin-top: 60px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 20%, rgba(0, 87, 217, 0.14), transparent 280px),
    linear-gradient(135deg, #eef5ff, #ffffff);
  padding: 46px;
  box-shadow: var(--shadow-soft);
}

.montage-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.montage-copy ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.montage-copy li {
  position: relative;
  padding-left: 28px;
  color: #344054;
  font-weight: 800;
}

.montage-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 5px #cfe2ff;
}

.montage-map {
  position: relative;
  min-height: 330px;
  border: 1px solid #d8e8ff;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(239,246,255,0.75)),
    url("assets/map-montage.png") center / cover no-repeat;
  overflow: hidden;
}

.montage-map::before {
  content: "Türkiye montaj ağı";
  position: absolute;
  inset: 34px;
  display: grid;
  place-items: center;
  border: 2px dashed #b7d4ff;
  border-radius: 22px;
  color: #b1c2d8;
  font-size: 28px;
  font-weight: 950;
}

.map-card {
  position: absolute;
  top: 34px;
  left: 28px;
  z-index: 2;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 13px 15px;
  box-shadow: var(--shadow-soft);
}

.map-card.second {
  right: 30px;
  bottom: 34px;
  top: auto;
  left: auto;
}

.map-card strong { color: var(--text); }
.map-card span { color: var(--muted); font-size: 12px; font-weight: 800; }

.map-pin {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(227, 6, 19, 0.12);
}

.map-pin.one { left: 46%; top: 38%; }
.map-pin.two { left: 60%; top: 55%; }
.map-pin.three { left: 36%; top: 62%; }

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

.step-grid article {
  padding: 28px;
}

.step-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 19px;
  font-weight: 950;
}

.step-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--text);
  font-size: 19px;
  font-weight: 950;
}

.step-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.blog-grid article {
  overflow: hidden;
}

.blog-media {
  min-height: 170px;
  background:
    linear-gradient(135deg, rgba(0, 87, 217, 0.85), rgba(255, 138, 0, 0.72)),
    #eef5ff;
}

.blog-media::before {
  display: grid;
  place-items: center;
  height: 170px;
  color: rgba(255,255,255,0.92);
  font-weight: 950;
}

.size-guide { background-image: linear-gradient(135deg, rgba(0,87,217,.86), rgba(0,102,255,.42)), url("assets/blog-size-guide.jpg"); background-size: cover; }
.season-guide { background-image: linear-gradient(135deg, rgba(0,87,217,.74), rgba(255,138,0,.58)), url("assets/blog-season.jpg"); background-size: cover; }
.pressure-guide { background-image: linear-gradient(135deg, rgba(0,87,217,.74), rgba(227,6,19,.5)), url("assets/blog-pressure.jpg"); background-size: cover; }

.size-guide::before { content: "Ebat Rehberi"; }
.season-guide::before { content: "Mevsim Rehberi"; }
.pressure-guide::before { content: "Basınç Rehberi"; }

.blog-grid h3 {
  margin: 18px 18px 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.blog-grid p {
  margin: 0 18px 20px;
  color: var(--muted);
}

.site-footer {
  margin-top: 64px;
  background: #101828;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 0.75fr) 1.1fr;
  gap: 34px;
  width: var(--wrap);
  margin: 0 auto;
  padding: 48px 0 34px;
}

.footer-brand strong { color: #fff; }
.footer-brand .brand-wheel { border-color: #fff; box-shadow: inset 0 0 0 5px rgba(255,255,255,.12); }

.footer-grid p {
  margin: 16px 0 0;
  color: #b8c0cc;
  line-height: 1.75;
}

.footer-grid nav,
.newsletter {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid nav strong,
.newsletter strong {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-grid nav a {
  color: #b8c0cc;
  font-size: 13px;
  text-decoration: none;
}

.footer-grid nav a:hover { color: #fff; }

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.social-row span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.newsletter {
  position: relative;
}

.newsletter label { color: #b8c0cc; }

.newsletter input {
  height: 44px;
  padding: 0 50px 0 12px;
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.newsletter button {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: var(--wrap);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #b8c0cc;
  padding: 18px 0 24px;
  font-size: 12px;
}

.mobile-bottom-bar { display: none; }

.modal,
.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(16, 24, 40, 0.5);
  backdrop-filter: blur(8px);
}

.modal-panel,
.cart-drawer {
  position: relative;
  z-index: 1;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-panel {
  width: min(1160px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  border-radius: 20px;
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.modal-loading {
  padding: 48px 20px;
  color: var(--muted);
  text-align: center;
}

.detail-breadcrumb {
  padding: 24px 30px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  padding: 24px 30px 30px;
}

.detail-media { display: grid; gap: 14px; justify-items: center; }

.detail-image-stage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
  padding: 18px;
}

.detail-image-stage img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(16,24,40,.12));
}

.thumb-row { display: flex; justify-content: center; gap: 10px; }
.thumb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.thumb.is-active { border-color: var(--blue); }
.thumb img { max-width: 54px; max-height: 54px; object-fit: contain; }

.detail-main h2 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  font-weight: 950;
  line-height: 1.2;
}

.detail-category {
  margin: 16px 0 12px;
  color: #344054;
  font-weight: 900;
}

.detail-source-badge {
  width: fit-content;
  max-width: none;
  margin: 0 0 10px;
}

.brand-logo {
  display: block;
  max-width: 128px;
  max-height: 34px;
  object-fit: contain;
  margin-bottom: 10px;
}

.icon-label-row,
.label-board {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.tire-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
  color: #344054;
  padding: 6px 9px;
}

.tire-label svg { width: 22px; height: 22px; }
.tire-label b { color: var(--text); font-size: 15px; font-weight: 950; }

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

.spec-list div {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
  min-height: 25px;
}

.spec-list dt { color: var(--blue); font-weight: 950; }
.spec-list dd { margin: 0; color: #344054; font-weight: 700; }

.purchase-panel {
  border-left: 1px solid var(--line);
  padding: 18px 0 0 28px;
}

.purchase-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
}

.dot-choice {
  display: inline-grid;
  min-width: 106px;
  gap: 2px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  padding: 10px 13px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.price-line {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  margin: 22px 0 16px;
}

.price-line span {
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  padding: 3px 6px;
  font-weight: 950;
}

.price-line del { color: var(--faint); font-weight: 800; }
.price-line strong { color: var(--green); font-size: 28px; font-weight: 950; white-space: nowrap; }

.detail-actions {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.stock-shipping {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 850;
}

.stock-shipping strong { color: var(--text); }

.detail-section {
  padding: 22px 30px 30px;
  border-top: 1px solid var(--line);
}

.detail-section h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 20px;
  font-weight: 950;
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  font-size: 14px;
}

.feature-table tr:nth-child(odd) { background: #f8fbff; }
.feature-table tr:nth-child(even) { background: #fff; }
.feature-table th,
.feature-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.feature-table th { width: 44%; color: #344054; font-weight: 950; }
.feature-table td { color: var(--text); }

.cart-drawer {
  width: min(450px, 100%);
  height: 100%;
  margin-left: auto;
  padding: 0 20px 20px;
}

.cart-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 -20px;
  padding: 22px 58px 18px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.cart-header h2,
.account-panel h2,
.payment-panel h2 { margin: 0; color: var(--text); }

.cart-items {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}

.cart-item img {
  width: 76px;
  height: 76px;
  border-radius: 10px;
  background: #f8fbff;
  object-fit: contain;
}

.cart-item strong { display: block; color: var(--text); font-size: 14px; line-height: 1.3; }
.cart-item em { display: block; margin-top: 3px; color: var(--blue); font-size: 11px; font-style: normal; font-weight: 900; }
.cart-item span,
.muted { color: var(--muted); font-size: 12px; }

.qty-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-controls button {
  min-width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  padding: 15px 0;
}

.cart-total strong { color: var(--red); font-size: 24px; }

.checkout-form {
  display: grid;
  gap: 11px;
}

.checkout-form input,
.checkout-form textarea {
  padding: 12px;
}

.checkout-form textarea { resize: vertical; }

.checkout-form label.is-hidden {
  display: none;
}

.checkout-member-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--blue);
  border-radius: 14px;
  background: #eff6ff;
  padding: 14px;
}

.checkout-member-summary strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.checkout-member-summary span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.checkout-member-summary dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.checkout-member-summary dl div {
  display: grid;
  gap: 2px;
}

.checkout-member-summary dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-member-summary dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.checkout-member-summary button {
  justify-self: start;
  min-height: 34px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  padding: 0 12px;
  font-weight: 900;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.empty-cart {
  margin: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  padding: 22px;
  text-align: center;
}

.payment-panel { width: min(860px, calc(100% - 28px)); padding: 24px; }
.payment-frame iframe { width: 100%; min-height: 680px; }

.account-panel { width: min(760px, calc(100% - 28px)); padding: 24px; }
.account-panel h2 { margin-bottom: 16px; }
.account-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.account-forms h3 { margin: 0; color: var(--text); font-size: 18px; }
.profile-form {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}
.profile-form h3 { margin: 0; color: var(--text); font-size: 18px; }

.account-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  border: 1px solid #bbf7d0;
  border-left: 4px solid var(--green);
  border-radius: 14px;
  background: #f0fdf4;
  padding: 12px;
}

.account-summary strong { color: var(--text); }
.account-summary span { color: var(--muted); line-height: 1.35; }
.logout-button { margin-top: 14px; }

.toast-host {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.cart-toast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(420px, calc(100vw - 32px));
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 14px;
  pointer-events: auto;
  animation: toast-in 0.18s ease-out;
}

.cart-toast strong,
.cart-toast span { display: block; }
.cart-toast strong { color: var(--green); font-size: 15px; }
.cart-toast span { margin-top: 2px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.cart-toast button { min-height: 36px; padding: 0 12px; font-size: 13px; box-shadow: none; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.result-box {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.result-box h1 { margin: 0; color: var(--text); }
.result-box p { color: var(--muted); }

@media (max-width: 1180px) {
  :root { --wrap: min(100% - 32px, 1280px); }
  .header-main { grid-template-columns: 180px minmax(280px, 1fr) auto; gap: 12px; }
  .header-tool { padding: 0 10px; }
  .header-tool > span:not(.tool-icon) { display: none; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .finder-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 920px) {
  .top-info-inner { justify-content: center; }
  .top-info-right { display: none; }
  .header-main { grid-template-columns: auto 1fr auto; padding: 12px 0; }
  .menu-toggle { display: block; }
  .header-search { grid-column: 1 / -1; order: 3; }
  .category-nav {
    display: none;
    position: absolute;
    right: 16px;
    left: 16px;
    top: calc(100% + 8px);
    z-index: 30;
    width: auto;
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 12px;
  }
  .category-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-nav a { min-height: 40px; }
  .hero-search-section { padding: 30px; }
  .hero-content,
  .montage-section { grid-template-columns: 1fr; }
  .hero-visual { min-height: 220px; }
  .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .campaign-main { grid-row: auto; min-height: 320px; }
  .brand-row div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .purchase-panel { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
}

@media (max-width: 640px) {
  :root { --wrap: min(100% - 24px, 1280px); }
  body { padding-bottom: 64px; }
  .top-info-left { width: 100%; min-width: 0; gap: 10px; overflow-x: auto; }
  .top-info-left span { flex: 0 0 auto; }
  .header-main { min-height: 68px; }
  .brand-mark strong { font-size: 23px; }
  .brand-wheel { width: 34px; height: 34px; }
  .header-tools { gap: 6px; }
  .header-tool { width: 40px; padding: 0; justify-content: center; }
  .hero-search-section { margin-top: 16px; padding: 22px; border-radius: 20px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-search-card { margin-inline: -8px; padding: 16px; }
  .search-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .finder-fields,
  .trust-bar,
  .category-grid,
  .product-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .campaign-card { padding: 24px; }
  .section-head { display: grid; align-items: start; }
  .section-actions { justify-content: space-between; }
  .summary-row { display: none; }
  .montage-section { padding: 24px; border-radius: 20px; }
  .montage-map { min-height: 260px; }
  .footer-bottom { flex-direction: column; }
  .modal-panel { width: calc(100% - 12px); max-height: calc(100vh - 12px); margin: 6px auto; }
  .detail-breadcrumb,
  .detail-layout,
  .detail-section { padding-right: 16px; padding-left: 16px; }
  .detail-image-stage { height: 280px; }
  .detail-actions { grid-template-columns: 1fr; }
  .feature-table th,
  .feature-table td { display: block; width: 100%; }
  .cart-drawer { width: 100%; }
  .toast-host { right: 12px; bottom: 76px; left: 12px; }
  .cart-toast { width: 100%; }
  .mobile-bottom-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -8px 24px rgba(16,24,40,.08);
  }
  .mobile-bottom-bar a,
  .mobile-bottom-bar button {
    display: grid;
    place-items: center;
    min-height: 56px;
    border: 0;
    background: #fff;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
  }
}

/* Latest homepage overrides */
body {
  background: #f3f6fb;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: #27364a;
}

.top-info-left span:first-child::before { background: var(--blue); }

.brand-mark { grid-template-columns: 34px max-content; }
.brand-mark strong { font-size: 21px; letter-spacing: -.2px; }
.brand-mark strong span { display: block; margin-top: 2px; color: var(--red); font-size: 13px; line-height: 1; }
.footer-brand strong span { display: inline; margin-top: 0; font-size: inherit; }
.header-main { grid-template-columns: 230px minmax(430px, 1fr) auto; min-height: 72px; }
.category-nav { min-height: 44px; }
.category-nav a { font-size: 13px; }

.home-hero {
  width: min(1120px, calc(100% - 48px));
  margin: 20px auto 0;
}

.hero-slider {
  position: relative;
  border-radius: 8px;
  overflow: visible;
}

.hero-slide {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  background: #dceffd;
  box-shadow: 0 8px 22px rgba(15, 38, 71, .08);
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.44) 38%, rgba(255,255,255,0) 70%);
}

.hero-slide-copy {
  position: relative;
  z-index: 2;
  width: min(430px, 54%);
  padding: 54px 0 0 62px;
}

.hero-slide-copy span {
  display: inline-block;
  margin-bottom: 12px;
  color: #20242e;
  font-size: 17px;
  font-weight: 700;
  transform: rotate(-5deg);
}

.hero-slide-copy h1 {
  display: inline;
  padding: 7px 14px 9px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: #086fe7;
  color: #fff;
  font-size: 36px;
  line-height: 1.34;
  font-weight: 800;
  font-style: italic;
}

.hero-slide-copy p {
  width: fit-content;
  max-width: 280px;
  margin: 18px 0 20px 265px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #52b900;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
  transform: rotate(-3deg);
}

.hero-slide-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 50px;
  border-radius: 4px;
  background: #143b66;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #172033;
  box-shadow: 0 3px 14px rgba(16,24,40,.2);
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.slider-arrow.left { left: -18px; }
.slider-arrow.right { right: -18px; }

.home-hero .hero-search-card {
  width: min(1000px, calc(100% - 96px));
  margin: 12px auto 0;
  border: 1px solid #0874ff;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: none;
  padding: 0 16px 18px;
}

.home-hero .search-tabs {
  margin: 0 -16px 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #0874ff;
  gap: 0;
}

.home-hero .search-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: #f1f4f8;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.home-hero .search-tabs button.is-active { background: #0874ff; color: #fff; }
.home-hero .finder-fields { grid-template-columns: 1.25fr repeat(4, minmax(100px, 1fr)) 120px; gap: 10px; }
.home-hero .field span { font-size: 11px; }
.home-hero .field select,
.home-hero .filter-submit { height: 44px; border-radius: 5px; }
.home-hero .filter-submit { background: #6b7280; box-shadow: none; font-size: 13px; }
.home-hero .search-help { margin-top: 12px; }

.products-section { margin-top: 34px; }
.products-section .section-head { position: relative; justify-content: center; text-align: center; }
.products-section .section-head h2 { color: #4b5563; font-size: 31px; line-height: 1.1; font-weight: 800; }
.products-section .section-actions { position: absolute; right: 24px; margin-top: 4px; }

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

.product-card {
  min-height: 448px;
  border: 1px solid #d7dde7;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  padding: 12px 10px 10px;
}

.product-card:hover {
  transform: none;
  border-color: #bdc7d6;
  box-shadow: 0 10px 28px rgba(16,24,40,.11);
}

.product-badge {
  top: 10px;
  right: 10px;
  left: auto;
  border-radius: 0 14px 14px 0;
  background: #ff8500;
  color: #fff;
  font-size: 11px;
}

.favorite-button { display: none; }

.card-season-icons {
  position: absolute;
  top: 14px;
  left: 13px;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.sun-mark,
.car-mark { display: block; width: 22px; height: 22px; background: #ffad00; border-radius: 50%; }
.car-mark { width: 26px; height: 15px; border-radius: 0; background: #6f7785; -webkit-mask: url("assets/icon-car.svg") center/contain no-repeat; mask: url("assets/icon-car.svg") center/contain no-repeat; }

.product-media { height: 190px; margin: 6px 0 8px; padding: 0; background: #fff; }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 0; }
.brand-logo-card { display: grid; place-items: center; height: 42px; margin: 2px 0 8px; }
.brand-logo-card img { max-width: 140px; max-height: 38px; object-fit: contain; }
.brand-logo-card strong { color: #0f172a; font-size: 20px; font-weight: 800; text-transform: uppercase; }
.tire-card-labels { display: flex; align-items: center; gap: 7px; min-height: 28px; color: #182230; }
.tire-card-labels .tire-label { border: 0; background: transparent; padding: 0; min-height: 22px; gap: 3px; color: #172033; }
.tire-card-labels .tire-label svg { width: 20px; height: 20px; color: #5a6575; stroke-width: 1.8; }
.tire-card-labels .tire-label b { color: #1f2937; font-size: 13px; line-height: 1; }
.product-name { min-height: 46px; margin: 8px 0 12px; color: #27364a; font-size: 13px; line-height: 1.45; font-weight: 600; }
.shipping-line { display: flex; justify-content: space-between; gap: 6px; margin-top: auto; color: #1f2937; font-size: 12px; }
.shipping-line span { color: #ff5b00; font-weight: 800; white-space: nowrap; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: 10px; }
.price { color: #49a500; font-size: 22px; font-weight: 800; letter-spacing: -.2px; }
.rating-line { display: grid; justify-items: end; gap: 0; color: #ff9f00; font-size: 12px; line-height: 1.05; }
.rating-line strong { color: #101828; font-size: 13px; }
.rating-line small { color: #1d4ed8; font-size: 10px; font-weight: 700; text-decoration: underline; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.source-badge { border-radius: 3px; background: #f3f6fb; color: #667085; font-size: 10px; }
.add-card-button { width: auto; min-height: 32px; margin: 0; border-radius: 4px; padding: 0 10px; background: #0b63e5; box-shadow: none; font-size: 11px; }

.brand-carousel { margin-top: 34px; padding-top: 10px; }
.brand-carousel .section-head h2 { display: none; }
.brand-row { display: block; }
.brand-strip { display: grid; grid-template-columns: repeat(10, minmax(90px, 1fr)); align-items: center; gap: 0; overflow: hidden; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; background: #fff; }
.brand-strip img { width: 100%; max-height: 54px; object-fit: contain; padding: 14px 18px; filter: saturate(.9); border-right: 1px solid #eef0f4; }

@media (max-width: 1180px) {
  .header-main { grid-template-columns: 220px minmax(260px, 1fr) auto; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-strip { grid-template-columns: repeat(5, minmax(120px, 1fr)); }
}

@media (max-width: 920px) {
  .header-main { grid-template-columns: auto 1fr auto; }
  .home-hero { width: min(100% - 24px, 1120px); margin-top: 14px; }
  .hero-slide { height: 280px; min-height: 280px; }
  .hero-slide-copy { width: 68%; padding: 32px 0 0 28px; }
  .hero-slide-copy h1 { font-size: 27px; }
  .hero-slide-copy p { margin-left: 0; font-size: 15px; }
  .home-hero .hero-search-card { width: 100%; }
  .home-hero .finder-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero .filter-submit { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .brand-mark strong { font-size: 18px; }
  .brand-mark strong span { font-size: 11px; }
  .hero-slide { height: 240px; min-height: 240px; }
  .hero-slide-copy { width: 82%; padding: 24px 18px; }
  .hero-slide-copy span { font-size: 13px; }
  .hero-slide-copy h1 { font-size: 22px; }
  .hero-slide-copy p { display: none; }
  .hero-slide-copy a { min-width: 150px; min-height: 42px; margin-top: 16px; font-size: 12px; }
  .slider-arrow { width: 30px; height: 30px; font-size: 24px; }
  .slider-arrow.left { left: -8px; }
  .slider-arrow.right { right: -8px; }
  .home-hero .hero-search-card { padding: 0 12px 14px; }
  .home-hero .search-tabs { margin-right: -12px; margin-left: -12px; }
  .home-hero .finder-fields { grid-template-columns: 1fr; }
  .products-section .section-head { text-align: left; }
  .products-section .section-head h2 { font-size: 24px; }
  .products-section .section-actions { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 430px; }
  .brand-strip { display: flex; overflow-x: auto; }
  .brand-strip img { flex: 0 0 130px; }
}

/* Lastikcim-size hero override */
.home-hero {
  position: relative;
  left: 50%;
  width: min(1402px, calc(100vw - 56px));
  margin: 20px 0 0;
  transform: translateX(-50%);
}

.hero-slider {
  display: grid;
  grid-template-columns: 44px minmax(0, 1266px) 44px;
  gap: 24px;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-slide {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 465px;
  min-height: 465px;
  border-radius: 10px;
  background: #dceffd;
}

.hero-slide:not(.is-active) {
  display: none;
}

.hero-slide img {
  object-fit: cover;
  object-position: center right;
}

.hero-slide::after {
  background: linear-gradient(90deg, rgba(255,255,255,.52) 0%, rgba(255,255,255,.28) 34%, rgba(255,255,255,0) 68%);
}

.hero-slide-copy {
  width: 560px;
  max-width: 48%;
  padding: 75px 0 0 72px;
}

.hero-slide-copy span,
.hero-slide-copy h1 {
  display: block;
  width: max-content;
  max-width: 560px;
  border-radius: 0 5px 5px 0;
  background: #0874ec;
  color: #fff;
  font-style: italic;
  letter-spacing: 0;
  transform: rotate(-5deg);
  box-decoration-break: unset;
  -webkit-box-decoration-break: unset;
}

.hero-slide-copy span {
  margin: 0 0 10px 46px;
  padding: 7px 18px 9px;
  font-size: 30px;
  line-height: 1.06;
  font-weight: 500;
}

.hero-slide-copy h1 {
  padding: 10px 22px 14px;
  font-size: 46px;
  line-height: 1.04;
  font-weight: 700;
}

.hero-slide-copy p {
  width: 188px;
  max-width: 188px;
  margin: 34px 0 18px 300px;
  padding: 10px 16px 12px;
  border-radius: 7px;
  background: #70c716;
  color: #fff;
  font-size: 19px;
  line-height: 1.08;
  font-weight: 800;
  text-align: center;
  transform: rotate(-4deg);
}

.hero-slide-copy a {
  min-width: 255px;
  min-height: 58px;
  margin-top: 2px;
  border-radius: 5px;
  background: #153f68;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.slider-arrow {
  position: static;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #172033;
  box-shadow: 0 3px 14px rgba(16,24,40,.20);
  font-size: 31px;
  line-height: 1;
  transform: none;
  cursor: pointer;
}

.slider-arrow.left {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.slider-arrow.right {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.home-hero .hero-search-card {
  width: min(1124px, calc(100% - 168px));
  margin: 20px auto 0;
}

@media (max-width: 1180px) {
  .home-hero {
    width: min(1120px, calc(100vw - 28px));
  }

  .hero-slider {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 13px;
  }

  .hero-slide {
    height: 370px;
    min-height: 370px;
  }

  .hero-slide-copy {
    max-width: 58%;
    padding: 56px 0 0 48px;
  }

  .hero-slide-copy span {
    margin-left: 34px;
    font-size: 24px;
  }

  .hero-slide-copy h1 {
    font-size: 36px;
  }

  .hero-slide-copy p {
    margin-left: 210px;
    font-size: 16px;
  }

  .home-hero .hero-search-card {
    width: calc(100% - 102px);
  }
}

@media (max-width: 920px) {
  .home-hero {
    width: min(900px, calc(100vw - 18px));
    margin-top: 14px;
  }

  .hero-slider {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .hero-slide {
    height: 310px;
    min-height: 310px;
  }

  .hero-slide-copy {
    width: 62%;
    max-width: 62%;
    padding: 45px 0 0 28px;
  }

  .hero-slide-copy span {
    margin-left: 22px;
    padding: 6px 12px 7px;
    font-size: 18px;
  }

  .hero-slide-copy h1 {
    padding: 8px 14px 10px;
    font-size: 27px;
  }

  .hero-slide-copy p {
    width: 150px;
    max-width: 150px;
    margin: 22px 0 14px 128px;
    font-size: 14px;
  }

  .hero-slide-copy a {
    min-width: 170px;
    min-height: 46px;
    font-size: 14px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 25px;
  }

  .home-hero .hero-search-card {
    width: calc(100% - 84px);
  }
}

@media (max-width: 640px) {
  .home-hero {
    width: calc(100vw - 12px);
  }

  .hero-slider {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 5px;
  }

  .hero-slide {
    height: 250px;
    min-height: 250px;
    border-radius: 8px;
  }

  .hero-slide-copy {
    width: 74%;
    max-width: 74%;
    padding: 32px 0 0 18px;
  }

  .hero-slide-copy span {
    margin-left: 12px;
    font-size: 13px;
  }

  .hero-slide-copy h1 {
    max-width: 260px;
    font-size: 21px;
  }

  .hero-slide-copy p {
    display: none;
  }

  .hero-slide-copy a {
    min-width: 145px;
    min-height: 40px;
    margin-top: 18px;
    font-size: 12px;
  }

  .slider-arrow {
    width: 28px;
    height: 28px;
    font-size: 22px;
  }

  .home-hero .hero-search-card {
    width: calc(100% - 66px);
  }
}

/* Lastikcim-style horizontal homepage slider */
.hero-slider {
  isolation: isolate;
}

.hero-viewport {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 465px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 10px;
  background: #dceffd;
  box-shadow: 0 1px 0 rgba(16,24,40,.04);
}

.hero-viewport::-webkit-scrollbar {
  display: none;
}

.hero-track {
  --slide-index: 0;
  --slide-offset: 0%;
  display: flex;
  width: 100%;
  height: 100%;
  margin-left: 0;
  transform: none;
  transition: none;
  will-change: auto;
}

.hero-track .hero-slide,
.hero-track .hero-slide:not(.is-active) {
  display: block;
}

.hero-track .hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: none;
  will-change: auto;
}

.hero-track .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hero-track .hero-slide.is-leaving {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hero-track .hero-slide .hero-slide-copy span,
.hero-track .hero-slide .hero-slide-copy h1,
.hero-track .hero-slide .hero-slide-copy p,
.hero-track .hero-slide .hero-slide-copy a {
  animation: none;
}

@media (max-width: 1180px) {
  .hero-viewport {
    height: 370px;
  }
}

@media (max-width: 920px) {
  .hero-viewport {
    height: 310px;
  }
}

@media (max-width: 640px) {
  .hero-viewport {
    height: 250px;
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track {
    transition: none;
  }
}
