.car {
  padding-top: 40px;
}

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

.car .section__head {
  margin-bottom: var(--space-6);
}

.car-hero {
  display: grid;
  grid-template-columns: minmax(0, 1003fr) minmax(280px, 552fr);
  gap: 125px;
  align-items: start;
  margin-top: var(--space-6);
}

.car-photo__img {
  display: block;
  width: 100%;
  aspect-ratio: 1003 / 663;
  object-fit: contain;
  border-radius: 12px;
  background: var(--color-gray-50);
  transition: opacity 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .car-photo__img,
  .page-car:not(.page-used-car) .trim-picker__btn img {
    transition: none;
  }
}

.car-photo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 24px;
  margin-top: var(--space-4);
}

.car-swatches {
  display: flex;
  gap: var(--space-1);
}

.car-swatch {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(18, 18, 23, 0.08);
}

.car-swatch.is-on {
  box-shadow: 0 0 0 1px #FFF, 0 0 0 2px #F53D6B;
}

.car-swatch:hover {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-gray-200);
}

.car-photo__color {
  margin-left: auto;
  font-size: 14px;
  line-height: 20px;
}

.car-buy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.car-buy__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.car-buy h1 {
  font-size: 36px;
  line-height: 48px;
  font-weight: 600;
  letter-spacing: var(--tracking-tight);
}

.car-buy__icons {
  display: flex;
  gap: var(--space-1);
}

.car-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.car-icon.is-active {
  background: var(--color-bg-accent);
  border-color: var(--color-red-500);
}

.car-icon[data-fav].is-active {
  background: #fff;
  border-color: var(--color-border-outline);
}

.car-icon[data-fav]:not(.is-active) img {
  content: url("../images/icons/heart-dark.svg");
}

.car-icon[data-fav]:hover:not(.is-active) img {
  content: url("../images/icons/heart-gray.svg");
}

.car-icon[data-fav].is-active img,
.car-icon[data-fav].is-active:hover img {
  content: url("../images/icons/heart-fill-24.svg");
}

.car-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.car-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-3xl);
  font-size: 14px;
  line-height: 20px;
  height: 28px;
}

.car-badge span {
  padding: var(--space-1);
}

.car-badge--hit {
  background: var(--color-bg-accent);
  color: var(--color-text-accent);
}

.car-badge--warranty {
  background: #eefbf4;
  color: #17663a;
}

.car-badge--first {
  background: #f0faff;
  color: #0075ad;
}

.car-badge--green {
  background: #eefbf4;
  color: #17663a;
}

.car-badge--blue {
  background: #f0faff;
  color: #0075ad;
}

.car-badge--pink {
  background: #feecfb;
  color: #a5088c;
}

.car-badge--orange {
  background: #fff2ee;
  color: #b82e00;
}

.car-badge--purple {
  background: #f3effe;
  color: #4316ca;
}

.page-used-car .car-buy {
  gap: var(--space-5);
}

@media (min-width: 769px) {
  .page-car:not(.page-used-car) .car-hero {
    align-items: stretch;
  }

  .page-car:not(.page-used-car) .car-photo {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
  }

  .page-car:not(.page-used-car) .car-photo__img {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 1003 / 663;
    object-fit: contain;
  }

  .page-used-car .car-hero {
    align-items: stretch;
  }

  .page-used-car .used-photo {
    align-self: stretch;
    min-height: 0;
    grid-template-rows: minmax(0, 547.2fr) minmax(0, 127.8fr);
  }

  .page-used-car .used-frame {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
  }

  .page-used-car .used-stage,
  .page-used-car .used-thumb {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .page-used-car .trim-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: center;
    width: 100%;
  }

  .page-used-car .trim-picker__label {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
  }

  .page-used-car .trim-picker__more {
    grid-column: 1;
    grid-row: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-self: start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-text-primary);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
  }

  .page-used-car .trim-picker__more span {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .page-used-car .trim-picker__more img {
    width: 20px;
    height: 20px;
  }

  .page-used-car .trim-picker__btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--color-bg-button-primary);
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    white-space: nowrap;
  }

  .page-used-car .trim-picker__btn span {
    padding: 0;
  }

  .page-car:not(.page-used-car) .trim-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: center;
    width: 100%;
  }

  .page-car:not(.page-used-car) .trim-picker__label {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
  }

  .page-car:not(.page-used-car) .trim-picker__more {
    grid-column: 1;
    grid-row: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-self: start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-text-primary);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
  }

  .page-car:not(.page-used-car) .trim-picker__more span {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .page-car:not(.page-used-car) .trim-picker__more img {
    width: 20px;
    height: 20px;
  }

  .page-car:not(.page-used-car) .trim-picker__field {
    position: relative;
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .page-car:not(.page-used-car) .trim-picker__btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    height: 40px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--radius-md);
    background: var(--color-bg-button-primary);
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    white-space: nowrap;
  }

  .page-car:not(.page-used-car) .trim-picker__btn span {
    padding: 0 4px;
  }

  .page-car:not(.page-used-car) .trim-picker__btn img {
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
  }

  .page-car:not(.page-used-car) .trim-picker__btn[aria-expanded="true"] img {
    transform: rotate(180deg);
  }

  .page-car:not(.page-used-car) .trim-picker__btn:hover:not(:disabled) {
    background: var(--color-bg-button-primary-hover);
  }

  .page-car:not(.page-used-car) .trim-picker__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-bg-button-primary);
  }

  .page-car:not(.page-used-car) .trim-picker__more:hover:not(:disabled) {
    background: none;
    color: var(--color-text-accent);
  }

  .trim-menu:not([hidden]) {
    position: absolute;
    z-index: 5;
    top: calc(100% + 8px);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 244px;
    padding: 12px 0;
    background: var(--surface-overlay);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-overlay);
  }

  .page-car .car-calc__banks {
    margin-top: 9px;
  }
}

