.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
    backdrop-filter: blur(2px);
}

.zoom-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.zoom-image {
    max-width: 95vw;
    max-height: 95vh;
    cursor: grab;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.2s ease;
    user-select: none;
    touch-action: none;
}

.zoom-image:active {
    cursor: grabbing;
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.zoom-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.zoom-instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
}

/* Loading states */
.zoom-image.loading {
    opacity: 0.7;
}

.zoom-image.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}