/* Before and after slides (bespoke furniture page). */
.ba-sec .ba-head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.ba-carousel .ba-slide {
    padding: 6px 16px 28px;
}

.ba-carousel .ba-title {
    font-size: 22px;
    text-align: center;
    text-wrap: balance;
    margin-bottom: 18px;
}

.ba-carousel .ba-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid #3a3a3a;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.ba-carousel .ba-img {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f1f1;
}

.ba-carousel .ba-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-carousel .ba-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ba-carousel .ba-img + .ba-img .ba-tag {
    background: #fff;
    color: #000;
}

.ba-sec .owl-theme .owl-nav {
    position: absolute;
    top: 55%;
    left: 0;
    right: 0;
    margin: 0;
    pointer-events: none;
}

.ba-sec .owl-theme .owl-nav button.owl-prev,
.ba-sec .owl-theme .owl-nav button.owl-next {
    position: absolute;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid #3a3a3a !important;
    border-radius: 50%;
    background: #fff !important;
    color: #000 !important;
    font-size: 16px;
    line-height: 42px;
    pointer-events: auto;
    transform: translateY(-50%);
}

.ba-sec .owl-theme .owl-nav button.owl-prev { left: -22px; }
.ba-sec .owl-theme .owl-nav button.owl-next { right: -22px; }

.ba-sec .owl-theme .owl-nav button:hover {
    background: #000 !important;
    color: #fff !important;
}

.ba-sec .owl-theme .owl-dots {
    margin-top: 14px;
}

@media (max-width: 767px) {
    .ba-sec .owl-theme .owl-nav,
    .ba-sec .owl-theme .owl-nav.disabled {
        display: none;
    }

    .ba-sec .owl-theme .owl-nav.disabled + .owl-dots {
        display: block;
    }
}

@media (max-width: 575px) {
    .ba-carousel .ba-pair {
        grid-template-columns: 1fr;
    }

    .ba-carousel .ba-title {
        font-size: 20px;
    }
}
