/* Homepage modal presentation, extracted from catalog style.css at 63fbfaf7.
 * Keep its desktop/mobile cascade; global form primitives are scoped to .modal.
 * Only / and /ru load this deferred file. No catalog/layout CSS is loaded. */
.modal .errorpass { display: none; }
@media (min-width: 1600px) {
.modal .h2 {
    font-size: 24px;
    line-height: 36px;
}
.modal .input-form {
    background: #FFFFFF;
    border-radius: 100px;
    height: 50px;
    padding: 0 25px;
    line-height: 50px;
    font-size: 14px;
    border: 1px solid #fff;
}
.modal .btn {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    width: -moz-fit-content;
    font-weight: 500;
    font-size: 13px;
    line-height: 15px;
    color: var(--main-color-pink);
    border: 1px solid var(--main-color-pink);
    padding: 0 20px;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none!important;
}
.modal .btn:hover {
    border: 1px solid #EE3F2E;
    color: #EE3F2E;
}
.modal .btn-fill {
    color: #fff;
    background: var(--main-color-pink);
}
.modal .btn-fill:hover {
    box-shadow: inset 300px 0 0.01px #99213E;
    border: 1px solid #99213E;
    color: #fff;
}
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}
.modal .container_modal {
    background: #FFFFFF;
    border-radius: 20px;
    width: 900px;
    padding: 30px 50px;
    margin: 100px auto 0;
}
.modal .modal_title {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.modal .close_modal {
    position: absolute;
    top: -10px;
    right: -30px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.modal .close_modal svg {
    width: 18px;
    height: 18px;
}
.modal .container_modal_small {
    width: 460px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 30px 70px;
    text-align: center;
    margin: 100px auto 0;
}
.modal .container_modal_small .modal_title {
    justify-content: center;
    margin-bottom: 10px;
}
.modal .container_modal_small .close_modal {
    right: -40px;
}
.modal .container_modal_small .modal_descr {
    margin-bottom: 25px;
}
.modal .container_modal_small .modal_descr_auth {
    margin: 10px 0;
}
.modal .container_modal_small .input-form {
    background: #F6F6F6;
    width: 320px;
    margin-bottom: 10px;
}
.modal .container_modal_small .btn-fill {
    width: 100%;
    height: 50px;
    font-weight: bold;
    font-size: 16px;
    line-height: 50px;
    margin-top: 5px;
}
.modal .modal_social_auth {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}
.modal .modal_social_auth a, .modal .modal_social_auth a svg {
    width: 155px;
    height: 50px;
}
.modal .modal_auth_btns {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.modal .modal_auth_btns .losspass {
    font-weight: normal;
    font-size: 16px;
    line-height: 26px;
    color: #B9B9B9;
}
.modal .modal_auth_btns .signup, .modal .modal_auth_btns .signin {
    font-size: 16px;
    line-height: 26px;
    text-decoration-line: underline;
    color: var(--main-color-pink);
    margin-left: 10px;
}
.modal .modal_signup_btns {
    justify-content: center;
    align-items: center;
}
.modal .modal_success {
    color: green;
    margin: 10px 0;
    text-align: center;
}
.modal .error {
    margin: 10px 0;
    color: red;
}
.modal .success {
    margin: 10px 0;
    color: green;
}
.modal .modal_success {
    display: none;
}
.modal .input-form-password {
    border: 1px solid var(--main-color-pink);
    width: 300px;
    margin: 10px 0;
}
.modal .error-auth {
    display: none;
    color: var(--main-color-red);
}
.modal .errorpassfalse {
    display: none;
    color: var(--main-color-red);
}
}
@media (max-width: 1600px) and (min-width: 1000px) {
.modal .h2 {
    font-size: 1.6667vw;
    line-height: 2.5vw;
}
.modal .input-form {
    background: #FFFFFF;
    border-radius: 6.9444vw;
    height: 3.4722vw;
    padding: 0 1.7361vw;
    line-height: 3.4722vw;
    font-size: 0.9722vw;
    border: 1px solid #fff;
}
.modal .btn {
    height: 2.7778vw;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    width: -moz-fit-content;
    font-weight: 500;
    font-size: 0.9028vw;
    line-height: 1.0417vw;
    color: var(--main-color-pink);
    border: 1px solid var(--main-color-pink);
    padding: 0 1.3889vw;
    border-radius: 6.9444vw;
    cursor: pointer;
    text-decoration: none!important;
}
.modal .btn:hover {
    border: 1px solid #EE3F2E;
    color: #EE3F2E;
}
.modal .btn-fill {
    color: #fff;
    background: var(--main-color-pink);
}
.modal .btn-fill:hover {
    box-shadow: inset 20.8333vw 0 0.0007vw #99213E;
    border: 1px solid #99213E;
    color: #fff;
}
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}
.modal .container_modal {
    background: #FFFFFF;
    border-radius: 1.3889vw;
    width: 62.5vw;
    padding: 2.0833vw 3.4722vw;
    margin: 6.9444vw auto 0;
}
.modal .modal_title {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.7361vw;
}
.modal .close_modal {
    position: absolute;
    top: -0.6944vw;
    right: -2.0833vw;
    cursor: pointer;
    width: 1.25vw;
    height: 1.25vw;
    cursor: pointer;
}
.modal .close_modal svg {
    width: 1.25vw;
    height: 1.25vw;
}
.modal .container_modal_small {
    width: 31.9444vw;
    background: #FFFFFF;
    border-radius: 1.3889vw;
    padding: 2.0833vw 4.8611vw;
    text-align: center;
    margin: 6.9444vw auto 0;
}
.modal .container_modal_small .modal_title {
    justify-content: center;
    margin-bottom: 0.6944vw;
}
.modal .container_modal_small .close_modal {
    right: -2.7778vw;
}
.modal .container_modal_small .modal_descr {
    margin-bottom: 1.7361vw;
}
.modal .container_modal_small .modal_descr_auth {
    margin: 0.6944vw 0;
}
.modal .container_modal_small .input-form {
    background: #F6F6F6;
    width: 22.2222vw;
    margin-bottom: 0.6944vw;
}
.modal .container_modal_small .btn-fill {
    width: 100%;
    height: 3.4722vw;
    font-weight: bold;
    font-size: 1.1111vw;
    line-height: 3.4722vw;
    margin-top: 0.3472vw;
}
.modal .modal_social_auth {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}
.modal .modal_social_auth a, .modal .modal_social_auth a svg {
    width: 10.7639vw;
    height: 3.4722vw;
}
.modal .modal_auth_btns {
    display: flex;
    justify-content: space-between;
    margin-top: 1.0417vw;
}
.modal .modal_auth_btns .losspass {
    font-weight: normal;
    font-size: 1.1111vw;
    line-height: 1.8056vw;
    color: #B9B9B9;
}
.modal .modal_auth_btns .signup, .modal .modal_auth_btns .signin {
    font-size: 1.1111vw;
    line-height: 1.8056vw;
    text-decoration-line: underline;
    color: var(--main-color-pink);
    margin-left: 0.6944vw;
}
.modal .modal_signup_btns {
    justify-content: center;
    align-items: center;
}
.modal .modal_success {
    color: green;
    margin: 0.6944vw 0;
    text-align: center;
}
.modal .error {
    margin: 0.6944vw 0;
    color: red;
}
.modal .success {
    margin: 0.6944vw 0;
    color: green;
}
.modal .modal_success {
    display: none;
}
.modal .input-form-password {
    border: 1px solid var(--main-color-pink);
    width: 20.8333vw;
    margin: 0.6944vw 0;
}
.modal .error-auth {
    display: none;
    color: var(--main-color-red);
}
.modal .errorpassfalse {
    display: none;
    color: var(--main-color-red);
}
}
@media (max-width: 1000px) {
.modal .h2 {
    font-size: calc(5vw * var(--coef-w));
    line-height: calc(8.125vw * var(--coef-w));
}
.modal .input-form {
    background: #FFFFFF;
    border-radius: calc(31.25vw * var(--coef-w));
    height: calc(12.5vw * var(--coef-w));
    padding: 0 calc(6.25vw * var(--coef-w));
    line-height: calc(12.5vw * var(--coef-w));
    font-size: calc(3.75vw * var(--coef-w));
    border: 1px solid #fff;
}
.modal .btn {
    height: calc(12.5vw * var(--coef-w));
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    width: -moz-fit-content;
    font-weight: 500;
    font-size: calc(4.375vw * var(--coef-w));
    line-height: calc(5.3125vw * var(--coef-w));
    color: var(--main-color-pink);
    border: 1px solid var(--main-color-pink);
    padding: 0 calc(6.25vw * var(--coef-w));
    border-radius: calc(31.25vw * var(--coef-w));
    cursor: pointer;
}
.modal .btn-fill {
    color: #fff;
    background: var(--main-color-pink);
}
.modal {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
    overflow: auto;
}
.modal .container_modal, .modal .container_modal_small {
    background: #FFFFFF;
    border-radius: calc(6.25vw * var(--coef-w));
    width: calc(90.625vw * var(--coef-w));
    padding: calc(3.125vw * var(--coef-w)) calc(4.6875vw * var(--coef-w));
    margin: 0 auto;
}
.modal .modal_title {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    margin-bottom: calc(7.8125vw * var(--coef-w));
}
.modal .close_modal {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    width: calc(5.625vw * var(--coef-w));
    height: calc(5.625vw * var(--coef-w));
}
.modal .close_modal svg {
    width: calc(5.625vw * var(--coef-w));
    height: calc(5.625vw * var(--coef-w));
}
.modal .modal_success {
    color: green;
    margin: calc(3.125vw * var(--coef-w)) 0;
    text-align: center;
}
.modal .modal_social_auth {
    display: flex;
}
#modal_auth .btn-fill {
    width: 100%;
    margin: 0 0 calc(3.125vw * var(--coef-w));
}
.modal .input-form {
    width: 100%;
    margin-bottom: calc(3.125vw * var(--coef-w));
    background: #F6F6F6;
}
.modal .modal_auth_btns {
    display: flex;
    justify-content: space-between;
    margin-top: calc(4.6875vw * var(--coef-w));
}
.modal .modal_auth_btns .losspass {
    font-weight: normal;
    font-size: calc(4.375vw * var(--coef-w));
    line-height: calc(6.875vw * var(--coef-w));
    color: #B9B9B9;
}
.modal .modal_auth_btns .signup, .modal .modal_auth_btns .signin {
    font-size: calc(4.375vw * var(--coef-w));
    line-height: calc(6.875vw * var(--coef-w));
    text-decoration-line: underline;
    color: var(--main-color-pink);
    margin-left: calc(3.125vw * var(--coef-w));
}
.modal .error {
    margin: calc(3.125vw * var(--coef-w)) 0;
    color: red;
}
.modal .success {
    margin: calc(3.125vw * var(--coef-w)) 0;
    color: green;
}
.modal .modal_success {
    display: none;
}
.modal .error-auth {
    display: none;
    color: var(--main-color-red);
}
.modal .errorpassfalse {
    display: none;
    color: var(--main-color-red);
}
}
