/* =========================================================
   bwa-pbg - Paint Brands Carousel
   ========================================================= */

.bwa-pbg [data-anim] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bwa-pbg.is-inview [data-anim] {
    opacity: 1;
    transform: none;
}

.bwa-pbg {
    background: linear-gradient(180deg, #f9fbff 0%, #f4f7fc 100%);
    padding: 4.5rem 0;
}

@media (min-width: 768px) {
    .bwa-pbg {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .bwa-pbg {
        padding: 7.5rem 0;
    }
}

.bwa-pbg__container {
    width: 100%;
    max-width: 92rem;
    margin: 0 auto;
}

.bwa-pbg__inner {
    max-width: 85rem;
    margin: 0 auto;
}

.bwa-pbg__header {
    max-width: 50rem;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.bwa-pbg__title {
    margin: 0;
    color: #13294b;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

.bwa-pbg__description {
    margin: 1rem 0 0;
    color: #5d7090;
    font-size: 1rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .bwa-pbg__title {
        font-size: 2.75rem;
    }

    .bwa-pbg__description {
        font-size: 1.1875rem;
    }
}

/* --- Carousel wrapper --- */

.bwa-pbg__carousel {
    position: relative;
    overflow: hidden;
    padding: 0 3rem;
}

@media (max-width: 767px) {
    .bwa-pbg__carousel {
        padding: 0;
    }
}

/* --- Slide (item) --- */

.bwa-pbg__item.swiper-slide {
    height: auto;
    min-height: 9.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 1px solid #d8e1ef;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(20, 41, 75, 0.04);
}

@media (min-width: 768px) {
    .bwa-pbg__item.swiper-slide {
        min-height: 11rem;
        padding: 1.75rem;
    }
}

.bwa-pbg__item-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.bwa-pbg__logo {
    display: block;
    width: 100%;
    max-width: 8rem;
    max-height: 3.5rem;
    object-fit: contain;
}

.bwa-pbg__placeholder {
    color: #13294b;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* --- Navigation buttons --- */

.bwa-pbg__nav.swiper-button-prev,
.bwa-pbg__nav.swiper-button-next {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid #d8e1ef;
    background: #fff;
    box-shadow: 0 4px 12px rgba(20, 41, 75, 0.08);
    color: #13294b;
    top: 50%;
    margin-top: -1.25rem;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.bwa-pbg__nav.swiper-button-prev {
    left: 0;
}

.bwa-pbg__nav.swiper-button-next {
    right: 0;
}

.bwa-pbg__nav.swiper-button-prev::after,
.bwa-pbg__nav.swiper-button-next::after {
    font-size: 0.7rem;
    font-weight: 800;
}

.bwa-pbg__nav.swiper-button-prev:hover,
.bwa-pbg__nav.swiper-button-next:hover {
    background: #f0f4fb;
    box-shadow: 0 6px 16px rgba(20, 41, 75, 0.12);
}

.bwa-pbg__nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 767px) {
    .bwa-pbg__nav {
        display: none !important;
    }
}

/* --- Container padding --- */

@media (max-width: 767px) {
    .bwa-pbg__container {
        padding-inline: 1.25rem;
    }
}

@media (min-width: 768px) and (max-width: 1439px) {
    .bwa-pbg__container {
        padding-inline: 2rem;
    }
}
