
.zayavka-budget-wrap {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.zayavka-budget-wrap p {
    margin: 0;
}

.zayavka-budget-wrap input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    margin: 1rem 0;
}

.zayavka-budget-wrap input[type=range]:focus {
    outline: none;
}

.zayavka-budget-wrap input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    cursor: pointer;
    background: #333;
}

.zayavka-budget-wrap input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #f97316;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -9px;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.zayavka-services-grid {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.wpcf7-checkbox {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .wpcf7-checkbox {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .wpcf7-checkbox {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.wpcf7-list-item {
    margin: 0 !important;
    display: block;
}

.wpcf7-list-item label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    height: 100%;
    min-height: 80px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #ffffff;
    border: 1px solid #1f2937;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-list-item label:hover {
    border-color: #f97316;
}

.wpcf7-list-item input[type="checkbox"] {
    display: none;
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label {
    color: #000;
}

.wpcf7-list-item input[type="checkbox"]:checked ~ .wpcf7-list-item-label,
.wpcf7-list-item input[type="checkbox"]:checked + span {
    color: #000;
}

.wpcf7-list-item label:has(input[type="checkbox"]:checked) {
    background-color: #f97316;
    border-color: #f97316;
    color: #000;
}

.wpcf7-list-item-label {
    display: block;
    width: 100%;
}

body.light-theme .wpcf7-list-item-label {
    color: #000;
}

.zayavka-service-item .discount {
    font-size: 10px;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
}

.wpcf7 p {
    margin-bottom: 0;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #1f2937;
    padding: 1rem 0;
    outline: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
    font-weight: 300;
    color: #ffffff;
}

.wpcf7-form-control-wrap textarea {
    border: 1px solid #1f2937;
    padding: 1.5rem;
    resize: none;
    margin-top: 0.5rem;
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
    border-color: #f97316;
}

.wpcf7-submit {
    padding: 1.5rem 4rem;
    background-color: #ffffff;
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
}

@media (min-width: 768px) {
    .wpcf7-submit {
        width: auto;
    }
}

.wpcf7-submit:hover {
    background-color: #f97316;
    color: #ffffff;
}

.wpcf7-spinner {
    background-color: #f97316;
}

.wpcf7 form .wpcf7-response-output {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 0;
    border: 1px solid #f97316;
    color: #f97316;
}

/* --- Контакти Form --- */
.contact-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contacts-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contacts-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-form-wrapper .wpcf7-form-control-wrap input[type="text"],
.contact-form-wrapper .wpcf7-form-control-wrap input[type="tel"],
.contact-form-wrapper .wpcf7-form-control-wrap input[type="email"],
.contact-form-wrapper .wpcf7-form-control-wrap textarea {
    padding: 1.5rem 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.contact-form-wrapper .wpcf7-form-control-wrap textarea {
    border: none;
    border-bottom: 1px solid #1f2937;
    margin-top: 0;
}

.contact-form-wrapper .wpcf7-submit {
    background-color: #f97316;
    font-size: 10px;
    box-shadow: none;
}

.contact-form-wrapper .wpcf7-submit:hover {
    background-color: #ffffff;
    color: #000000;
}