.pbs-brands-carousel-wrapper {
    position: relative;
    padding: 20px 0;
}

.pbs-brands-carousel {
    overflow: hidden;
}

.pbs-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pbs-brand-item img {
    max-width: 100%;
    width: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Grayscale Hover Effect */
.pbs-grayscale-yes .pbs-brand-item img {
    filter: grayscale(100%);
    /* Opacity is handled by Elementor control selector .pbs-brand-item */
}

.pbs-grayscale-yes .pbs-brand-item:hover {
    opacity: 1 !important;
}

.pbs-grayscale-yes .pbs-brand-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* Ensure Swiper slides height is consistent */
.pbs-brands-carousel .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

/* Navigation Arrows (Optional, if we add them later) */
.pbs-brands-carousel-wrapper .swiper-button-prev,
.pbs-brands-carousel-wrapper .swiper-button-next {
    color: #333;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pbs-brands-carousel-wrapper .swiper-button-prev:after,
.pbs-brands-carousel-wrapper .swiper-button-next:after {
    font-size: 16px;
}

/* Pagination Dots */
.pbs-brands-carousel-wrapper .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.pbs-brands-carousel-wrapper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.pbs-brands-carousel-wrapper .swiper-pagination-bullet-active {
    background: #333;
    width: 20px;
    border-radius: 4px;
}
