  * { box-sizing: border-box; }
  
  .sr-image-hidden {
    height: 333px;
    width: 555px;
    overflow: hidden;
    object-fit: cover;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.sr-slider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: fit-content;
    overflow: hidden;
}

.sr-before-wrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    pointer-events: none;
}

.sr-before-inner {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
    max-width: 100%;
}

.sr-before, .sr-after {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100% !important;
    display: block;
}

.sr-before {
    display: block;
    min-width: 100%;
    flex-shrink: 0;
}

.sr-after {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.sr-before img,
.sr-after img {
    position: absolute;
    top: 0;
    left: 0;
}

.sr-after img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.sr-handle {
    position: absolute;
    z-index: 9;
    cursor: ew-resize;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: none;
    pointer-events: auto;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

.sr-handle::before {
    content: "";
    display: none;
}