.ws-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(34, 34, 34, 0.66);
}

.ws-popup-overlay[hidden] {
    display: none !important;
}

.ws-popup-box {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: var(--ws-popup-bg, #ffffff);
    color: var(--ws-popup-text, #222222);
    border-radius: var(--ws-popup-radius, 24px);
    padding: 30px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.ws-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    color: var(--ws-popup-text, #222222);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.ws-popup-timer {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #FFA800;
    color: #222222;
    font-weight: 800;
}

.ws-popup-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
    border-radius: calc(var(--ws-popup-radius, 24px) * 0.75);
}

.ws-popup-title {
    margin: 0 0 12px;
    color: var(--ws-popup-text, #222222);
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.15;
}

.ws-popup-content {
    color: var(--ws-popup-text, #222222);
    font-size: 17px;
    line-height: 1.55;
}

.ws-popup-content p:last-child {
    margin-bottom: 0;
}

.ws-popup-button {
    display: inline-block;
    margin-top: 22px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--ws-popup-cta, #006573);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 800;
}

.ws-popup-button:hover,
.ws-popup-button:focus {
    filter: brightness(0.88);
    color: #ffffff !important;
}

body.ws-popup-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .ws-popup-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .ws-popup-box {
        width: 100%;
        padding: 24px 18px;
        border-radius: var(--ws-popup-radius, 22px);
    }
}
