/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Jul 15 2026 | 03:30:50 */
/* затемнение */
.calc-popup {
    display:none;
    position:fixed;
    inset:0;
    z-index:999999;
}

.calc-popup.active {
    display:block;
}

.calc-overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}


/* окно */
.calc-modal {

    position:relative;

    width:1150px;
    max-width:90%;

    max-height:90vh;

    overflow-y:auto;

    background:#fff;

    margin:60px auto;

    padding:55px 50px 40px;

    box-sizing:border-box;

    z-index:2;

}


/* крестик */

.calc-close {

    position:absolute;

    right:20px;
    top:15px;

    border:0;
    background:none;

    font-size:32px;

    color:#333;

    cursor:pointer;

}


/* заголовок */

.calc-modal h2 {

    text-align:center;

    font-size:42px;

    line-height:1.2;

    margin:0 0 20px;

}


/* описание */

.calc-desc {

    text-align:center;

    font-size:18px;

    line-height:1.4;

    margin-bottom:35px;

}


/* поля CF7 */

.calc-form-wrap .wpcf7-form-control-wrap {
    display:block;
    margin-bottom:0px;
}


.calc-form-wrap input[type="text"],
.calc-form-wrap input[type="email"],
.calc-form-wrap input[type="tel"],
.calc-form-wrap textarea {

    width:100%;

    border:1px solid #999;

    border-radius:0;

    padding:0 15px;

    font-size:16px;

    color:#333;

}


.calc-form-wrap input[type="text"],
.calc-form-wrap input[type="email"],
.calc-form-wrap input[type="tel"] {

    height:40px;

}


.calc-form-wrap textarea {

    height:170px;

    padding-top:15px;

}


/* файл */

.calc-form-wrap input[type="file"] {

    margin:5px 0 15px;

}


/* чекбокс */

.calc-form-wrap .wpcf7-acceptance {

    display:block;

    margin:15px 0;

    font-size:14px;

}


.calc-form-wrap .wpcf7-list-item {

    margin:0;

}


/* сама галочка */

.calc-form-wrap input[type="checkbox"] {

    width:14px;
    height:14px;

    margin-right:5px;

}



/* кнопка */

.calc-form-wrap input[type="submit"] {

    width:100%;

    height:45px;

    border:0!important;

    border-radius:0;

    background:#FE9300!important;

    color:#fff!important;

    font-size:16px;

    cursor:pointer;

}

.calc-form-wrap input[type="submit"]:disabled,
.calc-form-wrap .wpcf7-submit:disabled {
    background: #FE9300 !important;
    border-color: #FE9300 !important;
    color: #fff !important;
    opacity: 1 !important;
}

.calc-form-wrap input[type="submit"]:hover {

    background:#e78300!important;

}



/* нижний блок */

.calc-bottom {

    margin-top:35px;

    text-align:center;

    font-size:17px;

}


.calc-bottom strong {

    font-size:22px;

}


/* иконки */

.messenger-icons {

    display:flex;

    justify-content:center;

    gap:20px;

}


.messenger-icons img {

    width:42px;

    height:42px;

    object-fit:contain;

}



/* мобильная версия */

@media(max-width:767px){

    .calc-modal {

        width:calc(100% - 30px);

        max-width:none;

        margin:20px auto;

        padding:30px 20px;

    }


    .calc-modal h2 {

        font-size:26px;

    }


    .calc-desc {

        font-size:14px;

    }

}

/* Уменьшаем расстояние между полями формы */
.calc-form p {
    margin: 0 0 6px !important;
}

.calc-form .wpcf7-form-control-wrap {
    margin-bottom: 0 !important;
}

/* Файл */
.calc-form input[type="file"] {
    margin: 2px 0 8px !important;
}

/* Чекбокс */
.policy-check {
    margin: 8px 0 10px !important;
}

/* Кнопка всегда оранжевая */
.calc-form .wpcf7-submit,
.calc-form input[type="submit"] {
    background: #FE9300 !important;
    border: 1px solid #FE9300 !important;
    color: #fff !important;
}

.calc-form .wpcf7-submit:hover,
.calc-form input[type="submit"]:hover {
    background: #e78300 !important;
    border-color: #e78300 !important;
}

/* Даже когда кнопка disabled */
.calc-form .wpcf7-submit:disabled {
    background: #FE9300 !important;
    border-color: #FE9300 !important;
    color: #fff !important;
    opacity: .6;
}

/* Уменьшаем расстояние перед телефоном */
.calc-bottom {
    margin-top: 18px !important;
}

.calc-bottom p:first-child {
    margin-bottom: 4px !important;
}

.calc-bottom p:last-of-type {
    margin: 0 0 10px !important;
}