:root {
  --font-main: 'Onest', sans-serif;
  --color-primary: #46a6ff;
  --color-dark: #010722;
  --color-text: #8d9ba7;
  --color-light: #f0f6fb;
  --color-white: #ffffff;
  --transition: all 0.25s ease-in-out;
}

/* ── Блок «Выгодные предложения» (перенесён с главной страницы,
   используется также на карточке товара) ── */
.section-title {
  font-family: var(--font-main);
  font-size: 38px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 25px;
}

.section__link-all {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  letter-spacing: 0;
}
.section__link-all:hover {
  color: var(--color-dark);
}

.promo-section {
  padding: 60px 0 0;
  background-color: var(--color-white);
}

.promo-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
}
.promo-section__header .section-title {
  margin-bottom: 0;
}

.promo-section__title {
  margin-bottom: 0;
}

.promo-slider {
  width: 100%;
  overflow: hidden;
}
.promo-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.promo-card {
  font-family: var(--font-main);
  border-radius: 26px;
  padding: 45px 50px;
  min-height: 340px;
  height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: var(--transition);
}
.promo-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.promo-card__discount {
  font-size: 122px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -2px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.promo-card__discount span {
  font-size: 72px;
}

.promo-card__title {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 350px;
  margin-bottom: 25px;
}

.promo-card__date {
  background-color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 23px;
  display: inline-block;
  margin-top: auto;
}

.promo-card__action {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90px;
  height: 90px;
  background-color: var(--color-white);
  border-radius: 26px 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.promo-card__action::before {
  content: '';
  position: absolute;
  top: -40px;
  right: 0;
  width: 50px;
  height: 40px;
  background-color: transparent;
  border-radius: 0 0 24px 0;
  box-shadow: 12px 12px 0 0 var(--color-white);
  pointer-events: none;
}
.promo-card__action::after {
  content: '';
  position: absolute;
  left: -50px;
  bottom: 0;
  width: 50px;
  height: 40px;
  background-color: transparent;
  border-radius: 0 0 24px 0;
  box-shadow: 12px 12px 0 0 var(--color-white);
  pointer-events: none;
}
.promo-card__arrow-btn {
  width: 75px;
  height: 75px;
  background-color: var(--color-light);
  border-radius: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.promo-card__arrow-btn i {
  font-size: 16px;
  color: var(--color-dark);
  transition: var(--transition);
  transform: rotate(0);
}
.promo-card:hover {
  opacity: .9;
}
.promo-card:hover i {
  transform: rotate(45deg);
}
.promo-card__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

/* Пагинация слайдера (переиспользует стиль главной) */
.products-slider__pagination.swiper-pagination-bullets {
  display: flex !important;
  position: relative !important;
  bottom: 0 !important;
  margin-top: 50px;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}
.products-slider__pagination .swiper-pagination-bullet {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background-color: #d8e9f7;
  opacity: 1;
  margin: 0 !important;
  transition: all 0.25s ease-in-out;
}
.products-slider__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
  width: 58px;
}

@media screen and (max-width: 1100px) {
  .promo-card {
    padding: 35px 30px;
    min-height: 300px;
  }
  .promo-card__discount {
    font-size: 82px;
  }
  .promo-card__discount span {
    font-size: 60px;
  }
  .promo-card__title {
    font-size: 28px;
    max-width: 280px;
  }
  .section__link-all {
    font-size: 18px;
  }
}

@media screen and (max-width: 992px) {
  .promo-slider {
    width: calc(100% + 40px);
    overflow: hidden;
    padding: 0 20px;
    margin: 0 -20px;
  }
}

@media screen and (max-width: 768px) {
  .promo-card__arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .promo-card {
    border-bottom-right-radius: 10px;
  }
  .promo-card__action {
    width: 48px;
    height: 48px;
    border-radius: 18px 0 0 0;
  }
  .promo-card__action::before {
    top: -30px;
    width: 30px;
    height: 30px;
    border-radius: 0 0 10px 0;
  }
  .promo-card__action::after {
    left: -30px;
    width: 30px;
    height: 30px;
    border-radius: 0 0 10px 0;
  }
}

@media screen and (max-width: 640px) {
  .promo-slider {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .promo-section__header {
    flex-wrap: wrap;
    gap: 10px 40px;
  }
  .promo-section {
    padding-top: 30px;
  }
}

@media screen and (max-width: 480px) {
  .section-title {
    font-size: 26px;
  }
  .section__link-all {
    font-size: 16px;
  }
}

@media screen and (max-width: 390px) {
  .section-title {
    font-size: 20px;
  }
  .promo-section__header {
    margin-bottom: 20px;
    gap: 5px;
  }
  .promo-card {
    padding: 30px 20px;
    border-radius: 20px 20px 10px 20px;
  }
  .promo-card__discount {
    font-size: 60px;
    font-weight: 800;
  }
  .promo-card__discount span {
    font-size: 38px;
  }
  .promo-card__title {
    font-size: 16px;
    margin-bottom: 15px;
    max-width: 160px;
  }
  .promo-card__date {
    font-size: 12px;
    padding: 8px 18px;
  }
  .promo-section {
    padding-top: 20px;
  }
  .section__link-all {
    font-size: 14px;
  }
}
