/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* ========== ФОРМА ОБРАТНОЙ СВЯЗИ - АДАПТИВНЫЕ СТИЛИ ========== */

/* ========== СТИЛИ ДЛЯ CONTACT FORM 7 ========== */

/* Контейнер формы */
.wpcf7-form {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Заголовок формы (добавьте его отдельно на странице) */
.tdm-form-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* Группа полей */
.wpcf7-form p {
    margin-bottom: 20px;
}

/* Метки (labels) */
.wpcf7-form label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

/* Поля ввода */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* Фокус на поле */
.wpcf7-form input:focus {
    outline: none;
    border-color: #AA4F34;
    box-shadow: 0 0 0 2px rgba(170, 79, 52, 0.1);
}

/* Плейсхолдер */
.wpcf7-form input::placeholder {
    color: #aaa;
    font-size: 14px;
}

/* Кнопка отправки */
.wpcf7-form input[type="submit"] {
    width: 100%;
    background-color: #AA4F34;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #8c3f28;
    transform: translateY(-1px);
}

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

/* Сообщение об успехе */
.wpcf7-response-output {
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 20px;
    text-align: center;
}

/* ========== АДАПТИВНОСТЬ ========== */

/* Планшеты */
@media (max-width: 768px) {
    .wpcf7-form {
        max-width: 90%;
    }
    
    .tdm-form-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"] {
        padding: 10px 14px;
        font-size: 15px;
    }
}

/* Мобильные */
@media (max-width: 480px) {
    .wpcf7-form {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .tdm-form-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .wpcf7-form label {
        font-size: 14px;
    }
    
    .wpcf7-form input[type="submit"] {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.hidden-fields-container {
    display:none!important;
}