.page-used-car .trim-picker__btn:hover:not(:disabled) {
  background: var(--color-bg-button-primary-hover);
}

.page-used-car .trim-picker__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-bg-button-primary);
}

.page-used-car .trim-picker__more:hover:not(:disabled) {
  background: none;
  color: var(--color-text-accent);
}

.page-used-car .trim-picker__more:focus-visible {
  outline: none;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-red-500);
}

.page-used-car .car-buy__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
}

.page-used-car .car-icon,
.page-used-car .car-icon[data-fav].is-active {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-used-car .car-badges {
  gap: var(--space-1);
}

.car-conditions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.car-perk-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
}

.page-used-car .car-perk {
  column-gap: var(--space-4);
  row-gap: 0;
}

.page-used-car .car-switch {
  grid-row: 1;
  align-self: center;
}

.page-used-car .car-perk__name,
.page-used-car .car-perk__sum,
.page-used-car .car-perk__link {
  line-height: 24px;
}

.page-used-car .car-perk__sum {
  font-weight: 400;
}

.page-used-car .car-perk.is-on .car-perk__sum {
  color: var(--color-text-secondary);
}

.page-used-car .car-perk:not(.is-on) .car-perk__name {
  color: var(--color-text-primary);
}

.page-used-car .car-perk__link {
  color: #0075ad;
  font-weight: 500;
}

.page-car .car-buy__intro {
  display: contents;
}

.page-car .car-perk {
  column-gap: var(--space-4);
  row-gap: 0;
}

.page-car .car-switch {
  grid-row: 1;
  align-self: center;
}

.page-car .car-perk__name,
.page-car .car-perk__sum,
.page-car .car-perk__link {
  line-height: 24px;
}

.page-car .car-perk__sum {
  font-weight: 400;
}

.page-car .car-perk.is-on .car-perk__sum {
  color: var(--color-text-secondary);
}

.page-car .car-perk:not(.is-on) .car-perk__name {
  color: var(--color-text-primary);
}

.page-car .car-perk__link {
  color: #0075ad;
  font-weight: 500;
}

.page-car .car-total {
  gap: var(--space-4);
  border: 1px solid var(--color-gray-100);
}

.page-car .car-photo__color {
  color: var(--color-text-secondary);
}

.page-used-car .car-total {
  gap: var(--space-4);
  border: 1px solid var(--color-gray-100);
}

.car-total__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.car-total__rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 24px;
}

.car-total__hint {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.hint-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-gray-200);
  cursor: pointer;
}

.hint-tip svg {
  position: relative;
  z-index: 1;
  display: block;
}

.hint-tip:hover,
.hint-tip:focus-visible {
  color: var(--color-red-500);
}

.hint-tip:focus-visible {
  outline: none;
}

.hint-tip:focus-visible::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-red-500);
}

.hint-tip__pop {
  position: absolute;
  bottom: 32px;
  left: 50%;
  z-index: 5;
  display: none;
  width: max-content;
  max-width: 280px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-red-500);
  color: var(--color-text-white);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.hint-tip__pop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 24px;
  height: 8px;
  background: url("../images/icons/tooltip-tip.svg") center / 24px 8px no-repeat;
  transform: translateX(-50%);
}

