/* Запись на примерку */

.fitting-order {
    width: 40%;
    min-width: 240px;
    margin: 15px 0 0 auto;
}

button.fitting-order_btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 2px;
    color: #000;
    background: #dad5d5;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

button.fitting-order_btn:hover {
    opacity: 0.8;
}

.fitting-order__note,
.fitting-order__error {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.fitting-order__note {
    color: #888;
}

.fitting-order__error {
    color: #dc3232;
}

.fitting-order__error[hidden] {
    display: none;
}

.product-size-block.is-required .size-title {
    color: #dc3232;
}

.product-size-block.is-required .size-btn {
    border-color: #dc3232;
}

/* Форма выше «Быстрого заказа»: при top: 30% низ уходит за экран */
.modal-forms .fitting-modal.modal-form {
    top: 5vh;
    max-height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
    align-items: flex-start;
}

.fitting-modal .fitting-summary {
    margin-bottom: 15px;
    color: #000;
    font-size: 14px;
}

.fitting-modal select,
.fitting-modal textarea {
    width: 100%;
    border: 1px solid #eaeaea;
    border-radius: 2px;
    background: #fff;
    color: #666;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 12px;
}

.fitting-modal select {
    height: 33px;
    padding: 0 10px;
}

.modal-forms .fitting-modal textarea.wpcf7-textarea {
    height: 80px;
    padding: 8px 10px;
    resize: vertical;
}

@media (max-width: 768px) {
    .fitting-order {
        width: 100%;
        min-width: 0;
        margin: 20px 0 0;
    }
}

@media (max-width: 430px) {
    .modal-forms .fitting-modal.modal-form {
        top: 0;
        max-height: 100vh;
    }
}
