.svs-zoom-widget {
    display: block;
}

.svs-zoom-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.svs-zoom-widget.svs-position-right .svs-zoom-layout {
    flex-direction: row;
}

.svs-zoom-widget.svs-position-left .svs-zoom-layout {
    flex-direction: row-reverse;
}

.svs-zoom-widget.svs-position-top .svs-zoom-layout {
    flex-direction: column;
}

.svs-zoom-widget.svs-position-bottom .svs-zoom-layout {
    flex-direction: column-reverse;
}

.svs-zoom-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    flex-shrink: 0;
}

.svs-zoom-widget.svs-cursor-crosshair .svs-zoom-container {
    cursor: crosshair;
}

.svs-zoom-widget.svs-cursor-zoom_in .svs-zoom-container {
    cursor: zoom-in;
}

.svs-zoom-widget.svs-cursor-none .svs-zoom-container {
    cursor: none;
}

.svs-zoom-image {
    display: block;
    max-width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
}

.svs-zoom-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.svs-zoom-hint span {
    color: #fff;
    font-size: 13px;
}

.svs-zoom-container:hover .svs-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.svs-zoom-result {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.svs-zoom-result.svs-zoom-visible {
    opacity: 1;
    visibility: visible;
}

.svs-zoom-result.svs-zoom-hidden {
    opacity: 0;
    visibility: hidden;
}

.svs-zoom-large-img {
    display: block;
    max-width: none;
}

.svs-zoom-cursor {
    position: absolute;
    border: 1px solid rgba(34, 113, 177, 0.5);
    background: rgba(34, 113, 177, 0.1);
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 768px) {
    .svs-zoom-layout {
        flex-direction: column !important;
    }

    .svs-zoom-result {
        width: 100% !important;
        height: 300px !important;
    }

    .svs-zoom-container {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .svs-zoom-result {
        height: 250px !important;
    }
}
