body.checkout-alert-open {
    overflow: hidden;
}

.checkout-alert {
    align-items: center;
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 28px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100000;
}

.checkout-alert.is-visible {
    display: flex;
}

.checkout-alert__backdrop {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background: rgba(9, 24, 50, 0.68);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.checkout-alert__dialog {
    background: #ffffff;
    border: 1px solid rgba(0, 51, 153, 0.12);
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(7, 22, 48, 0.34);
    box-sizing: border-box;
    max-width: 480px;
    overflow: hidden;
    padding: 38px 42px 36px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.checkout-alert__dialog::before {
    background: linear-gradient(90deg, #003399, #2865d7);
    content: "";
    height: 6px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.checkout-alert__close {
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #707b8f;
    cursor: pointer;
    font-size: 28px;
    height: 42px;
    line-height: 1;
    padding: 3px 0 0;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 42px;
}

.checkout-alert__close:hover,
.checkout-alert__close:focus {
    background: #eef3fb;
    color: #003399;
    outline: none;
}

.checkout-alert__icon {
    align-items: center;
    background: #f2f6fc;
    border: 1px solid #dce6f5;
    border-radius: 50%;
    display: flex;
    height: 86px;
    justify-content: center;
    margin: 0 auto 18px;
    width: 86px;
}

.checkout-alert__icon img {
    display: block;
    height: 62px;
    width: 62px;
}

.checkout-alert__eyebrow {
    color: #66758c;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.checkout-alert__dialog h2 {
    color: #003399;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 10px;
}

.checkout-alert__dialog p {
    color: #5c6779;
    font-size: 16px;
    line-height: 1.55;
    margin: 0 auto 28px;
    max-width: 360px;
}

.checkout-alert__action {
    background: #003399;
    border: 1px solid #003399;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0, 51, 153, 0.2);
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    min-width: 190px;
    padding: 14px 24px 13px;
    text-transform: uppercase;
}

.checkout-alert__action:hover,
.checkout-alert__action:focus {
    background: #174fac;
    border-color: #174fac;
    box-shadow: 0 10px 22px rgba(0, 51, 153, 0.28);
    color: #ffffff;
    outline: 3px solid rgba(0, 51, 153, 0.18);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .checkout-alert {
        padding: 16px;
    }

    .checkout-alert__dialog {
        padding: 36px 22px 30px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .checkout-alert.is-visible .checkout-alert__dialog {
        animation: checkout-alert-enter 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    @keyframes checkout-alert-enter {
        from {
            opacity: 0;
            transform: translateY(12px) scale(0.98);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}
