

/* Start:/local/components/taxi/order/templates/book/style.css?17899653284285*/
/* Страница /book/: маршрут → цена по классу → контакты.
   Карточка формы и чипы классов — .qm-order-panel / .tariff-chip из quiet-mobility.css. */
.book-page .content-section { padding-top: 42px; padding-bottom: 76px; }
.book-page__panel { width: min(100%, 760px); }

.book-page__panel .taxi-booking-form > .book-quote__state,
.book-page__panel .book-quote__note,
.book-page__panel .form-consent { grid-column: 1 / -1; }

.book-quote__state { margin: 0; color: #6b756a; font-size: 12px; font-weight: 700; line-height: 1.4; }
.book-quote__note { margin: 0; color: #7c867c; font-size: 11px; font-weight: 600; line-height: 1.45; }

/* Итог перед кнопкой: что выбрано и сколько стоит — в момент решения, а не выше по экрану. */
.book-quote__picked { display: none; margin: 0 0 10px; color: #3d463a; font-size: 12px; font-weight: 700; line-height: 1.4; }
.book-quote__picked b { color: #171a18; font-size: 15px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.book-quote__picked-unit { color: #7c867c; font-weight: 600; }
.book-page:has([data-route-quote].route-quote--ready) .book-quote__picked { display: block; }

/* Цена класса появляется только когда маршрут посчитан — до этого чип молчит. */
.book-page [data-route-quote]:not(.route-quote--ready) .tariff-chip [data-chip-price] { display: none; }
.book-page .tariff-chip [data-chip-price] { font-size: 14px; letter-spacing: -.02em; white-space: nowrap; }

/* Полный набор состояний чипа: в общем бандле у .tariff-chip ховера нет. */
.book-page .tariff-chip:hover:not(.is-selected) { border-color: rgba(255, 214, 0, .7); background: #fffdf6; }
.book-page .tariff-chip:active:not(.is-selected) { transform: translateY(1px); }

/* Кольцо фокуса полей. В quiet-mobility.css есть правило той же специфичности
   (.qm-order-panel:focus-within ...:focus), а его бандл подключается позже — поэтому here !important.
   Рамка тёмная: жёлтая даёт контраст ~1,4:1, тёмная — ~15:1 (WCAG 1.4.11 для нетекстового). */
.book-page .qm-order-panel .form-field .form-control:focus,
.book-page .qm-order-panel .form-field select:focus,
.book-page .qm-order-panel:focus-within .form-field .form-control:focus {
    border-color: #20261f !important;
    background: #fff !important;
    outline: 3px solid rgba(255, 214, 0, .95) !important;
    outline-offset: 2px !important;
    box-shadow: none !important;
}

.book-page__foot { width: min(100%, 760px); display: grid; gap: 14px; margin-top: 18px; }
.book-page__foot .trust-checks { margin: 0; }
.book-page__foot .qm-rating-badge { width: 100%; margin: 0; }

/* Легаси-автокомплит старого шаблона. */
.suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 1000; display: none; max-height: 200px; overflow-y: auto; background: #fff; }
.suggestion-item { padding: 10px; border-bottom: 1px solid #eee; cursor: pointer; }
.suggestion-item:hover { background-color: #f5f5f5; }
.suggestion-item:last-child { border-bottom: none; }

@media (max-width: 900px) {
    .book-page .content-section { padding-top: 26px; padding-bottom: 52px; }
}

@media (max-width: 680px) {
    .book-page .content-section { padding-bottom: 118px; }
    .book-quote__meta,
    .book-quote__state { font-size: 11px; }
    .book-page__foot { gap: 12px; }
}

/* Узкие телефоны: в двух колонках тексту чипа не остаётся места под картинкой. */
@media (max-width: 420px) {
    .book-page .tariff-chip { column-gap: 6px; padding: 9px 10px 10px; }
    .book-page .tariff-chip img { max-width: 56px; height: 36px; }
    .book-page .tariff-chip .tariff-chip__note { font-size: 9.5px; }
}

@media (max-width: 360px) {
    .book-page .tariff-chips { grid-template-columns: minmax(0, 1fr); }
    .book-page .tariff-chip img { max-width: 76px; height: 46px; }
    .book-page .tariff-chip .tariff-chip__note { font-size: 10px; }
}

/* End */
/* /local/components/taxi/order/templates/book/style.css?17899653284285 */
