.modal {
    display: none;
}

.modal .modal-bg {
    display: block;
    background: rgba(8, 8, 7, 0.9);
    width: 100%;
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    overflow: auto;
    height: 100%;
}

.modal__block {
    width: 555px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 30px 80px;
    z-index: 1;
    background-image: url("../../../../../../assets/desktop/images/popup/bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: 70px;
}

.modal__header {
    padding: 0;
    text-align: center;
    position: relative;
}

@media (max-width: 767px) {
    .modal__header {
        padding: 26px 5px 15px;
    }
}

.modal__header .modal-close {
    position: absolute;
    width: 106px;
    height: 106px;
    border: 1px solid #CA9D75;
    top: -80px;
    right: -196px;
    border-radius: 50%;
    background: inherit;
}

.form-control__line:before {
    /* // content: "";
    // position: absolute;
    // left: 0;
    // right: 0;
    // transition-property: opacity;
    // opacity: .2;
    // bottom: 2 px;
    // border-bottom: 1 px solid #CA9D75;
    // transition-duration: .4 s;
    // transition-timing-function: cubic-bezier(.25, .74, .22, .99);
    // */
}

.modals__modal input.error .form-control__line:before {
    width: 100%;
    content: '';
    position: absolute;
    bottom: 0;
    height: 10px;
    left: 0;
    background: linear-gradient(45deg, transparent, transparent 49%, #CA9D75 49%, transparent 51%);
}

.holder {
    opacity: 0;
}

.modals__modal input.error~.holder {
    opacity: 1;
}

.form-control input:not(:focus):valid~.form-label {
    width: 100%;
    height: 50px;
}

.modals__modal input.valid~.form-label:before {
    content: "";
    position: absolute;
    top: 29px;
    right: 15px;
    width: 8px;
    height: 13px;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid green;
    border-bottom: 2px solid green;
    transition: 0.2s ease;
    z-index: 555;
}

.modals__modal input.error,
.modals__modal input.error:focus {
    border-bottom: 0;
}

.smallLine {
    position: absolute;
    height: 10px;
    width: 200%;
    transform: translate(-25%) scale(0.5);
    opacity: 1;
    bottom: -5px;
}

.smallLine1 {
    background: linear-gradient(45deg, transparent, transparent 49%, #B50B00 49%, transparent 51%);
}

.smallLine2 {
    background: linear-gradient(-45deg, transparent, transparent 49%, #B50B00 49%, transparent 51%);
}

.smallLine {
    background-size: 20px 20px;
}

@media (max-width: 767px) {
    .modal__header .modal-close {
        top: 10px;
        right: 15px;
    }
}

.modal__header .modal-close:hover {
    cursor: pointer;
}

.modal__title {
    font-weight: 800;
    font-size: 36px;
    line-height: 36px;
    text-align: left;
    text-transform: uppercase;
    color: #181D24;
    margin-bottom: 20px;
    padding-top: 22px;
}

@media (max-width: 767px) {
    .modal__title {
        font-size: 22px;
        line-height: 26px;
        margin-bottom: 0;
    }
}

.modal__content {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 0;
}

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

.modal__text {
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #181D24;
    opacity: .8;
    margin-bottom: 30px;
    margin-left: 4px;
    text-align: left;
}

.main-form__input-group {
    padding-left: 5px;
}

@media (max-width: 767px) {
    .modal__text {
        font-size: 14px;
        line-height: 20px;
    }

    #thanks .modal__wrapper .modal__title {
        font-size: 22px;
        line-height: 30px;
    }
}

.modal .main-form {
    width: 100%;
}

textarea:focus {
    border-bottom: 1px solid #42464C;
}

.form-control textarea:focus~.form-label {
    top: -5px;
    left: 8px;
    font-weight: 500;
    font-size: 12px;
    line-height: 10px;
    color: #CA9D75;
    opacity: .7;
}

textarea.valid~.form-label {
    top: -5px;
    left: 8px;
    font-weight: 500;
    font-size: 12px;
    line-height: 10px;
    color: #CA9D75;
    opacity: .7;
}


.modal .main-form .button-send {
    width: 388px;
    height: 70px;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 50px;
    margin-top: 60px;
    font-weight: 500;
    font-size: 16px;
    line-height: 44px;
    text-align: center;
    color: #181D24;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control .form-label {
    position: absolute;
    padding: 0;
    width: auto;
    left: 8px;
    top: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
    transform-origin: 0 0;
    transition-property: transform, color;
    font-weight: 500;
    font-size: 16px;
    line-height: 44px;
    color: #CA9D75;
    transition: 0.5s;
}

.main-form .form__row {
    margin-bottom: 32px;
}

.form-control input:focus~.form-label,
.form-control input.error~.form-label,
.form-control input:not(:focus):valid~.form-label {
    top: -5px;
    left: 8px;
    font-weight: 500;
    font-size: 12px;
    line-height: 10px;
    color: #CA9D75;
    opacity: .7;
}


.modals__modal input {
    border: 0;
    border-radius: 0;
    background: inherit;
    border-bottom: 1px solid #CA9D75;
    box-sizing: border-box;
    width: 100%;
    height: 45px;
    padding: 0;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 44px;
    color: #42464C;
}

.modals__modal input::placeholder {
    font-weight: 500;
    font-size: 16px;
    line-height: 44px;
    color: #CA9D75 !important;
}

@media (max-width: 767px) {
    .modals__modal input {
        height: 40px;
    }

}

.modal .main-form__input-group .req-star {
    top: 10px;
}

.main-form__input-group .req-star {
    position: absolute;
    width: 9px;
    height: 16px;
    top: -16px;
    right: 0;
}

.modal .main-form__input-group {
    position: relative;
}

textarea {
    padding: 13px 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.04em;
    color: rgba(0, 0, 0, 0.35);
    min-height: 134px;
    min-width: 100%;
    background: inherit;
    border: 0;
    box-sizing: border-box;
    border-radius: 0;
    border-bottom: 1px solid #CA9D75;
}

.main-form .button-send {
    width: 197px;
    height: 48px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    font-size: 18px;
    line-height: 22px;
    color: #856d65;
    margin: 0 auto;
    text-align: center;
    border-bottom-left-radius: 100px;
    transition: 0.5s;
    padding: 13px 0;
    display: block;
    letter-spacing: 1.3px;
    background: rgba(255, 255, 255, 0.26);
    border: 1px solid #856d65;
    box-sizing: border-box;
}

@media (max-width: 2500.98px) and (min-width: 1024.98px) {
    .main-form .button-send:hover {
        background: #CA9D75;
        border: 0;
    }
}

@media (max-width: 480px) {
    .main-form .button-send {
        width: 100%;
    }
}

input:focus {
    border-bottom: 1px solid #42464C;
}

.form__row {
    position: relative;
}

.form em.error {
    font-weight: 400;
    font-size: 12px;
    line-height: 44px;
    color: #B50B00;
    position: absolute;
    display: inline-block;
    width: 100%;
    margin-top: 0;
    top: 35px;
    font-size: 12px;
    left: 8px;
    padding-left: 0;
    font-style: normal;
}

.form em.error:before {
    background-image: url("../../../../../../../assets/desktop/images/popup/error.svg");
    width: 14px;
    height: 14px;
    position: absolute;
    top: -10px;
    right: 0;
    content: '';


}


@media (max-width: 767px) {

    #thanks .modal__wrapper,
    #thanks-register .modal__wrapper {
        max-height: 220px;
    }
}

#thanks .modal__wrapper .modal__title {
    font-weight: 600;
    font-size: 25px;
    line-height: 36px;
    letter-spacing: 0.04em;
    color: #424242;
    margin-top: 0;
    margin-bottom: 18px;
    text-align: center;
}

@media (max-width: 767px) {
    #thanks .modal__wrapper .modal__title {
        margin-bottom: 10px;
    }
}

