    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity .2s ease, background .2s ease, color .2s ease;
}

.product-gallery-prev { left: 10px; }
.product-gallery-next { right: 10px; }

.product-gallery-control i {
    font-size: 20px;
    line-height: 1;
}

.product-gallery:hover .product-gallery-control,
.product-gallery:focus-within .product-gallery-control {
    opacity: 1;
}

.product-gallery-control:hover {
    background: var(--primary, #f7bf08);
    color: #111;
}

.product-gallery-control:focus-visible,
.product-gallery-dot:focus-visible {
    outline: 2px solid var(--primary, #f7bf08);
    outline-offset: 3px;
}

.product-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    background: rgba(11,18,32,.48);
    transform: translateX(-50%);
    backdrop-filter: blur(4px);
}

.product-gallery-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.72);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.product-gallery-dot.is-active {
    width: 17px;
    border-radius: 8px;
    background: var(--primary, #f7bf08);
}

.product-gallery-dot[hidden] {
    display: none !important;
}

.product-gallery-status {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 991px) {
    .product-gallery-control {
        width: 32px;
        height: 32px;
        opacity: 1;
    }

    .product-gallery-prev { left: 8px; }
    .product-gallery-next { right: 8px; }

    .product-gallery-dots {
        bottom: 8px;
        gap: 7px;
    }

    .product-gallery-dot {
        width: 7px;
        height: 7px;
        min-width: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-gallery .product-gallery-image,
    .product-gallery-control,
    .product-gallery-dot {
        transition: none;
    }
}


/* Keep controls hidden if JavaScript is disabled. */
.product-gallery:not(.product-gallery-ready) .product-gallery-control,
.product-gallery:not(.product-gallery-ready) .product-gallery-dots {
    display: none;
}

.product-gallery-control[hidden],
.product-gallery-dots[hidden] {
    display: none !important;
}
