.bpa-product-gallery {
    position: relative;
    width: 100%;
}

.bpa-product-gallery__viewport {
    overflow: hidden;
    width: 100%;
}

.bpa-product-gallery__track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}

.bpa-product-gallery__slide {
    aspect-ratio: 4 / 3;
    background: #f4f4f4;
    flex: 0 0 100%;
    margin: 0;
    min-height: 400px;
    min-width: 0;
    overflow: hidden;
}

.bpa-product-gallery__image {
    display: block;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    width: 100%;
}

.bpa-product-gallery__arrow {
    align-items: center;
    background: rgba(0, 0, 0, 0.55);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 30px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    z-index: 2;
}

.bpa-product-gallery__arrow:hover,
.bpa-product-gallery__arrow:focus-visible {
    background: rgba(0, 0, 0, 0.8);
}

.bpa-product-gallery__arrow--prev {
    left: 14px;
}

.bpa-product-gallery__arrow--next {
    right: 14px;
}

.bpa-product-gallery__dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.bpa-product-gallery__dot {
    background: #c7c7c7;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 9px;
    padding: 0;
    width: 9px;
}

.bpa-product-gallery__dot.is-active,
.bpa-product-gallery__dot:hover,
.bpa-product-gallery__dot:focus-visible {
    background: #01311b;
}