.hint-tip:hover .hint-tip__pop,
.hint-tip:focus-visible .hint-tip__pop {
  display: block;
}

.hint-tip--below .hint-tip__pop {
  top: 32px;
  right: -12px;
  bottom: auto;
  left: auto;
  transform: none;
}

.hint-tip--below .hint-tip__pop::after {
  top: -8px;
  right: 12px;
  bottom: auto;
  left: auto;
  transform: rotate(180deg);
}

.page-car .car-calc__banks {
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
  gap: 4px;
}

.page-car #calc .car-calc__head .credit-title {
  margin-bottom: 0;
}

.page-car .car-calc__banks .car-calc__marks {
  width: 75px;
  height: 31px;
  max-width: none;
}

.used-photo {
  display: grid;
  gap: var(--space-3);
}

.used-frame {
  display: grid;
  grid-template-rows: minmax(0, auto);
  align-self: start;
  min-width: 0;
}

.used-stage {
  display: grid;
  grid-area: 1 / 1;
  grid-template-rows: minmax(0, 1fr);
  align-self: start;
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 1003 / 512;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #d8d8de;
  cursor: pointer;
}

.used-stage img {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: 0;
  min-height: 100%;
  min-width: 0;
  object-fit: cover;
}

.used-nav {
  z-index: 1;
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  place-self: center start;
  width: 40px;
  height: 40px;
  margin-left: 16px;
  padding: 8px;
  border: 0;
  border-radius: var(--radius-3xl);
  cursor: pointer;
}

.used-nav--next {
  place-self: center end;
  margin-right: 16px;
  margin-left: 0;
}

.used-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
}

.used-thumb {
  display: block;
  aspect-ratio: 191 / 119;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #d9d9d9;
  cursor: pointer;
}

.used-thumb img {
  display: block;
  width: 100%;
  height: 0;
  min-height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.used-thumb.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #f53d6b;
}

.page-used-car .trade-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.page-used-car .trade-tag {
  padding: 4px 10px;
  border-radius: var(--radius-3xl);
  font-size: 12px;
  line-height: 16px;
}

.page-used-car .trade-tag--purple {
  background: #f4f1fd;
  color: #4316ca;
}

.page-used-car .trade-tag--green {
  background: #eefbf4;
  color: #17663a;
}

.page-used-car .trade-tag--blue {
  background: #f0faff;
  color: #0075ad;
}

.page-used-car .trade-tag--pink {
  background: #feecfb;
  color: #a5088c;
}

.page-used-car .trade-tag--orange {
  background: #fff2ee;
  color: #b82e00;
}

.equip-drive {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 4px 8px;
  border-radius: var(--radius-3xl);
  background: var(--color-bg-button-primary);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
}

.equip-drive span {
  padding-inline: var(--space-1);
}

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

.car-total {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-card);
  background: var(--color-gray-900);
  color: var(--color-text-white);
}

.car-total__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
}

.car-total__line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.car-total__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 24px;
}

.car-buy__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.car-perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.car-perk {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 2px var(--space-3);
  align-items: center;
}

.car-switch {
  grid-row: 1 / span 2;
  width: 30px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-3xl);
  background: var(--color-gray-200);
  position: relative;
}

.car-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.car-switch:hover:not(:disabled) {
  background: var(--color-border-input-hover);
}

.car-switch.is-on {
  background: var(--color-red-500);
}

.car-switch.is-on:hover:not(:disabled) {
  background: var(--color-bg-button-primary-hover);
}

.car-switch:focus {
  outline: none;
}

.car-switch:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-red-500);
}

.car-switch:disabled,
.car-switch.is-on:disabled {
  background: var(--color-gray-100);
  cursor: default;
}

.car-switch.is-on::after {
  left: 16px;
}

.car-perk__name,
.car-perk__sum {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.car-perk__sum {
  grid-column: 3;
  grid-row: 1;
}

.car-perk:not(.is-on) .car-perk__name,
.car-perk:not(.is-on) .car-perk__sum {
  color: var(--color-text-button-disabled);
}

.car-perk__link {
  grid-column: 2;
  justify-self: start;
  color: var(--color-text-primary);
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.car-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--layout-section);
}

.car-ask {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-5);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, #F53D6B 0%, #D50B3E 100%);
  color: var(--color-text-white);
}

