/* ===========================================
   MAIN CONTAINER
   =========================================== */
.woo-swiper-gallery-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

/* ===========================================
   MAIN SWIPER
   =========================================== */
.woo-swiper-main {
    width: 100%;
    height: 600px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.woo-swiper-main .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    cursor: pointer;
}

.woo-swiper-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.woo-swiper-main .swiper-slide:first-child .woo-swiper-image-container {
    padding: 10px !important;
}

.woo-swiper-main .swiper-slide:not(:first-child) .woo-swiper-image-container {
    padding: 0 !important;
}

.woo-swiper-main-image {
    max-width: 100%;
    max-height: 100%;
	object-fit: cover;
}

.woo-swiper-main .swiper-slide:first-child .woo-swiper-main-image {
    aspect-ratio: auto !important;
    object-fit: contain !important;
}

.woo-swiper-main .swiper-slide:not(:first-child) .woo-swiper-main-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.woo-swiper-main .swiper-button-next,
.woo-swiper-main .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.woo-swiper-main .swiper-button-next:after,
.woo-swiper-main .swiper-button-prev:after {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.woo-swiper-main .swiper-button-next:hover,
.woo-swiper-main .swiper-button-prev:hover {
    background: white;
    transform: scale(1.1);
}

.woo-swiper-main .swiper-pagination {
    bottom: 10px !important;
}

.woo-swiper-main .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
}

.woo-swiper-main .swiper-pagination-bullet-active {
    background: #0073aa;
    transform: scale(1.2);
}

/* ===========================================
   SWIPER THUMBS
   =========================================== */
.woo-swiper-thumbs {
    height: 100px;
    width: 100%;
    padding: 5px 0;
}

.woo-swiper-thumbs .swiper-slide {
    width: 100px !important;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
}

.woo-swiper-thumbs .swiper-slide:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.woo-swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.woo-swiper-thumb-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 4px;
}

.woo-swiper-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.woo-swiper-thumbs::-webkit-scrollbar {
    height: 6px;
}

.woo-swiper-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.woo-swiper-thumbs::-webkit-scrollbar-thumb {
    background: #0073aa;
    border-radius: 3px;
}

.woo-swiper-thumbs::-webkit-scrollbar-thumb:hover {
    background: #005a87;
}

/* ===========================================
   LIGHTBOX
   =========================================== */
.woo-swiper-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woo-swiper-lightbox.active {
    display: flex;
    opacity: 1;
}

.woo-lightbox-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.woo-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 30px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.woo-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.woo-lightbox-swiper {
    width: 100%;
    height: 100%;
}

.woo-lightbox-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.woo-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.woo-lightbox-swiper .swiper-button-next,
.woo-lightbox-swiper .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.woo-lightbox-swiper .swiper-button-next:after,
.woo-lightbox-swiper .swiper-button-prev:after {
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.woo-lightbox-swiper .swiper-button-next:hover,
.woo-lightbox-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    .woo-swiper-main {
        height: 400px;
    }
    
    .woo-swiper-thumbs {
        height: 80px;
    }
    
    .woo-swiper-thumbs .swiper-slide {
        width: 80px !important;
    }
    
    .woo-swiper-main .swiper-button-next,
    .woo-swiper-main .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .woo-swiper-main .swiper-button-next:after,
    .woo-swiper-main .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .woo-lightbox-swiper .swiper-button-next,
    .woo-lightbox-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .woo-swiper-main {
        height: 300px;
    }
    
    .woo-swiper-thumbs {
        height: 70px;
    }
    
    .woo-swiper-thumbs .swiper-slide {
        width: 70px !important;
    }
}

/* Hide our slider when there is no gallery */
.woo-swiper-gallery-container:empty {
    display: none;
}

.woo-swiper-main-image {
    cursor: zoom-in !important;
}

.woo-swiper-main-image:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.woo-swiper-image-container {
    position: relative;
}

.woo-swiper-image-container:hover::after {
    opacity: 1;
}
