:root {
  --blue: #00aaff;
  --blue-dark: #008ee0;
  --green: #0bba72;
  --purple: #965eea;
  --red: #ff4053;
  --ink: #141414;
  --muted: #858585;
  --line: #e7e7e7;
  --soft: #f2f1ef;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

body.has-modal {
  overflow: hidden;
}

a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  color: var(--red);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  background: #fff;
  margin: 0 auto;
  max-width: 1316px;
  padding-top: 14px;
}

.utility {
  align-items: center;
  color: #666;
  display: flex;
  gap: 18px;
  font-size: 13px;
  height: 26px;
  white-space: nowrap;
}

.utility a {
  color: #666;
}

.utility__spacer {
  flex: 1;
}

.searchbar {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 96px 128px minmax(520px, 1fr) 190px;
  margin-top: 6px;
}

.brand {
  align-items: center;
  color: #111;
  display: inline-flex;
  font-size: 24px;
  font-weight: 700;
  gap: 6px;
}

.brand__mark {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, 9px);
}

.brand__mark i {
  border-radius: 50%;
  display: block;
  height: 9px;
  width: 9px;
}

.brand__mark i:nth-child(1) {
  background: #00aaff;
}

.brand__mark i:nth-child(2) {
  background: #97cf26;
}

.brand__mark i:nth-child(3) {
  background: #ff6163;
}

.brand__mark i:nth-child(4) {
  background: #a169f7;
}

.catalog-button,
.search button {
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  height: 44px;
}

.catalog-button {
  font-size: 13px;
}

.search {
  display: grid;
  grid-template-columns: 1fr 78px;
  height: 44px;
}

.search input {
  border: 2px solid var(--blue);
  border-radius: 8px 0 0 8px;
  border-right: 0;
  outline: none;
  padding: 0 16px;
}

.search button {
  border-radius: 0 8px 8px 0;
}

.location-button {
  background: transparent;
  border: 0;
  color: #333;
  font-size: 13px;
  padding: 0;
  text-align: left;
}

.page {
  margin: 0 auto;
  max-width: 1316px;
  padding: 16px 0 44px;
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 2px;
  margin-bottom: 8px;
}

.breadcrumbs a,
.breadcrumbs span {
  color: var(--muted);
}

.breadcrumbs__separator {
  display: block;
  height: 16px;
  opacity: .42;
  width: 16px;
}

.layout {
  align-items: start;
  display: grid;
  gap: 68px;
  grid-template-columns: minmax(0, 1004px) 244px;
}

.content {
  min-width: 0;
}

.hero {
  padding-right: 364px;
  position: relative;
}

.hero__head {
  align-items: start;
  display: block;
}

h1 {
  font-size: 32px;
  line-height: 1.08;
  margin: 0 0 14px;
  white-space: nowrap;
}

h2 {
  font-size: 24px;
  line-height: 1.12;
  margin: 0 0 16px;
}

.hero__tools {
  display: flex;
  gap: 12px;
  position: absolute;
  right: 0;
  top: 0;
  padding-top: 2px;
  z-index: 2;
}

.hero__tools button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #111;
  display: inline-flex;
  font-size: 29px;
  height: 32px;
  justify-content: center;
  line-height: 1;
  min-width: 28px;
  padding: 0;
}

.hero__tools button:first-child {
  font-size: 24px;
  margin-top: -2px;
}

.hero__tools button.is-active {
  color: var(--red);
}

.favorite-button svg {
  display: block;
}

.favorite-button.is-active svg path {
  fill: var(--red);
  stroke: var(--red);
}

.product-top {
  align-items: start;
  display: block;
}

.gallery__stage {
  align-items: center;
  background: #e8e8e8;
  display: flex;
  height: 480px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 640px;
}

.gallery__stage img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery__stage.is-video::before {
  background: url("reference/main-video.jpg") center / cover;
  content: "";
  filter: blur(14px);
  inset: -18px;
  opacity: .55;
  position: absolute;
  transform: scale(1.08);
}

.gallery__stage.is-video img {
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.gallery__stage:not(.is-video) {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.55), transparent 38%),
    linear-gradient(135deg, #111, #2a6173 48%, #73b6d8);
}

