.faabel-ba-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.faabel-ba-slider {
  --handle-color: #fff;
  --handle-width: 3px;
  --label-bg: rgba(0,0,0,.55);
  --label-color: #fff;
  --radius: 12px;
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  height: 350px;
  background: #1a1a1a;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}

.faabel-ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.faabel-ba-slider .ba-before {
  clip-path: inset(0 50% 0 0);
  z-index: 1;
}

.faabel-ba-slider .ba-after {
  z-index: 0;
}

.faabel-ba-slider .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--handle-width);
  background: var(--handle-color);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 6px rgba(0,0,0,.35);
}

.faabel-ba-slider .ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--handle-color);
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.faabel-ba-slider .ba-knob svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #333;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faabel-ba-slider .ba-label {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 4px 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--label-color);
  background: var(--label-bg);
  border-radius: 6px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.faabel-ba-label--before { left: 14px; }
.faabel-ba-label--after  { right: 14px; }

.faabel-ba-caption {
  text-align: center;
  margin-top: 10px;
}

.faabel-ba-caption .service-name {
  font-weight: 600;
  font-size: 15px;
  margin: 0;
}

.faabel-ba-caption .service-desc {
  font-size: 13px;
  opacity: .7;
  margin: 4px 0 0;
}

@media (max-width: 768px) {
  .faabel-ba-row {
    flex-direction: column;
  }
  .faabel-ba-slider {
    width: 100%;
    flex: none;
  }
}
