.encoregen-popup__modal {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    display: grid;
    grid-template-rows: minmax(auto, 100%);
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 1% 16px;
    background-color: rgba(0, 0, 0, 0.5);
}

.encoregen-popup__modal.hidden {
    display: none;
}

.encoregen-popup__container {
    position: relative;
    display: grid;
    grid-template-rows: minmax(auto, 100%);
    width: 100%;
    max-width: 375px;
    height: 100%;
    max-height: 810px;
    padding: 24px 4px 24px 20px;
    background: linear-gradient(180deg, #F0DED1 0.02%, #FFF 75.6%);
    overflow: auto;
}

section.navigation-back {
    position: absolute;
    width: 100%;
}

section.navigation-back .back-button {
    padding-left: 20px;
}

.encoregen-section section.navigation-back .back-button {
    display: none;
}

.encoregen-popup__modal .close-button {
    position: absolute;
    top: 4px;
    right: 4px;
    cursor: pointer;
}

.encoregen-popup__modal .close-button .cross-btn {
    width: 44px;
    height: 44px;
    padding: 16px;
}

.encoregen-popup__modal .encoregen-popup__title {
    margin: 0 auto;
    padding-right: 16px;
    text-align: center;
    font-family: 'Noe Display', serif;
    font-size: 28px;
    line-height: 30px;
    color: #000;
}

.encoregen-popup__modal .encoregen-popup__title .accented-words {
    display: inline-block;
    font-size: 45px;
    line-height: 48px;
    color: #6e1d71;
    text-transform: uppercase;
}

.encoregen-popup__main-block {
    display: grid;
    height: 100%;
}

.encoregen-popup__main-block {
    grid-template-rows: auto 1fr;
}

.encoregen-popup__modal .encoregen-popup__main {
    height: 100%;
    padding-right: 16px;
}

.encoregen-popup__modal .encoregen-popup__main::-webkit-scrollbar {
    width: 3px;
}

.encoregen-popup__modal .encoregen-popup__main::-webkit-scrollbar-thumb {
    background-color: #d7d7d7;
    border-radius: 12px;
}

.encoregen-popup__modal .encoregen-popup__main::-webkit-scrollbar-track {
    background-color: transparent;
}

.encoregen-popup__modal .encoregen-popup__subtitle {
    text-align: center;
    font-family: "Maison Neue Book", sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #000;
}

.encoregen-popup__modal .encoregen-popup__subtitle b {
    font-family: "Maison Neue Demi", sans-serif;
    display: inline-block;
}

.encoregen-popup__modal .encoregen-popup__subtitle-img-wrapper {
    position: absolute;
    left: 0;
    width: 100%;
    margin-top: 16px;
    padding: 0 4px 0 16px;
}

.encoregen-popup__modal .encoregen-popup__subtitle-img-wrapper img {
    width: 100%;
}

article.encoregen-popup__offer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0 17px;
    padding: 27px 0 15px;
    background: #fff;
    border: 1px solid #6e1d71;
    box-shadow: 2px 5px 15px 0px rgba(0, 0, 0, 0.20);
}

article.encoregen-popup__offer .encoregen-popup-offer__title {
    position: absolute;
    top: -12.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
    height: 25px;
    margin: 0;
    padding: 0 10px;
    background: #6e1d71;
    border-radius: 50px;
    text-align: center;
    font-family: 'Maison Neue Demi', sans-serif;
    font-size: 13px;
    line-height: 17px;
    color: #fff;
    text-transform: none;
}

article.encoregen-popup__offer .encoregen-popup-offer__title .info-btn {
    all: initial;
    width: 12px;
    height: 12px;
    margin: 0;
    cursor: pointer;
}

article.encoregen-popup__offer .encoregen-popup-offer__accented-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    padding: 7px 0 7px 15px;
    background: #f9f9f9;
    font-family: 'Maison Neue Book', sans-serif;
    font-size: 13px;
    line-height: 17px;
    overflow: hidden;
}

article.encoregen-popup__offer .encoregen-popup-offer__accented-content .encoregen-popup-offer__tag {
    display: inline-block;
    margin-bottom: 5px;
    padding: 3px 8px;
    border: 1px solid #6e1d71;
    border-radius: 50px;
    font-size: 12px;
    color: #6e1d71;
}

article.encoregen-popup__offer .encoregen-popup-offer__accented-content .encoregen-popup-offer__important-info {
    font-family: 'Maison Neue Demi', sans-serif;
    font-size: 13px;
    line-height: 22px;
    color: #6e1d71;
    text-transform: uppercase;
}

article.encoregen-popup__offer .encoregen-popup-offer__accented-content .encoregen-popup-offer__bold-info {
    font-family: 'Maison Neue Demi', sans-serif;
}

article.encoregen-popup__offer .encoregen-popup-offer__accented-content .encoregen-popup-offer__accented-img {
    margin: -15px 15px -10px 0;
}