.gallery__stage:not(.is-video) img {
  image-rendering: auto;
  object-fit: cover;
  padding: 0;
}

.play-badge {
  background: rgba(0, 0, 0, .52);
  border-radius: 50%;
  height: 54px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  z-index: 2;
}

.play-badge::after {
  border-bottom: 11px solid transparent;
  border-left: 16px solid #fff;
  border-top: 11px solid transparent;
  content: "";
  left: 21px;
  position: absolute;
  top: 16px;
}

.gallery__stage:not(.is-video) .play-badge {
  display: none;
}

.gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  max-width: 640px;
}

.thumb {
  background: #e5e5e5;
  border: 2px solid transparent;
  border-radius: 2px;
  height: 55px;
  overflow: hidden;
  padding: 0;
  width: 75px;
}

.thumb.is-active {
  border-color: var(--blue);
}

.thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.purchase {
  padding-top: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 334px;
}

.price {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 12px;
  padding-right: 72px;
}

.price span {
  font-size: 13px;
  font-weight: 700;
}

.stock {
  margin: 0 0 12px;
}

.stock b {
  color: var(--green);
  font-weight: 700;
}

.actions,
.contact-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

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

.primary-action,
.installment > button,
.contact-actions button {
  border: 0;
  border-radius: 8px;
  font-weight: 400;
}

.primary-action {
  background: var(--purple);
  color: #fff;
  height: 52px;
  padding: 0 18px;
  width: 100%;
}

.primary-action--cart {
  background: #8f57e2;
}

.delivery {
  color: #333;
  font-size: 15px;
  line-height: 1.35;
  margin: 10px 0 14px;
}

.delivery s {
  color: #8b8b8b;
}

.delivery b {
  color: var(--red);
}

.installment {
  background: var(--soft);
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 14px;
}

.installment strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.installment span {
  display: block;
  font-size: 12px;
  margin-bottom: 12px;
}

.installment__tabs {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 12px;
}

.installment__tabs button {
  background: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  height: 30px;
}

.installment__tabs .is-active {
  background: #111;
  color: #fff;
}

.installment > button {
  background: #111;
  color: #fff;
  height: 44px;
  width: 100%;
}

.offer-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 14px;
}

.offer-summary.is-spotlight {
  background: #fff;
  box-shadow: 0 0 0 4px #fff, 0 10px 30px rgba(0, 0, 0, .24);
  position: relative;
  z-index: 21;
}

.offer-summary h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.offer-summary__list {
  display: grid;
  gap: 10px;
}

.offer-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  padding-top: 10px;
}

.offer-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.offer-row__link,
.offer-row span,
.offer-row b {
  display: block;
}

