

html.strw-popup-open, body.strw-popup-open { overflow: hidden !important; height: 100%; }


.strw-popup {
    position: fixed;
    inset: 0;
    z-index: 9990;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: auto;
	backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.5);
}
.strw-popup.show { opacity: 1; }

.strw-popup-overlay {
    position: fixed;  
    inset: 0;
    z-index: 1;       
}


.strw-popup-content {
    position: fixed;  
    z-index: 2;       
    box-sizing: border-box;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    overflow: hidden;
}

.strw-popup .strw-popup-anim {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}


.strw-popup .strw-popup-inner {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}


.strw-popup .strw-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 26px;
    z-index: 3;
}


.strw-popup .strw-popup-content.rectangle { border-radius: 0px; }
.strw-popup .strw-popup-content.rounded   { border-radius: 16px; }
.strw-popup .strw-popup-content.circle    {
    border-radius: 50%;
    width: 200px;
    height: 200px;
}


.strw-popup.center .strw-popup-content { top:50%; left:50%; transform: translate(-50%,-50%); }
.strw-popup.left .strw-popup-content   { left:20px; top:50%; transform: translateY(-50%); }
.strw-popup.right .strw-popup-content  { right:20px; top:50%; left:auto; transform: translateY(-50%); }
.strw-popup.top-left .strw-popup-content    { top:20px; left:20px; transform:none; }
.strw-popup.top-center .strw-popup-content  { top:20px; left:50%; transform: translateX(-50%); }
.strw-popup.top-right .strw-popup-content   { top:20px; right:20px; left:auto; transform:none; }
.strw-popup.bottom-left .strw-popup-content { bottom:20px; left:20px; transform:none; }
.strw-popup.bottom-center .strw-popup-content { bottom:20px; left:50%; transform: translateX(-50%); }
.strw-popup.bottom-right .strw-popup-content { bottom:20px; right:20px; left:auto; transform:none; }
.strw-popup.fullscreen .strw-popup-content {
    top:0; left:0; width:100% !important; height:100% !important;
    max-width:100% !important; max-height:100% !important; border-radius:0;
}



.strw-popup.fade .strw-popup-anim {
    opacity: 0; transform: scale(0.98);
    transition: transform 0.28s ease, opacity 0.28s ease;
}
.strw-popup.fade.show .strw-popup-anim {
    opacity: 1; transform: scale(1);
}


.strw-popup.slide-top .strw-popup-anim {
    transform: translateY(-20vh); opacity: 0;
    transition: transform 0.48s cubic-bezier(.2,.8,.2,1), opacity 0.48s ease;
}
.strw-popup.slide-top.show .strw-popup-anim { transform: translateY(0); opacity: 1; }


.strw-popup.slide-bottom .strw-popup-anim {
    transform: translateY(20vh); opacity: 0;
    transition: transform 0.48s cubic-bezier(.2,.8,.2,1), opacity 0.48s ease;
}
.strw-popup.slide-bottom.show .strw-popup-anim { transform: translateY(0); opacity: 1; }


.strw-popup.slide-left .strw-popup-anim {
    transform: translateX(-30vw); opacity: 0;
    transition: transform 0.48s cubic-bezier(.2,.8,.2,1), opacity 0.48s ease;
}
.strw-popup.slide-left.show .strw-popup-anim { transform: translateX(0); opacity: 1; }


.strw-popup.slide-right .strw-popup-anim {
    transform: translateX(30vw); opacity: 0;
    transition: transform 0.48s cubic-bezier(.2,.8,.2,1), opacity 0.48s ease;
}
.strw-popup.slide-right.show .strw-popup-anim { transform: translateX(0); opacity: 1; }


.strw-popup.none .strw-popup-anim { transition: none !important; }


@media (max-width: 768px) {
    .strw-popup .strw-popup-content {
        width: 95% !important;
        height: auto !important;
        max-height: 90vh;
        padding: 15px;
    }
    .strw-popup.center .strw-popup-content {
        top: 50%; left: 50%; transform: translate(-50%,-50%);
    }
}


.strw-popup .strw-popup-inner img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.strw-popup .strw-popup-inner p, .strw-popup .strw-popup-inner h1,
.strw-popup .strw-popup-inner h2, .strw-popup .strw-popup-inner h3 {
    margin: 0 0 1em 0;
}
