.ba-grid-container-4ae3ef26 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.ba-card-4ae3ef26 {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.ba-image-container-4ae3ef26 {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    transform: translateZ(0); /* Fixes Safari overflow bugs */
}

.ba-image-layer-4ae3ef26 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.ba-before-layer-4ae3ef26 {
    z-index: 2;
    border-right: none;
}

.ba-after-layer-4ae3ef26 {
    z-index: 1;
}

/* Movable vertical separation bar */
.ba-slider-line-4ae3ef26 {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #d90429;
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
}

/* Draggable invisible range input layer over the image container */
.ba-slider-control-4ae3ef26 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}

/* Labels */
.ba-overlay-label-4ae3ef26 {
    position: absolute;
    bottom: 20px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 12px;
    z-index: 5;
    pointer-events: none;
    text-transform: uppercase;
}

.label-before-4ae3ef26 {
    left: 20px;
    background-color: rgba(220, 220, 225, 0.85);
    color: #1d1d1f;
}

.label-after-4ae3ef26 {
    right: 20px;
    background-color: #ba181b;
    color: #ffffff;
}

/* Content block below comparison area */
.ba-content-4ae3ef26 {
    padding: 20px 10px 4px 10px;
    text-align: center;
}

.ba-card-title-4ae3ef26 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #1d1d1f;
}

.ba-card-subtitle-4ae3ef26 {
    font-size: 12px;
    font-weight: 600;
    color: #86868b;
    letter-spacing: 1.5px;
    margin: 0;
    text-transform: uppercase;
}
