#image-gallery .lslide {
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}
#image-gallery .lslide:hover .lazyOwl {
    transform: scale(2);
}
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
}
.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.image-modal-close {
    position: absolute;
    top: -18px;
    right: 15px;
    background: rgba(255, 255, 255, 0%);
    border: none;
    color: white;
    font-size: 50px;
    font-weight: 200;
    width: 24px;
    height: 50px;
    cursor: pointer;
    z-index: 10000;
    display: flex;
}
.image-modal-close:hover {
    background: rgba(255, 255, 255, 0%);
}
.image-swiper {
    width: 100%;
    height: calc(100% - 120px);
    margin-bottom: 20px;
}
.image-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
}
.video-container {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-video {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 8px;
}
.image-swiper .swiper-button-next,
.image-swiper .swiper-button-prev {
    color: white;
}
.image-swiper .swiper-button-next::after,
.image-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}
.image-thumbnails-container {
    height: 80px;
    width: 100%;
    padding: 10px 0;
    overflow-x: auto;
    overflow-y: hidden;
}
.thumbnails-gallery {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    min-width: 100%;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.thumbnail-slide {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
}
.thumbnail-slide.active {
    opacity: 1;
    border-color: white;
    transform: scale(1.1);
}
.thumbnail-slide:hover {
    opacity: 1;
    transform: scale(1.05);
}
.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.thumbnail-video {
    position: relative;
    width: 100%;
    height: 100%;
}
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-thumbnails-container::-webkit-scrollbar {
    height: 4px;
}
.image-thumbnails-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.image-thumbnails-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}
.image-thumbnails-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
        
    #image-gallery .lslide {
            cursor: default;
    }
    #image-gallery .lazyOwl {
            transition: none;
    }
    #image-gallery .lslide:hover .lazyOwl {
            transform: none;
    }
    .modal-video {
            height: 300px;
    }
    .image-modal-close {
            top: 10px;
            right: 10px;
            width: 40px;
            height: 40px;
    }
    .image-swiper .swiper-button-next,
    .image-swiper .swiper-button-prev {
            width: 40px;
            height: 40px;
            margin-top: -20px;
    }
    .image-swiper .swiper-button-next::after,
    .image-swiper .swiper-button-prev::after {
            font-size: 16px;
    }
    .image-thumbnails-container {
            height: 60px;
    }
    .thumbnail-slide {
            width: 45px;
            height: 45px;
    }
    .video-play-icon {
            width: 20px;
            height: 20px;
            font-size: 12px;
    }
    .thumbnails-gallery {
            gap: 8px;
            padding: 0 15px;
    }
}