/**
 * 2025 S2i
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 *
 * @author    S2i <contact@s2i-evolution.eu>
 * @copyright 2025 S2i Evolution
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/* Styles communs */
.s2i-product-list {
    padding-top: 15px;
    background: white;
    position: relative;
    width: 85%;
    margin: 0px auto 60px;
    border-radius: 10px;
}

.s2i-list-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.s2i-product-item {
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.s2i-product-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Styles spécifiques au carrousel */
.s2i-carousel-list .swiper-container {
    padding-bottom: 10px;
    margin-left: 38px;
    margin-right: 38px;
    padding-right: 28px;
}

.s2i-carousel-list .swiper-slide .s2i-product-item {
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 10px;
}

.s2i-carousel-list .swiper-slide .s2i-product-item .price {
  font-weight: bold;
  font-size: 20px;
}

.s2i-carousel-list .swiper-slide .s2i-product-item .product-price-and-shipping {
    height:40px;
}

.s2i-carousel-list .swiper-slide .s2i-product-item .regular-price {
  color: #7a7a7a;
  font-size: 13px;
  font-weight: bold;
}

.s2i-carousel-list .swiper-container .s2i-ps17-product > a {
  width: 100%;
  display: block;
}
.s2i-carousel-list .swiper-container .s2i-ps17-product > a img {
  max-width: 100%;
}

.s2i-carousel-list .swiper-container .product-title {
  margin-bottom:0;
}
.s2i-carousel-list .swiper-container .product-title a {
  color: #232323;
  font-size: 17px;
  height: 60px;
  display: block;
  overflow: hidden;
}

.s2i-carousel-list .swiper-pagination {
    bottom: 0;
}

.s2i-carousel-list .swiper-button-prev,
.s2i-carousel-list .swiper-button-next {
    background-size: 18px 32px;
    width: 18px;
    height: 32px;
    margin-top: -16px;
}

.s2i-carousel-list .swiper-button-prev {
    left: 15px;
}

.s2i-carousel-list .swiper-button-next {
    right: 15px;
}

.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 22px !important;
  font-weight: bolder;
}

.s2i-carousel-list .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.5;
}

.s2i-carousel-list .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Styles spécifiques à la grille */
.s2i-grid-container {
    margin-left: -15px;
    margin-right: -15px;
}

.s2i-grid-item {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 767px) {
    .s2i-grid-item {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .s2i-grid-item {
        width: 50%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .s2i-grid-item {
        width: 33.33%;
    }
}

@media (min-width: 1200px) {
    .s2i-grid-item {
        width: 25%;
    }
}