.car-ask h2 {
  flex: 0 1 647px;
  max-width: 647px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.car-ask__form {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.car-ask__phone {
  flex: 1 1 180px;
  min-width: 0;
  height: 40px;
  padding: 0 var(--space-4);
  border: 0;
  border-radius: var(--radius-3xl);
  background: #fff;
  color: var(--color-text-primary);
  font: inherit;
  font-size: 14px;
  line-height: 24px;
}

.car-ask__form .btn {
  flex: 0 0 156px;
  width: 156px;
}

.car-ask .check,
.car-ask .check a,
.car-ask .form-error,
.car-ask__success {
  flex-basis: 100%;
  color: #fff;
}

.car-ask .check a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.car-specs {
  display: flex;
  gap: var(--space-8);
  justify-content: space-between;
}

.spec-grid {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.spec-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  width: 327px;
  justify-content: space-between;
}

.spec-row {
  display: flex;
  gap: var(--space-3);
  font-size: 14px;
  line-height: 20px;
}

.spec-row dt {
  color: var(--color-text-secondary);
  font-weight: 400;
}

.spec-row dd {
  margin: 0;
  color: #292d34;
  font-weight: 500;
  text-align: right;
}

.spec-row a {
  color: #0075ad;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.own h2 {
  margin-bottom: var(--space-3);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.own__row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.own__chart {
  display: contents;
}

.own__donut {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 170px;
  height: 170px;
  background: url("../images/car/own-donut.svg") center / 170px 170px no-repeat;
}

.own__donut::before {
  content: "";
  grid-area: 1 / 1;
  width: 114px;
  height: 114px;
  border-radius: 50%;
  background: #fff;
}

.own__donut strong {
  grid-area: 1 / 1;
  z-index: 1;
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
}

.own__legend {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.own__legend p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #6C6C89;
}

.own__legend p span {
  font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 24px;
color: #292D34;
}

.own__legend li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  line-height: 20px;
}

.own__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.own__dot--fuel { background: #7047eb; }
.own__dot--osago { background: #f76489; }
.own__dot--tax { background: #ffc233; }
.own__dot--service { background: #38beff; }

.own__legend b {
  margin-left: auto;
  font-weight: 500;
}

.page-used-car .car-specs__main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-6);
  min-width: 0;
}

.page-used-car .car-specs__note {
  margin: 0;
  max-width: 1030px;
  color: #000;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
}

.used-gain {
  display: flex;
  flex: 0 0 552px;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  width: 552px;
  padding: var(--space-6) var(--space-8);
  border: 1px solid var(--color-gray-100);
  border-radius: 28px;
  background: var(--color-gray-50);
}

.used-gain__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
}

.used-gain__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.used-gain h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.used-gain ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.used-gain li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
}

.used-gain__name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}

.used-gain__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.used-gain__dot--trade { background: #7047eb; }
.used-gain__dot--credit { background: #f76489; }
.used-gain__dot--now { background: #38beff; }
.used-gain__dot--gov { background: #ffc233; }

.used-gain [data-gain-sum] {
  flex: 0 0 auto;
  white-space: nowrap;
}

.used-gain li.is-off [data-gain-sum] {
  color: var(--color-text-secondary);
}

.used-gain__chart {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 171px;
  height: 171px;
}

.used-gain__ring {
  grid-area: 1 / 1;
  width: 171px;
  height: 171px;
}

.used-gain__chart strong {
  grid-area: 1 / 1;
  z-index: 1;
  font-size: 16px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
}

.used-gain .btn {
  width: 100%;
}

.equip {
  display: grid;
  grid-template-columns: 326px minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}

.equip.equip--static {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.equip-groups {
  display: flex;
  flex-direction: column;
}

.equip-group + .equip-group {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-gray-200);
}

.equip-group h3,
.equip-block h3 {
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
}

.equip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.equip-chip {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid var(--color-border-outline);
  border-radius: var(--radius-3xl);
  background: var(--color-gray-50);
  color: #3f3f50;
  font-size: 14px;
  line-height: 20px;
}

.equip-chip span {
  padding: var(--space-1);
}

.equip-chip.is-on {
  border-color: var(--color-red-500);
  background: var(--color-red-500);
  color: #fff;
}

.equip-chip:hover:not(.is-on) {
  border-color: var(--color-border-accent);
  background: var(--color-bg-accent);
  color: var(--color-text-accent);
}

.equip-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  width: 100%;
}

.equip-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.equip-block h3 {
  margin-bottom: var(--space-1);
}

.equip-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.equip-block li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 24px;
}

.equip-block li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.page-car:not(.page-used-car) .equip {
  grid-template-columns: 326px minmax(0, 1fr) 378px;
  gap: 12px;
}

.page-car:not(.page-used-car) .equip-cols {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.buy-gain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  width: 378px;
  padding: var(--space-6) var(--space-8);
  border: 1px solid var(--color-gray-100);
  border-radius: 28px;
  background: var(--color-gray-50);
}

.buy-gain__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.buy-gain h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.buy-gain ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.buy-gain li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
}

.buy-gain__name {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  min-width: 0;
}

.buy-gain__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
}

.buy-gain__dot--trade { background: #7047eb; }
.buy-gain__dot--credit { background: #f76489; }
.buy-gain__dot--now { background: #38beff; }
.buy-gain__dot--gov { background: #ffc233; }
.buy-gain__dot--dealer { background: #3dce7c; }

.buy-gain li.is-off [data-gain-sum] {
  color: var(--color-text-secondary);
}

.buy-gain__chart {
  display: grid;
  place-items: center;
  width: 194px;
  height: 194px;
}

.buy-gain__ring {
  grid-area: 1 / 1;
  width: 194px;
  height: 194px;
}

.buy-gain__chart strong {
  grid-area: 1 / 1;
  z-index: 1;
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
}

.buy-gain .btn {
  width: 100%;
}

.car-about p {
  margin-bottom: var(--space-5);
  font-size: 14px;
  line-height: 20px;
}

.car-about p:last-child {
  margin-bottom: 0;
}

.car-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}

.car-photos__main,
.car-photos__tile {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #d8d8de;
  cursor: pointer;
}

.car-photos__main img,
.car-photos__tile img,
.car-photos__more span {
  grid-area: 1 / 1;
}

.car-photos__main img,
.car-photos__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-photos__main {
  aspect-ratio: 834 / 448;
}

.car-photos__side {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  min-height: 0;
}

.car-photos__more span {
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 60px;
  line-height: 72px;
  font-weight: 500;
  letter-spacing: -0.025em;
  pointer-events: none;
}

.car-photos__more:hover span {
  color: var(--color-gray-200);
}

.photo-viewer {
  width: 50%;
  padding: 10px;
  border: 0;
  border-radius: 16px;
  background: none;
  color: #fff;
  top: 200px;
  left: 25%;
}

.photo-viewer::backdrop {
  background: rgba(18, 18, 23, 0.72);
}

.photo-viewer__frame {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-viewer__close {
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.photo-viewer__stage {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.photo-viewer__img {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-height: min(72vh, 720px);
  object-fit: contain;
  border-radius: 8px;
}

.photo-viewer__nav {
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.photo-viewer__nav--prev img {
  transform: rotate(180deg);
}

.photo-viewer__count {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}

.car-calc__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-5);
}

.car-calc__sub {
  margin-top: 0;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 20px;
}

.car-calc__sub a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  color: var(--color-text-primary);
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.car-calc__sub a img {
  width: 24px;
  height: 24px;
}

.car-calc__banks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.car-calc__banks img {
  height: 28px;
  width: auto;
  max-width: 120px;
}

.car-trade {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 104px;
  padding: var(--space-5) var(--space-8);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #282833;
  color: #fff;
}

.car-trade__glow {
  position: absolute;
  left: -1.96%;
  top: -258px;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.car-trade p {
  position: relative;
  z-index: 2;
  width: min(488px, 42%);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.car-trade .btn {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.car-trade__shot {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border-radius: 12px;
  pointer-events: none;
}

.car-trade__shot img {
  position: absolute;
  width: 128.31%;
  height: 103.74%;
  left: -14.16%;
  top: -1.75%;
  max-width: none;
}

.car-trade__shot--old {
  left: 37.86%;
  width: 209px;
  height: 180px;
  transform: rotate(-6.77deg);
}

.car-trade__shot--new {
  left: 61.07%;
  top: -73px;
  width: 265px;
  height: 185px;
  border: 12px solid #fff;
  transform: rotate(11.14deg);
}

.car-trade__arrow {
  position: absolute;
  z-index: 1;
  left: 52.32%;
  top: 32px;
  pointer-events: none;
}

.car-also {
  --hits-inset: max(var(--layout-gutter), calc((100% - var(--layout-content)) / 2));
  margin-bottom: var(--layout-section);
}

.car-also .hits__viewport {
  width: 100%;
  margin-left: 0;
}

.car-also .hits__track {
  gap: 0;
  scroll-padding-left: 0;
  scroll-snap-type: none;
}

.car-also .hits__track::before,
.car-also .hits__track::after {
  content: "";
  flex: 0 0 var(--hits-inset);
  scroll-snap-align: none;
}

.car-also .hits__track .card {
  scroll-snap-align: none;
}

.car-also .hits__track .card:not(:last-child) {
  margin-right: var(--space-3);
}

@media (max-width: 1280px) {
  .car-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: var(--space-8);
  }

  .car-ask,
  .car-specs,
  .equip {
    gap: var(--space-6);
  }

  .car-ask h2 {
    flex-basis: 420px;
  }

}

@media (max-width: 768px) {
  .car-hero,
  .car-specs,
  .spec-grid,
  .equip,
  .equip-cols,
  .car-photos,
  .car-ask,
  .car-calc__head {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .car-hero,
  .equip {
    gap: var(--space-6);
  }
  .car-calc__banks {
    display: none;
  }

  .car-buy h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .car-total__top {
    font-size: 24px;
    line-height: 32px;
  }

  .car-ask h2 {
    flex-basis: auto;
    max-width: none;
  }

  .car-ask__form .btn {
    flex: 1 1 auto;
    width: auto;
  }

  .car-photos__side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .car-photos__tile {
    aspect-ratio: 270 / 218;
  }

  .car-photos__more span {
    font-size: 36px;
    line-height: 44px;
  }

  .own__row {
    flex-direction: column;
  }

  .page-used-car .used-gain {
    flex-basis: auto;
    width: 100%;
    padding: 24px 20px;
  }

  .page-used-car .used-gain__body {
    flex-direction: column;
    align-items: stretch;
  }

  .page-used-car .used-gain__list {
    width: 100%;
    flex-basis: auto;
  }

  .page-used-car .used-gain__chart {
    margin-inline: auto;
  }

  .car-trade {
    gap: var(--space-4);
    padding: var(--space-5);
  }

  .car-trade p {
    width: auto;
    flex: 1 1 auto;
    font-size: 18px;
    line-height: 24px;
  }

  .car-trade__shot,
  .car-trade__arrow {
    display: none;
  }

  .car .tabs {
    font-size: 12px;
    height: auto;
  }

  .car .tab {
    font-size: 12px;
  }

  .used-thumbs {
    grid-template-columns: repeat(5, 88px);
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .used-thumbs::-webkit-scrollbar {
    display: none;
  }

  .photo-viewer {
    width: 100%;
    left: 20px;
  }
}

.trim-picker {
  display: none;
}

.trim-menu {
  display: none;
}

.trim-menu__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.trim-menu__title {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.trim-menu__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trim-menu__option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.trim-menu__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trim-menu__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.trim-menu__name,
.trim-menu__price {
  font-size: 14px;
  line-height: 24px;
}

.trim-menu__price {
  color: var(--color-text-secondary);
}

.trim-menu__line {
  height: 1px;
  background: var(--color-gray-200);
}

.trim-menu__option input:checked + .trim-option__mark {
  border-color: var(--color-bg-button-primary);
}

.trim-menu__option input:checked + .trim-option__mark::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-bg-button-primary);
}

.trim-menu__option input:focus-visible + .trim-option__mark {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-red-500);
}

.trim-sheet[hidden] {
  display: none;
}

.trim-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
}

.trim-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(18, 18, 23, 0.34);
}

.trim-sheet__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: min(556px, calc(100% - 24px));
  background: #fff;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -4px 36px rgba(0, 0, 0, 0.25);
}

.trim-sheet__handle {
  width: 40px;
  height: 4px;
  margin: 16px auto;
  border-radius: 100px;
  background: var(--color-text-button-disabled);
}

.trim-sheet__head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 0 20px;
}

.trim-sheet__head h2 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  line-height: 32px;
  font-weight: 600;
}

.trim-sheet__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  padding: 0 20px 24px;
}

.trim-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
}

.trim-group + .trim-group {
  margin-top: 12px;
  border-top: 1px solid var(--color-gray-200);
}

.trim-group__title {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
}

.trim-group__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trim-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  cursor: pointer;
}

.trim-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trim-option__mark {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--color-border-checkbox);
  border-radius: 50%;
  background: #fff;
}

