:root {
  --bg: #f8f8fa;
  --surface: #ffffff;
  --text: #1a1d23;
  --muted: #4b5563;
  --border: #e3e6eb;
  --dark: #15181e;
  --dark-2: #232831;
  --accent: #e32b2b;
  --accent-hover: #b81f1f;
  --accent-soft: #fdeceb;
  --danger: #c62828;
  --green: #1f8a4c;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--call { background: var(--accent); color: #fff; }
.btn--call:hover { background: var(--accent-hover); }
.btn--big { padding: 16px 32px; font-size: 1.1rem; }

/* Шапка */
.header {
  background: var(--dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header__row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 1.15rem;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  font-weight: 800;
  font-size: .9rem;
}
.logo__text b { color: var(--accent); }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { text-decoration: none; color: #cfd3da; font-weight: 500; }
.nav a:hover { color: #fff; }

/* Первый экран */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 40px 0 44px;
}
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 720px; }
.hero__sub { color: var(--muted); max-width: 640px; font-size: 1.05rem; margin: 0 0 24px; }

.search {
  display: flex;
  gap: 8px;
  max-width: 760px;
  background: #fff;
  padding: 6px;
  border: 2px solid var(--accent);
  border-radius: 14px;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: transparent;
}

.tiles-group { margin-top: 28px; }
.tiles-group__title {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0 0 10px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 12px;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 8px 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.tile:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(214,40,40,.12); }
.tile__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.tile__icon svg { width: 28px; height: 28px; }

/* Каталог */
.catalog { padding: 48px 16px 24px; scroll-margin-top: 64px; }
.catalog__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.catalog__head h2 { margin: 0; font-size: 1.8rem; }
.tabs { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 4px; }
.tabs button {
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 7px;
  cursor: pointer;
  color: var(--muted);
}
.tabs button.is-active { background: var(--dark); color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chips:empty { display: none; }
.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.chip.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }

.catalog__count { color: var(--muted); margin: 0 0 16px; font-size: .9rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.card__img {
  aspect-ratio: 4 / 3;
  background: #f0f3f8;
  display: grid;
  place-items: center;
  color: #b0b6c0;
}
.card__img svg { width: 56px; height: 56px; }
.card__img img, .modal__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__img { overflow: hidden; }
.card__img img { transition: transform .3s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: .8rem; color: var(--muted); }
.card__name { font-weight: 600; margin: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: #eef0f3;
  color: var(--muted);
}
.badge--stock { background: #e6f4ec; color: var(--green); }
.badge--out { background: #fdecec; color: var(--danger); }
.badge--used { background: #fff4e0; color: #9a6200; }
.card__price { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 1.05rem; }

.empty {
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 16px;
}
.empty p { margin: 0 0 8px; }
.empty .btn { margin-top: 8px; }

/* Блок «Не нашли» */
.request { padding: 24px 0; }
.request__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px;
}
.request__box p { margin: 0; color: var(--muted); }

/* О нас */
.about { padding: 32px 16px 48px; }
.about__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.about__item p { margin: 0; color: var(--muted); }

/* Подвал */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0; scroll-margin-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer h3 { font-size: 1rem; color: var(--muted); font-weight: 500; }
.footer p { margin: 0 0 4px; }
.footer__muted { color: var(--muted); font-size: .9rem; }
.footer__phone { font-size: 1.4rem; font-weight: 700; text-decoration: none; color: var(--accent); }
.footer__phone:hover { color: var(--accent-hover); }
.logo--dark { color: var(--text); }

/* Плавающая кнопка звонка (только на телефоне) */
.call-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  place-items: center;
  box-shadow: 0 6px 18px rgba(214,40,40,.4);
  z-index: 20;
}
.call-fab svg { width: 26px; height: 26px; fill: currentColor; }

/* Окно товара */
.modal {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(640px, calc(100% - 32px));
  max-height: calc(100% - 32px);
}
.modal::backdrop { background: rgba(10,12,16,.6); }
.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: rgba(255,255,255,.9);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.modal__img { aspect-ratio: 16 / 9; background: #f0f3f8; display: grid; place-items: center; color: #b0b6c0; }
.modal__img svg { width: 80px; height: 80px; }
.modal__body { padding: 20px 24px 24px; }
.modal__body h2 { font-size: 1.4rem; }
.specs { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.specs td { padding: 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.specs td:first-child { color: var(--muted); width: 40%; }
.modal__price { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.modal__body .btn { width: 100%; }

/* Телефон */
@media (max-width: 820px) {
  .nav { display: none; }
  .header__call span { display: none; }
  .header__call { margin-left: auto; padding: 10px 12px; }
  .about__grid, .footer__grid { grid-template-columns: 1fr; }
  .request__box { flex-direction: column; align-items: flex-start; }
  .call-fab { display: grid; }
}
@media (max-width: 520px) {
  .hero { padding: 32px 0 40px; }
  .hero { padding: 28px 0 32px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 12px 4px 10px; font-size: .8rem; }
  .tile__icon { width: 40px; height: 40px; }
  .tile__icon svg { width: 24px; height: 24px; }
  .search button { padding: 12px 14px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 8px 6px; font-size: .9rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body { padding: 10px 12px 12px; }
  .card__name { font-size: .92rem; }
}

/* Каталог из прайса */
.hero .tiles { margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tile small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.catalog__head { flex-direction: column; align-items: flex-start; gap: 4px; }
.catalog__note { margin: 0; color: var(--muted); font-size: .9rem; }
.filters { display: grid; gap: 10px; margin-bottom: 14px; }
.chips { margin-bottom: 0; align-items: center; }
.chips__label { color: var(--muted); font-size: .9rem; }
.chip { min-height: 36px; }
.chip--small { font-size: .85rem; padding: 4px 12px; }
.brand-select { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.brand-select select { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; min-height: 40px; max-width: 260px; }
.more { display: flex; margin: 20px auto 0; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.more:hover { border-color: var(--accent); color: var(--accent); }

.part { padding: 14px 16px 16px; gap: 6px; }
.part__top { display: flex; align-items: center; justify-content: space-between; }
.part__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.part__icon svg { width: 22px; height: 22px; }
.part__photo { width: 80px; height: 56px; object-fit: contain; border-radius: 7px; background: #f1f3f6; }
.modal__img--product img { object-fit: contain; min-height: 0; }
.part__brand { font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: #eef0f3; color: var(--text); }
.part__brand--main { background: var(--accent); color: #fff; }
.part__article { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.part__side { font-weight: 500; color: var(--muted); font-size: .9em; }
.part__fits { margin: 0; color: var(--muted); font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.part .card__price { font-size: 1.15rem; color: var(--accent); }

.modal__img--icon { aspect-ratio: auto; padding: 28px 0 8px; background: var(--accent-soft); color: var(--accent); }
.modal__img--icon svg { width: 72px; height: 72px; }
.modal__note { color: var(--muted); font-size: .9rem; margin: -6px 0 14px; }

@media (max-width: 520px) {
  .hero .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: 1fr; }
  .brand-select { width: 100%; }
  .brand-select select { flex: 1; max-width: none; }
  #carChips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  #carChips .chip { flex: none; }
}

/* Фото: первый экран, «Не нашли», «О нас» */
.hero {
  background:
    linear-gradient(90deg, #15181e 0%, rgba(21, 24, 30, .9) 36%, rgba(21, 24, 30, .3) 72%, rgba(21, 24, 30, .1) 100%),
    url("images/hero.jpg") right center / cover no-repeat;
  color: #fff;
  border-bottom: 0;
  padding: 56px 0 48px;
}
.hero h1 { color: #fff; }
.hero__sub { color: #cfd3da; }
.hero__sub b { color: #fff; }
.search { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.hero .tile { background: rgba(255, 255, 255, .96); }
.request__box {
  background:
    linear-gradient(90deg, rgba(21, 24, 30, .95) 0%, rgba(21, 24, 30, .8) 55%, rgba(21, 24, 30, .4) 100%),
    url("images/spring.jpg") center / cover no-repeat;
  color: #fff;
  border: 0;
  border-left: 4px solid var(--accent);
  padding: 36px 32px;
}
.request__box p { color: #cfd3da; }
.about__photo { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); display: block; margin-bottom: 16px; }

@media (max-width: 820px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(21, 24, 30, .45) 0%, rgba(21, 24, 30, .85) 40%, #15181e 75%),
      url("images/hero.jpg") 72% top / auto 62% no-repeat, #15181e;
  }
  .about__photo { height: 200px; }
}

/* Чуть-чуть яркости: мягкое красное свечение */
.hero { box-shadow: inset 0 -3px 0 var(--accent); }
.hero h1 { text-shadow: 0 0 34px rgba(227, 43, 43, .35); }
.btn--accent, .btn--call { box-shadow: 0 6px 18px rgba(227, 43, 43, .35); }
.btn--accent:hover, .btn--call:hover { box-shadow: 0 8px 24px rgba(227, 43, 43, .5); }
.tile:hover { box-shadow: 0 8px 24px rgba(227, 43, 43, .22); }
.tile__icon, .part__icon { box-shadow: inset 0 0 0 1px rgba(227, 43, 43, .15); }
.card:hover { box-shadow: 0 10px 26px rgba(227, 43, 43, .14); border-color: rgba(227, 43, 43, .45); }
.catalog__head h2::after, .about > h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 8px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #ff7a45);
}
.chip.is-active { box-shadow: 0 4px 12px rgba(227, 43, 43, .3); }
.call-fab { box-shadow: 0 6px 22px rgba(227, 43, 43, .55); }

/* Окно товара: спросить, пара, аналоги */
.btn--ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); }
.btn--max { background: #4f46e5; color: #fff; }
.ask { display: grid; gap: 8px; }
.ask .btn { width: 100%; }
.ask__tip { margin: 8px 0 0; color: var(--green); font-size: .9rem; font-weight: 600; }
.related { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); }
.related h3 { font-size: 1.05rem; margin: 0 0 2px; }
.related__hint { margin: 0 0 10px; color: var(--muted); font-size: .85rem; }
.related__item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%;
  font: inherit; font-size: .92rem; text-align: left; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin-bottom: 6px; cursor: pointer; min-height: 44px;
}
.related__item:hover { border-color: var(--accent); }
.related__price { flex: none; font-weight: 700; color: var(--accent); }
.modal { overflow-y: auto; }

/* Длинное название «Амортизаторы-Пружины» в шапке */
.logo__text { white-space: nowrap; }
@media (max-width: 420px) { .logo { font-size: .95rem; gap: 8px; } .logo__mark { width: 32px; height: 32px; font-size: .8rem; } }
/* Название магазина целиком красным */
.logo__text { color: var(--accent); font-weight: 800; letter-spacing: .01em; }

/* Шапка: анимация из тёмной в белую, когда первый экран уходит под неё */
.header {
  transition: background-color .7s cubic-bezier(.22, .61, .36, 1), box-shadow .7s ease, -webkit-backdrop-filter .7s ease, backdrop-filter .7s ease;
}
.header .nav a { transition: color .6s ease .1s; }
.header .logo__mark, .header__call { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), box-shadow .6s ease; }
/* Красная линия снизу — просто появляется вместе с белым фоном, без эффектов */
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent);
  opacity: 0; transition: opacity .7s ease;
}
.header--light {
  background-color: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 8px 24px rgba(21, 24, 30, .08);
}
.header--light::after { opacity: 1; }
.header--light .nav a { color: var(--text); }
.header--light .nav a:hover { color: var(--accent); }
/* Значок «АП» и кнопка звонка слегка «подпрыгивают» в момент смены */
.header--light .logo__mark, .header--light .header__call { animation: header-pop .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes header-pop { 40% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .header, .header .nav a, .header::after { transition: none; }
  .header--light .logo__mark, .header--light .header__call { animation: none; }
}

/* Большой каталог: «В наличии», «Распродажа», 16 разделов */
.part__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge--sale { background: var(--accent); color: #fff; }
.modal__price .badge, .modal__note .badge { vertical-align: middle; font-size: .8rem; }
.chip--sale { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.chip--sale.is-active { color: #fff; }
.hero .tiles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.tile span:not(.tile__icon) { line-height: 1.2; }
@media (max-width: 520px) {
  .hero .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero .tile { padding: 10px 4px 8px; font-size: .78rem; }
  .hero .tile__icon { width: 36px; height: 36px; }
  .hero .tile__icon svg { width: 22px; height: 22px; }
  #categoryChips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  #categoryChips .chip { flex: none; }
}

/* Кнопки MAX */
.btn--max svg { width: 18px; height: 18px; fill: currentColor; }
.btn--max:hover { background: #6366f1; }
.header__max { margin-left: 0; padding: 10px 14px; }
.hero__actions, .request__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.request__actions { margin: 0; }
.footer__max { color: #4f46e5; font-weight: 700; text-decoration: none; }
.empty .btn--max { margin-left: 6px; }
@media (max-width: 820px) {
  .header__max { margin-left: auto; padding: 10px 12px; min-width: 44px; min-height: 44px; }
  .header__max span { display: none; }
  .header__max:not([hidden]) + .header__call { margin-left: 8px; }
  .hero__actions .btn { flex: 1; }
}
@media (max-width: 520px) {
  .header__row { gap: 8px; }
  .logo { font-size: .88rem; gap: 6px; min-width: 0; }
  .logo__text { overflow: hidden; text-overflow: ellipsis; }
  .header__max, .header__call { padding: 8px 10px; }
}

/* Заметная ссылка на папин сайт в подвале */
.footer__partner {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 16px; min-height: 44px;
  background: #15181e; color: #ffb020; border-radius: 10px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(21, 24, 30, .25); transition: transform .15s, box-shadow .15s;
}
.footer__partner svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.footer__partner b { transition: transform .15s; }
.footer__partner:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21, 24, 30, .35); }
.footer__partner:hover b { transform: translateX(3px); }
@media (max-width: 820px) { .footer { padding-bottom: 96px; } }

/* Шапка на телефоне: MAX и звонок — одинаковые квадратные кнопки */
@media (max-width: 820px) {
  .header .header__max, .header .header__call {
    width: 46px; height: 46px; min-width: 46px; min-height: 46px; padding: 0; justify-content: center; border-radius: 12px;
  }
  .header .header__max svg, .header .header__call svg { width: 22px; height: 22px; }
}
/* MAX тоже «подпрыгивает» вместе со значком и звонком, когда шапка белеет */
.header .header__max { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), box-shadow .6s ease; }
.header--light .header__max { animation: header-pop .6s cubic-bezier(.34, 1.56, .64, 1); }
@media (prefers-reduced-motion: reduce) { .header--light .header__max { animation: none; } }
/* Длинные названия разделов на плитках переносятся по слогам, а не вылезают за край */
.tile span:not(.tile__icon) { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }

/* Телефон: «АП», MAX и звонок — три одинаковых квадрата 36×36 */
@media (max-width: 820px) {
  .header .logo__mark { width: 36px; height: 36px; border-radius: 9px; font-size: .82rem; flex: none; }
  .header .header__max, .header .header__call {
    position: relative; width: 36px; height: 36px; min-width: 36px; min-height: 36px; border-radius: 9px;
  }
  .header .header__max svg, .header .header__call svg { width: 18px; height: 18px; }
  /* Нажимать можно чуть шире видимой кнопки — удобно пальцем */
  .header .header__max::after, .header .header__call::after { content: ""; position: absolute; inset: -5px; }
}

/* Телефон: товары по 2 в ряд, как на папином сайте — карточки компактнее */
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .part { padding: 10px 10px 12px; gap: 4px; }
  .part__icon { width: 28px; height: 28px; border-radius: 7px; }
  .part__icon svg { width: 17px; height: 17px; }
  .part__brand { font-size: .78rem; padding: 2px 6px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .part__article { font-size: .88rem; overflow-wrap: anywhere; }
  .part .card__name { font-size: .84rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .part__side { font-size: .78rem; }
  .part__fits { font-size: .8rem; }  /* не мельче 12–13 px (М33) */
  .part__badges .badge { font-size: .7rem; padding: 1px 6px; }
  .part .card__price { font-size: 1rem; padding-top: 4px; }
}

/* Главная продажа: амортизаторы, стойки, пружины — крупные карточки на первом экране */
.hero .tiles { display: block; }
.tiles__label { margin: 26px 0 10px; color: #ffb3b3; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.tiles__label--other { color: #9aa2ad; margin-top: 22px; }
.tiles__main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiles__other { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.hero .tile--main {
  flex-direction: row; align-items: center; gap: 14px; padding: 18px; text-align: left;
  background: linear-gradient(135deg, var(--accent) 0%, #b71d1d 100%); color: #fff; border: 0;
  box-shadow: 0 10px 28px rgba(227, 43, 43, .45);
}
.hero .tile--main:hover { box-shadow: 0 14px 34px rgba(227, 43, 43, .6); transform: translateY(-2px); }
.hero .tile--main .tile__icon { width: 52px; height: 52px; background: rgba(255, 255, 255, .18); color: #fff; flex: none; }
.hero .tile--main .tile__icon svg { width: 30px; height: 30px; }
.tile--main__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tile--main__title { font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.tile--main__brands { font-size: .8rem; font-weight: 500; opacity: .85; }
.tile--main__count { flex: none; font-weight: 700; font-size: .9rem; background: rgba(255, 255, 255, .18); padding: 4px 10px; border-radius: 999px; }
.chip--main { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.chip--main.is-active { color: #fff; }
@media (max-width: 820px) {
  .tiles__main { grid-template-columns: 1fr; gap: 8px; }
  .hero .tile--main { padding: 12px 14px; }
  .hero .tile--main .tile__icon { width: 44px; height: 44px; }
}
@media (max-width: 520px) {
  .tiles__other { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tile--main__title { font-size: 1rem; }
  .tile--main__count { font-size: .8rem; padding: 3px 8px; }
}

.tile--main__title { -webkit-hyphens: manual; hyphens: manual; overflow-wrap: normal; }
.tile--main__count { align-self: flex-start; margin-top: 6px; }

/* Главные карточки спокойнее: тёмное стекло с красным акцентом вместо сплошного красного */
.hero .tile--main {
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 4px 0 0 var(--accent), 0 8px 22px rgba(0, 0, 0, .3);
}
.hero .tile--main:hover { background: rgba(255, 255, 255, .11); box-shadow: inset 0 0 0 1px rgba(227, 43, 43, .7), inset 4px 0 0 var(--accent), 0 10px 26px rgba(227, 43, 43, .25); }
.hero .tile--main .tile__icon { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(227, 43, 43, .45); }
.tile--main__brands { color: #cfd3da; opacity: 1; }
.tile--main__count { background: rgba(227, 43, 43, .2); color: #ff9a9a; }
.hero .tile--main, .hero .tile--main .tile--main__title { color: #fff; }

/* Подсказки при вводе (бренд и главный поиск) */
.suggest { position: relative; flex: 1; min-width: 0; display: block; }
.brand-select .suggest input {
  width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 10px; min-height: 40px;
}
.brand-select .suggest input:focus { outline: none; border-color: var(--accent); }
.search { position: relative; z-index: 5; } /* подсказки поиска поверх кнопок и плиток ниже */
.suggest__list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; overflow-y: auto;
  background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(21, 24, 30, .22); padding: 6px; display: grid; gap: 2px;
}
.suggest__item {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px;
  background: none; font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.suggest__item:hover, .suggest__item:focus-visible { background: var(--accent-soft); outline: none; }
.suggest__item span { flex: 1; min-width: 0; font-weight: 600; }
.suggest__item small { color: var(--muted); font-size: .8rem; }
.suggest__group { min-width: 56px; color: var(--accent) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .7rem !important; }
.suggest__list--search { left: 0; right: 0; }
@media (max-width: 520px) { .brand-select .suggest { width: 100%; } }

/* Цена за пару */
.pair { background: #f6f7f9; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-size: .95rem; }
.pair p { margin: 0 0 6px; }
.pair__sum { font-size: 1.05rem; }
.pair__sum b { color: var(--accent); }
.pair .btn { margin-top: 4px; }
.pair__link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--accent); text-decoration: underline; cursor: pointer; }

/* Список запроса */
.btn--list { background: var(--text); color: #fff; }
.btn--list.is-added { background: var(--green); }
.list-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 20;
  display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--text); color: #fff;
  font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(10, 12, 16, .35);
}
.list-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.list-fab b { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; font-size: .85rem; }
.list { border-top: 1px solid var(--border); margin: 10px 0; }
.list__row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.list__name { border: 0; background: none; padding: 0; text-align: left; font: inherit; cursor: pointer; color: inherit; min-width: 0; }
.list__name b { display: block; }
.list__name span { font-size: .88rem; color: var(--muted); }
.list__qty { display: flex; align-items: center; gap: 6px; }
.list__qty button, .list__del { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--text); }
.list__qty span { min-width: 18px; text-align: center; font-weight: 700; }
.list__price { font-weight: 700; white-space: nowrap; }
.list__del { border: 0; color: var(--muted); }
.list__total { font-size: 1.2rem; margin: 6px 0 14px; text-align: right; }
.list__total b { color: var(--accent); }
.list__empty { color: var(--muted); }
.list__clear { color: var(--muted); }
#listModal .modal__close { top: 14px; }
@media (max-width: 520px) {
  .list__row { grid-template-columns: 1fr auto auto; }
  .list__name { grid-column: 1 / -1; }
  .list__qty { justify-self: start; }
  .list-fab { height: 48px; padding: 0 16px; }
}

/* Фото разделов: одинаковое место под фото или значок, деталь с мягкой тенью */
.tile__media { display: grid; place-items: center; width: 92px; height: 92px; flex: none; }
.tile__media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(15, 18, 24, .22)); transition: transform .2s; }
.tile:hover .tile__media img { transform: scale(1.06); }
@media (max-width: 520px) {
  .tile__media { width: 68px; height: 68px; }
}
.footer__credits { margin-top: 20px; font-size: .78rem; color: var(--muted); }
.footer__credits summary { cursor: pointer; }
.footer__credits ul { margin: 6px 0 0; padding-left: 18px; }
.footer__credits a { color: inherit; }

/* Главные карточки: фото детали на светлом квадрате (амортизатор и пружины — фото из магазина мамы) */
.tile__thumb { flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #ffffff, #e4e7ec); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.tile__thumb img { width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(15, 18, 24, .25)); transition: transform .2s; }
.tile__thumb--photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.tile--main:hover .tile__thumb img { transform: scale(1.06); }
@media (max-width: 520px) {
  .tile__thumb { width: 60px; height: 60px; border-radius: 12px; }
}

/* Логотипы марок в выборе машины */
.chip--car { display: inline-flex; align-items: center; gap: 6px; }
.car-logo { width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.car-logo--lexus { width: 22px; }
.car-logo--isuzu { width: 46px; height: 10px; }
.car-logo--kia, .car-logo--hyundai { width: 24px; }

/* «Другие запчасти»: тёмные плитки, фото детали в светлом окне на всю ширину */
.hero .tiles__other .tile { background: rgba(255, 255, 255, .07); color: #fff; border: 0; padding: 8px 8px 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 22px rgba(0, 0, 0, .3); }
.hero .tiles__other .tile:hover { box-shadow: inset 0 0 0 1px rgba(227, 43, 43, .7), 0 10px 26px rgba(227, 43, 43, .25); }
.hero .tiles__other .tile__media { position: relative; display: block; width: 100%; height: 96px; border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #e6e9ee); }
.hero .tiles__other .tile__media img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.hero .tiles__other .tile[data-cat="16"] img { mix-blend-mode: multiply; filter: none; }
/* Где фото пока нет — красный значок, как раньше, по центру окна */
.hero .tiles__other .tile__icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; }
.hero .tiles__other .tile__icon svg { width: 32px; height: 32px; }
@media (max-width: 520px) {
  .hero .tiles__other .tile__media { height: 74px; }
  .hero .tiles__other .tile__media img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
  .hero .tiles__other .tile__icon { width: 46px; height: 46px; }
  .hero .tiles__other .tile__icon svg { width: 26px; height: 26px; }
}
/* Плитки «Другие запчасти» подскакивают при наведении, как главные карточки */
.hero .tile { transition: border-color .15s, box-shadow .2s, background-color .2s, transform .2s; }
.hero .tiles__other .tile:hover { transform: translateY(-2px); }

/* ===== Низ сайта: светло-серый каталог + тёмная нижняя часть (цифры, «Не нашли?», «О нас», подвал) ===== */
body { background: #eceef2; }
.card { box-shadow: 0 2px 10px rgba(21, 24, 30, .06); }
.dark-zone, .stats, .request, .about-wrap, .footer { color: #e8eaee; }

/* Полоса с цифрами */
.stats { background: #15181e; border-top: 3px solid var(--accent); padding: 34px 0; margin-top: 40px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats__item { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid rgba(255, 255, 255, .12); }
.stats__item b { font-size: 2rem; font-weight: 800; line-height: 1.1; color: #ff5a5a; letter-spacing: -.01em; }
.stats__item span { color: #aeb5c0; font-size: .95rem; }
.stats__item b span { color: inherit; font-size: inherit; }

/* «Не нашли нужную деталь?» — на тёмном фоне */
.request { background: #15181e; padding: 8px 0 40px; }
.request__box { box-shadow: 0 12px 30px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .08); }

/* «О нас» — тёмное, карточки — тёмное стекло */
.about { max-width: none; background: #1b1f27; padding: 48px max(16px, calc((100% - 1128px) / 2)) 56px; margin: 0; }
.about h2 { color: #fff; }
.about__item { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.about__item h3 { color: #fff; }
.about__item p { color: #b9c0ca; }
.about__photo { box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }

/* Подвал — самый тёмный */
.footer { background: #0f1115; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer h3 { color: #8f97a3; }
.footer__muted, .footer__credits { color: #8f97a3; }
.footer__max { color: #a5a0ff; }
/* Ссылка на папин сайт — жёлтая плашка, хорошо видна на тёмном подвале */
.footer__partner { background: linear-gradient(135deg, #ffc23a, #ff9f0a); color: #15181e; box-shadow: 0 6px 18px rgba(255, 160, 10, .3); }
.footer__partner:hover { box-shadow: 0 10px 26px rgba(255, 160, 10, .45); }
.logo--dark { color: #fff; }

@media (max-width: 820px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .stats__item b { font-size: 1.5rem; }
  .about { padding: 36px 16px 44px; }
}

/* ===== Анимации (как на папином сайте) ===== */
/* Первый экран: заголовок, текст, поиск, кнопки и плитки выезжают по очереди при открытии */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero > .container > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero > .container > :nth-child(2) { animation-delay: .1s; }
.hero > .container > :nth-child(3) { animation-delay: .2s; }
.hero > .container > :nth-child(4) { animation-delay: .3s; }
.hero > .container > :nth-child(5) { animation-delay: .4s; }

/* Карточки каталога появляются по очереди после выбора раздела и поиска */
.grid > .card { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.grid > .card:nth-child(2) { animation-delay: .04s; } .grid > .card:nth-child(3) { animation-delay: .08s; }
.grid > .card:nth-child(4) { animation-delay: .12s; } .grid > .card:nth-child(5) { animation-delay: .16s; }
.grid > .card:nth-child(6) { animation-delay: .2s; } .grid > .card:nth-child(n+7) { animation-delay: .24s; }

/* Блоки ниже — плавно при прокрутке */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero > .container > *, .grid > .card { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Правовая строка в подвале */
.footer .footer__legal { margin: 20px auto 0; font-size: .78rem; color: #8f97a3; } /* .footer p обнулял отступ «auto» у .container */
.footer__legal a { color: inherit; }

/* Доставка и возврат — тёмный блок, как «О нас» */
.terms { background: #15181e; color: #e8eaee; padding: 44px 0 40px; scroll-margin-top: 64px; }
.terms h2 { color: #fff; }
.terms__check { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 6px 0 18px; padding: 16px 18px;
  border-radius: var(--radius); background: rgba(227, 43, 43, .12); box-shadow: inset 0 0 0 1px rgba(227, 43, 43, .45), inset 4px 0 0 var(--accent); color: #e8eaee; }
.terms__check b { color: #fff; }
.terms__check .btn { margin-left: auto; }
.terms__grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 760px; }
.terms__item { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 20px; }
.terms__item h3 { color: #fff; font-size: 1.05rem; }
.terms__item p { margin: 0; color: #b9c0ca; font-size: .95rem; }
.terms__note { margin: 14px 0 0; color: #8f97a3; font-size: .85rem; }
@media (max-width: 820px) {
  .terms__grid { grid-template-columns: 1fr; }
  .terms__check .btn { margin-left: 0; }
}
.modal__hint { margin: -6px 0 14px; padding: 10px 12px; border-radius: 10px; background: #fff4e5; color: #6b4a00; font-size: .88rem; line-height: 1.45; }

/* Ссылки на Фарпост */
.footer__farpost { color: #e8eaee; font-weight: 700; text-decoration: none; }
.footer__farpost:hover { color: #ff9a9a; }
.stats__item--link { text-decoration: none; border-radius: 0 10px 10px 0; transition: background-color .2s; }
.stats__item--link:hover { background: rgba(227, 43, 43, .12); }
.stats__item--link span { color: #ffb3b3; }
.about__link { display: inline-block; margin-top: 10px; color: #ff9a9a; font-weight: 700; text-decoration: none; }
.about__link:hover { color: #fff; }

/* ===== Страницы для поисковиков (zapchasti/…, marka/…) ===== */
.seo-main { padding: 22px 16px 40px; }
.seo-crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.seo-crumbs a { color: var(--muted); }
.seo-crumbs span { margin: 0 4px; }
.seo-main h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.seo-intro { max-width: 760px; color: #3d434d; font-size: 1.05rem; }
.seo-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }
.seo-h2 { font-size: 1.1rem; margin-top: 8px; }
.seo-chips .chip { text-decoration: none; }
.seo-chips .chip small { color: var(--muted); margin-left: 4px; }
.seo-grid { margin-top: 18px; }
.seo-card { display: block; text-decoration: none; color: inherit; }
.seo-more { text-align: center; margin: 24px 0 8px; }
.seo-note { margin: 22px 0; padding: 14px 16px; border-radius: var(--radius); background: #fff4e5; color: #6b4a00; font-size: .92rem; }
.seo-others { margin-top: 22px; }
.seo-others h2 { font-size: 1.05rem; }
.seo-others__list { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.seo-others__list a { color: var(--accent); font-weight: 600; text-decoration: none; }
.seo-others__list a:hover { text-decoration: underline; }
.seo-footer { padding: 22px 0 90px; font-size: .9rem; }
.seo-footer a { color: inherit; }
/* Ссылки на эти страницы с главной */
.seo-links { background: #1b1f27; padding: 28px 0 34px; color: #b9c0ca; }
.seo-links h2 { color: #fff; font-size: 1.05rem; margin: 0 0 10px; }
.seo-links h2 + div { margin-bottom: 18px; }
.seo-links a { display: inline-block; margin: 0 14px 2px 0; padding: 7px 0; color: #e8eaee; text-decoration: none; font-size: .92rem; }
.seo-links a:hover { color: #ff9a9a; }

/* «Сейчас открыто / закрыто» */
.open-status { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: #cfd3da; }
.hero__actions .open-status { flex-basis: 100%; margin-top: 2px; }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8f97a3; flex: none; }
.open-status.is-open { color: #7ee2a6; }
.open-status.is-open::before { background: #34d27a; box-shadow: 0 0 0 4px rgba(52, 210, 122, .18); }

/* Отзывы покупателей (тёмный блок, как «О нас») */
.reviews-block { background: #1b1f27; color: #e8eaee; padding: 36px 0 8px; }
.reviews-block__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; align-items: stretch; }
.reviews-block__score { display: flex; align-items: center; gap: 14px; grid-row: span 2; }
.reviews-block__item blockquote { margin: 0; }
.reviews-block__item figcaption { margin-top: 10px; font-size: .85rem; color: #9aa3af; }
.reviews-block__score b { font-size: 3rem; line-height: 1; color: #ff5a5a; font-weight: 800; }
.reviews-block__score span { color: #b9c0ca; }
.reviews-block__item { margin: 0; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1); font-size: 1.02rem; color: #fff; }
.reviews-block__link { grid-column: 1 / -1; justify-self: start; color: #ff9a9a; font-weight: 700; text-decoration: none; }
.reviews-block__link:hover { color: #fff; }
@media (max-width: 820px) { .reviews-block__row { grid-template-columns: 1fr; } .reviews-block__score { grid-row: auto; } }

/* Номер снят и заменён — серая плашка вместо «В наличии» */
.badge--repl { background: #eceef2; color: #4b5563; }
.empty #emptyMax { margin-left: 0; max-width: 100%; white-space: normal; }
/* «Наличие уточнять» прямо в карточке — сразу в MAX */
.part__ask { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 7px 10px; width: 100%;
  border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--text); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.part__ask svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.part__ask:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
@media (max-width: 520px) { .part__ask { font-size: .75rem; padding: 6px 6px; } }

/* Подбор по номеру кузова */
.hero__podbor { flex-basis: 100%; color: #ff9a9a; font-weight: 600; font-size: .95rem; text-decoration: none; }
.hero__podbor:hover { color: #fff; text-decoration: underline; }
#podbor { scroll-margin-top: 64px; }
.podbor__steps { margin: 14px 0 0; padding-left: 22px; color: #cfd3da; display: grid; gap: 6px; }
.podbor__steps b { color: #fff; }
.request__actions .ask__tip { flex-basis: 100%; margin: 0; color: #cfd3da; }

/* Частые вопросы */
.faq { background: #1b1f27; color: #e8eaee; padding: 44px 0 40px; scroll-margin-top: 64px; }
.faq h2 { color: #fff; }
.faq__list { display: grid; gap: 10px; max-width: 820px; }
.faq__item { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); transition: border-color .2s; }
.faq__item[open] { border-color: rgba(227, 43, 43, .55); }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; color: #fff; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: #ffb4b4; }
.faq__answer { padding: 0 18px 16px; color: #b9c0ca; font-size: .95rem; }
.faq__answer p { margin: 0 0 10px; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer ul { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; }
.faq__answer b { color: #e8eaee; }
.faq__more { margin: 18px 0 0; color: #b9c0ca; }
.faq__more a { color: #ff9a9a; font-weight: 600; }

/* «Другая марка…» в выборе машины (М22) */
.chip--select { font: inherit; font-size: .85rem; padding: 4px 10px; border-radius: 999px; cursor: pointer; max-width: 100%; }

/* Телефон: «Другие запчасти» — одной лентой, листается пальцем; до каталога короче (проверка 14.11.2026) */
@media (max-width: 520px) {
  .hero .tiles__other { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .hero .tiles__other::-webkit-scrollbar { display: none; }
  .hero .tiles__other .tile { flex: 0 0 29%; scroll-snap-align: start; }
  .tiles__label--other::after { content: " · листайте →"; text-transform: none; letter-spacing: 0; font-weight: 500; }
}
