﻿.sp-ba-slider {
    position: relative;
    width: 100%;
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 50px -24px rgba(18, 33, 29, 0.25);
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

    .sp-ba-slider img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
    }

.sp-ba-after {
    clip-path: inset(0 0 0 50%);
}

.sp-ba-tag {
    position: absolute;
    top: 16px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    background: rgba(18, 33, 29, 0.72);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 2;
}

.sp-ba-tag-before {
    left: 16px;
}

.sp-ba-tag-after {
    right: 16px;
}

.sp-ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #fff;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.sp-ba-grip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

    .sp-ba-grip svg {
        width: 14px;
        height: 14px;
    }