article.encoregen-popup__offer .encoregen-popup-offer__list {
    width: 100%;
    margin: 0 8px;
    padding-left: 26px;
    font-family: 'Maison Neue Book', sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #000;
    list-style-type: disc;
}

article.encoregen-popup__offer .learn-more {
    width: 100%;
    padding: 5px 0 0 34px;
    font-family: 'Maison Neue Demi', sans-serif;
    font-size: 14px;
    line-height: 18px;
    color: #6e1d71;
    text-decoration-line: underline;
    cursor: pointer;
}

.encoregen-popup__main .encoregen-popup__action-section {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
    margin: 0 auto;
}

.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__conditions {
    width: calc(100% + 20px);
    margin: 0 -10px;
    text-align: center;
    font-family: "Maison Neue Book", sans-serif;
    font-size: 11.4px;
    line-height: 16px;
    letter-spacing: -0.6px;
    color: #000;
    background: rgba(255, 255, 255, 0.8);
}

.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__conditions a {
    color: #000;
    text-decoration: underline;
    cursor: pointer;
}

.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__buttons-section {
    width: 100%;
    max-width: 296px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--filled-main,
.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--outlined-main {
    width: 100%;
    height: 69px;
    margin-bottom: 2px;
    text-align: center;
    font-family: 'Maison Neue Book', sans-serif;
    font-size: 13px;
    line-height: 15px;
}

.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--outlined-main {
    height: 60px;
}

.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--filled-main span,
.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--outlined-main span {
    display: inline-block;
}

.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--filled-main .encoregen-popup__button__main-text,
.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--outlined-main .encoregen-popup__button__main-text {
    font-family: 'Maison Neue Demi', sans-serif;
    font-size: 15px;
    line-height: 22px;
    text-transform: uppercase;
}

.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--filled-main {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}

.encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--outlined-main {
    background: #fff;
    border: 1px solid #000;
    color: #000;
}

.encoregen-popup__modal .accent {
    color: #ff0283;
}

@media (min-width: 350px) {
    article.encoregen-popup__offer .encoregen-popup-offer__accented-content .encoregen-popup-offer__short-info {
        flex-shrink: 0;
    }
}

@media (min-width: 768px) {
    .encoregen-popup__container {
        max-height: 1000px;
        max-width: 536px;
        padding: 28px 4px 28px 28px;
    }

    .encoregen-popup__modal .encoregen-popup__title {
        font-size: 36px;
        line-height: 39px;
    }

    .encoregen-popup__modal .encoregen-popup__title .accented-words {
        font-size: 53px;
        line-height: 58px;
    }

    .encoregen-popup__modal .encoregen-popup__subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .encoregen-popup__modal .encoregen-popup__subtitle-img-wrapper {
        margin-top: 20px;
        padding: 0 16px 0 32px;
    }

    article.encoregen-popup__offer {
        margin: 32px 28px 15px;
    }

    article.encoregen-popup__offer .encoregen-popup-offer__title {
        top: -15px;
        height: 30px;
        font-size: 14px;
        line-height: 20px;
    }

    article.encoregen-popup__offer .encoregen-popup-offer__title .info-btn {
        width: 14px;
        height: 14px;
    }

    article.encoregen-popup__offer .encoregen-popup-offer__accented-content {
        margin-bottom: 15px;
        padding: 7px 0 7px 19px;
        font-size: 14px;
        line-height: 20px;
    }

    article.encoregen-popup__offer .encoregen-popup-offer__accented-content .encoregen-popup-offer__tag {
        font-size: 14px;
    }

    article.encoregen-popup__offer .encoregen-popup-offer__accented-content .encoregen-popup-offer__important-info {
        font-size: 16px;
        line-height: 24px;
    }

    article.encoregen-popup__offer .encoregen-popup-offer__accented-content .encoregen-popup-offer__accented-img {
        max-height: 111px;
    }

    article.encoregen-popup__offer .encoregen-popup-offer__list {
        margin: 0 34px 0 12px;
        font-size: 16px;
        line-height: 24px;
    }

    article.encoregen-popup__offer .learn-more {
        padding: 5px 0 0 38px;
    }

    .encoregen-popup__main .encoregen-popup__action-section {
        gap: 10px;
    }

    .encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__conditions {
        max-width: 380px;
        margin: 0 auto;
        font-size: 14px;
        line-height: 20px;
    }

    .encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__buttons-section {
        max-width: 335px;
        margin: 0 auto;
    }

    .encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--filled-main {
        height: 77px;
        font-size: 15px;
    }

    .encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--outlined-main {
        font-size: 15px;
    }

    .encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--filled-main .encoregen-popup__button__main-text,
    .encoregen-popup__main .encoregen-popup__action-section .encoregen-popup__button--outlined-main .encoregen-popup__button__main-text {
        font-size: 18px;
        line-height: 30px;
        letter-spacing: 0.09px;
    }
}