.body--no-scroll {
    overflow: hidden;
}

.gallery-zoom {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 9999;
}
.gallery-zoom.open {
    opacity: 1;
    transform: scale(1);
}

.gallery-zoom-content {
    position: relative;
    background: #fff;
    border: 8px solid #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    max-width: min(92vw, 1200px);
    max-height: 92vh;
    overflow: hidden;
}

.gallery-zoom-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.gallery-zoom-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    cursor: pointer;
    font: 16px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.gallery-zoom-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

[data-gallery] img {
    cursor: zoom-in;
}
