/* Onest: основной текст и заголовки */
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/Onest-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg-main: rgb(0, 0, 0);
  --color-accent: rgb(152, 216, 1);
  --color-accent-soft: rgb(205, 236, 137);
  --color-text-main: rgb(255, 255, 255);
  --color-text-muted: rgba(255, 255, 255, 0.64);
  --color-surface: #111216;
  --color-surface-soft: #181a20;
  --color-border: #252733;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.6);
  --texture-url: url("../img/texture.jpg");
  --texture-alt-url: url("../img/texture-alt.jpg");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.page {
  margin: 0;
  min-height: 100vh;
  font-family: "Onest", system-ui, -apple-system, sans-serif;
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10000;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.7), transparent);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 14px;
  gap: 32px;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
}

.header__logo--large {
  width: 200px;
  height: 50px;
  margin-left: 25px;
}

.header__brand-name {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.header__link {
  position: relative;
  color: var(--color-text-muted);
  padding-bottom: 2px;
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 999px;
  transition: width 0.2s ease-out;
}

.header__link:hover {
  color: var(--color-text-main);
}

.header__link:hover::after {
  width: 100%;
}

.header__link--active {
  color: var(--color-accent-soft);
}

.header__link--active::after {
  width: 100%;
}

.header__link--highlight {
  color: var(--color-accent);
}

.header__cta {
  white-space: nowrap;
}

.header__cart-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.header__cart-mobile-icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-main);
  cursor: pointer;
  position: relative;
  z-index: 10002;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-mobile {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.95);
  padding: 80px 24px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nav-mobile.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;
}

.nav-mobile__inner a {
  color: var(--color-text-main);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile__phone {
  margin-top: 16px;
  color: var(--color-accent) !important;
  font-weight: 600;
}

.picker-form--hidden {
  display: none !important;
}

.picker-form--hidden.is-visible {
  display: block !important;
}

.section--texture {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.92) 100%),
    var(--texture-url);
  background-size: 100% 100%, cover;
  background-position: 0 0, center;
}

.section__link-wrap {
  margin: 24px 0 0;
  text-align: center;
}

.link-accent {
  color: var(--color-accent-soft);
  font-weight: 500;
}

.link-accent:hover {
  text-decoration: underline;
}

.promo-card__btn {
  margin-top: 12px;
  width: 100%;
  background-color: chartreuse;
}

.info-card--highlight {
  border-color: rgba(152, 216, 1, 0.35);
  background: linear-gradient(145deg, rgba(152, 216, 1, 0.08), var(--color-surface));
}

.info-card--highlight .btn {
  margin-top: 12px;
}

.product-card__image-wrap {
  display: block;
  margin-bottom: 8px;
}

.product-card__title a {
  color: inherit;
}

.product-card__title a:hover {
  color: var(--color-accent-soft);
}

/* Заглушка при отсутствии фото шин */
.tire-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.tire-image__placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transform: rotate(-35deg);
  pointer-events: none;
}

.tire-image--no-photo .tire-image__placeholder {
  display: flex;
}

.tire-image--no-photo img {
  visibility: hidden;
}

/* Фиксированный CTA на мобильных */
.cta-fixed {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 25;
  padding: 10px 16px 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.95));
  border-top: 1px solid var(--color-border);
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

.cta-fixed.is-visible {
  display: grid;
}

