/* SLIDER */

.olga_slider-image {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.olga_remove-image {
    position: absolute;
    display: flex;
    top: 10px;
    right: 10px;
    align-items: center;
    justify-content: center;
    border: none !important;
}

.olga_slider {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.olga_slider__main-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.olga_slider__thumbnails {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;
}

.olga_slider__thumbnail {
    position: relative;
    overflow: hidden; 
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.olga_slider__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.olga_slider__thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65); 
    opacity: 1; 
    pointer-events: none; 
    transition: opacity 0.3s ease; 
    z-index: 1;
}

.olga_slider__thumbnail.active::before,
.olga_slider__thumbnail:hover::before {
    opacity: 0; 
    background: unset;
}

.olga_slider__thumbnail:hover {
    transform: scale(1.1);
}

@media (max-width:768px) {

.olga_slider__main {
    width: 100% !important;
    height: 400px !important;
}

.olga_slider__thumbnails{
    width: 100% !important;
}

.olga_slider__thumbnail{
    width: 80px !important;
    height: 80px !important;
    }

}

@media screen and (max-width:480px) {

}