#thanks .modal__wrapper p {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #666;
    margin: 17px 0 30px;
    padding: 0 50px;
}

@media (max-width: 767px) {
    #thanks .modal__wrapper p {
        padding: 0 20px;
    }
}

.form__bottom {
    display: flex;
    justify-content: space-between;
}

.form__bottom a {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.04em;
    color: #858585;
}

#wholesale .modal__text {
    padding: 0 20px;
}

.form__row-checkbox {
    margin-left: 26px;
    font-size: 13px;
    line-height: 18px;
    color: #25282e;
}

.main-form__consent {
    padding-left: 0;
}

.main-form__consent span {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.04em;
    color: #858585;
}

.main-form__consent input {
    position: absolute;
    width: 0;
    height: 0;
    cursor: pointer;
    opacity: 0;
}

.main-form__consent .checkmark {
    position: absolute;
    top: 4px;
    left: -26px;
    width: 16px;
    height: 16px;
    border: 1px solid #828283;
    box-sizing: border-box;
    border-radius: 3px;
}

.main-form__consent input:checked~.checkmark {
    border: 1px solid #828283;
    background: #828283;
}

.main-form__consent input:checked~.checkmark:before {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 9px;
    content: '';
    background-image: url(/../assets/desktop/images/popups/check.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}

@media (max-width: 2500.98px) and (min-width: 1199.98px) {
    .main-form .button-send:hover {
        background: #CA9D75;
        border: 0;
    }
}

@media (max-width: 1023.98px) {
    .modal__block {
        width: 510px;
    }

    .modal__header .modal-close {
        width: 80px;
        height: 80px;
        top: -130px;
        right: -131px;
    }

    .modal__wrapper {
        width: 700px;
    }

    .modal__block {
        padding: 90px 45px;
    }


}

.modal.active {
    display: block;
    width: 100%;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    overflow: auto;
    height: 100%;
}

.modal .main-form__input-group {
    margin-bottom: 15px;
}

.modal__wrapper {
    width: 805px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    height: 100%;
    /*overflow: auto;*/
    /* https: / / www . figma . com /file/ PsdwdaKdRDotms59cuNgCj / Gurs ? node-id=109% 3 A298 */
    /*max-height: 692px;*/
    /*padding: 80px 116px;*/
}

@media (max-width: 767px) {

    .modal__wrapper {
        max-height: 560px;
    }

    .modal__block {
        margin-top: 130px;
        margin-bottom: 60px;
    }
}

.modal__header {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .modal__wrapper {
        width: 90%;
    }

    .modal__header {
        width: 90%;
        margin: 0 auto;
    }

    .modal__content {
        width: 90%;
    }

    .modal__wrapper {
        width: 90%;
    }

    .modal__content {
        width: 90%;
    }

    .modal .form em.error {
        top: 22px;
        width: 100%;
    }

    .modal__header .modal-close {
        width: 60px;
        height: 60px;
        top: -82px;
        right: 0;
    }

    .modal__header .modal-close img {
        max-width: 100%;
        width: 25px;

    }

    .modal__wrapper {
        padding: 80px 16px;
    }

    .modal__block {
        width: 100%;
    }

    .modal__title {
        padding-top: 0;
    }

    .modal__wrapper {
        max-height: 100%;
    }


    .modal__block {
        padding: 25px 45px;
    }

    .modal .main-form .button-send {
        width: 300px;
    }

    .modal__wrapper {
        max-height: inherit;
    }

    .modal__block {
        background-size: cover;
    }

    .modal__text {
        margin-bottom: 25px;
    }

    .modal__header .modal-close {
        top: -100px;
        right: -40px;
    }

    .modal__content {
        padding-bottom: 0;
    }

}

@media (max-width: 480.98px) {

    .modals__modal input::placeholder,
    .modals__modal textarea::placeholder {
        font-size: 13px;
    }

    .form-control .form-label {
        font-size: 14px;
        line-height: 35px;
    }

    .modals__modal input {
        height: 35px;
    }

    .main-form .form__row {
        margin-bottom: 15px;
    }

    textarea {
        min-height: 80px;
    }

    .modal__block {
        padding: 25px 10px;
    }

    .modal__header .modal-close {
        right: 0;
    }

    .modal .main-form .button-send {
        width: 100%;
        height: 50px;
    }

    .modal .main-form .button-send {
        margin-top: 25px;
    }

    .modal__header {
        padding: 10px 5px 0;
    }

    .modal__wrapper {
        min-height: 640px;
    }

    .modal__block {
        margin-top: 185px;
    }

    .modal__title {
        font-size: 20px;
        line-height: 24px;
    }

    .modal__text {
        width: 100%;
    }


}

@media (max-width: 767px) {
    .modal .main-form__input-group {
        margin-bottom: 25px;
    }
}

@media (max-width: 414.98px) {
    .form em.error {
        font-size: 9px;
    }
}

@media (max-width: 340.98px) {
    .form__row-checkbox {
        margin-left: 28px;
    }

    .form em.error {
        top: 30px;
        font-size: 10px;

    }

}

.messengers_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.messengers_title {
    margin-bottom: 16px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0%;
}

.messenger_checkbox {
    display: none;
}

.messenger_checkbox:checked+.messenger_label::before {
    content: url("/assets/desktop/icons/check.svg");
    background-color: #CA9D75;
}

.messenger_label {
    display: flex;
    align-items: center;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0%;
    color: #CA9D75;
    padding-left: 36px;
    gap: 8px;
    position: relative;
}

.messenger_label::before {
    content: "";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #CA9D75;
}