/* Подгоняем размер логотипа */
.custom-logo {
    max-width: 200px;  /* Подбери нужную ширину */
    height: auto;
}
/* ===== ФОРМЫ (CONTACT FORM 7) ===== */
.wpcf7-form {
    max-width: 100%;
}

.form-wrapper {
    width: 100%;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1E1E1E;
}

.form-row .required {
    color: #FDB81E;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #FFFFFF;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: #FDB81E;
    box-shadow: 0 0 0 3px rgba(253, 184, 30, 0.1);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #AAAAAA;
}

.form-submit {
    margin-top: 25px;
}

.form-submit .wpcf7-submit {
    width: 100%;
    padding: 14px;
    background: #FDB81E;
    color: #1E1E1E;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.form-submit .wpcf7-submit:hover {
    background: #E5A80B;
    transform: translateY(-2px);
}

/* Сообщения об ошибках и успехе */
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.8rem;
    margin-top: 5px;
}

.wpcf7-response-output {
    padding: 12px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 0.9rem;
}

.wpcf7-validation-errors {
    border-color: #dc3232;
    background: rgba(220, 50, 50, 0.05);
}

.wpcf7-mail-sent-ok {
    border-color: #46b450;
    background: rgba(70, 180, 80, 0.05);
}














/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-order {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal-order.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #6F6F6F;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #FDB81E;
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #1E1E1E;
    padding-right: 30px;
}

/* Адаптив для модалки */
@media (max-width: 768px) {
    .modal-content {
        padding: 25px;
        width: 95%;
    }
    
    .modal-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px;
    }
    
    .modal-content h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
}