/* ---------- Image zoom modal ---------- */

.img-modal {
    display: none;                 /* hidden by default */
    position: fixed;
    inset: 0;                      /* top:0; right:0; bottom:0; left:0; */
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* when JS adds .open */
.img-modal.open {
    display: flex;
}

.img-modal .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 20px;
}

.img-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
}

/* Optional: slightly different cursor on clickable images */
.picture-wrapper img {
    cursor: none;
}
