.popup-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;

    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
}

.popup-overlay.active{
    opacity: 1;
    visibility: visible;
}

.popup-box{
    position: relative;
    max-width: 800px;
    width: 90%;
}

/* IMAGE FIX (NO STRETCH ISSUE) */
.popup-image-box img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* CLOSE BUTTON */
.popup-close{
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    font-size: 24px;
    cursor: pointer;

    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 20px rgba(0,0,0,.25);
    transition: .3s;
}

.popup-close:hover{
    transform: rotate(90deg);
}