/* =========================================
   Sifency Product Slider – Modern Edition (2025)
   ========================================= */

/* 1. Main Carousel Container
   ------------------------------------------- */
.sifency-products-slider-wrapper {
    position: relative;
    padding: 0;
    margin: 0 auto;
    max-width: 1400px;
}

.sifency-products-slider-wrapper .swiper-container {
    overflow: hidden;
}


/* 2. Product Card
   ------------------------------------------- */
.sifency-products-slider-wrapper .swiper-slide .product {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    height: 100%;
}


/* 3. Product Image with Smooth Zoom
   ------------------------------------------- */
.sifency-products-slider-wrapper .product .woocommerce-loop-product__link {
    display: block;
    overflow: hidden;
}

.sifency-products-slider-wrapper .product .woocommerce-loop-product__link img {
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
    object-fit: cover;
}

.sifency-products-slider-wrapper .product:hover .woocommerce-loop-product__link img {
    transform: scale(1.08);
}


/* 4. Product Details
   ------------------------------------------- */
.sifency-products-slider-wrapper .product .woocommerce-loop-product__title,
.sifency-products-slider-wrapper .product .price,
.sifency-products-slider-wrapper .product .star-rating {
    padding: 0 20px;
    text-align: left;
}

.sifency-products-slider-wrapper .product .woocommerce-loop-product__title {
    margin: 18px 0 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.sifency-products-slider-wrapper .product .price {
    color: #444;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 60px;
}

.sifency-products-slider-wrapper .product .price ins { text-decoration: none; color: #111; }
.sifency-products-slider-wrapper .product .price del { opacity: 0.4; font-size: 0.95em; margin-right: 5px; }


/* 5. Add to Cart Button (Appears on Hover)
   ------------------------------------------- */
.sifency-products-slider-wrapper .product .button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.35s ease;
    padding: 10px 0;
    border-radius: 5px;
    text-align: center;
    background: var(--sifency-addons-themecolor);
    color: #fff;
    font-weight: 600;
    border: none;
    letter-spacing: 0.3px;
}

.sifency-products-slider-wrapper .product:hover .button {
    opacity: 1;
    transform: translateY(-100px);
}

.sifency-products-slider-wrapper .product .button:hover {
    background: #0056d6;
}


/* 6. "Sale" Badge
   ------------------------------------------- */
.sifency-products-slider-wrapper .product span.onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #101010;
    color: #fff;
    padding: 6px 10px;
    z-index: 999 !important;
}

/* 8. Pagination Dots (Minimal Style)
   ------------------------------------------- */
.sifency-products-slider-wrapper .swiper-pagination {
    bottom: 12px !important;
}

.sifency-products-slider-wrapper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #cfcfcf;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 4px !important;
}

.sifency-products-slider-wrapper .swiper-pagination-bullet-active {
    width: 22px;
    background: linear-gradient(135deg, var(--sifency-addons-themecolor), #0056d6);
    border-radius: 6px;
}

/* 9. Responsive Improvements
   ------------------------------------------- */
@media (max-width: 768px) {
    .sifency-products-slider-wrapper .swiper-button-prev,
    .sifency-products-slider-wrapper .swiper-button-next {
        display: none;
    }
    .sifency-products-slider-wrapper .product .woocommerce-loop-product__title {
        font-size: 1rem;
    }
    .sifency-products-slider-wrapper .product .price {
        font-size: 1rem;
    }
}
