.get-popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
display: none;
transition: opacity 0.3s ease;
}
.get-popup-overlay.active {
display: flex;
}
.get-popup-overlay.fade-in {
opacity: 1 !important;
} .get-popup-overlay[data-position="center"] {
justify-content: center;
align-items: center;
}
.get-popup-overlay[data-position="top"] {
justify-content: center;
align-items: flex-start;
padding-top: 50px;
}
.get-popup-overlay[data-position="bottom"] {
justify-content: center;
align-items: flex-end;
padding-bottom: 50px;
} .get-popup-container {
position: relative;
width: 90%;
max-width: 600px;
background: transparent;
overflow: visible;
transform: scale(0.9);
transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.get-popup-overlay.fade-in .get-popup-container {
transform: scale(1);
}  .get-popup-overlay[data-animation="fade"] .get-popup-container {
transform: scale(1);
opacity: 0;
}
.get-popup-overlay[data-animation="fade"].fade-in .get-popup-container {
opacity: 1;
} .get-popup-overlay[data-animation="slide-down"] .get-popup-container {
transform: translateY(-100px);
opacity: 0;
}
.get-popup-overlay[data-animation="slide-down"].fade-in .get-popup-container {
transform: translateY(0);
opacity: 1;
} .get-popup-overlay[data-animation="slide-up"] .get-popup-container {
transform: translateY(100px);
opacity: 0;
}
.get-popup-overlay[data-animation="slide-up"].fade-in .get-popup-container {
transform: translateY(0);
opacity: 1;
} .get-popup-overlay[data-animation="slide-left"] .get-popup-container {
transform: translateX(100px);
opacity: 0;
}
.get-popup-overlay[data-animation="slide-left"].fade-in .get-popup-container {
transform: translateX(0);
opacity: 1;
} .get-popup-overlay[data-animation="slide-right"] .get-popup-container {
transform: translateX(-100px);
opacity: 0;
}
.get-popup-overlay[data-animation="slide-right"].fade-in .get-popup-container {
transform: translateX(0);
opacity: 1;
} .get-popup-overlay[data-animation="zoom"] .get-popup-container {
transform: scale(0.5);
opacity: 0;
}
.get-popup-overlay[data-animation="zoom"].fade-in .get-popup-container {
transform: scale(1);
opacity: 1;
} .get-popup-overlay[data-animation="zoom-out"] .get-popup-container {
transform: scale(1.5);
opacity: 0;
}
.get-popup-overlay[data-animation="zoom-out"].fade-in .get-popup-container {
transform: scale(1);
opacity: 1;
} .get-popup-overlay[data-animation="flip"] .get-popup-container {
transform: perspective(1000px) rotateY(90deg);
opacity: 0;
}
.get-popup-overlay[data-animation="flip"].fade-in .get-popup-container {
transform: perspective(1000px) rotateY(0);
opacity: 1;
} .get-popup-overlay[data-animation="bounce"] .get-popup-container {
transform: scale(0.3);
opacity: 0;
}
.get-popup-overlay[data-animation="bounce"].fade-in .get-popup-container {
transform: scale(1);
opacity: 1;
animation: bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes bounce-in {
0% {
transform: scale(0.3);
}
50% {
transform: scale(1.05);
}
70% {
transform: scale(0.9);
}
100% {
transform: scale(1);
}
} .get-popup-overlay[data-animation="rotate"] .get-popup-container {
transform: rotate(-180deg) scale(0);
opacity: 0;
}
.get-popup-overlay[data-animation="rotate"].fade-in .get-popup-container {
transform: rotate(0) scale(1);
opacity: 1;
} .get-popup-close {
border: none;
padding: 10px;
cursor: pointer;
z-index: 10;
transition: all 0.3s ease;
opacity: 0.9;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
} .get-popup-close.close-outside {
position: absolute;
top: -45px;
right: 0;
} .get-popup-close.close-inside-top-right {
position: absolute;
top: 10px;
right: 10px;
}
.get-popup-close.close-inside-top-left {
position: absolute;
top: 10px;
left: 10px;
}
.get-popup-close.close-inside-bottom-right {
position: absolute;
bottom: 10px;
right: 10px;
}
.get-popup-close.close-inside-bottom-left {
position: absolute;
bottom: 10px;
left: 10px;
}
.get-popup-close:hover {
opacity: 1;
transform: scale(1.1);
}
.get-popup-close:active {
transform: scale(0.95);
}
.get-popup-close:focus {
outline: 2px solid rgba(255,255,255,0.5);
outline-offset: 2px;
}
.get-popup-close svg {
display: block;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
} .get-popup-content {
position: relative;
width: 100%;
box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.get-popup-content img {
display: block;
width: 100%;
height: auto;
}
.get-popup-content a {
display: block;
line-height: 0;
transition: opacity 0.2s ease;
}
.get-popup-content a:hover {
opacity: 0.95;
}
.get-popup-content a:focus {
outline: 3px solid rgba(255,255,255,0.8);
outline-offset: 3px;
} @media screen and (max-width: 768px) {
.get-popup-container {
width: 92%;
max-width: 500px;
}
.get-popup-close.close-outside {
top: -40px;
padding: 8px;
}
.get-popup-close.close-inside-top-right,
.get-popup-close.close-inside-top-left {
top: 8px;
}
.get-popup-close.close-inside-top-right {
right: 8px;
}
.get-popup-close.close-inside-top-left {
left: 8px;
}
.get-popup-close.close-inside-bottom-right,
.get-popup-close.close-inside-bottom-left {
bottom: 8px;
}
.get-popup-close.close-inside-bottom-right {
right: 8px;
}
.get-popup-close.close-inside-bottom-left {
left: 8px;
}
.get-popup-close svg {
width: 20px;
height: 20px;
}
.get-popup-overlay[data-position="top"] {
padding-top: 30px;
}
.get-popup-overlay[data-position="bottom"] {
padding-bottom: 30px;
}
}
@media screen and (max-width: 480px) {
.get-popup-container {
width: 95%;
}
.get-popup-close.close-outside {
top: 5px;
right: 5px;
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.get-popup-close.close-inside-top-right,
.get-popup-close.close-inside-top-left,
.get-popup-close.close-inside-bottom-right,
.get-popup-close.close-inside-bottom-left {
padding: 8px;
}
.get-popup-overlay[data-position="top"] {
padding-top: 15px;
}
.get-popup-overlay[data-position="bottom"] {
padding-bottom: 15px;
}
} @media screen and (max-height: 500px) and (orientation: landscape) {
.get-popup-container {
max-height: 90vh;
overflow-y: auto;
}
.get-popup-overlay[data-position="center"] {
align-items: flex-start;
padding-top: 20px;
}
} .get-popup-loading {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border: 3px solid rgba(255,255,255,0.3);
border-top-color: #fff;
border-radius: 50%;
animation: popup-spin 0.8s linear infinite;
}
@keyframes popup-spin {
to {
transform: translate(-50%, -50%) rotate(360deg);
}
} .get-popup-overlay:focus-within {
outline: none;
}
.get-popup-content a:focus,
.get-popup-close:focus {
outline: 2px solid rgba(255,255,255,0.8);
outline-offset: 2px;
} body.get-popup-open {
overflow: hidden;
position: fixed;
width: 100%;
} @media print {
.get-popup-overlay {
display: none !important;
}
} @media (prefers-contrast: high) {
.get-popup-close {
border: 2px solid currentColor;
}
} @media (prefers-reduced-motion: reduce) {
.get-popup-overlay,
.get-popup-container,
.get-popup-close {
transition: none !important;
animation: none !important;
}
.get-popup-overlay[data-animation] .get-popup-container {
transform: none !important;
}
}