.woocommerce-product-gallery .ncs-gallery-stage { position: relative; }

.woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0 clamp(6px, 2%, 14px);
    list-style: none;
    pointer-events: none;
}

.woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
    pointer-events: auto;
}

.woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav a {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #282828;
    border-radius: 50%;
    background: #fff;
    color: #202020;
    opacity: .95;
    visibility: visible;
    font-size: 0;
    text-decoration: none;
    pointer-events: auto;
}

.woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav a::before {
    content: "";
    width: 9px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
}

.woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav a.flex-prev::before,
[dir="rtl"] .woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav a.flex-next::before {
    transform: rotate(135deg);
}

[dir="rtl"] .woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav a.flex-prev::before {
    transform: rotate(-45deg);
}

.woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav a:hover {
    background: #f2f2f2;
    color: #202020;
    opacity: 1;
}

.woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav a:focus-visible {
    outline: 2px solid #202020;
    outline-offset: 2px;
}

.woocommerce-product-gallery .ncs-gallery-stage > .ncs-gallery-nav a.flex-disabled {
    opacity: .45;
    pointer-events: none;
}
