:root {
  --primary-color: #FFDA05;
  --secondary-color: #FFB905;
  --color-text: #0C0D0D;
}

.theme-blue {
  --primary-color: #405DFF;
  --secondary-color: #2F4DFF;
  --color-text: #fff;
}

.accordion-characters {
  position: relative;
}
.accordion-characters__title {
  cursor: pointer;
}
.accordion-characters__title, .accordion-characters__title p {
  position: relative;
  gap: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion-characters__title p {
  max-width: fit-content;
}
.accordion-characters__title, .accordion-characters__title:after {
  transition: all ease-in-out 0.3s;
}
.accordion-characters__title:after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 100%;
  background-color: #3B3B3B;
  height: 1px;
  transform: translateY(-4px) translateX(-50%);
  opacity: 0;
}
.accordion-characters__title:hover:after {
  opacity: 1;
  transform: translateY(12px) translateX(-50%);
}
.accordion-characters__item.active .accordion-characters__title:after {
  opacity: 1;
  transform: translateY(24px) translateX(-50%);
}
.accordion-characters br {
  display: none;
}
.accordion-characters ul {
  margin-bottom: 0;
}
.accordion-characters__item.active .accordion-characters__icon {
  transform: rotate(-180deg);
}
.accordion-characters__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12px;
  height: 7px;
  transition: all 0.3s linear;
  transform: rotate(0deg);
}
.accordion-characters__icon svg path {
  fill: #797979;
}
.accordion-characters__content, .accordion-characters.mobile-viewport {
  display: none;
}
@media screen and (max-width: 768px) {
  .accordion-characters__item.active .accordion-characters__title::after {
    transform: translateY(16px) translateX(-50%);
  }
  .accordion-characters.desktop-viewport {
    display: none;
  }
  .accordion-characters.mobile-viewport {
    display: block;
    margin-bottom: 30px;
  }
}

