.nosurprise-popup,
.nosurprise-popup * {
    box-sizing: border-box;
}

.nosurprise-popup * {
    margin: 0;
    padding: 0;
}

.nosurprise-popup {
    font-family: 'Inter', sans-serif;
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    padding: 16px;
}

.nosurprise-popup--hidden {
    display: none;
}

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

.nosurprise-popup .container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nosurprise-popup .backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

.nosurprise-popup .popup-container {
    position: relative;
    z-index: 50;
    width: calc(100vw - 32px);
    max-width: 680px;
}

.nosurprise-popup .close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nosurprise-popup .close-button:hover {
    background-color: #f3f4f6;
}

.nosurprise-popup .close-button svg {
    width: 24px;
    height: 24px;
    color: #4b5563;
}

.nosurprise-popup .popup {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    padding: 0 0 32px 0;
    border-radius: 32px;
    width: 100%;
}

.nosurprise-popup .image-section {
    aspect-ratio: 784 / 432;
    position: relative;
    border-radius: 32px 32px 0 0;
    flex-shrink: 0;
    width: 100%;
}

.nosurprise-popup .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: 32px 32px 0 0;
}

.nosurprise-popup .image-wrapper img {
    position: absolute;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 32px 32px 0 0;
    width: 100%;
    height: 100%;
}

.nosurprise-popup .content-section {
    position: relative;
    flex-shrink: 0;
    width: 100%;
}

.nosurprise-popup .content-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 8px 0 8px;
    width: 100%;
}

.nosurprise-popup .description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    position: relative;
    flex-shrink: 0;
    color: #000000;
    text-align: center;
    width: 100%;
}

.nosurprise-popup .description p {
    line-height: 19.6px;
    font-size: 14px;
    white-space: pre-wrap;
}

.nosurprise-popup .price-highlight {
    color: #d92d20;
}

.nosurprise-popup .price-bold {
    font-weight: 700;
}

.nosurprise-popup .tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    position: relative;
    flex-shrink: 0;
    font-size: 14px;
    color: #000000;
    text-align: center;
    width: 100%;
}

.nosurprise-popup .tagline p {
    line-height: 19.6px;
}

.nosurprise-popup .button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    position: relative;
    flex-shrink: 0;
    width: 100%;
}

.nosurprise-popup .promo-button {
    background-color: #ffffff;
    position: relative;
    border-radius: 32px;
    flex-shrink: 0;
    width: 100%;
    border: 1px solid #d0d5dd;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    display: block;
    text-decoration: none;
    color: inherit;
}

.nosurprise-popup .promo-button-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.nosurprise-popup .promo-button-content {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 12px;
    position: relative;
    width: 100%;
}

.nosurprise-popup .text-padding {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

.nosurprise-popup .promo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    position: relative;
    flex-shrink: 0;
    color: #344054;
    font-size: 10px;
}

.nosurprise-popup .promo-text p {
    line-height: 14px;
    white-space: pre;
    text-align: center;
}

.nosurprise-popup .promo-highlight {
    color: #4ca30d;
}

@media (min-width: 640px) {
    .nosurprise-popup .content-inner {
        gap: 32px;
        padding: 32px 48px 0 48px;
    }

    .nosurprise-popup .description p {
        line-height: 30px;
        font-size: 20px;
    }

    .nosurprise-popup .tagline {
        font-size: 20px;
    }

    .nosurprise-popup .tagline p {
        line-height: 30px;
    }

    .nosurprise-popup .promo-button-content {
        padding: 16px 22px;
    }

    .nosurprise-popup .text-padding {
        padding: 0 2px;
    }

    .nosurprise-popup .promo-text {
        font-size: 18px;
    }

    .nosurprise-popup .promo-text p {
        line-height: 28px;
    }
}
