/* BTS block 7 — Categories / coupons (Figma 2:471 / 2:1244) */
.coupons {
  position: relative;
  padding: 4.8rem 0 6.2rem;
  min-height: 95.4rem;
  background-color: #96c1a7;
  background-image: url("/assets/img/bts-2026/back_6.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.coupons .wrapper {
  position: static;
  margin: 0 auto;
  padding: 0 1rem;
}

.coupons__wrapper-custom {
  width: -webkit-fill-available;
  max-width: 1840px;
  position: static;
}

.coupons__wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

/* Figma 2:765 desk 80/80 · mob 36/40 */
.coupons__heading {
  color: #fff !important;
  text-align: center;
  font-family: "Lively Headline", sans-serif;
  font-size: 3.6rem;
  font-style: normal;
  font-weight: 700;
  line-height: 4rem;
  max-width: 35.5rem;
  margin: 0 auto;
}

/* лента full-bleed без 100vw (scrollbar даёт горизонтальный вылет) */
.coupons__slider-container {
  position: relative;
  margin-top: 2.4rem;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.coupons__btn-container {
  margin: 0 auto;
  padding-top: 3.2rem;
  display: flex;
  justify-content: center;
}

.coupons__block-descriptions {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

/* mob: заголовок → лого → слайдер → кнопка */
.coupons__friends-badge {
  display: block;
  width: 12.4rem;
  height: 12.4rem;
  margin: 2.2rem auto 0;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  border: none !important;
  background: none !important;
  transform: none !important;
  border-radius: 0 !important;
  z-index: 2;
}

.coupons .btn.btn--white.btn__show-all,
.coupons .btn__show-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff !important;
  border: none !important;
  outline: none !important;
  border-radius: 1000px;
  width: 24rem;
  height: 4.8rem;
  color: #046468 !important;
  text-align: center;
  font-family: "Noto IKEA Latin", sans-serif;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  opacity: 1 !important;
  box-shadow: none;
}

.coupons .btn.btn--white.btn__show-all:hover,
.coupons .btn__show-all:hover {
  outline: 1px solid #046468 !important;
  color: #046468 !important;
  background-color: #fff !important;
}

.coupons .coupon-slider__navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.6rem;
  box-sizing: border-box;
  transform: translateY(-50%);
  translate: none;
  pointer-events: none;
}

.coupons .coupon-slider__navigation .circle-btn,
.coupons .coupon-slider__navigation .swiper-coupon-button-prev,
.coupons .coupon-slider__navigation .swiper-coupon-button-next {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  margin: 0 !important;
  width: 7.2rem;
  height: 7.2rem;
  background: #fff !important;
  pointer-events: auto;
  cursor: pointer;
  z-index: 5;
  flex-shrink: 0;
}

.coupons .coupon-slider__navigation .swiper-coupon-button-next svg {
  transform: rotate(180deg);
}

.coupons .coupon-slider__navigation .circle-btn.swiper-button-disabled {
  opacity: 0.45;
  pointer-events: auto;
}

.coupons .coupon-slider__navigation .circle-btn svg {
  stroke: #046468 !important;
}

@media (max-width: 1024px) {
  .coupons .coupon-slider__navigation {
    display: none;
  }
}

@media (min-width: 1022px) {
  .coupons {
    min-height: 105.6rem;
  }

  .coupons__heading {
    font-size: 8rem !important;
    line-height: 8rem !important;
    max-width: 98.8rem;
  }

  .coupons__slider-container {
    margin-top: 4.8rem;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .coupons__btn-container {
    padding-top: 4.8rem;
  }

  /* Figma 2:750 — 261×261 @ (1499, 20) → top 2rem, right 16rem от секции */
  .coupons__friends-badge {
    position: absolute;
    top: 2rem;
    right: 16rem;
    width: 26.1rem;
    height: 26.1rem;
    margin: 0;
  }

  @media (max-width: 1649px) {
    .coupons__friends-badge {
      right: 16px;
    }
  }

  .coupons .btn.btn--white.btn__show-all,
  .coupons .btn__show-all {
    width: 28.3rem;
    height: 6.4rem;
    font-size: 2rem;
  }
}

/* Equal-size slides; active = scale + opacity + accent colors */
.coupons .coupon-slider {
  overflow: visible;
  width: 100%;
}

.coupons .coupon-slider .swiper-wrapper {
  align-items: stretch;
}

.coupons .coupon-slide {
  width: 30rem;
  height: auto !important;
  align-items: stretch !important;
  box-sizing: border-box;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .coupons .coupon-slide {
    width: 24rem;
  }
}

@media (max-width: 480px) {
  .coupons .coupon-slide {
    width: 78vw;
    max-width: 30rem;
  }
}

.coupons .coupon-slide > a {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Figma: logo 132×132, 25px до title */
.coupons .coupon-card__logo-container {
  width: 13.2rem !important;
  height: 13.2rem !important;
  margin-bottom: 2.5rem !important;
  flex-shrink: 0;
}

.coupons .coupon-card__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.coupons .coupon-card {
  width: 100% !important;
  max-width: none;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
  opacity: 0.5;
  transform: scale(0.92);
  transform-origin: center center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.coupons .coupon-card__top {
  aspect-ratio: 7.8 / 8 !important;
  flex: 1 1 auto;
}

.coupons .coupon-card--custom .coupon-card__logo-container {
  margin-bottom: 0 !important;
  width: auto !important;
  height: auto !important;
}

.coupons .coupon-card--custom .coupon-card__logo {
  display: block !important;
}

.coupons .coupon-card--custom .coupon-card__logo-custom {
  display: none !important;
}

.coupons .coupon-card__title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden !important;
  font-size: 32px !important;
  line-height: 36px !important;
  min-height: 108px !important;
  max-height: 108px !important;
  flex-basis: auto !important;
  height: auto !important;
  margin-bottom: 0.3rem !important;
  color: #046468 !important;
}

.coupons .coupon-slide.swiper-slide-active .coupon-card {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.coupons .coupon-slide.swiper-slide-active .coupon-card__title {
  color: #046468 !important;
}

.coupons .coupon-card__date {
  font-size: 18px !important;
  line-height: 1.4 !important;
  min-height: 1.4em;
}

.coupons .coupon-card__btn,
.coupons .coupon-card-thumb__btn {
  border: 2px solid #046468 !important;
  background: #fff !important;
  color: #046468 !important;
  font-size: 32px !important;
  line-height: 36px !important;
}

.coupons .coupon-slide.swiper-slide-active .coupon-card__btn {
  background: #046468 !important;
  color: #fff !important;
  border-color: #046468 !important;
}

.coupons .coupon-card__btn:hover,
.coupons .coupon-card-thumb__btn:hover {
  border-color: #046468 !important;
  color: #046468 !important;
  background: #fff !important;
}

.coupons .coupon-slide.swiper-slide-active .coupon-card__btn:hover {
  background: #046468 !important;
  color: #fff !important;
}

@media (max-width: 1268px) {
  .coupons .coupon-card__title,
  .coupons .coupon-slide.swiper-slide-active .coupon-card__title {
    font-size: 30px !important;
    line-height: 32px !important;
    min-height: 96px !important;
    max-height: 96px !important;
  }
}

@media (max-width: 768px) {
  .coupons .coupon-card__title,
  .coupons .coupon-slide.swiper-slide-active .coupon-card__title {
    font-size: 25.293px !important;
    line-height: 28.104px !important;
    min-height: 84.3px !important;
    max-height: 84.3px !important;
  }

  .coupons .coupon-card__btn,
  .coupons .coupon-slide.swiper-slide-active .coupon-card__btn {
    font-size: 22.846px !important;
    line-height: 24.75px !important;
  }
}

@media (max-width: 480px) {
  .coupons .coupon-slide .coupon-card__top,
  .coupons .coupon-slide.swiper-slide-active .coupon-card__top {
    aspect-ratio: 7.8 / 8 !important;
  }
}