.car.sold {
  position: relative;
}
.car.sold .car__slider {
  position: relative;
}
.car.sold .car__slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.81) 0%, rgba(0, 0, 0, 0.81) 100%);
  z-index: 2;
}
.car.sold .sold__title {
  font-size: 30px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  text-align: center;
  max-width: 400px;
  margin: 0 auto 25px;
}
.car.sold .car__navigation, .car.sold .car__calculation {
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
}
.car.sold .sold__label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
  color: #0C0D0D;
  padding: 6px 16px;
  background-color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: fit-content;
}
.car.sold .car__sliders .car__order {
  width: 80%;
  max-width: 640px;
  margin: 0 auto;
}
.car.sold .default-feedback__arrow {
  display: none;
}
.car.sold .sold__content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 22px;
  font-weight: 500;
  color: #A0A0A0;
  width: 100%;
  height: fit-content;
}
.car__above, .car__under {
  height: 35px;
  border-right: 1px solid #3B3B3B;
  border-left: 1px solid #3B3B3B;
  margin: 0 -20px;
}
.car__above {
  border-top: 1px solid #3B3B3B;
  margin-bottom: 20px;
}
.car__under {
  border-bottom: 1px solid #3B3B3B;
}
.car__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: dense;
  gap: 30px 60px;
}
.car__top {
  grid-column-start: 2;
}
.car__sliders {
  grid-row: 1/4;
  width: 50vw;
}
.car__sliders img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
.car__slider .default-feedback__arrow svg {
  width: 2.2vw;
  height: 2.2vw;
}
.car__slider.first {
  height: 130px;
}
.car__slider.first .swiper-slide {
  overflow: hidden;
  cursor: pointer;
}
.car__slider.first .swiper-slide::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  margin: auto;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 1;
  visibility: visible;
  transition: 0.3sease;
}
.car__slider.second {
  height: 580px;
  margin-bottom: 10px;
}
.car__slider.second .swiper-slide {
  overflow: hidden;
}
@media screen and (min-width: 2000px) {
  .car__slider.first {
    height: 12vh;
  }
  .car__slider.second {
    height: 60vh;
  }
}
.car__price {
  font-size: 42px;
  font-weight: 500;
  color: var(--primary-color);
  flex-shrink: 0;
}
.car__details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}
.car__detail {
  display: flex;
  align-items: center;
  gap: 8px;
}
.car__detail p {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color);
}
.car__detail p:first-of-type {
  margin-right: 2px;
}
.car__detail p:last-of-type {
  margin-left: 2px;
}
.car__navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px 10px;
  margin-bottom: 60px;
}
.car__benefits {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  display: grid;
  gap: 7px;
}
.car__benefit {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.1;
  padding-left: 20px;
  color: #FFFFFF;
}
.car__benefit span {
  color: var(--primary-color);
}
.car__benefit:before {
  content: "";
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 9 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_4740_139185)'%3E%3Cpath d='M1 1L8 8M8 8L8 1M8 8L1 8' stroke='%23FFD600' stroke-width='1.4'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_4740_139185'%3E%3Crect width='9' height='9' fill='white' transform='translate(9) rotate(90)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.car__order {
  width: 100%;
  padding: 20px;
}
.car__icon {
  min-width: 60px;
  width: 60px;
  height: 60px;
  background: #242525;
  display: flex;
  align-items: center;
  justify-content: center;
  border: unset;
  cursor: pointer;
}
.car__icon svg path {
  transition: 0.3s ease;
}
.car__like.active svg path {
  fill: var(--primary-color);
}
.car__compare.active svg path {
  stroke: var(--primary-color);
}
.car__calculation {
  margin: 30px 0 60px;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 15px;
}
.car__calculation .modern-input {
  width: 60%;
}
@media screen and (min-width: 769px) {
  .car__calculation .modern-input.error {
    margin-bottom: 0;
  }
}
.car__calculation .modern-input input {
  padding: 22px 13px;
}
.car__calculation .default-btn {
  width: 40%;
  min-width: 300px;
}
.car__characters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 40px;
}
.car__characters-title {
  margin-bottom: 30px;
}
.car__character {
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
}
.car__btns {
  display: flex;
  align-items: center;
  gap: 10px;
}
.car h1 {
  font-size: 42px;
  font-weight: 500;
  width: 80%;
}
.car .breadcrumbs {
  margin: 0 0 30px;
}
.car .breadcrumbs .container-full {
  padding: 0;
}
.car__other_wrap, .car__other_text {
  display: flex;
  align-items: center;
}
.car__other_wrapper {
  margin-bottom: 30px;
  display: grid;
}
.car__other_wrap {
  gap: 12px;
  margin-bottom: 8px;
}
.car .wrap-total {
  margin-bottom: 12px;
}
.car .wrap-auction .car__price, .car .wrap-services .car__price {
  flex-shrink: 0;
  color: #fff;
  font-size: 30px;
}
.car__other_text svg {
  flex-shrink: 0;
  width: 15px;
  height: 16px;
}
.car__other_text path {
  fill: rgba(255, 255, 255, 0.5);
}
.car__other_text {
  gap: 6px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
}
@media screen and (min-width: 767px) {
  .car__btns {
    min-width: 130px;
    width: fit-content;
  }
  .car__order.default-btn {
    padding: 20px 23px;
    width: calc(100% - 140px);
  }
}
@media screen and (max-width: 1620px) {
  .car h1 {
    width: 100%;
  }
  .car__calculation .default-btn {
    min-width: 260px;
  }
}
@media screen and (max-width: 1400px) {
  .car__slider.first {
    height: 100px;
  }
  .car__slider.second {
    height: 480px;
  }
}
@media screen and (max-width: 1024px) {
  .car__wrap {
    display: flex;
    flex-direction: column;
  }
  .car__sliders {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .car {
    padding-top: 95px;
    padding-bottom: 0;
  }
  .car.sold .sold__title {
    font-size: 16px;
  }
  .car.sold .sold__label {
    font-size: 14px;
    padding: 6px 10px;
  }
  .car.sold .car__sliders .car__order {
    padding: 11px;
  }
  .car__slider.first {
    height: 60px;
  }
  .car__slider.second {
    height: 220px;
  }
  .car__slider.second .swiper-slide {
    border: 1px solid #3B3B3B;
  }
  .car__above {
    height: 25px;
    margin: 0 -10px 10px;
  }
  .car__under {
    display: none;
  }
  .car__wrap {
    gap: 10px;
  }
  .car__other {
    position: relative;
    padding-top: 38px;
  }
  .car__other_text {
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
  }
  .car__btns {
    position: absolute;
    top: 0;
    right: 0;
  }
  .car__icon {
    min-width: 40px;
    width: 40px;
    height: 40px;
  }
  .car__icon svg {
    padding: 7px 7px 9px;
  }
  .car__details {
    gap: 15px;
    margin-bottom: 30px;
  }
  .car h1 {
    font-size: 32px;
  }
  .car .breadcrumbs {
    margin-bottom: 20px;
  }
  .car__calculation {
    flex-direction: column;
    margin-bottom: 0;
  }
  .car__calculation .modern-input, .car__calculation .default-btn {
    width: 100%;
  }
  .car__characters-title.small-title {
    margin-bottom: 25px;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #FFFFFF;
  }
  .car__characters {
    grid-template-columns: 1fr;
  }
  .car__character {
    padding: 0;
    font-weight: 400;
    font-size: 15px;
    line-height: 125%;
  }
  .car__price {
    font-size: 32px;
  }
  .car .wrap-auction .car__price, .car .wrap-services .car__price {
    flex-shrink: 0;
    color: #fff;
    font-size: 24px;
  }
  .car__slider .default-feedback__prev {
    left: 10px;
  }
  .car__slider .default-feedback__next {
    right: 10px;
  }
  .car__slider .default-feedback__arrow svg {
    width: 20px;
    height: 20px;
  }
}

.car__calculation .modern-input .error__text,
.car__calculation .modern-input .error__response {
  display: none;
}

.car__calculation .modern-input.error .error__text {
  display: block;
}

.car__calculation .modern-input.response-error .error__response {
  display: block;
}
