.svp-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

.svp-overlay.svp-visible {
    opacity: 1;
    visibility: visible;
}

.svp-dialog {
    position: relative;
    width: min(620px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #fff;
    color: #1a1a1a;
    padding: 50px 54px 44px;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
    transform: translateY(10px) scale(.985);
    transition: transform .22s ease;
}

.svp-visible .svp-dialog {
    transform: translateY(0) scale(1);
}

.svp-kicker {
    margin-bottom: 13px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .22em;
    font-weight: 600;
}

.svp-title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 400;
}

.svp-divider {
    width: 52px;
    height: 1px;
    margin: 24px auto 25px;
    background: #b4975a;
}

.svp-message {
    margin: 0 auto;
    max-width: 500px;
    font-size: 16px;
    line-height: 1.75;
}

.svp-button {
    appearance: none;
    border: 1px solid #171717;
    background: #171717;
    color: #fff;
    margin-top: 30px;
    padding: 13px 27px;
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.svp-button:hover,
.svp-button:focus {
    background: #fff;
    color: #171717;
}

.svp-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 31px;
    font-weight: 300;
    line-height: 34px;
    cursor: pointer;
}

body.svp-lock {
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .svp-overlay {
        padding: 16px;
    }

    .svp-dialog {
        padding: 43px 24px 34px;
    }

    .svp-title {
        font-size: 27px;
    }

    .svp-message {
        font-size: 15px;
        line-height: 1.65;
    }

    .svp-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svp-overlay,
    .svp-dialog,
    .svp-button {
        transition: none;
    }
}
