/* Bestsellers Slider */
.sk-bestsellers-slider-container {
    margin: 0 0;
    position: relative;
    overflow: hidden;
    clip-path: inset(0); /* To ograniczy widoczność elementów do kontenera */

    /* Zwiększone padding-bottom, aby nawigacja była poniżej produktów */
    padding-bottom: 80px;
    width: 100%; /* Dodaj to */

}
/* Swiper container */
.sk-bestsellers-slider-container .swiper {
    overflow: hidden;
    width: 100%; /* Dodaj to */

}
/* Slider Item */
.sk-bestseller-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: #fff;
    min-height:570px;
}
.sk-bestseller-item:hover {
    transform: translateY(-5px);
}
.products .sk-bestseller-item:hover {
    transform: none !important;
}
/* Product Image */
.sk-bestseller-image {
    height: 450px; /* Zwiększona wysokość zdjęć jak na screenie */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: white;
}
/* Product Info */
.sk-bestseller-info {
    padding: 5px 5px 5px 5px;
    background-color: #E6E6E6;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
/* Product Title Row */
.sk-bestseller-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    
}
.sk-bestseller-title-row a {
    padding:0 !important;
}
/* Product Title */
.sk-bestseller-title {
    font-size: 34px;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    flex-grow: 1;
}
.sk-bestseller-title a {
    color: #35373D;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
    padding:0 !important;
}
.sk-bestseller-title a:hover {
    color: #CE8946;
}
/* Wishlist Icon */
.sk-wishlist-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    position: relative;
}
.sk-wishlist-icon:hover svg path {
    stroke: #CE8946;
}
/* Stan aktywny - wypełnione brązowym kolorem */
.sk-wishlist-icon.sk-wishlist-added svg path {
    fill: #CE8946;
    stroke: #CE8946;
}
/* Stan ładowania */
.sk-wishlist-icon.sk-wishlist-loading {
    opacity: 0.7;
}
.sk-wishlist-icon.sk-wishlist-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    margin: -7.5px 0 0 -7.5px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: #CE8946;
    animation: sk-rotate 0.8s infinite linear;
}
@keyframes sk-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* Product Dimensions */
.sk-bestseller-dimensions {
    font-size: 16px;
    font-weight: 500;
    color: #757575;
    margin-bottom: 20px;
}
/* Action Row (Price + Add to Cart) */
.sk-bestseller-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap:2px;
}
/* Product Price */
.sk-bestseller-price {
    font-size: 20px;
    font-weight: 500;
    color: #757575;
}
.sk-bestseller-price .woocommerce-Price-amount {
    color: #757575;
}
/* Add to Cart Button */
.sk-bestseller-add-to-cart {
    display: inline-block;
    background-color: #CE8946;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
   
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}
.sk-bestseller-add-to-cart:hover {
    background-color: #b57835;
    color: #fff;
    text-decoration: none;
}
/* Swiper Pagination - Modified */
.sk-bestsellers-slider-container .swiper-pagination {
    position: absolute;
    bottom: 0px !important;
    left: 0;
    right: 0;
    text-align: center;
    margin-top: 40px;
    z-index: 10;
}
.sk-bestsellers-slider-container .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    background-color: #fff;
    opacity: 1;
    border: 3px solid transparent;
    margin: 0 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.swiper-pagination-bullet-active {
    background-color: #CE8946 !important;
    border: 3px solid #CE8946;
}
/* Strzałki nawigacji - Niestandardowe style */
.sk-bestsellers-slider-container .swiper-button-next,
.sk-bestsellers-slider-container .swiper-button-prev {
    background-image: none;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.sk-bestsellers-slider-container .swiper-button-next::after,
.sk-bestsellers-slider-container .swiper-button-prev::after {
    display: none;
}

/* Style dla niestandardowych strzałek SVG */
.sk-bestsellers-slider-container .swiper-button-next svg,
.sk-bestsellers-slider-container .swiper-button-prev svg {
    width: 55px;
    height: 25px;
}

/* Efekt hover dla strzałek */
.sk-bestsellers-slider-container .swiper-button-next:hover svg path,
.sk-bestsellers-slider-container .swiper-button-prev:hover svg path {
    fill: #a06729; /* Ciemniejszy odcień na hover */
    transition: fill 0.3s ease;
}

/* Zmiana pozycji strzałek, aby nachodziły na ostatnie produkty */
.sk-bestsellers-slider-container .swiper-button-next {
    right: 0;
}
.sk-bestsellers-slider-container .swiper-button-prev {
    left: 0;
}

/* Make swiper slides with fixed widths on mobile */
@media (max-width: 992px) {
    .sk-bestsellers-slider-container .swiper-slide {
        width: 85%;
    }
    .sk-bestseller-action {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sk-bestseller-price {
        margin-bottom: 15px;
    }
    .sk-bestseller-item{
        min-height:600px !important;
    }
    
    /* Mniejsze strzałki na tabletach */
    .sk-bestsellers-slider-container .swiper-button-next svg,
    .sk-bestsellers-slider-container .swiper-button-prev svg {
        width: 45px;
        height: 14px;
    }
    
    .sk-bestsellers-slider-container .swiper-pagination {
        bottom:0 !important;}
        .sk-bestseller-action {
            flex-direction: row !important;
            gap:4px;
        }
}
@media (max-width: 768px) {
    
    .sk-bestsellers-slider-container .swiper-slide {
        width: 75%;
    }
    .sk-bestseller-image {
        height: 300px;
    }
    
    .sk-bestseller-title {
        font-size: 20px;
    }
    .sk-bestsellers-slider-container{
        padding-bottom:50px;
    }
    /* Mniejsze strzałki na telefonach */
    .sk-bestsellers-slider-container .swiper-button-next svg,
    .sk-bestsellers-slider-container .swiper-button-prev svg {
        width: 40px;
        height: 12px;
    }
}
@media (max-width: 480px) {
    .sk-bestsellers-slider-container .swiper-slide {
        width: 70%;
    }
    .sk-bestseller-image {
        height: 250px;
    }
    
    .sk-bestseller-info {
        padding: 5px 10px 5px 10px;
    }
    
    /* Jeszcze mniejsze strzałki na małych telefonach */
    .sk-bestsellers-slider-container .swiper-button-next svg,
    .sk-bestsellers-slider-container .swiper-button-prev svg {
        width: 35px;
        height: 25px;
    }
}
/* Style dla zewnętrznej paginacji */
#pagination-sk-bestsellers-unique-id {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    z-index: 1;
}