.best-selling-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 20px 0;
}

@media (min-width: 1366px) {
  .best-selling-wrapper {
    width: fit-content;
  }
}

/* Bloc fixe à gauche */
.best-selling-header {
  width: 264px;
  height: 376px;
  flex-shrink: 0;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent linear-gradient(325deg, #23a0da 0%, #291f6d 100%) 0%
    0% no-repeat padding-box;
}

.best-selling-header .subtitle {
  font-size: 14px;
  line-height: 25px;
  letter-spacing: 1.4px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.best-selling-header .title {
  font-size: 40px !important;
  line-height: 45px !important;
  color: #fff !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.best-selling-header .title-category {
  font-size: 30px !important;
  line-height: 35px !important;
}

.best-selling-header h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.best-selling-header .carousel-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.carousel-link a {
  color: #23a0da;
  background-color: #f3fafd;
  font-weight: 600 !important;
  border-radius: 5px;
  padding: 15px 30px;
}

.swiper-button-prev,
.swiper-button-next {
  position: static !important;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-top: 0 !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important;
}

/* Carrousel */
.best-selling-carousel {
  flex-grow: 1;
  overflow: hidden;
}

.best-selling-carousel .swiper-wrapper {
  display: flex;
  align-items: center;
  width: fit-content !important;
}

.best-selling-carousel .swiper-slide {
  min-height: 450px;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  width: auto !important;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  box-shadow: 0px 0px 28px #0000001a !important;
  padding: 15px;
  border-radius: 5px;
  transition: transform 0.3s ease;
  height: 376px;
  width: 263px;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.product-card h3 {
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000;
}

.product-card p {
  color: #23a0da;
  font-weight: 600;
  font-size: 20px;
  line-height: 25px;
}

@media (max-width: 767px) {
  .best-selling-wrapper {
    flex-direction: column;
    align-items: stretch;
    min-height: 760px;
    padding: 0;
    background: transparent linear-gradient(325deg, #23a0da 0%, #291f6d 100%) 0%
      0% no-repeat padding-box;
  }

  .best-selling-header {
    width: 100%;
    height: auto;
    padding: 75px 0 0 0;
    margin-bottom: 0px;
    background: none;
  }

  .best-selling-carousel .swiper-wrapper {
    overflow: visible !important;
    /* margin-left: 30px; */
    height: 395px !important;
  }

  .best-selling-carousel .swiper-slide {
    justify-content: center;
  }

  .best-selling-header .title {
    font-size: 30px !important;
    line-height: 35px !important;
    margin-bottom: 30px !important;
  }

  .best-selling-header .carousel-link {
    position: absolute;
    bottom: 80px;
  }

  .best-selling-header .carousel-nav {
    position: absolute;
    bottom: 103px;
  }
}
