/**
 * Baijia Product Gallery Carousel Styles
 */

.baijia-product-gallery {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.baijia-product-gallery .swiper-slide {
    width: auto;
}

.baijia-product-gallery .swiper-slide img {
    display: block;
    height: 400px;
    width: auto;
    object-fit: cover;
}

.baijia-product-gallery .swiper-slide a {
    display: block;
    line-height: 0;
}

/* Arrows */
.baijia-product-gallery .baijia-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
}

.baijia-product-gallery .baijia-arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.baijia-product-gallery .baijia-arrow svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.baijia-product-gallery .baijia-arrow-prev {
    left: 16px;
}

.baijia-product-gallery .baijia-arrow-next {
    right: 16px;
}
