/* ============================================================
   Showroom Slider — showroom-slider.css
   ============================================================ */

.msw-container {
    /* max-width: 1200px; */
    /* max-width: 100%; */
    margin-left: auto;
    margin-right: auto;
    /* padding-left: 2rem;
    padding-right: 2rem; */
}

.msw-titel {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* ── Slider wrapper: breekt uit de Elementor container ── */
.msw-slider-wrapper {
    width: 100vw;
    position: relative;
    left: 49.4%;
    transform: translateX(-50%);
    overflow: hidden;
}

/* ── Slider track ── */
.msw-slider {
    display: flex;
    gap: 12px;
    /* Geen overflow-x, geen scroll-snap — JS regelt alles via transform */
    will-change: transform;
    transition: transform 0.5s ease;
    user-select: none;
}

/* ── Losse slide ── */
.msw-slide {
    flex: 0 0 auto;
}

.msw-slide img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity .2s ease;
    pointer-events: auto;
}
.msw-slide img:hover { opacity: .88; }

/* ── Onderste balk ── */
.msw-bottom-bar {
    width: 59%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 48px;
    margin-right: unset !important;
}

.msw-nav-group {
    display: flex;
    gap: 8px;
}

.msw-nav {
    width: 44px;
    height: 44px;
    padding: unset !important;
    border-radius: 50% !important;
    background-color: #F5F5F5 !important;
    border-color: #F5F5F5 !important;
    color: #C26C6D !important;
    font-size: 0.8rem !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;

    svg {
        width: 24px !important;
        height: auto !important;
        transition: all 0.3s ease;

        path {
            fill: #C26C6D;
        }
    }
}

.msw-nav:hover {
    border-color: #C26C6D !important;
    background-color: #C26C6D !important;

    svg > path {
        fill: #fff !important;
    }
}

/* ── Button ── */
.msw-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: .55rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: #3A5F51;
    color: #fff !important;
    font-size: .9rem;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s;
}
.msw-btn:hover { background: #131E29; }
.msw-btn-arrow { font-size: 1.1rem; line-height: 1; }

/* ── Lightbox ── */
.msw-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msw-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .85);
}

.msw-lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 92vw;
    max-height: 92vh;
}

.msw-lightbox-img {
    display: block;
    max-width: 80vw;
    max-height: 88vh;
    border-radius: 6px;
    flex-shrink: 1;
}

.msw-lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 34px;
    height: 34px;
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,.6);
    background: rgba(0,0,0,.4) !important;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: unset !important;
}

.msw-lightbox-prev,
.msw-lightbox-next {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,.6);
    background: rgba(0,0,0,.4) !important;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
    padding: unset !important;
}
.msw-lightbox-prev:hover,
.msw-lightbox-next:hover {
    background: rgba(0,0,0,.7);
    border-color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .msw-slide img { height: 200px; }

    .msw-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: unset !important;
        margin-top: 24px;

        .msw-nav-group {
            order: 1;
        }

        .msw-btn {
            order: 2;
        }
    }

    .msw-lightbox-img {
        max-width: 75vw;
    }
}