@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap");

.newsletter_popup.popup_containers {
    align-items: center;
    justify-content: center;
    z-index: 113;
}

.newsletter_popup .popup_containers_wrap {
    max-width: 800px;
    width: 100%;
    background: #fff;
    padding: 40px 40px 40px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    background-image: url("../img/sale/newsletterpopup-bg.png");
    background-size: cover;
}

.newsletter_popup .popup_containers_content {
    border: 2px solid #ffffff;
    padding: 20px 80px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.newsletter_popup .popup_containers_content img {
    width: 100%;
    max-width: 200px;
    margin: 10px 0 30px 0;
}

.newsletter_popup_heading {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 34px;
    font-weight: 300;
    line-height: 100%;
    text-transform: uppercase;
}

.newsletter_popup_title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    line-height: 130%;
}

.newsletter_popup_input {
    width: 90%;
    padding: 16px;
    font-size: 16px;
    line-height: 1;
    outline: none;
    border: 1px solid #333333;
    background-color: #eeebe0;
}

.newsletter_popup_input:focus-visible {
    border-color: #333;
}

.newsletter_popup_input::placeholder {
    color: #777777;
    font-weight: 500;
}

.newsletter_popup_submit {
    width: 90%;
    padding: 15px 10px;
    color: #fff;
    font-size: 25px;
    font-weight: 400;
    line-height: 100%;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #57595A;
    border-radius: 2px;
}

.newsletter_popup .popup_containers_cls_btn {
    width: 34px;
    position: absolute;
    top: -40px;
    right: -40px;
    cursor: pointer;
    padding: 4px;
    background: #ffffff;
    border-radius: 50%;
}

.newsletter_popup .popup_containers_cls_btn svg {
    filter: invert(0.5);
}

@media(max-width:1024px) {
    .newsletter_popup .popup_containers_cls_btn {
        width: 25px;
        position: absolute;
        top: 7px;
        right: 5px;
        padding: 4px;
    }
}

@media (max-width: 767px) {
    .newsletter_popup.popup_containers {
        align-items: flex-end;
    }

    .newsletter_popup .popup_containers_wrap {
        max-width: 100%;
        padding: 30px 20px;
        background-size: cover;
        background-position: center;
    }

    .newsletter_popup .popup_containers_content {
        max-width: 95%;
        padding: 20px;
    }

    .newsletter_popup_heading {
        font-size: 26px;
    }

    .newsletter_popup_title {
        font-size: 14px;
    }

    .newsletter_popup_submit,
    .newsletter_popup_input {
        max-width: 100%;
        padding: 12px 16px;
    }

    .newsletter_popup .popup_containers_cls_btn {
        width: 20px;
    }
}

@media (max-width: 540px) {
    .newsletter_popup .popup_containers_wrap {
        max-width: 100%;
        padding: 35px 35px;
        background-position: center;
    }

    .newsletter_popup .popup_containers_content {
        max-width: 100%;
    }

    .newsletter_popup_heading {
        font-size: 22px;
    }

    .newsletter_popup_title {
        font-size: 14px;
    }
}