.trim-option input:checked + .trim-option__mark {
  border-color: var(--color-bg-button-primary);
}

.trim-option input:checked + .trim-option__mark::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-bg-button-primary);
}

.trim-option__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 24px;
}

.trim-option__price {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
}

.trim-sheet__foot {
  padding: 12px 20px 24px;
  background: #fff;
  box-shadow: 0 -4px 18px rgba(18, 18, 23, 0.12);
}

.trim-sheet__foot .btn {
  width: 100%;
}

body.trim-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .trim-picker {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .trim-picker__label {
    margin: 0;
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
  }

  .trim-picker__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--radius-3xl);
    background: var(--color-bg-button-primary);
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
  }

  .trim-picker__btn span {
    padding-inline: 8px;
  }

  .trim-picker__btn img {
    filter: brightness(0) invert(1);
  }

  .trim-picker__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-text-primary);
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
  }

  .trim-picker__more span {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}

@media (max-width: 768px) {
  .page-car .car-hero {
    gap: 20px;
    margin-top: 16px;
  }

  .page-car .car-photo,
  .page-car .car-buy {
    display: contents;
  }

  .page-car .car-buy__intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    order: 1;
  }

  .page-car .car-photo__bar {
    order: 2;
    margin-top: 0;
    flex-wrap: balance;
  }
  
  .car-photo__color {
    margin: 0;
  }
  
  .catalog__crumbs{
    gap: 5px;
    font-size: 12px;
    line-height: 12px;
    flex-wrap: wrap;
  }

  .page-car .car-photo__img {
    order: 3;
    width: calc(100% + var(--layout-gutter) * 2);
    max-width: none;
    margin-inline: calc(var(--layout-gutter) * -1);
    aspect-ratio: 390 / 257;
    border-radius: 12px;
  }

  .page-car .trim-picker {
    order: 4;
  }

  .page-car .trim-picker__btn {
    border-radius: var(--radius-md);
  }

  .page-car .car-conditions {
    order: 5;
  }

  .page-car .car-total {
    order: 6;
    border-radius: 24px;
  }

  .page-car .car-buy h1 {
    font-size: 30px;
    line-height: 32px;
    letter-spacing: 0;
  }

  .page-car .car-icon,
  .page-car .car-icon[data-fav].is-active {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .page-car .car-icon img {
    width: 20px;
    height: 20px;
  }

  .page-car .car-badges {
    gap: 4px;
  }

  .page-car .car-badge span {
    padding: 0 4px;
  }

  .page-car .car-swatch.is-on {
    box-shadow: 0 0 0 1px #fff, 0 0 0 2px #f53d6b;
  }

  .page-car .car-total__top {
    font-size: 26px;
    line-height: 36px;
  }

  .page-car .car-details {
    margin-top: 48px;
    gap: 24px;
  }

  .page-car:not(.page-used-car) .equip,
  .page-car:not(.page-used-car) .equip-cols {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .page-car:not(.page-used-car) .buy-gain {
    width: 100%;
    padding: 24px;
  }

  .page-car .section {
    margin-top: 48px;
  }

  .page-car .section__head {
    margin-bottom: 12px;
  }

  .page-car .section__title {
    font-size: 30px;
    line-height: 32px;
    letter-spacing: 0;
  }

  .page-car .car-ask {
    gap: 28px;
    padding: 20px 24px;
    border-radius: 24px;
  }

  .page-car .car-ask h2 {
    width: 269px;
    max-width: 269px;
  }

  .page-car .car-ask__form {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .page-car .car-ask__phone,
  .page-car .car-ask__form .btn {
    width: 100%;
    flex: none;
  }

  .page-car .car-ask__form .btn {
    margin-top: 4px;
  }

  .page-car .spec-col {
    gap: 8px;
    width: auto;
  }

  .page-car .spec-row {
    gap: 8px;
  }

  .page-car .own__row {
    align-items: stretch;
    gap: 16px;
  }

  .page-car .own__chart {
    display: grid;
    place-items: center;
    width: 100%;
    padding: 18px 0;
    border-radius: 16px;
    background: var(--color-gray-50);
  }

  .page-car .own__donut strong {
    font-size: 20px;
    line-height: 32px;
  }

  .page-car .own__legend {
    gap: 2px;
  }

  .page-car .own__legend p {
    margin-bottom: 10px;
  }

  .page-car .own__legend li {
    line-height: 24px;
  }

  .page-car .car-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .page-car .car-photos__main,
  .page-car .car-photos__tile {
    border-radius: 8px;
  }

  .page-car .car-photos__main {
    grid-column: 1 / -1;
    aspect-ratio: 350 / 210.8;
  }

  .page-car .car-photos__side {
    display: contents;
  }

  .page-car .car-photos__tile {
    aspect-ratio: 170 / 100.4;
  }

  .page-car .car-photos__more span {
    font-size: 36px;
    line-height: 48px;
    letter-spacing: -0.9px;
  }

  .page-car .car-calc__head {
    gap: 8px;
    margin-bottom: 24px;
  }

  .page-car .car-calc__head > div:first-child {
    display: contents;
  }

  .page-car .car-calc__banks {
    display: flex;
    flex-wrap: nowrap;
    order: 2;
    gap: 8px;
    align-items: center;
  }

  .page-car .car-calc__banks img {
    width: auto;
    height: 22px;
    max-width: 88px;
    object-fit: contain;
    object-position: left center;
  }

  .page-car .car-calc__banks .car-calc__marks {
    width: 75px;
    height: 31px;
    max-width: none;
  }

  .page-car .hint-tip--below .hint-tip__pop {
    right: auto;
    left: -12px;
  }

  .page-car .hint-tip--below .hint-tip__pop::after {
    right: auto;
    left: 12px;
  }

  .page-car .car-calc__tip {
    width: 24px;
    height: 24px;
  }

  .page-car .car-calc__sub {
    order: 3;
    margin-top: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .page-car .car-calc__sub a {
    gap: 8px;
  }

  .page-car .calc-card {
    flex-direction: column;
    align-items: stretch;
    width: calc(100% + var(--layout-gutter) * 2);
    margin-inline: calc(var(--layout-gutter) * -1);
    gap: 32px;
    padding: 24px 20px;
    border: 0;
    border-radius: 24px;
  }

  .page-car .calc-form,
  .page-car .calc-offer {
    width: 100%;
    flex: none;
  }

  .page-car .calc-figures {
    text-align: left;
  }

  .page-car .calc-figure strong {
    font-size: 30px;
    line-height: 36px;
    white-space: nowrap;
  }

  .page-car .calc-offer__row .btn {
    width: 100%;
  }

  .page-car .car-trade {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    min-height: 0;
    padding: 20px 24px;
    border-radius: 24px;
  }

  .page-car .car-trade p {
    width: 100%;
    font-size: 24px;
    line-height: 32px;
  }

  .page-car .car-trade .btn {
    width: 100%;
  }

  .page-car .car-trade__glow {
    left: -290px;
    top: -100px;
    width: 1472px;
    max-width: none;
    height: auto;
  }

  .car-also .hits__viewport {
    width: min(var(--layout-content), calc(100% - var(--layout-gutter) * 2));
    margin-inline: auto;
  }

  .car-also .hits__track {
    gap: 16px;
  }

  .car-also .hits__track::before,
  .car-also .hits__track::after {
    content: none;
  }

  .car-also .hits__track .card:not(:last-child) {
    margin-right: 0;
  }

  .page-car .car-also .card:nth-child(n + 4) {
    display: none;
  }

  .page-car .car-also.is-expanded .card:nth-child(n + 4) {
    display: flex;
  }

  .page-used-car .used-photo {
    display: contents;
  }

  .page-used-car .used-frame {
    order: 2;
    width: calc(100% + var(--layout-gutter) * 2);
    margin-inline: calc(var(--layout-gutter) * -1);
  }

  .page-used-car .used-stage {
    aspect-ratio: 390 / 251;
    height: auto;
    border-radius: 12px;
  }

  .page-used-car .used-nav {
    display: none;
  }

  .page-used-car .used-thumbs {
    order: 3;
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: -12px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page-used-car .used-thumbs::-webkit-scrollbar {
    display: none;
  }

  .page-used-car .used-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 54px;
    aspect-ratio: auto;
    border-radius: 8px;
  }

  .page-used-car .car-buy__head {
    gap: 4px;
  }

  .page-used-car .car-buy__icons {
    gap: 4px;
  }

  .page-used-car .car-buy h1 {
    max-width: 282px;
  }

  .page-used-car .trim-picker__btn {
    justify-content: center;
  }
}

.page-used-car .used-thumbs.swiper {
  display: block;
  overflow: hidden;
  grid-template-columns: none;
  width: 100%;
  padding: 4px 0;
}

.page-used-car .used-thumbs.swiper .swiper-slide {
  height: auto;
  padding: 4px;
  box-sizing: border-box;
  overflow: visible;
}

.page-used-car .used-thumbs.swiper .used-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 191 / 119;
  overflow: visible;
  border-radius: 12px;
}

.page-used-car .used-thumbs.swiper .used-thumb.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #f53d6b;
}

@media (max-width: 768px) {
  .page-used-car .used-thumbs.swiper {
    display: block;
    margin-top: -12px;
  }

  .page-used-car .used-thumbs.swiper .used-thumb {
    aspect-ratio: auto;
    height: 54px;
    border-radius: 8px;
  }
}