.cta-fixed__btn {
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cta-fixed__btn--phone {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.cta-fixed__btn--primary {
  background: var(--color-accent);
  color: #050607;
}

.cta-fixed__btn:hover {
  transform: translateY(-1px);
}

.main {
  min-height: 60vh;
}

/* Прелоадер при обновлении наличия шин */
.refresh-preloader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.refresh-preloader__inner {
  text-align: center;
}

.refresh-preloader__spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: refresh-preloader-spin 0.9s linear infinite;
}

@keyframes refresh-preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

.refresh-preloader__text {
  margin: 0;
  font-size: 16px;
  color: var(--color-text-muted);
}

.section {
  padding: 64px 0;
}

.section--dark {
  background: radial-gradient(circle at top left, #1c2124, #050607 60%);
}

/* Секция категорий: фон texture_bg с параллаксом */
#categories {
  position: relative;
  background-color: #050607;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.68) 100%),
    url("../img/texture_bg.jpg");
  background-size: 100% 100%, cover;
  background-position: 0 0, center center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
}

.section--accent {
  color: #050607;
}

.section--cta {
  background: radial-gradient(circle at top right, rgba(152, 216, 1, 0.25), transparent),
    linear-gradient(135deg, #121420, #050608);
  padding-bottom: 80px;
}

.section__header {
  margin-bottom: 32px;
}

.section__header--with-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}

.section__subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

.btn {
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background-color 0.12s ease-out,
    color 0.12s ease-out, border-color 0.12s ease-out;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #050607;
  box-shadow: 0 16px 40px rgba(152, 216, 1, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(152, 216, 1, 0.5);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-soft);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-text-main);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-icon {
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  font-size: 12px;
  color: var(--color-text-muted);
  gap: 6px;
}

.chip--accent {
  background: rgba(152, 216, 1, 0.16);
  border-color: rgba(152, 216, 1, 0.6);
  color: var(--color-accent-soft);
}

.chip--small {
  padding: 4px 10px;
  font-size: 11px;
}

.hero {
  padding-top: 32px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: stretch;
}

.hero__title {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.15;
}

.hero__subtitle {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  max-width: 460px;
}

.hero__micro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.micro-item {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__picker {
  background: linear-gradient(145deg, #141721, #090a0f);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.picker-tabs {
  display: inline-flex;
  border-radius: var(--radius-pill);
  padding: 3px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 16px;
}

.picker-tab {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.picker-tab--active {
  background: #050607;
  color: var(--color-text-main);
}

/* Ссылка на страницу «Подбор по авто» рядом с табом «По размеру» */
a.picker-tab--to-page {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  color: var(--color-text-muted);
  cursor: pointer;
}

a.picker-tab--to-page:hover {
  color: var(--color-text-main);
}

.picker-form__row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.picker-form__hint {
  font-size: 11px;
  color: var(--color-text-muted);
  margin: 0 0 8px;
  line-height: 1.35;
}

.picker-form__row--check {
  margin-bottom: 8px;
}

.filter-rear-axis--hero {
  margin-bottom: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-check--hero-staggered {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.car-sizes-block--hero {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.car-sizes-block--hero__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.car-sizes-block--hero__hint {
  font-size: 11px;
  color: var(--color-text-muted);
  margin: 0 0 10px;
  line-height: 1.4;
}

.field {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.field--wide {
  flex: 2;
}

.field__label {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.field__control {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 10px;
  background: rgba(5, 6, 8, 0.9);
  color: var(--color-text-main);
}

.picker-form__submit {
  flex-shrink: 0;
}

.hero__quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.hero__quick-label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-right: 4px;
}

/* Тема протектора/дороги — сдержанно, как системный мотив */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(circle at 20% 0%, rgba(152, 216, 1, 0.1), transparent 50%),
    var(--texture-url);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  box-shadow: var(--shadow-soft);
}

.hero-visual__image {
  position: absolute;
  inset: 12% 4% auto;
  width: auto;
  max-width: 92%;
  margin: 0 auto;
  object-fit: contain;
}

.hero-visual__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual__tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-visual__tag--season {
  left: 16px;
}

.hero-visual__tag--safety {
  right: 16px;
  left: auto;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--categories {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 16px 16px 18px;
  border: 1px solid var(--color-border);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  object-fit: contain;
  display: block;
}

.benefit-card__title {
  margin: 0 0 6px;
  font-size: 15px;
}

.benefit-card__text {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.category-card {
  border-radius: var(--radius-md);
  padding: 16px;
  background: rgba(0, 0, 0, 0.87);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
}

.category-card__title {
  margin: 0 0 6px;
  font-size: 15px;
}

.category-card__text {
  margin: 0 0 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.category-card--summer {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent),
    linear-gradient(145deg, rgba(152, 216, 1, 0.2), transparent);
}

.category-card--winter-studded {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent),
    linear-gradient(145deg, rgba(140, 198, 255, 0.24), transparent);
}

.category-card--winter-friction {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent),
    linear-gradient(145deg, rgba(205, 236, 137, 0.24), transparent);
}

.category-card--allseason {
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent);
}

.category-card--suv {
  background-image: linear-gradient(145deg, rgba(255, 200, 120, 0.24), transparent);
}

.category-card--budget {
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.02), transparent);
}

.category-card--premium {
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent);
}

.category-card--sizes {
  background-image: linear-gradient(145deg, rgba(152, 216, 1, 0.3), transparent);
}

.product-card {
  background: var(--color-surface-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--color-border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.badge--hit {
  background: rgba(152, 216, 1, 0.16);
  color: var(--color-accent-soft);
}

.badge--promo {
  background: rgba(255, 80, 80, 0.2);
  color: #ffb0b0;
}

.badge--new {
  background: rgba(120, 180, 255, 0.2);
  color: #c0ddff;
}

.badge--stock {
  background: rgba(255, 255, 255, 0.12);
}

.badge--custom-marker {
  color: color-mix(in srgb, var(--marker-color) 75%, white 25%);
  background: color-mix(in srgb, var(--marker-color) 22%, transparent 78%);
  border: 1px solid color-mix(in srgb, var(--marker-color) 35%, transparent 65%);
}

.marker-color-preview {
  display: inline-block;
  margin-left: 6px;
}

.product-card__image {
  width: 100%;
  height: 150px;
  object-fit: cover; /* заполняем блок и обрезаем края */
  object-position: center;
  display: block;
  margin-bottom: 8px;
}

.product-card__brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.product-card__title {
  margin: 0 0 6px;
  font-size: 15px;
}

.product-card__params {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.product-card__params span {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 10px;
}

.product-card__rating {
  color: var(--color-accent-soft);
}

.product-card__rating-count {
  color: var(--color-text-muted);
  margin-left: 4px;
}

.product-card__stock {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.product-card__stock--in {
  background: rgba(152, 216, 1, 0.14);
  color: var(--color-accent-soft);
}

.product-card__stock--few {
  background: rgba(255, 200, 120, 0.12);
  color: #ffd9a3;
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card__price-current {
  font-weight: 700;
}

.product-card__price-old {
  font-size: 12px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-card__price-marks-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.product-card__promo-star {
  font-weight: 700;
  margin-left: 2px;
}

.product-card__price-note {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--color-text-muted);
  max-width: 220px;
}

.product-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--color-border);
}

.info-card--accent {
  background: linear-gradient(135deg, rgba(152, 216, 1, 0.18), rgba(0, 0, 0, 0.9));
  border-color: rgba(152, 216, 1, 0.6);
}

.info-card__title {
  margin: 0 0 6px;
  font-size: 15px;
}

.info-card__text {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.info-card__list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.info-card__list li + li {
  margin-top: 4px;
}

.inline-form {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.inline-form__input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-text-main);
}

.promo-card {
  border-radius: var(--radius-md);
  padding: 18px 16px;
  background: var(--color-accent-soft);
}

.promo-card__title {
  margin: 0 0 6px;
  font-size: 15px;
}

.promo-card__text {
  margin: 0 0 8px;
  font-size: 13px;
}

.promo-card__meta {
  font-size: 12px;
  opacity: 0.8;
}

.trust {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: center;
}

.trust__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.trust-number {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  min-width: 120px;
}

.trust-number__value {
  font-size: 18px;
  font-weight: 700;
}

.trust-number__label {
  font-size: 11px;
  color: var(--color-text-muted);
}

.trust__list {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.trust__brands {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.trust__brands-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust__brands-logos span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.trust-photo {
  position: relative;
  height: 280px;
}

.trust-photo__image {
  position: absolute;
  width: 85%;
  height: 80%;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
}

.trust-photo__image--warehouse {
  left: 0;
  bottom: 0;
  background-image: url("/static/img/about_1.jpeg");
}

.trust-photo__image--store {
  right: -180px;
  top: -80px;
  background-image: url("/static/img/about_2.jpeg");
}

.trust-photo__badge {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.review-card {
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius-md);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.review-card__photo {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-md) - 4px);
  cursor: zoom-in;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.review-modal__dialog {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 65vw;
  height: 65vh;
  max-width: 65vw;
  max-height: 65vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
  box-shadow: var(--shadow-soft);
}

.review-modal__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.review-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.review-modal__avito {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.review-modal__avito:hover {
  transform: translateX(-50%) scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 13px;
}

.review-card__rating {
  color: var(--color-accent-soft);
  font-weight: 600;
}

.review-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.review-card__text {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.reviews-widget-wrap {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: none !important;
}

.reviews-widget {
  width: 100% !important;
  max-width: 750px !important;
  flex: 0 0 100%;
  height: 980px;
  overflow: hidden;
  position: relative;
  background: transparent;
  border-radius: 10px;
  border: none;
}

.reviews-widget__frame {
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.reviews-widget__link {
  box-sizing: border-box;
  text-decoration: none;
  color: #b3b3b3;
  font-size: 10px;
  font-family: "YS Text", sans-serif;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  left: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-height: 14px;
  white-space: nowrap;
  padding: 0 16px;
}

@media (max-width: 768px) {
  .reviews-widget {
    height: 78vh;
  }
}

.cta-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-final__title {
  margin: 0 0 8px;
  font-size: 26px;
}

.cta-final__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.cta-final__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.cta-final__input {
  grid-column: span 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 9px 16px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-text-main);
}

.cta-final__button {
  width: 100%;
}

.footer {
  border-top: 1px solid var(--color-border);
  background: #050607;
  margin-top: 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 20px 20px;
}

.footer__title {
  margin: 0 0 8px;
  font-size: 14px;
}

.footer__text {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer__text--muted {
  opacity: 0.7;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.footer__list li + li {
  margin-top: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 0 14px;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.footer__legal {
  opacity: 0.8;
}

.page-head {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--color-border);
}

.page-head__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}

.page-head__subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

.page-head--accent .page-head__title {
  color: var(--color-accent-soft);
}

.container--narrow {
  max-width: 640px;
}

.container--with-sidebar {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-filters {
  position: sticky;
  top: 80px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--color-border);
}

.catalog-filters__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.catalog-filters__title {
  margin: 0;
  font-size: 16px;
}

.catalog-filters__close {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 24px;
  cursor: pointer;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-group__title {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.filter-check {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
}

.filter-check input {
  margin-right: 8px;
}

.filter-check--spaced {
  margin-top: 12px;
}

.filter-rear-axis {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.filter-rear-axis__title {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.filter-field__label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.filter-row .field__control {
  width: 100%;
}

/* Выпадающий список с чекбоксами (бренды) */
.multiselect {
  position: relative;
  width: 100%;
}

.multiselect__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  background: rgba(5, 6, 8, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--color-text-main);
  font-size: 14px;
}

.multiselect__trigger:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.multiselect__trigger-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multiselect__trigger-icon {
  flex-shrink: 0;
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.multiselect.is-open .multiselect__trigger-icon {
  transform: rotate(180deg);
}

.multiselect__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 10;
  padding: 6px 0;
}

.multiselect__panel[hidden] {
  display: none;
}

.multiselect__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.12s ease;
}

.multiselect__option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.multiselect__checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-accent);
}

.multiselect__option-label {
  flex: 1;
  min-width: 0;
}

.catalog-filters__submit,
.catalog-filters__reset {
  width: 100%;
  margin-top: 8px;
}

.catalog-filters__reset {
  margin-top: 6px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.catalog-toolbar__filters-btn {
  display: none;
}

.catalog-toolbar__count {
  font-size: 14px;
  color: var(--color-text-muted);
}

.catalog-sort {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.catalog-sort__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.catalog-sort__select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-main);
  font-size: 14px;
  min-width: 200px;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.catalog-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  background: var(--color-surface-soft);
  margin-bottom: 1px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.catalog-row:last-child {
  margin-bottom: 0;
}

.catalog-row__image-wrap {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-row__badges {
  position: absolute;
  top: 4px;
  left: 4px;
  display: flex;
  gap: 4px;
  z-index: 1;
}

.catalog-row__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-row__info {
  flex: 1;
  min-width: 0;
}

/* Разноширокий комплект: подпись оси у карточки */
.catalog-row__axis {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-muted);
}
.catalog-row__axis--front {
  color: var(--color-accent-soft, #7dd87a);
  border-color: rgba(125, 216, 122, 0.35);
}
.catalog-row__axis--rear {
  color: #9ec5ff;
  border-color: rgba(158, 197, 255, 0.35);
}

.catalog-row__brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.catalog-row__title {
  margin: 0 0 6px;
  font-size: 16px;
}

.catalog-row__title a {
  color: inherit;
}

.catalog-row__title a:hover {
  color: var(--color-accent-soft);
}

.catalog-row__params {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.catalog-row__params span {
  padding: 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

/* Статус заказа в админке: отдельные CSS-классы вместо inline-Jinja в style */
.order-status-chip {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  border: none;
  color: #111;
  background: #9ca3af;
  font-family: inherit;
  font-size: 13px;
}

.order-status-chip--new {
  background: #9ca3af;
}

.order-status-chip--unanswered {
  background: #facc15;
}

.order-status-chip--confirmed {
  background: #3b82f6;
}

.order-status-chip--paid {
  background: #22c55e;
}

.order-status-chip--unknown {
  background: #9ca3af;
}

.catalog-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.catalog-row__rating {
  color: var(--color-accent-soft);
}

.catalog-row__reviews {
  color: var(--color-text-muted);
}

.catalog-row__stock {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.catalog-row__stock--in {
  background: rgba(152, 216, 1, 0.14);
  color: var(--color-accent-soft);
}

.catalog-row__stock--few {
  background: rgba(255, 200, 120, 0.12);
  color: #ffd9a3;
}

.catalog-row__price-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.catalog-row__price {
  text-align: right;
}

.catalog-row__price-current {
  font-size: 18px;
  font-weight: 700;
  display: block;
}

.catalog-row__price-old {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.catalog-row__price-marks-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-row__promo-star {
  font-weight: 700;
  margin-left: 2px;
}

.catalog-row__price-note {
  margin: 6px 0 0;
  margin-left: auto;
  max-width: 260px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--color-text-muted);
  text-align: right;
}

.catalog-row__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-main {
  min-width: 0;
}

.breadcrumb {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-accent-soft);
}

.product-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 32px;
  margin-bottom: 40px;
}

.product-page__gallery {
  position: sticky;
  top: 80px;
}

.product-page__image {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  object-fit: contain;
}

.product-page__brand {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.product-page__title {
  margin: 0 0 8px;
  font-size: 24px;
}

.product-page__size {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.product-page__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.product-page__rating {
  margin-bottom: 16px;
}

.product-page__price-block {
  margin-bottom: 20px;
}

.product-page__price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.product-page__price {
  font-size: 28px;
  font-weight: 700;
}

.product-page__promo-star {
  font-weight: 700;
  margin-left: 4px;
}

.product-page__price-old {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-page__price-line .product-page__price-old {
  display: inline;
  font-size: 16px;
}

.product-page__price-note {
  margin: 10px 0 0;
  max-width: 420px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.cart-promo-note {
  margin-top: 12px;
  max-width: 640px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.car-sizes-block {
  margin-top: 8px;
}

.car-sizes-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.car-sizes-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.car-sizes-list__item--staggered {
  align-items: stretch;
}

.car-sizes-list__link {
  text-align: left;
}

/* Одна ячейка: клик ведёт в каталог с разношироким комплектом (staggered=1) */
.car-sizes-list__link--staggered {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
}

.car-sizes-list__stag-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.car-sizes-list__stag-sizes {
  font-size: 14px;
  font-weight: 500;
}

.car-sizes-list__stag-axis {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-main);
  margin-right: 2px;
}

.car-sizes-list__stag-sep {
  margin: 0 4px;
  opacity: 0.45;
}

.car-sizes-list__meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

.checkout-success {
  padding: 14px 16px;
  border-radius: 12px;
  margin: 12px 0 16px;
  border: 1px solid rgba(152, 216, 1, 0.35);
  background: rgba(152, 216, 1, 0.12);
}

.product-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.product-page__delivery {
  font-size: 14px;
  color: var(--color-text-muted);
}

.product-page__delivery p {
  margin: 0 0 6px;
}

.product-page__delivery a {
  color: var(--color-accent-soft);
}

.product-page__specs,
.product-page__reviews {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 0;
  font-size: 14px;
}

.spec-list dt {
  margin: 0;
  color: var(--color-text-muted);
  font-weight: 400;
}

.spec-list dd {
  margin: 0;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.article-list li:last-child {
  border-bottom: none;
}

.promo-card--page {
  padding: 24px;
}

.promo-card--page .btn {
  margin-top: 16px;
}

@media (max-width: 960px) {
  .catalog-toolbar__filters-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .catalog-list {
    gap: 10px;
  }

  .header__nav {
    display: none;
  }

  .header__brand {
    order: 1;
  }

  .header__cart-mobile {
    display: inline-flex;
    order: 2;
  }

  .header__burger {
    display: flex;
    flex-shrink: 0;
    margin-left: 0;
    order: 3;
  }

  .header__nav {
    order: 4;
  }

  .cta-fixed.is-visible {
    display: grid;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    display: none;
  }

  .hero__right {
    order: -1;
  }

  .grid--benefits,
  .grid--categories,
  .grid--products,
  .grid--two,
  .grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-final {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .container--with-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-filters {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 40;
    border-radius: 0;
    overflow: auto;
    transform: translateX(-100%);
    transition: transform 0.2s ease-out;
  }

  .catalog-filters.is-open {
    transform: translateX(0);
  }

  .catalog-filters__close {
    display: block;
  }

  .product-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-page__gallery {
    position: static;
  }

  .catalog-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
  }

  .catalog-row__image-wrap {
    width: 100%;
    height: 180px;
  }

  .catalog-row__price-block {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .catalog-row__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .spec-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }

  .hero__title {
    font-size: 28px;
  }

  .picker-form__row {
    flex-direction: column;
  }

  .picker-form__submit {
    width: 100%;
  }

  .grid--benefits,
  .grid--categories,
  .grid--products,
  .grid--two,
  .grid--three {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-final__form {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-row__price-block {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .catalog-row__actions {
    width: 100%;
    justify-content: stretch;
  }

  .catalog-row__actions .btn,
  .catalog-row__actions form {
    width: 100%;
  }

  .catalog-row__actions form .btn {
    width: 100%;
  }

  .trust-photo {
    height: 220px;
  }

  .trust-photo__image {
    width: 60%;
    height: 76%;
  }

  .trust-photo__image--warehouse {
    left: 2%;
    bottom: 4%;
  }

  .trust-photo__image--store {
    right: 2%;
    top: 4%;
  }

  .review-modal__dialog {
    width: 92vw;
    height: 80vh;
    max-width: 92vw;
    max-height: 80vh;
  }

  .review-modal__avito {
    bottom: 10px;
    width: calc(100% - 28px);
    text-align: center;
  }

  .reviews-widget {
    height: 72vh;
  }

  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card--mobile-hidden {
    display: none;
  }
}

