.bas-wrapper { width: 100%; }

.bas-heading { text-align: center; margin-bottom: 20px; }

/* ── Carousel ── */
.bas-carousel { position: relative; }

.bas-slide { display: none; }

.bas-slide.bas-slide-active { display: block; }

/* ── Comparison container ── */
.bas-container {
    position: relative;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.bas-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bas-img-before { z-index: 2; }
.bas-img-after  { z-index: 1; }

/* ── Labels ── */
.bas-label {
    position: absolute;
    top: 16px;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    z-index: 4;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
}

.bas-label-before { left: 16px; }
.bas-label-after  { right: 16px; }

/* ── Drag handle ── */
.bas-handle-wrap {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.bas-handle-line {
    flex: 1;
    width: 3px;
    background-color: #2F3C75;
}

.bas-handle-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #2F3C75;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    cursor: ew-resize;
    pointer-events: all;
    transition: transform 0.15s ease;
}

.bas-container:active .bas-handle-circle {
    transform: scale(1.1);
}

/* ── Prev / Next buttons ── */
.bas-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(47, 60, 117, 0.85);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.15s ease;
    padding: 0;
    line-height: 1;
}

.bas-nav:hover {
    background-color: rgba(47, 60, 117, 1);
    transform: translateY(-50%) scale(1.08);
}

.bas-prev { left: 12px; }
.bas-next { right: 12px; }

/* ── Dots ── */
.bas-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.bas-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(47, 60, 117, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.bas-dot.bas-dot-active {
    background-color: #2F3C75;
    transform: scale(1.35);
}

.bas-dot:hover:not(.bas-dot-active) {
    background-color: rgba(47, 60, 117, 0.6);
}