/* Public marketing popup. A non-blocking corner card on desktop and a compact bottom card on mobile. */
.mvp-marketing-popup-shell,
.mvp-marketing-popup-shell * {
    box-sizing: border-box;
}

.mvp-marketing-popup-shell {
    position: fixed;
    right: max(22px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    z-index: 2147483000;
    width: min(380px, calc(100vw - 44px));
    max-width: 100%;
    pointer-events: none;
    font-family: inherit;
}

.mvp-marketing-popup {
    position: relative;
    width: 100%;
    max-height: calc(100dvh - max(44px, env(safe-area-inset-top)) - max(44px, env(safe-area-inset-bottom)));
    overflow: auto;
    padding: 22px 22px 20px;
    border: 1px solid #d8dfda;
    border-radius: 18px;
    background: #fff;
    color: #17211a;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .24);
    pointer-events: auto;
    transform: translate3d(0, 18px, 0);
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease;
    -webkit-overflow-scrolling: touch;
}

.mvp-marketing-popup.is-visible {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.mvp-marketing-popup-close {
    all: unset;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #d8dfda;
    border-radius: 999px;
    background: #f4f7f5;
    color: #173a25;
    font: 700 21px/1 Arial, sans-serif;
    cursor: pointer;
    box-shadow: none;
}

.mvp-marketing-popup-close:hover,
.mvp-marketing-popup-close:focus-visible {
    background: #e8f1eb;
    outline: 3px solid rgba(35, 121, 57, .24);
    outline-offset: 2px;
}

.mvp-marketing-popup-kicker {
    display: block;
    margin: 0 42px 7px 0;
    color: #237939;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mvp-marketing-popup-title {
    display: block;
    margin: 0 38px 9px 0;
    color: #17211a;
    font-size: clamp(21px, 2.2vw, 25px);
    font-weight: 800;
    line-height: 1.13;
    overflow-wrap: anywhere;
}

.mvp-marketing-popup-message {
    margin: 0 0 16px;
    color: #46534a;
    font-size: 15px;
    line-height: 1.48;
    overflow-wrap: anywhere;
}

.mvp-marketing-popup-cta {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border-radius: 11px;
    background: #237939;
    color: #fff !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(35, 121, 57, .22);
}

.mvp-marketing-popup-cta:hover,
.mvp-marketing-popup-cta:focus-visible {
    background: #185f2b;
    color: #fff !important;
    outline: 3px solid rgba(35, 121, 57, .25);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .mvp-marketing-popup-shell {
        right: 12px;
        bottom: 12px;
        left: 12px;
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
        width: auto;
    }

    .mvp-marketing-popup {
        max-height: 70vh;
        max-height: min(70dvh, 520px);
        padding: 18px 17px 16px;
        border-radius: 16px;
        box-shadow: 0 14px 42px rgba(0, 0, 0, .25);
    }

    .mvp-marketing-popup-title {
        margin-right: 34px;
        font-size: clamp(20px, 5.8vw, 24px);
    }

    .mvp-marketing-popup-message {
        margin-bottom: 14px;
        font-size: 15px;
        line-height: 1.42;
    }

    .mvp-marketing-popup-cta {
        display: flex;
        width: 100%;
    }
}

@media (max-width: 640px) and (max-height: 700px) {
    .mvp-marketing-popup {
        max-height: 78vh;
        max-height: 78dvh;
        padding: 16px 16px 14px;
    }

    .mvp-marketing-popup-title {
        font-size: 20px;
    }

    .mvp-marketing-popup-message {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mvp-marketing-popup {
        transition: none;
    }
}

.mvp-marketing-popup-availability {
    margin: 0 0 16px;
    padding: 12px 13px;
    border: 1px solid #cfe2d4;
    border-radius: 12px;
    background: #f3f8f4;
}

.mvp-marketing-popup-availability-title {
    display: block;
    margin: 0 0 8px;
    color: #185f2b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.mvp-marketing-popup-availability ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mvp-marketing-popup-availability li {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 0;
}


.mvp-marketing-popup-machine-link {
    color: #17211a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.mvp-marketing-popup-machine-link:hover,
.mvp-marketing-popup-machine-link:focus-visible {
    color: #185f2b;
}

.mvp-marketing-popup-availability li strong {
    color: #17211a;
    font-size: 13px;
    line-height: 1.35;
}

.mvp-marketing-popup-availability li small {
    color: #536258;
    font-size: 11px;
    line-height: 1.35;
}

.mvp-marketing-popup-availability-note {
    display: block;
    margin-top: 9px;
    color: #536258;
    font-size: 11px;
    line-height: 1.35;
}
