.gallery {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    touch-action: pan-y pinch-zoom;
}

.gallery-track-container {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease;
}

.gallery-slide {
    aspect-ratio: 16 / 9;
}

.gallery-slide img {
    width: 100%;
    height: 100%;          
    object-fit: cover;    
    display: block;
    pointer-events: none;
}

/** Стиль если надо вписать изображение **/
/* .gallery-slide {
    background: #f0f0f0;  
    aspect-ratio: 16 / 9;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;  
    display: block;
    pointer-events: none;
} */

.gallery-slide {
    position: relative;
    flex: 0 0 100%;
    background: #fafafa;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.zone-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 10;
}

.zone {
    flex: 1;
    height: 100%;
    background: transparent;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 10px;
    position: absolute;
    width: 100%;
    top: calc(var(--render-picture-height) - 40px);
}

.imagesBox{
    position: relative;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #333;
}