.image-compare-block {
    border: 1px solid #eee;
    padding: 16px;
    background: #fafafa;
}
.image-compare-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}
.image-compare-preview img {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.image-compare-frontend {
    width: 100%;
}

.image-compare-slider {
    width: 100%;
    
    position: relative;
}
.ic-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 3px;
    color: #fff;
    background-color: var(--theme-palette-color-7);
}
.ic-wrapper img {
    width: 100vw;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.ic-overlay-img {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}
.ic-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    z-index: 4;
}
.ic-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 64px;
    height: 64px;
    cursor: ew-resize;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ic-handle .dashicons-leftright {
    font-size: 64px;
    color: #fff;
    text-shadow: 0 0 8px #888;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}
