#zoom-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    cursor: zoom-out;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: zoom-fade 0.18s ease-out;
}

#zoom-overlay.open {
    display: flex;
}

#zoom-overlay img {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 0.5rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

@keyframes zoom-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

img.zoomable {
    transition: transform 0.15s ease-out;
}

img.zoomable:hover {
    transform: scale(1.02);
}
