.userpopup__wrapper {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .5);
    font-size: 16px;
}

.userpopup__wrapper.userpopup__sticky {
    transition: all .3s ease-in-out;
}

.userpopup__wrapper.userpopup__sticky .userpopup__container .userpopup__close,
.userpopup__wrapper.userpopup__sticky .userpopup__container .userpopup__body,
.userpopup__wrapper.userpopup__sticky .userpopup__container .userpopup__btn--secondary {
    transition: all .3s ease-in-out;
}

.userpopup__wrapper.userpopup__sticky:not(.userpopup--visible) {
    display: flex;
    padding-top: calc(100vh - 60px);
    bottom: -70px;
    align-items: flex-end;
    background-color: transparent;
    pointer-events: none;
}

.userpopup__wrapper.userpopup__sticky:not(.userpopup--visible) .userpopup__images {
    display: none;
}

.userpopup__wrapper.userpopup__sticky:not(.userpopup--visible) * {
    pointer-events: auto;
}

.userpopup__wrapper.userpopup__sticky:not(.userpopup--visible) .userpopup__container {
    overflow: auto;
}

.userpopup__wrapper.userpopup__sticky:not(.userpopup--visible) .userpopup__container .userpopup__body,
.userpopup__wrapper.userpopup__sticky:not(.userpopup--visible) .userpopup__container .userpopup__close,
.userpopup__wrapper.userpopup__sticky:not(.userpopup--visible) .userpopup__container .userpopup__btn--secondary {
    display: none;
}


.userpopup__wrapper.userpopup--visible {
    display: flex;
}

.userpopup__wrapper.userpopup__sticky.userpopup--visible {
    top: 0
}

.userpopup__banner {
    align-items: end;
}

.userpopup__container {
    background: #fff;
    max-width: 560px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    position: relative;
    overflow: hidden;
}

.userpopup__banner .userpopup__container {
    max-width: unset;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    justify-content: center;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .3);
}


.userpopup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: 0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.userpopup__content {
    padding: 24px;
}

.userpopup__banner .userpopup__container .userpopup__content {
    max-width: 1160px
}

.userpopup__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

.userpopup__btn {
    appearance: none;
    border: 0;
    border-radius: 4px;
    padding: 10px 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.userpopup__btn--primary {
    background: #0088bb;
    color: #fff;
}

.userpopup__btn--secondary {
    background: #eee;
    color: #333;
}


.userpopup__container h1,
.userpopup__container h2,
.userpopup__container h3 {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: var(--fs-section-title);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: var(--color-text);
    margin: 0;
}

.userpopup__container h1 {
    font-size: var(--fs-section-title);
    margin: 0 0 0.75rem;
    padding-bottom: 0.375rem;
    border-bottom: 2px solid var(--color-primary);
}

.userpopup__container h2 {
    font-size: 1.2rem;
    margin: 0 0 1rem;
}

.userpopup__container h3 {
    font-size: 1.2rem;
}

.userpopup__container p {
    font-size: 0.9rem;
}

.userpopup__banner .userpopup__content {
    display: flex;
    font-size: 0.9rem;
}

.userpopup__banner .userpopup__content .userpopup__content_column {
    padding: 1rem 0;
}

.userpopup__banner .userpopup__content h1 {
    font-size: 1.4rem;
}

.userpopup__banner .userpopup__content h2 {
    font-size: 1rem;
}
.userpopup__banner .userpopup__actions {
    justify-content: flex-start;
}