.offer-row__link {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.offer-row span {
  color: #555;
  font-size: 13px;
  line-height: 1.25;
  margin-top: 2px;
}

.offer-row b {
  color: var(--green);
  font-size: 13px;
  margin-top: 4px;
}

.offer-more {
  background: #111;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  height: 34px;
  padding: 0 12px;
}

.seller {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 42px;
  margin-bottom: 12px;
}

.seller h2 {
  font-size: 19px;
  margin-bottom: 5px;
}

.seller p,
.contact span,
.listing-footer p,
.hint,
.muted-line {
  color: #555;
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
}

.seller__logo {
  align-items: center;
  background: #cf2b2b;
  color: #fff;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  line-height: 1;
  text-align: center;
  width: 42px;
}

.contact {
  display: grid;
  gap: 3px;
  margin: 12px 0;
}

.contact strong {
  font-size: 18px;
}

.contact-actions button {
  background: #f1f1f1;
  height: 42px;
}

.market-note,
.fit-card {
  background: var(--soft);
  border-radius: 14px;
  margin-top: 34px;
  padding: 14px 16px;
}

.market-note {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 38px 1fr auto;
  max-width: 640px;
}

.market-note__icon {
  align-items: center;
  background: linear-gradient(135deg, #00b5ff, #15c47e);
  border-radius: 10px;
  color: #fff;
  display: flex;
  font-size: 22px;
  font-weight: 700;
  height: 38px;
  justify-content: center;
}

.market-note p {
  color: #222;
  font-size: 12px;
  margin: 2px 0 0;
}

.market-note__arrow {
  color: #777;
  font-size: 26px;
}

.section {
  margin-top: 34px;
  max-width: 640px;
}

.section p {
  line-height: 1.45;
}

.specs {
  display: grid;
  gap: 11px 42px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 10px;
}

.specs div {
  display: grid;
  gap: 4px;
  grid-template-columns: auto 1fr;
}

.specs dt {
  color: #6f6f6f;
}

.specs dd {
  font-weight: 700;
  margin: 0;
}

.fit-card {
  max-width: 640px;
}

.fit-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.fit-card__row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 68px 1fr auto 28px;
}

.fit-card__car {
  border-radius: 8px;
  height: 40px;
  object-fit: cover;
  width: 68px;
}

.fit-card p {
  color: #666;
  font-size: 12px;
  margin: 2px 0 0;
}

.fit-card button {
  background: #111;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  height: 34px;
  padding: 0 12px;
}

.fit-card__icon {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  display: flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.fit-card__icon img {
  display: block;
  height: 20px;
  width: 20px;
}

.recommended-offers {
  max-width: 640px;
  outline: 0;
}

.recommended-offers.is-hidden {
  display: none;
}

.recommendation-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  min-width: 0;
}

.recommendation-card {
  border: 2px solid transparent;
  border-radius: 8px;
  color: #111;
  cursor: pointer;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding-bottom: 4px;
}

.recommendation-card:hover {
  border-color: #d8d8d8;
}

.recommendation-card:focus-visible {
  border-color: var(--blue);
  outline: 0;
}

.recommendation-card.is-active {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(150, 94, 234, .12);
}

.recommendation-card__media {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.recommendation-card__media img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.recommendation-card__type {
  background: rgba(255, 255, 255, .92);
  border-radius: 8px;
  color: #333;
  font-size: 13px;
  left: 7px;
  line-height: 1;
  padding: 6px 8px;
  position: absolute;
  bottom: 7px;
}

.recommendation-card__link,
.recommendation-card b,
.recommendation-card p,
.recommendation-card small,
.offer-badges {
  margin-left: 2px;
  margin-right: 2px;
}

.recommendation-card__link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
}

.recommendation-card b {
  font-size: 15px;
}

.offer-badges {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
  overflow: hidden;
}

.offer-badge {
  --badge-bg: #04c65d;
  --badge-text: #fff;
  align-items: stretch;
  color: var(--badge-bg);
  display: inline-flex;
  flex: 0 0 auto;
  height: 21px;
  line-height: 1;
  white-space: nowrap;
}

.offer-badge:first-child {
  flex-shrink: 1;
  min-width: 0;
}

.offer-badge__edge {
  color: var(--badge-bg);
  display: block;
  flex: 0 0 auto;
  height: 21px;
  width: auto;
}

.offer-badge__edge:first-child {
  transform: scaleX(-1);
}

.offer-badge__label {
  align-items: center;
  background: var(--badge-bg);
  color: var(--badge-text);
  display: inline-flex;
  font-size: 11px;
  height: 21px;
  line-height: 21px;
  min-width: 0;
  overflow: hidden;
  padding: 0 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-badge--green {
  --badge-bg: #04c65d;
}

.offer-badge--blue {
  --badge-bg: #00aaff;
}

.offer-badge--purple {
  --badge-bg: #965eea;
}

.offer-badge--neutral {
  --badge-bg: #f1f1f1;
  --badge-text: #111;
}

.recommendation-card p {
  color: #555;
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 0;
  margin-top: 0;
}

.recommendation-card small {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.comparison-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 20;
}

.comparison-modal.is-hidden {
  display: none;
}

.comparison-modal__backdrop {
  background: rgba(0, 0, 0, .42);
  inset: 0;
  position: absolute;
}

.comparison-modal__panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
  max-height: 90vh;
  max-width: 640px;
  overflow-y: auto;
  padding: 22px 24px 24px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.comparison-modal__close {
  align-items: center;
  background: #f1f1f1;
  border: 0;
  border-radius: 50%;
  display: flex;
  font-size: 28px;
  font-weight: 400;
  height: 36px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 36px;
}

.comparison-modal h2 {
  font-size: 24px;
  line-height: 1.12;
  margin: 0 0 4px;
  padding-right: 46px;
}

.comparison-modal__subtitle {
  color: #555;
  font-size: 15px;
  margin: 0 0 18px;
}

.comparison-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.comparison-item {
  background: var(--soft);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.comparison-item--offer {
  background: var(--soft);
  box-shadow: inset 0 0 0 2px rgba(0, 170, 255, .16);
}

.comparison-item span {
  color: var(--muted);
  font-size: 15px;
}

.comparison-item__link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.22;
}

.comparison-item b {
  font-size: 18px;
}

.comparison-item p {
  color: #333;
  font-size: 15px;
  margin: 0;
}

.comparison-table {
  border-collapse: collapse;
  margin-top: 22px;
  width: 100%;
}

.comparison-table thead th {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  padding: 0 0 10px;
  text-align: left;
}

.comparison-table thead th:first-child {
  width: 38%;
}

.comparison-table tbody tr {
  border-top: 1px solid var(--line);
}

.comparison-table__section td {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  padding: 18px 0 10px;
}

.comparison-table td {
  font-size: 15px;
  padding: 12px 0;
  vertical-align: middle;
}

.comparison-table__label {
  color: var(--muted);
}

.comparison-table__cell--diff {
  color: var(--ink);
  font-weight: 700;
}

.comparison-table__cell--diff::after {
  color: var(--muted);
  content: " отличается";
  font-size: 13px;
  font-weight: 400;
  margin-left: 6px;
}

.comparison-benefit {
  background: #edf8d5;
  border-radius: 8px;
  margin-top: 14px;
  padding: 14px 16px;
}

.comparison-benefit.is-zero {
  background: #f1f1f1;
}

.comparison-benefit span {
  color: #267a43;
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.comparison-benefit.is-zero span {
  color: #555;
}

.comparison-benefit strong {
  color: #04a84f;
  display: block;
  font-size: 32px;
  line-height: 1;
}

.comparison-benefit.is-zero strong {
  color: #111;
}

.comparison-benefit p {
  color: #333;
  font-size: 15px;
  margin: 8px 0 0;
}

.feature-onboarding {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 20;
}

.feature-onboarding.is-hidden {
  display: none;
}

.feature-onboarding__shade {
  background: rgba(0, 0, 0, .54);
  inset: 0;
  pointer-events: auto;
  position: absolute;
}

.feature-onboarding__popover {
  background: #111;
  border-radius: 8px;
  color: #fff;
  left: var(--onboarding-left, 50%);
  max-width: 334px;
  padding: 18px;
  pointer-events: auto;
  position: absolute;
  top: var(--onboarding-top, 120px);
  width: min(334px, calc(100vw - 32px));
  z-index: 22;
}

.feature-onboarding__popover::before {
  border-bottom: 9px solid transparent;
  border-right: 10px solid #111;
  border-top: 9px solid transparent;
  content: "";
  left: -10px;
  position: absolute;
  top: 30px;
}

.feature-onboarding__close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  display: flex;
  font-size: 26px;
  height: 28px;
  justify-content: center;
  position: absolute;
  right: 12px;
  top: 10px;
  width: 28px;
}

.feature-onboarding__eyebrow {
  color: #97cf26;
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.feature-onboarding h2 {
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 28px 10px 0;
}

.feature-onboarding p {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
}

.feature-onboarding__actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  margin-top: 16px;
}

.feature-onboarding__primary,
.feature-onboarding__secondary {
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  height: 40px;
  padding: 0 14px;
}

.feature-onboarding__primary {
  background: #fff;
  color: #111;
}

.feature-onboarding__secondary {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.description p {
  margin: 0 0 4px;
}

.location p {
  margin-bottom: 4px;
}

.ask__box {
  display: grid;
  grid-template-columns: 1fr 34px;
  max-width: 640px;
}

.ask__box input,
.ask__box button {
  background: var(--soft);
  border: 0;
  height: 54px;
}

.ask__box input {
  border-radius: 10px 0 0 10px;
  padding: 0 16px;
}

.ask__box button {
  border-radius: 0 10px 10px 0;
  color: #b8b8b8;
  font-size: 30px;
}

.quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-questions button {
  background: #111;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-size: 12px;
  height: 28px;
  padding: 0 12px;
}

.listing-footer {
  margin-top: 36px;
}

.listing-footer button {
  background: #f2f2f2;
  border: 0;
  border-radius: 8px;
  height: 36px;
  margin-top: 14px;
  padding: 0 14px;
}

.other h2 {
  align-items: center;
  display: flex;
  font-size: 24px;
  gap: 6px;
}

.cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 640px;
}

.card {
  color: #111;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.card img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1a1a1a, #5fb4db);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.card strong {
  font-size: 13px;
  line-height: 1.15;
}

.card span {
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.card small {
  color: #666;
  font-size: 11px;
  line-height: 1.2;
}

.ads {
  display: grid;
  gap: 12px;
  padding-top: 48px;
  position: sticky;
  top: 16px;
}

.ad {
  border-radius: 8px;
  color: #fff;
  min-height: 124px;
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.ad--red {
  background:
    linear-gradient(135deg, rgba(255,255,255,.16), transparent 48%),
    #ff1748;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ad--blue {
  background:
    linear-gradient(160deg, transparent 45%, rgba(255,255,255,.22) 46% 48%, transparent 49%),
    linear-gradient(135deg, #1d1a5e, #6975c9);
  min-height: 420px;
}

.ad span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 22px;
}

.ad strong {
  bottom: 14px;
  font-size: 15px;
  left: 14px;
  position: absolute;
  right: 14px;
}

.ad--red span {
  font-size: 19px;
  margin-bottom: 12px;
}

.ad--red strong {
  position: static;
}

.ad-button {
  background: #111;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 400;
  height: 34px;
}

.footer {
  background: #f5f5f5;
  margin: 0 auto;
  max-width: 1316px;
  padding: 26px 0 46px;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.footer p {
  color: #777;
  font-size: 12px;
  margin: 18px 0 0;
}

@media (max-width: 1348px) {
  .site-header,
  .page,
  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 1180px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .ads {
    display: none;
  }

  .searchbar {
    grid-template-columns: 90px 116px minmax(260px, 1fr);
  }

  .location-button {
    display: none;
  }

  .product-top {
    grid-template-columns: 640px minmax(0, 300px);
  }
}

@media (max-width: 1020px) {
  .hero {
    padding-right: 362px;
  }

  .gallery__stage {
    aspect-ratio: 4 / 3;
    height: auto;
    width: 100%;
  }

  .purchase {
    width: 334px;
  }
}

@media (max-width: 760px) {
  .utility {
    display: none;
  }

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

  .brand {
    width: max-content;
  }

  .catalog-button {
    display: none;
  }

  .search {
    grid-template-columns: 1fr 76px;
  }

  .hero {
    display: block;
    padding-right: 0;
  }

  .hero__head {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .product-top {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .purchase {
    width: auto;
  }

  .gallery__stage {
    aspect-ratio: 418 / 292;
    width: 100%;
  }

  .hero__tools {
    order: -1;
    position: static;
  }

  h1 {
    font-size: 25px;
    white-space: normal;
  }

  .price {
    font-size: 26px;
    padding-right: 0;
  }

  .specs,
  .cards,
  .recommendation-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fit-card__row {
    grid-template-columns: 68px 1fr;
  }

  .fit-card button,
  .fit-card__icon {
    grid-column: span 2;
  }

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

  .feature-onboarding__popover {
    bottom: 16px;
    left: 16px;
    top: auto;
  }

  .feature-onboarding__popover::before {
    display: none;
  }

  .feature-onboarding__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .actions,
  .contact-actions,
  .specs,
  .cards,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .gallery__thumbs {
    max-width: 100%;
  }

  .market-note {
    max-width: 100%;
  }
}
