.elza-card-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.elza-card-gallery-track {
    display: flex;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.elza-card-gallery-track::-webkit-scrollbar {
    display: none;
}

.elza-card-gallery-track:focus-visible {
    outline: 2px solid #282626;
    outline-offset: -3px;
}

.elza-card-gallery-slide {
    display: block;
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.product-pic .elza-card-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elza-card-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ee2733;
    font: 28px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
}

.elza-card-gallery-arrow[hidden],
.elza-card-gallery-counter[hidden] {
    display: none;
}

.elza-card-gallery-prev {
    left: 10px;
}

.elza-card-gallery-next {
    right: 10px;
}

.elza-card-gallery-arrow:disabled {
    color: #78736d;
    opacity: 0.35;
    cursor: default;
}

.elza-card-gallery-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 3;
    padding: 3px 9px;
    border-radius: 12px;
    background: rgb(255 255 255 / 90%);
    color: #282626;
    font-size: 11px;
    line-height: 1.4;
    transform: translateX(-50%);
    pointer-events: none;
}

@media (max-width: 600px) {
    .elza-card-gallery-arrow {
        width: 28px;
        height: 28px;
        font-size: 24px;
    }

    .elza-card-gallery-prev {
        left: 6px;
    }

    .elza-card-gallery-next {
        right: 6px;
    }
}
