.product-gallery-prev {
    inset-inline-start: auto;
    left: 18px;
    right: auto;
}

/* Release asset: 2026-08-03.2 */

.product-gallery-next {
    inset-inline-end: auto;
    right: 18px;
    left: auto;
}

.product-gallery-stage > img {
    box-sizing: border-box;
    display: block;
    position: absolute;
    inset: 30px;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
    object-position: center;
}

.product-gallery-counter {
    direction: ltr;
}

.product-gallery {
    display: grid;
    grid-template-rows: auto auto;
    row-gap: 18px;
}

.product-gallery-stage {
    contain: layout paint;
    isolation: isolate;
}

.product-gallery-thumbs {
    position: relative;
    z-index: 3;
    margin: 0;
    padding: 0 2px 4px;
}

@media (max-width: 640px) {
    .product-gallery-stage > img {
        inset: 26px;
        width: calc(100% - 52px);
        height: calc(100% - 52px);
    }
}
