/* Flex container for the sliders */
.gallery-flex-container {
    display: flex;
    flex-direction: row; /* Arrange thumbnails and main slider side by side */
    align-items: flex-start; /* Align items to the top */
    max-width: 600px; /* Adjust as needed */
    margin: 0 auto;
}

/* Thumbnail Slider */
.variation-gallery-slider-thumbnails {
    width: 10%; /* Adjust the width of the thumbnail slider */
    flex-shrink: 0;
    margin-right: 20px;
}

.variation-gallery-slider-thumbnails .gallery-thumbnail {
    cursor: pointer;
    margin: 5px 0; /* Space between thumbnails */
    opacity: 0.6; /* Make thumbnails slightly transparent */
    transition: opacity 0.3s ease;
}

.variation-gallery-slider-thumbnails .gallery-thumbnail img {
    width: 46px;
    height: 46px;
    display: block;
}

.variation-gallery-slider-thumbnails .gallery-thumbnail.slick-current {
    opacity: 1; /* Highlight the active thumbnail */
}

/* Main Slider */
.variation-gallery-slider-main {
    flex-grow: 1; /* Allow the main slider to take up remaining space */
    /*height: 100%;*/
    width: 90%;
}

.variation-gallery-slider-main .gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}


.lightbox-button {
    position: absolute;
    top: 10px;
    right: -10px;
    height: 2em;
    width: 2em;
    border-radius: 3px;
    z-index: 99;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.lightbox-button:hover {
    background-color: #D5D5D5;
    color: #333;
}

.spinner-container {
    display: block !important; /* Force display for debugging */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 20px;
    border-radius: 10px;
}

.spinner-container i {
    font-size: 18px;
    color: #333; /* Spinner color */
}

@media only screen and (max-width: 600px) {
    .lightbox-button{
        right: 10px;
    }
}