.product-image-gallery-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* margin: 10px 0 0; */
    margin: 0;
}
@media (hover: none) and (pointer: coarse) and (max-width: 900px) {
    .product-image-gallery-indicators {
        margin-top: -16px;
    }
}

.product-image-gallery-indicator {
    appearance: none;
    width: 10px;
    height: 10px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.product-image-gallery-indicator.is-active {
    border-color: var(--color-primary-dark);
    background: var(--color-primary-dark);
}

.product-image-gallery-thumb-toggle {
    display: none;
}

.store-product-detail__thumb.is-active {
    border-color: rgba(200, 95, 111, 0.68);
}

.store-product-detail__thumb-button:focus-visible {
    outline: 1px solid var(--color-primary);
    outline-offset: 2px;
}

.store-product-detail__image.is-gallery-ready {
    position: relative;
}

.store-product-detail__image.is-gallery-dragging {
    cursor: grabbing;
}

.product-image-gallery-track {
    position: absolute;
    inset: 0;
    display: flex;
    width: 300%;
    height: 100%;
    transform: translateX(-33.333333%);
    will-change: transform;
}

.product-image-gallery-track.is-animating {
    transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.product-image-gallery-slide {
    flex: 0 0 33.333333%;
    height: 100%;
    min-width: 0;
}

.product-image-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    .product-image-gallery-indicator:hover {
        opacity: 0.62;
    }
}

@media (hover: none) and (pointer: coarse) and (max-width: 900px) {
    .store-product-detail__image.is-gallery-draggable:not(.is-touch-zooming) {
        touch-action: pan-y;
    }

    .store-product-detail__gallery.is-thumb-accordion-ready .product-image-gallery-thumb-toggle {
        appearance: none;
        display: inline-flex;
        justify-self: center;
        align-items: center;
        justify-content: center;
        border: 0;
        border-bottom: 1px solid var(--color-line);
        background: transparent;
        padding: 2px 0;
        color: var(--color-muted);
        font: inherit;
        font-size: 12px;
        line-height: 1.6;
        cursor: pointer;
        transition: opacity 0.28s ease;
    }

    .store-product-detail__gallery.is-thumb-accordion-ready .product-image-gallery-thumb-toggle:hover {
        opacity: 0.62;
    }

    .store-product-detail__gallery.is-thumb-accordion-ready:not(.is-thumb-accordion-open) .store-product-detail__thumbs {
        display: none;
    }
}
