.big-slider__img,
.thumbs-slider__img {

  object-fit: cover;
}

.detail-product__img {
  position: relative;
}

.detail-product__discount {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #d84e22;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.card__add_btn_el {
  padding: 0 20px;
}

/* Варианты в наличии, когда выбранного нет (ЧПУ офферов) */
.offer-alt {
  flex: 0 0 100%;
  box-sizing: border-box;
  margin-top: 24px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.offer-alt__title {
  margin-bottom: 4px;
  font-weight: 700;
}

.offer-alt__item {
  gap: 16px;
  padding: 8px 0;
}

.offer-alt__item + .offer-alt__item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-alt__link {
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: underline;
}

.offer-alt__price {
  font-weight: 700;
  white-space: nowrap;
}

.offer-alt__add,
.offer-alt__in-basket {
  flex: 0 0 auto;
  padding: 0 16px;
}

.offer-alt__in-basket[hidden] {
  display: none;
}

.offer-alt__more {
  padding-top: 8px;
  opacity: 0.7;
}

@media (max-width: 480px) {
  .offer-alt__item {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .offer-alt__link {
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  .detail-product__discount {
    top: 12px;
    left: 12px;
    min-width: 52px;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
  }
}

.dop-btn .btn.btn_disabled {
  background: #b5b5b5;
  cursor: not-allowed;
  pointer-events: none;
  opacity: .6;
}
