.newsletter-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 8889;
    background: rgba(0, 0, 0, 0.55);
    overflow: auto;
    padding: 30px 20px;
}

.newsletter-popup--open {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.newsletter-popup__inner {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 940px;
    padding: 40px 50px;
    margin: auto;
}

.newsletter-popup__close {
    position: absolute;
    top: 0;
    right: 12px;
    background: none;
    border: none;
    color: #808080;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.newsletter-popup__header {
    text-align: center;
    margin-bottom: 40px;
}

.newsletter-popup__logo {
    max-width: 511px;
    height: auto;
}

.newsletter-popup__title {
    color: #7ab800;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
}

.newsletter-popup__body {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.newsletter-popup__col-left {
    flex: 1 1 460px;
}

.newsletter-popup__col-left p {
    color: #535f6d;
    font-size: 16px;
    line-height: 1.2;
    margin: 0 0 16px;
}

.newsletter-popup__col-left a {
    color: #7ab800;
}

.newsletter-popup__col-right {
    flex: 1 1 260px;
}

.newsletter-popup__input {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 46px;
    padding: 0 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    margin: 0 0 14px;
    box-sizing: border-box;
}

.newsletter-popup__submit {
    display: inline-block;
    background: #5e6a71;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    border: 1px solid #b3b9bc;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
}

.newsletter-popup__submit:hover {
    background: #4a5359;
}

@media (max-width: 767px) {
    .newsletter-popup__inner {
        padding: 30px;
    }

    .newsletter-popup__header {
        margin-bottom: 24px;
    }

    .newsletter-popup__title {
        font-size: 26px;
    }

    .newsletter-popup__input {
        max-width: none;
    }
}
