/* WooCommerce Gallery Carousel Styles */

.woo-gallery-carousel {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
	border: 1px solid #0000FF;
}

.carousel-images {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-prev {
    left: 16px;
}

.carousel-arrow-next {
    right: 16px;
}

.carousel-arrow svg {
    color: #333;
}

.carousel-bullets {
    display: flex;
    gap: 12px;
    padding: 10px;
	margin-top: -40px;
    z-index: 20000;
    position: relative;
}

.carousel-bullet {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #0000FF;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
	
}

.carousel-bullet:hover {

    border-color: #0000FF;
}

.carousel-bullet.active {
    background: #0000FF;

}

@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .carousel-arrow-prev {
        left: 8px;
    }
    
    .carousel-arrow-next {
        right: 8px;
    }
    
    .carousel-bullets {
        gap: 5px;
    }
    
    .carousel-bullet {
        width: 20px;
        height: 20px;
    }
}

.wp-block-woo-gallery-carousel-product-gallery {
    margin-block-start: var(--wp--preset--spacing--50);
    margin-block-end: var(--wp--preset--spacing--50);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.woo-gallery-carousel {
    animation: fadeIn 0.5s ease-in;
}

@media (prefers-color-scheme: dark) {
    .carousel-container {
 
    }
    
    .carousel-arrow {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .carousel-arrow:hover {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .carousel-arrow svg {
        color: #fff;
    }
    
    .carousel-bullet {
        border-color: #0000FF;
    }
    
    .carousel-bullet.active {
        background: #0000FF;
    }
}