


.slider-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 450px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #ccc;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  margin-top: 20px;
}


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


.img-a {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.img-a img {
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}


.sliderLabel {
  position: absolute;
  bottom: 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
}
.label-before { left: 14px; }
.label-after  { right: 14px; }


.divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}


.handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

@media (min-width: 1200px) {
  .slider-wrap {margin-left: 20px;}
}