.its-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--its-popup-overlay) !important;
    opacity: 0;
    transition: opacity .28s ease;
}
.its-popup-overlay.is-visible { display: flex; opacity: 1; }
.its-popup-overlay, .its-popup-overlay * { box-sizing: border-box; }
.its-popup-overlay * { text-shadow: none !important; }
.its-popup {
    position: relative;
    width: min(94vw, 620px);
    min-height: 360px;
    border-radius: var(--its-popup-radius) !important;
    background-color: var(--its-popup-bg) !important;
    background-image: var(--its-popup-bg-image) !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.34);
    overflow: hidden;
    transform: translateY(20px) scale(.98);
    transition: transform .28s ease;
    opacity: 1 !important;
}
.its-popup-overlay.is-visible .its-popup { transform: translateY(0) scale(1); }
.its-popup-content {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 54px 44px 46px;
    color: var(--its-popup-text) !important;
    text-align: center;
    background: var(--its-popup-panel) !important;
    backdrop-filter: blur(3px);
    opacity: 1 !important;
}
.its-popup-logo {
    max-width: 160px;
    max-height: 90px;
    object-fit: contain;
    margin-bottom: 4px;
}
.its-popup h1,
.its-popup h2,
.its-popup h3,
.its-popup #its-popup-title {
    margin: 0 !important;
    color: var(--its-popup-heading) !important;
    font-size: clamp(28px, 5vw, 44px) !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}
.its-popup-message,
.its-popup-message p,
.its-popup-message span,
.its-popup-message div,
.its-popup-content p {
    color: var(--its-popup-text) !important;
    opacity: 1 !important;
}
.its-popup-message {
    max-width: 500px;
    font-size: 17px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
}
.its-popup-message p { margin: 0 0 10px !important; }
.its-popup-message p:last-child { margin-bottom: 0 !important; }
.its-popup-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--its-popup-accent) !important;
    color: var(--its-popup-button-text) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
    transition: transform .18s ease, box-shadow .18s ease;
    opacity: 1 !important;
}
.its-popup-button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(0,0,0,.24); }
.its-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.10);
    color: var(--its-popup-heading) !important;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 1 !important;
}
@media (max-width: 540px) {
    .its-popup-overlay { padding: 14px; }
    .its-popup-content { padding: 48px 24px 34px; }
    .its-popup-logo { max-width: 132px; }
}
