.contacts-hero__title,
.contacts-hero__subtitle{
    font-weight: 400;
}

/* Верхние карточки контактов */
.contacts-cards{
    background-color: #f9fafb;
}

.contacts-cards__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 25px;
    margin-top: 25px
}

.contacts-card{
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    padding: 24px 24px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacts-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.contacts-card__icon{
    margin-bottom: 10px;
}

.contacts-card__icon img{
    width: 32px;
    height: 32px;
}

.contacts-card__title{
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    color: #0a2463;
}

.contacts-card__value{
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    color: #111827;
}

.contacts-card__note{
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #6b7280;
}

/* Основной блок: форма + FAQ */
.contacts-main{
    padding: 24px 0 80px 0;
    background-color: #f9fafb;
}

.content--order .contacts-main{
    padding-top: 48px;
}

.contacts-main__layout{
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: flex-start;
}

/* Форма */
.contacts-form{
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    padding: 28px 28px 26px 28px;
}

.contacts-form__title{
    font-weight: 400;
    font-size: 22px;
    line-height: 140%;
    color: #0a2463;
    margin-bottom: 18px;
}

.contacts-form__body{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contacts-form__errors{
    padding: 10px 12px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
}

.contacts-form__error{
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
}

.contacts-form__success{
    padding: 14px 16px;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    color: #047857;
    font-size: 15px;
    line-height: 150%;
    margin-bottom: 8px;
}

.contacts-form__field{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contacts-form__row{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contacts-form__label{
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    color: #374151;
}

.contacts-form__input,
.contacts-form__textarea{
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 150%;
    color: #111827;
    background-color: #f9fafb;
}

.contacts-form__input::placeholder,
.contacts-form__textarea::placeholder{
    color: #9ca3af;
}

.contacts-form__textarea{
    min-height: 110px;
    resize: vertical;
}

.contacts-form__submit{
    margin-top: 6px;
    width: 100%;
    height: 52px;
    border-radius: 8px;
    border: none;
    background-color: #00c2d2;
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contacts-form__submit:hover{
    background-color: #0ba5b3;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(11, 165, 179, 0.3);
}

.contacts-form__policy{
    margin-top: 6px;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #9ca3af;
}

/* Оформление заказа */
.order-page__grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.order-page__main{
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.order-page__aside{
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 24px;
}

.order-items-panel,
.form-control,
.order-summary{
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    padding: 28px;
}

.order-panel__head{
    margin-bottom: 20px;
}

.order-panel__title{
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 140%;
    color: #0a2463;
    font-weight: 400;
}

.order-panel__hint{
    margin: 0;
    font-size: 14px;
    line-height: 150%;
    color: #6b7280;
}

.order-items-list{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-item{
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    background: #f9fafb;
}

.order-item__header{
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.order-item__image-wrap{
    width: 88px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.order-item__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item__title{
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 140%;
    color: #0a2463;
    font-weight: 400;
}

.order-item__catalog-desc{
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 160%;
    color: #4b5563;
}

.order-item__price{
    margin: 0;
    font-size: 13px;
    line-height: 150%;
    color: #6b7280;
}

.order-item__field{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.order-item__label{
    font-size: 14px;
    line-height: 150%;
    color: #374151;
    font-weight: 500;
}

.order-item__textarea{
    display: block;
    width: 100%;
    min-height: 140px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 160%;
    color: #111827;
    background-color: #ffffff;
    resize: vertical;
    box-sizing: border-box;
}

.order-item__textarea::placeholder{
    color: #9ca3af;
    opacity: 1;
}

.order-summary__title{
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 140%;
    color: #0a2463;
    font-weight: 400;
}

.order-summary__list{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.order-summary__item{
    padding: 12px 14px;
    border-radius: 10px;
    background: #f3f6fb;
    border: 1px solid #e5e7eb;
}

.order-summary__item-main{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.order-summary__item-title{
    font-size: 14px;
    line-height: 150%;
    color: #111827;
}

.order-summary__item-qty{
    font-size: 12px;
    line-height: 150%;
    color: #6b7280;
    white-space: nowrap;
}

.order-summary__item-price{
    font-size: 13px;
    line-height: 150%;
    color: #0a2463;
}

.order-summary__total,
.order-summary__price{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #4b5563;
}

.order-summary__total strong,
.order-summary__price strong{
    color: #0a2463;
    font-weight: 600;
}

.order-page__faq{
    margin-top: 0;
}

.order-empty--page{
    padding: 24px 0 48px;
}

.order-empty__card{
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 32px;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.order-empty__title{
    margin: 0 0 10px;
    font-size: 24px;
    color: #0a2463;
    font-weight: 400;
}

.order-empty__text{
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 15px;
    line-height: 150%;
}

.order-empty__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    background: #00c2d2;
    color: #fff;
    text-decoration: none;
}

.content--order .contacts-main__layout{
    grid-template-columns: 1fr;
}

/* FAQ и режим работы */
.contacts-faq{
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: stretch;
}

.contacts-faq__title{
    font-weight: 400;
    font-size: 22px;
    line-height: 140%;
    color: #0a2463;
}

.contacts-faq__list{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacts-faq__item{
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    padding: 16px 18px 16px 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacts-faq__item:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.contacts-faq__question{
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #0a2463;
    margin-bottom: 6px;
}

.contacts-faq__answer{
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #4b5563;
}

.contacts-schedule{
    margin-top: 8px;
    background: #0a2463;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: auto;
}

.contacts-schedule:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.contacts-schedule__icon{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: rgba(0, 194, 210, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts-schedule__icon img{
    width: 22px;
    height: 22px;
}

.contacts-schedule__title{
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #ffffff;
    margin-bottom: 4px;
}

.contacts-schedule__text{
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #d1d5dc;
}

.contacts-schedule__support{
    margin-top: 4px;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #22d3ee;
}

@media (max-width: 992px){
    .contacts-cards__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contacts-main__layout{
        grid-template-columns: 1fr;
    }

    .order-page__grid{
        grid-template-columns: 1fr;
    }

    .order-page__aside{
        position: static;
    }
}

@media (max-width: 768px){
    .contacts-cards__grid{
        grid-template-columns: 1fr;
    }
}

