#popup img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    cursor: pointer;
}

#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999999;
    display: none;
    overflow: hidden;
}

#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: none;
}

#close-popup {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
}

body.no-scroll {
    overflow: hidden;
}

@media (min-width: 992px) {
    #popup {
        width: 30%;
        aspect-ratio: 8 / 6;
    }
}

@media (max-width: 991px) {
    #popup {
        width: 60%;
        aspect-ratio: 3 / 4;
    }

    #close-popup {
        font-size: 3rem;
        top: 3rem;
        right: 3rem;
    }
}