/* =========================================================
   AUTO CARD SWIPER COMMON
   ======================================================= */

.swiper-product {
  position: relative;
  padding-bottom: 12px;
}

.swiper-product .swiper-button-next,
.swiper-product .swiper-button-prev {
  color: #e00133;
  background-color: #26262680;
  padding: 10px 5px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.swiper-product .swiper-button-next:hover,
.swiper-product .swiper-button-prev:hover,
.swiper-product .swiper-button-next:focus-visible,
.swiper-product .swiper-button-prev:focus-visible {
  color: #ffffff;
  background-color: rgb(224 0 50 / 50%);
}

.swiper-product .swiper-button-next:after,
.swiper-product .swiper-button-prev:after {
  font-size: 12px;
}

.swiper-product .auto-card-scrollbar {
  position: absolute;
  left: 14px !important;
  right: 14px !important;
  bottom: 0 !important;
  top: auto !important;
  width: auto !important;
  height: 3px !important;
  z-index: 5;
  border-radius: 999px;
  background: #e5e5e5;
  overflow: hidden;
}

.swiper-product .auto-card-scrollbar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% / var(--te-slide-count, 1));
  border-radius: inherit;
  background: #e00032;
}

.swiper-product[data-sw-init="1"] .auto-card-scrollbar::before {
  display: none;
}

.swiper-product .auto-card-scrollbar .swiper-scrollbar-drag {
  height: 100%;
  border-radius: 999px;
  background: #e00032;
}

/* =========================================================
   AUTO CARD COMMON ELEMENTS
   ======================================================= */

.auto-label {
  min-width: 83px;
}

.auto-item-descr {
  flex: 1;
  padding: 32px 20px 10px;
  position: relative;
}

.auto-item-subtitle {
  margin: 5px 0;
  color: #414141;
  font-size: 14px;
  font-weight: 400;
}

.auto-item .catalog-item-options,
.auto-item-descr .catalog-item-options {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price.acc p {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 20px;
}

.price.price-rub p > b {
  font-size: 12px;
}

.price.price-total {
  padding: 3px 20px;
  font-size: 12px;
}

.price.car-vehicleNo {
  border: 1px solid #000000;
  width: auto;
  max-width: max-content;
  position: relative;
  margin: 0 auto;
  border-radius: 4px;
  font-size: 0.7rem;
  padding: 2px 14px;
}

.auto-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.auto-not-interest {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 22px;
  line-height: 34px;
  text-align: center;
  user-select: none;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  padding: 0;
  z-index: 1;
}

.auto-not-interest.is-on {
  background: #e00133;
}

.auto-label.auto-label-ni {
  position: absolute;
  display: none;
  inset: 0;
  z-index: 1;
  padding: 0;
  pointer-events: none;
  background: rgb(0 0 0 / 50%);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  opacity: 1;
  font-size: 20px;
  line-height: 1.2;
  border-radius: 1rem;
}

.auto-label.auto-label-ni.is-on {
  display: inline-flex;
}

.auto-item-color-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 3px;
  vertical-align: -2px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.auto-item--link {
  cursor: pointer;
}

.auto-item--link .te-car-title,
.auto-item--link .te-car-title__text {
  transition: color 0.18s ease;
}

.auto-item--link:hover .te-car-title,
.auto-item--link:hover .te-car-title__text,
.auto-item--link:focus-visible .te-car-title,
.auto-item--link:focus-visible .te-car-title__text,
.auto-item--link:focus-within .te-car-title,
.auto-item--link:focus-within .te-car-title__text {
  color: var(--e-global-color-accent, #c59d5f);
}

@media screen and (max-width: 767px) {
  .auto-item .auto-item-img img {
    height: 70%;
    max-height: 210px;
  }

  .auto-item .checkoutButton {
    display: flex;
  }
}

@media (max-width: 576.8px) {
  .auto-item-title {
    font-size: 20px;
  }

.auto-item .catalog-item-options,
.auto-item-descr .catalog-item-options {
    font-size: 16px;
  }
}