/* ===== IMAGE MODAL ===== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.8);

    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

/* показываем если есть src */
.image-modal:has(img[src]) {
    display: flex;
}

/* курсор */
.ds-image-box img.clickable {
    cursor: zoom-in;
}