.bae-container {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.bae-slider {
  position: relative;
  height: 435px;
  width: 580px;
}
.bae-slider img {
  width: 100%;
  display: block;
}
.bae-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  clip-path: inset(0 -50% 0 50%); /* muestra mitad izquierda, oculta mitad derecha */
}
.bae-label {
    position: absolute;
    top: 10px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .1em;
    position: absolute;
    background: rgb(0 0 0 / 51%);
    line-height: 38px;
    padding: 0 20px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    z-index: 2;
}
.bae-label-before { left: 10px; }
.bae-label-after { right: 10px; }
.bae-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    padding: 8px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
    background: rgba(0,0,0,0.3); /* opcional: para resaltar el círculo */
}

/* iconos */
.bae-handle i {
    font-size: 22px;
    color: #ffffff;
}

.bae-handle svg {
    fill: #ffffff;
}

/* línea divisoria */
.bae-handle::before,
.bae-handle::after {
    content: "";
    position: absolute;
    width: 2px;
    background: #ffffff;
    z-index: -1; /* para que quede debajo del círculo */
}

/* línea hacia arriba */
.bae-handle::before {
    top: -9999px;   /* extiende hacia arriba */
    bottom: 50%;    /* se detiene en el borde superior del círculo */
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: calc((35px + (2px * 2)) / 2);
}

/* línea hacia abajo */
.bae-handle::after {
    top: 50%;       /* se detiene en el borde inferior del círculo */
    bottom: -9999px;/* extiende hacia abajo */
    left: 50%;
    transform: translateX(-50%);
    margin-top: calc((35px + (2px * 2)) / 2);
}
/* overlay del slider */
.bae-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none; /* no bloquea clics ni arrastre */
  z-index: 1; /* queda encima de las imágenes */
}
