/* Стили для блока "Лучшие предложения" */

/* .container {
  max-width: 1290px;
  margin: 0 auto;
} */

.swiper-1,
.swiper-2,
.swiper-3 {
  position: relative;
  display: none;
  width: 100%;
  overflow: hidden;
}

.swiper-1.active,
.swiper-2.active,
.swiper-3.active {
  display: block;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  flex-shrink: 0;
  height: auto;
}

.swiper-navigation {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 100%;
  margin-top: 55px;
}

.swiper-button-prev:after {
  display: none;
}

.swiper-button-next:after {
  display: none;
}

.swiper-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.swiper-card:hover .swiper-card__link {
  border: 3px solid #0fa3ee;
}

.swiper-card__link {
  display: block;
  height: 230px;
  margin-bottom: 18px;
  border: 3px solid #f2f2f2;
  transition: all 0.25s;
}

.swiper-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper-card__body {
  text-decoration: none;
}

.swiper-card__title {
  margin-bottom: 10px;
  font-size: 12px;
  color: #828282;
  font-weight: 500;
}

.swiper-card__descr {
  margin-bottom: 16px;
  font-size: 14px;
  color: #333;
}

.swiper-card__price {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.swiper-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.swiper-card__basket {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 1;
  border: 2px solid #f2f2f2;
  padding: 9px 23px;
  text-align: center;
  text-decoration: none;
  color: #000;
  transition: all 0.25s;
}

.swiper-card__basket:hover {
  border: 2px solid #0fa3ee;
  color: #fff;
  background: #0fa3ee;
}

.swiper-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
}

.swiper-card__button path {
  transition: all 0.25s;
}

.swiper-card__button:hover {
  background: #0fa3ee;
}

.swiper-card__button:hover path {
  fill: #fff;
}

.best-deals {
  margin-bottom: 80px;
}

.best-deals__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.best-deals__title {
  margin: 0;
}

.best-deals__tabs {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.best-deals__tabs-item {
  padding: 0 !important;
  margin: 0 0 !important;
  background: none !important;
  cursor: pointer;
}

.best-deals__tabs-item.active {
  text-decoration: underline;
  color: #0d91d3;
}

.best-deals__tabs-item:hover {
  color: #0d91d3;
}

.best-deals__popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  z-index: 100;
}

.best-deals__popup.show {
  display: flex;
}

.best-deals__popup-wrapper {
  position: relative;
  display: flex;
  gap: 20px;
  max-width: 750px;
  /* max-height: 300px; */
  padding: 20px 50px;
  background: #fff;
  box-sizing: border-box;
}

.best-deals__popup-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.best-deals__popup-image {
  width: 260px;
  height: 230px;
  object-fit: cover;
}

.best-deals__popup-title {
  font-size: 18px;
  font-weight: 600;
}

.best-deals__popup-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  list-style-type: none;
}

.best-deals__popup-list li {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.best-deals__popup-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  text-align: center;
  color: #fff;
  background-color: #0fa3ee;
  cursor: pointer;
  transition: all 0.25s;
}

.best-deals__popup-link:hover {
  background: #3fb5f1;
}

.best-deals__popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  transition: all 0.25s;
  cursor: pointer;
}

.best-deals__popup-close:hover {
  transform: rotate(90deg);
}

@media (width <= 760px) {
  .best-deals__popup {
    padding: 20px 10px;
  }

  .best-deals__header {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .best-deals__popup-wrapper {
    flex-direction: column;
    max-height: none;
    padding: 60px 10px 20px 10px;
  }

  .best-deals__tabs {
    gap: 26px;
  }

  .best-deals__popup-image {
    width: 100%;
  }
}
