.section-thematic-story-product-slider {
  padding: 100px 0;
  background-color: #fff;
}

.thematic-story-product-slider__subtitle {
  max-width: 570px;
  margin: 0 auto;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 162%; /* 25.92px */
  color: var(--Neutral-0);
  text-align: center;
}

.thematic-story-product-slider__container {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 0 40px;
  margin: 32px 0;
}

@media (min-width: 988px) {
  .thematic-story-product-slider__container {
    padding: 0 60px;
  }
}

.thematic-story-product-slider {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.thematic-story-product-slider__item {
  position: relative;
  box-sizing: border-box;
  padding: 8px 8px 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--Neutral-350);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.thematic-story-product-slider__item.swiper-slide-active {
  transform: initial;
}

@media (hover: hover) and (pointer: fine) {
  .thematic-story-product-slider__item:hover {
    box-shadow: 0 4px 17.4px 0 rgba(0, 0, 0, 0.08);
  }
}

.thematic-story-product-slider__item-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.thematic-story-product-slider__item-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.thematic-story-product-slider__item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.thematic-story-product-slider__item-title {
  margin: 8px 0 6px;
  overflow: hidden;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 18.2px */
  color: var(--Primary-teal);
  text-overflow: ellipsis;
}

.thematic-story-product-slider__item-price {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 16.8px */
  color: var(--Neutral-0);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  content: none;
}

.thematic-story-product-slider-button-prev,
.thematic-story-product-slider-button-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  margin: 0;
  cursor: pointer;
  transform: translateY(-50%);
}

.thematic-story-product-slider-button-prev {
  left: 0;
}

.thematic-story-product-slider-button-next {
  right: 0;
}

@media screen and (min-width: 998px) {
  .thematic-story-product-slider-button-prev {
    left: 10px;
  }

  .thematic-story-product-slider-button-next {
    right: 10px;
  }
}

.thematic-story-product-slider-pagination {
  position: absolute;
  display: none;
  visibility: hidden;
}

.thematic-story-product-slider__description {
  margin: 0 auto;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  font-variant: small-caps;
  line-height: 150%; /* 24px */
  color: var(--Primary-teal-light);
  text-align: center;
}

.thematic-story-product-slider__btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0 0;
}

.thematic-story-product-slider__btn-wrap .btn {
  padding: 12px 32px;
}

@media screen and (max-width: 900px) {
  .thematic-story-product-slider__container {
    padding: 0;
  }

  .thematic-story-product-slider-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
  }

  .thematic-story-product-slider-pagination .swiper-pagination-bullet-active {
    background-color: var(--Primary-sky-dark);
    border: 2px solid var(--Primary-sky-dark);
  }
}

@media screen and (max-width: 768px) {
  .section-thematic-story-product-slider {
    padding: 64px 0;
  }

  .thematic-story-product-slider__item {
    padding: 0;
  }

  .thematic-story-product-slider__item-title {
    padding-left: 4px;
    font-size: 13px;
  }

  .thematic-story-product-slider__item-price {
    padding-left: 4px;
    font-size: 12px;
  }

  .thematic-story-product-slider__btn-wrap .btn {
    padding: 12px 24px;
  }
}
