/* Favorite hearts — uniform size site-wide */
.car-fav-btn {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent url("../assets/home/favorite.svg") center / contain no-repeat;
  line-height: 0;
  cursor: pointer;
  display: inline-block;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  -webkit-appearance: none;
  appearance: none;
  transition: background-image 0.15s ease;
}

.car-fav-btn:hover,
.car-fav-btn:focus-visible {
  background-image: url("../assets/home/favorite-active.svg");
}

.car-fav-btn.is-active,
.car-fav-btn.is-active:hover,
.car-fav-btn.is-active:focus-visible {
  background-image: url("../assets/home/favorite-active.svg");
}

.car-fav-btn img {
  display: none !important;
}

.catalog-grid .car-card__fav {
  width: 30px;
  height: 30px;
  pointer-events: auto;
}

.catalog-grid .car-card__fav img {
  display: none !important;
}

.related-section .car-card-head .car-fav-btn {
  margin-left: auto;
}

.car-column .slider-fav.car-fav-btn {
  display: inline-block;
  width: 30px;
  height: 30px;
  font-size: 0;
}

.car-column .slider-fav.car-fav-btn img {
  display: none !important;
}

/* Related carousel arrows — octane style */
.related-carousel {
  position: relative;
  padding: 0 36px;
}

.related-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 72px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #3a3a3a;
  font-size: 56px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
}

.related-carousel .carousel-prev {
  left: 0;
}

.related-carousel .carousel-next {
  right: 0;
}

.related-carousel .carousel-btn:hover {
  color: #fd6c1e;
}

.favorites-page {
  padding: 120px 0 64px;
}

.favorites-page .section-heading {
  margin-bottom: 32px;
}

.favorites-empty {
  text-align: center;
  font-size: 18px;
  color: #666;
  padding: 48px 16px;
}

/* Favorites catalog cards — keep label/value on separate lines (no "0-1005.2" smash) */
.favorites-page .car-specific {
  display: flex;
  width: 100%;
  padding: 20px 0;
  align-items: flex-start;
  justify-content: space-around;
}

.favorites-page .car-specific__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 10px;
  width: fit-content;
}

.favorites-page .car-specific__name,
.favorites-page .car-specific__desc {
  display: block;
  text-align: center;
  width: 100%;
}

.favorites-page .car-specific__name {
  font-size: 15px;
  font-weight: 500;
  color: #000;
}

.favorites-page .car-specific__name--club-rate {
  font-size: 11px;
  line-height: 1.15;
  max-width: 58px;
}

.favorites-page .car-specific__desc {
  font-size: 15px;
  font-weight: 700;
  color: #000;
}

/* Car-page booking form — mobile stack (loads after octane-home-sections) */
@media (max-width: 767px) {
  .car-index .car-price .short-form__wrapper.form-rent-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 12px 0 0;
    box-sizing: border-box;
  }

  .car-index .car-price .short-form__wrapper .form__input,
  .car-index .car-price .short-form__wrapper .select-wrapper,
  .car-index .car-price .short-form__wrapper .form__submit {
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .car-index .car-price .short-form__wrapper .form__input {
    height: 50px;
    padding: 0 18px;
    font-size: 16px;
    line-height: normal;
    border-radius: 21px;
    border: 2px solid #191919;
  }

  .car-index .car-price .short-form__wrapper .form__input::placeholder {
    font-size: 16px;
  }

  .car-index .car-price .short-form__wrapper .select-wrapper {
    height: 50px;
  }

  .car-index .car-price .short-form__wrapper select {
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
    padding: 0 40px 0 18px;
    font-size: 16px;
    line-height: normal;
  }

  .car-index .car-price .short-form__wrapper .form__submit {
    height: 50px;
    padding: 0 18px;
    font-size: 18px;
    line-height: 46px;
    border-radius: 21px;
  }

  .car-index .car-price .select-wrapper::before {
    top: 50%;
    margin-top: -8px;
    right: 20px;
  }

  .car-index .car-price .select-wrapper::after {
    top: 50%;
    margin-top: -8px;
    right: 30px;
  }

  .car-index .car-price .form-rent-top .personal-submit {
    width: 100%;
    margin-top: 4px;
    padding: 0;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
  }
}
