/* SARBU Product Slider Styles */

.sarbu-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sarbu-product-slider {
    width: 100%;
    padding: 20px 0;
}

.sarbu-product-slider .swiper-wrapper {
    display: flex;
    align-items: center;
}

.sarbu-product-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
    transform: scale(0.85);
}

/* Center/Active Slide - BIG ANIMATION */
.sarbu-product-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1.15) !important;
    z-index: 10;
}

.sarbu-product-slider .swiper-slide-next {
    opacity: 0.85;
    transform: scale(0.95);
}

.sarbu-product-slider .swiper-slide-prev {
    opacity: 0.85;
    transform: scale(0.95);
}

/* Product Card */
.sarbu-product-card {
    width: 100%;
    max-width: 280px;
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sarbu-product-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sarbu-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.swiper-slide-active .sarbu-product-image img {
    transform: scale(1.05);
}

.sarbu-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sarbu-product-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #000;
    transition: color 0.3s ease;
}

.sarbu-product-slider .swiper-slide-active .sarbu-product-name {
    color: #ff0066;
    font-size: 20px;
}

.sarbu-product-description {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.sarbu-product-slider .swiper-slide-active .sarbu-product-description {
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.sarbu-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff0066;
    margin-top: 10px;
    transition: font-size 0.3s ease;
}

.sarbu-product-slider .swiper-slide-active .sarbu-product-price {
    font-size: 22px;
}

/* Pagination Dots */
.swiper-pagination {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background-color: #ff0066;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.swiper-pagination-bullet:hover {
    background-color: #ff0066;
    opacity: 0.8;
}

/* Navigation Arrows (Optional) */
.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 0, 102, 0.8);
    border-radius: 50%;
    top: 50%;
    z-index: 5;
    transition: all 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 16px;
    color: white;
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #ff0066;
    transform: scale(1.1);
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sarbu-product-card {
        max-width: 220px;
        padding: 15px;
    }

    .sarbu-product-image {
        height: 150px;
        margin-bottom: 15px;
    }

    .sarbu-product-name {
        font-size: 16px;
    }

    .sarbu-product-slider .swiper-slide-active {
        transform: scale(1.1) !important;
    }
}

@media (max-width: 768px) {
    .sarbu-product-card {
        max-width: 180px;
        padding: 12px;
    }

    .sarbu-product-image {
        height: 120px;
        margin-bottom: 10px;
    }

    .sarbu-product-name {
        font-size: 14px;
    }

    .sarbu-product-description {
        font-size: 12px;
    }

    .sarbu-product-price {
        font-size: 16px;
    }

    .sarbu-product-slider .swiper-slide-active {
        transform: scale(1.08) !important;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .sarbu-slider-wrapper {
        padding-bottom: 30px;
    }

    .sarbu-product-card {
        max-width: 150px;
        padding: 10px;
    }

    .sarbu-product-image {
        height: 100px;
        margin-bottom: 8px;
    }

    .sarbu-product-name {
        font-size: 13px;
    }

    .sarbu-product-description {
        display: none;
    }

    .sarbu-product-price {
        font-size: 14px;
    }

    .swiper-pagination {
        bottom: -25px;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

/* Smooth 3D Effect */
.sarbu-product-slider {
    perspective: 1200px;
}

.sarbu-product-slider .swiper-slide {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Hover Effects */
.sarbu-product-card:hover {
    box-shadow: 0 8px 30px rgba(255, 0, 102, 0.15);
}

.sarbu-product-slider .swiper-slide-active .sarbu-product-card {
    box-shadow: 0 15px 40px rgba(255, 0, 102, 0.2);
}
