/* Product Card Carousel Animations */

.carousel-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    z-index: 10;
}

/* Ensure no background bleed */
.product-image-container {
    background-color: white; /* Avoid transparency showing other elements */
    isolation: isolate; /* Create stacking context */
}