/* =====================================================================
   [TB-CHECKOUT2] Стили нового оформления заказа (страница checkout_test).
   Портировано из мокапа new-barista/checkout-page/styles.css, всё скоуплено
   под .tb-c2, переменные с префиксом --tbc- (чтобы не конфликтовать с темой).
   ===================================================================== */
.tb-c2 {
  --tbc-red: #9B2A2A;
  --tbc-red-dark: #7f2121;
  --tbc-pink: #F9EFEE;
  --tbc-ink: #323232;
  --tbc-muted: #9a948f;
  --tbc-muted-2: #6f6a66;
  --tbc-line: #e4ddd8;
  --tbc-line-strong: #cfc7c1;
  --tbc-radius-pill: 28px;
  --tbc-radius-card: 14px;
  --tbc-font: 'Inter Tight', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--tbc-ink);
  font-family: var(--tbc-font);
  font-size: 15px;
  line-height: 1.45;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 80px;
}
.tb-c2 * { box-sizing: border-box; }
.tb-c2 [hidden] { display: none !important; }
.tb-c2 a { color: inherit; text-decoration: none; }

/* Кнопки */
.tb-c2 .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; border: 1px solid transparent;
  border-radius: var(--tbc-radius-pill); padding: 13px 38px; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, opacity .18s; white-space: nowrap;
}
.tb-c2 .btn--solid { background: var(--tbc-red); color: #fff; }
.tb-c2 .btn--solid:hover { background: var(--tbc-red-dark); }
.tb-c2 .btn--ghost { background: transparent; color: var(--tbc-ink); border-color: var(--tbc-line-strong); }
.tb-c2 .btn--ghost:hover { border-color: var(--tbc-ink); }
.tb-c2 .btn--block { width: 100%; padding: 16px 24px; font-size: 16px; }
.tb-c2 .btn:disabled { opacity: .55; cursor: not-allowed; }

/* Заголовок + степпер */
.tb-c2 .checkout__title { font-size: 34px; font-weight: 700; margin: 0 0 28px; }
.tb-c2 .stepper { display: flex; align-items: center; list-style: none; margin: 0 0 44px; padding: 0; gap: 10px; }
.tb-c2 .stepper__item { display: flex; align-items: center; gap: 12px; }
.tb-c2 .stepper__num {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--tbc-pink); color: var(--tbc-muted); font-weight: 700; font-size: 16px; transition: background .2s, color .2s;
}
.tb-c2 .stepper__label { color: var(--tbc-muted); font-size: 15px; transition: color .2s; }
.tb-c2 .stepper__line { flex: 0 0 90px; height: 1px; background: var(--tbc-line-strong); }
.tb-c2 .stepper__item.is-active .stepper__num,
.tb-c2 .stepper__item.is-done .stepper__num { background: var(--tbc-red); color: #fff; }
.tb-c2 .stepper__item.is-active .stepper__label,
.tb-c2 .stepper__item.is-done .stepper__label { color: var(--tbc-ink); }
.tb-c2 .stepper__item[data-step] { cursor: pointer; }

/* Сетка */
.tb-c2 .checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
.tb-c2 .checkout__main { min-width: 0; }
.tb-c2 .order { border-left: 1px solid var(--tbc-line); padding-left: 40px; }

/* Шаги */
.tb-c2 .step { border: none; margin: 0; padding: 0; display: none; min-inline-size: 0; }
.tb-c2 .step.is-active { display: block; animation: tbc-fade .25s ease; }
@keyframes tbc-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tb-c2 .step__title { font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.tb-c2 .step__num { color: var(--tbc-red); font-weight: 700; }
.tb-c2 .step__hint { color: var(--tbc-muted); margin: 0 0 28px; font-size: 14px; }
.tb-c2 .step__nav { display: flex; gap: 16px; margin-top: 36px; }
.tb-c2 .step__nav--end { justify-content: flex-end; }
.tb-c2 .step__nav--column { flex-direction: column; }

/* Поля */
.tb-c2 .field { margin-bottom: 26px; position: relative; }
.tb-c2 .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tb-c2 .field label, .tb-c2 .field__label { display: block; font-size: 13px; color: var(--tbc-muted-2); margin-bottom: 10px; }
.tb-c2 .field label i, .tb-c2 .field__label i { color: var(--tbc-red); font-style: normal; }
/* Жёсткий ресет: тема Zephyr навешивает на input рамки/тени/фон/высоту — перебиваем */
.tb-c2 .field input[type="text"],
.tb-c2 .field input[type="tel"],
.tb-c2 .field input[type="email"],
.tb-c2 .field input[type="number"],
.tb-c2 .field textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  font: inherit !important;
  color: var(--tbc-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--tbc-line-strong) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 1.4 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: border-color .18s;
}
.tb-c2 .field textarea { resize: vertical; min-height: 44px !important; line-height: 1.5 !important; }
.tb-c2 .field input::placeholder, .tb-c2 .field textarea::placeholder { color: #c2bbb5 !important; }
.tb-c2 .field input:focus, .tb-c2 .field textarea:focus { outline: none !important; border-bottom-color: var(--tbc-red) !important; box-shadow: none !important; background: transparent !important; }
.tb-c2 .field.is-invalid input, .tb-c2 .field.is-invalid textarea { border-bottom-color: var(--tbc-red) !important; }
.tb-c2 .field__error {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 4px;
  color: var(--tbc-red); font-size: 12px; line-height: 1.2;
}
.tb-c2 .field.is-invalid .field__error, .tb-c2 .field__error.is-shown { display: block; }

/* Способ получения */
.tb-c2 .method { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.tb-c2 .method__card { position: relative; border: 1px solid var(--tbc-line-strong); border-radius: var(--tbc-radius-card); padding: 18px 20px; cursor: pointer; transition: border-color .18s, background .18s; }
.tb-c2 .method__card input { position: absolute; opacity: 0; pointer-events: none; }
.tb-c2 .method__name { display: block; font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.tb-c2 .method__desc { display: block; font-size: 13px; color: var(--tbc-muted); }
.tb-c2 .method__card.is-selected { border-color: var(--tbc-red); background: var(--tbc-pink); }
.tb-c2 .method__card:hover { border-color: var(--tbc-red); }

/* Пилюли */
.tb-c2 .pills { display: flex; flex-wrap: wrap; gap: 10px; }
.tb-c2 .pill { cursor: pointer; margin: 0; }
.tb-c2 .pill input { position: absolute; opacity: 0; pointer-events: none; }
.tb-c2 .pill span { display: inline-flex; align-items: center; border: 1px solid var(--tbc-line-strong); border-radius: var(--tbc-radius-pill); padding: 9px 18px; font-size: 14px; color: var(--tbc-ink); transition: background .15s, color .15s, border-color .15s; }
.tb-c2 .pill:hover span { border-color: var(--tbc-red); }
.tb-c2 .pill input:checked + span { background: var(--tbc-red); color: #fff; border-color: var(--tbc-red); }
.tb-c2 .variant[hidden] { display: none; }

/* Пункт самовывоза */
.tb-c2 .pickup-point { margin-top: 8px; }
.tb-c2 .pickup-point__name { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.tb-c2 .pickup-point__addr { margin: 0 0 2px; }
.tb-c2 .pickup-point__time { margin: 0 0 16px; color: var(--tbc-muted); font-size: 14px; }
.tb-c2 .pickup-point__map { position: relative; border-radius: var(--tbc-radius-card); overflow: hidden; border: 1px solid var(--tbc-line); }
.tb-c2 .pickup-point__map img { width: 100%; height: auto; display: block; }
/* свёрнуто: видно только верхнюю часть (карту) */
.tb-c2 .pickup-point__map:not(.is-expanded) { max-height: 280px; }
/* градиент затухания снизу в свёрнутом виде */
.tb-c2 .pickup-point__map:not(.is-expanded)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%); pointer-events: none;
}
/* кнопка-тоггл: в свёрнутом виде поверх градиента снизу */
.tb-c2 .pickup-point__map-toggle {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2;
  background: #fff !important; color: var(--tbc-red) !important;
  border: 1px solid var(--tbc-line-strong) !important; border-radius: var(--tbc-radius-pill) !important;
  padding: 8px 18px !important; margin: 0 !important; font: inherit !important; font-size: 13px !important; font-weight: 600 !important;
  line-height: 1.2 !important; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15) !important;
  width: auto !important; height: auto !important; min-width: 0 !important; transition: background .15s;
}
.tb-c2 .pickup-point__map-toggle:hover { background: var(--tbc-pink) !important; }
/* раскрыто: кнопка уходит под картинку по центру */
.tb-c2 .pickup-point__map.is-expanded .pickup-point__map-toggle {
  position: static; transform: none; display: block; margin: 10px auto 12px !important; box-shadow: none !important;
}

/* Сайдбар заказа */
.tb-c2 .order__title { font-size: 22px; font-weight: 700; margin: 0 0 22px; }
.tb-c2 .order__items { list-style: none; margin: 0 0 22px; padding: 0; }
.tb-c2 .order__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--tbc-line); }
.tb-c2 .order__thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--tbc-pink); }
.tb-c2 .order__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tb-c2 .order__info { min-width: 0; }
.tb-c2 .order__name { font-size: 14px; font-weight: 600; margin: 0 0 3px; }
.tb-c2 .order__meta { font-size: 12px; color: var(--tbc-muted); margin: 0 0 8px; }
.tb-c2 .order__price { font-weight: 700; font-size: 14px; white-space: nowrap; align-self: center; }
/* [QTY-MATCH-MOCKUP 2026-05-29] Размеры/отступы как в макете (26px, gap 6px, font 16px,
   min-width 22px). !important и flex-центрирование держим, чтобы кнопочные стили темы
   Zephyr не перебивали (padding/line-height/min-height) и «+/−» не съезжали. */
.tb-c2 .qty { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.tb-c2 .qty__btn {
  width: 26px !important; height: 26px !important; flex: 0 0 26px !important;
  box-sizing: border-box !important;
  border-radius: 50% !important; border: 1px solid var(--tbc-line-strong) !important;
  background: #fff !important; color: var(--tbc-ink) !important;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 16px !important; line-height: 1 !important; font-weight: 400 !important;
  cursor: pointer; padding: 0 !important; margin: 0 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  text-align: center !important; box-shadow: none !important; min-width: 0 !important;
  -webkit-appearance: none !important; appearance: none !important;
  transition: background .15s, border-color .15s, color .15s;
}
.tb-c2 .qty__btn:hover { border-color: var(--tbc-red) !important; color: var(--tbc-red) !important; background: #fff !important; }
.tb-c2 .qty__val { min-width: 22px; text-align: center; font-size: 14px; line-height: 1; }
/* [#1] крестик удаления позиции */
.tb-c2 .order__item { position: relative; padding-right: 22px; }
.tb-c2 .order__remove {
  position: absolute !important; top: 10px !important; right: 0 !important;
  width: 22px !important; height: 22px !important; min-width: 0 !important;
  border: 0 !important; background: none !important; color: var(--tbc-muted) !important;
  font-size: 20px !important; line-height: 1 !important; cursor: pointer; padding: 0 !important; margin: 0 !important;
  box-shadow: none !important; display: inline-flex !important; align-items: center; justify-content: center;
}
.tb-c2 .order__remove:hover { color: var(--tbc-red) !important; background: none !important; }
.tb-c2 .order__totals { margin: 0; }
.tb-c2 .order__row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; }
.tb-c2 .order__row dt { color: var(--tbc-muted-2); }
.tb-c2 .order__row dd { margin: 0; }
.tb-c2 .order__row--total { border-top: 1px solid var(--tbc-line); margin-top: 6px; padding-top: 18px; }
.tb-c2 .order__row--total dt { font-size: 22px; font-weight: 700; color: var(--tbc-ink); }
.tb-c2 .order__row--total dd { font-size: 22px; font-weight: 700; color: var(--tbc-red); }

/* Промокод — как в макете (лейбл сверху + поле + круглая кнопка 44px). resets с !important —
   чтобы стили инпутов/кнопок темы Zephyr не перебивали подчёркнутое поле и круг кнопки. */
.tb-c2 .promo { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; margin-bottom: 24px; }
.tb-c2 .promo__field { display: block; margin: 0; }
.tb-c2 .promo__field .field__label { display: block; font-size: 13px; color: var(--tbc-muted-2); margin-bottom: 8px; }
.tb-c2 .promo__field input {
  width: 100% !important; font: inherit !important; color: var(--tbc-ink) !important; background: transparent !important;
  border: 0 !important; border-bottom: 1px solid var(--tbc-line-strong) !important; border-radius: 0 !important;
  box-shadow: none !important; padding: 8px 0 !important; margin: 0 !important; height: auto !important; outline: none !important;
}
.tb-c2 .promo__field input:focus { border-bottom-color: var(--tbc-red) !important; box-shadow: none !important; }
.tb-c2 .promo__field input::placeholder { color: #c2bbb5 !important; }
.tb-c2 .promo__apply {
  width: 44px !important; height: 44px !important; flex: 0 0 44px; border-radius: 50% !important;
  background: var(--tbc-pink) !important; border: 0 !important; color: var(--tbc-red) !important; cursor: pointer;
  display: inline-flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; margin: 0 !important;
  box-shadow: none !important; transition: background .15s;
}
.tb-c2 .promo__apply:hover { background: #f2e0de !important; }
.tb-c2 .promo__apply svg { display: block; }
.tb-c2 .promo__msg { grid-column: 1 / -1; font-size: 12px; line-height: 1.3; min-height: 0; }
.tb-c2 .promo__msg:empty { display: none; }
.tb-c2 .promo__msg.is-ok { color: #1f8f4e; }
.tb-c2 .promo__msg.is-err { color: var(--tbc-red); }

/* Плашка минимальной суммы заказа (доставка) */
.tb-c2 .tb-c2-minnotice { border-radius: var(--tbc-radius-card); padding: 13px 18px; font-size: 14px; line-height: 1.4; margin: 0 0 22px; background: #fbeaea; color: #9B2A2A; }
.tb-c2 .tb-c2-minnotice b { font-weight: 700; }

/* Плашка бесплатной доставки в пределах МКАД */
.tb-c2 .tb-c2-freenotice { border-radius: var(--tbc-radius-card); padding: 13px 18px; font-size: 14px; line-height: 1.4; margin: 0 0 24px; text-align: center; }
.tb-c2 .tb-c2-freenotice b { font-weight: 700; }
.tb-c2 .tb-c2-freenotice.is-info { background: var(--tbc-pink); color: var(--tbc-ink); }
.tb-c2 .tb-c2-freenotice.is-info b { color: var(--tbc-red); }
.tb-c2 .tb-c2-freenotice.is-free { background: #e9f7ef; color: #1f8f4e; }
.tb-c2 .tb-c2-freenotice.is-free b { color: #1f8f4e; }

/* 04. Оплата — инфо-блок (100% предоплата, ссылка на e-mail) */
.tb-c2 .tb-c2-pay-title { margin-top: 30px; }
.tb-c2 .tb-c2-payinfo { background: var(--tbc-pink); border-radius: var(--tbc-radius-card); padding: 16px 18px; font-size: 14px; line-height: 1.5; color: var(--tbc-ink); margin: 0 0 22px; }
.tb-c2 .tb-c2-payinfo p { margin: 0 0 6px; }
.tb-c2 .tb-c2-payinfo p:last-child { margin-bottom: 0; }
.tb-c2 .tb-c2-payinfo b { color: var(--tbc-red); }

/* Согласие */
.tb-c2 .tb-c2-agree { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin: 8px 0 4px; font-size: 14px; }
.tb-c2 .tb-c2-agree input { margin-top: 2px; flex: 0 0 auto; }
.tb-c2 .tb-c2-agree a { color: var(--tbc-red); text-decoration: underline; }
.tb-c2 .tb-c2-agree i { color: var(--tbc-red); font-style: normal; }
.tb-c2 [data-error-for="agree"] { display: none; color: var(--tbc-red); font-size: 12px; margin: 2px 0 0; }
.tb-c2 [data-error-for="agree"].is-shown { display: block; }

/* payment-блок внутри шага 3 */
.tb-c2 .tb-c2-payment { margin-top: 16px; }
.tb-c2 .tb-c2-payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--tbc-line); border-radius: var(--tbc-radius-card); overflow: hidden; }
.tb-c2 .tb-c2-payment ul.payment_methods li { padding: 14px 18px; border-bottom: 1px solid var(--tbc-line); }
.tb-c2 .tb-c2-payment ul.payment_methods li:last-child { border-bottom: none; }
.tb-c2 .tb-c2-payment .payment_box { font-size: 13px; color: var(--tbc-muted-2); padding: 8px 0 0; }
.tb-c2 .tb-c2-payment #place_order {
  width: 100%; padding: 16px 24px; font-size: 16px; font-weight: 600; color: #fff;
  background: var(--tbc-red); border: none; border-radius: var(--tbc-radius-pill); cursor: pointer;
  transition: background .18s;
}
.tb-c2 .tb-c2-payment #place_order:hover { background: var(--tbc-red-dark); }
.tb-c2 .tb-c2-payment .woocommerce-terms-and-conditions-wrapper { margin: 8px 0 16px; font-size: 13px; }

/* Сводка (мобайл сверху) */
.tb-c2 .order-bar { display: none; border: 1px solid var(--tbc-line); border-radius: var(--tbc-radius-card); padding: 18px 20px; margin-bottom: 32px; }
.tb-c2 .order-bar__totals { margin: 0 0 16px; }
.tb-c2 .order-bar__totals .order__row { padding: 8px 0; }
.tb-c2 .order-bar__view { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--tbc-pink); color: var(--tbc-red); border: none; border-radius: var(--tbc-radius-pill); padding: 14px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.tb-c2 .order-bar__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--tbc-red); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Шторка заказа */
.sheet { display: none; position: fixed; inset: 0; z-index: 100000; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(40,30,30,.45); opacity: 0; transition: opacity .28s; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 22px 22px 0 0; max-height: 86vh; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .3s ease; box-shadow: 0 -12px 40px rgba(0,0,0,.18); font-family: 'Inter Tight', sans-serif; }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: translateY(0); }
.sheet__handle { width: 44px; height: 4px; border-radius: 2px; background: #cfc7c1; margin: 10px auto 2px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 12px; border-bottom: 1px solid #e4ddd8; }
.sheet__head .order__title { margin: 0; font-size: 20px; font-weight: 700; }
.sheet__close { background: none; border: none; font-size: 20px; cursor: pointer; width: 36px; height: 36px; }
.sheet__body { padding: 16px 20px 28px; overflow-y: auto; }
.sheet .order__items { list-style: none; margin: 0 0 16px; padding: 0; }
.sheet .order__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e4ddd8; }
.sheet .order__thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; }
.sheet .order__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sheet .order__row { display: flex; justify-content: space-between; padding: 10px 0; }
.sheet .order__row--total { border-top: 1px solid #e4ddd8; padding-top: 14px; font-weight: 700; }

/* Кастомный селект времени (мобайл) */
.tb-c2 .cselect { display: none; position: relative; }
.tb-c2 .cselect__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; background: transparent; border: 1px solid var(--tbc-line-strong); border-radius: 12px; padding: 13px 16px; font: inherit; color: var(--tbc-ink); cursor: pointer; }
.tb-c2 .cselect__value { color: #b8b0aa; }
.tb-c2 .cselect.has-value .cselect__value { color: var(--tbc-ink); }
.tb-c2 .cselect__chev { transition: transform .2s; flex: none; }
.tb-c2 .cselect.is-open .cselect__chev { transform: rotate(180deg); }
.tb-c2 .cselect__menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--tbc-line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.12); max-height: 244px; overflow-y: auto; }
.tb-c2 .cselect__option { padding: 11px 14px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.tb-c2 .cselect__option:hover { background: var(--tbc-pink); }
.tb-c2 .cselect__option.is-selected { background: var(--tbc-red); color: #fff; }
.tb-c2 .field.is-invalid .cselect__trigger { border-color: var(--tbc-red); }

/* Страховка: прячем сторонние EPO-формы (TM EPO "enable shortcodes"),
   которые иначе лезут в шапку/подвал страницы оформления */
body.tb-checkout2-page .tm-extra-product-options.tc-shortcode { display: none !important; }

/* flatpickr тема */
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: #9B2A2A; border-color: #9B2A2A; }
.flatpickr-day:hover { background: #F9EFEE; border-color: #F9EFEE; }
.flatpickr-day.today { border-color: #9B2A2A; }
.flatpickr-day.flatpickr-disabled { color: #d9d2cd; text-decoration: line-through; }

/* Адаптив */
@media (max-width: 980px) {
  .tb-c2 .checkout__grid { grid-template-columns: 1fr; gap: 40px; }
  .tb-c2 .order { display: none; }
  .tb-c2 .order-bar { display: block; }
  .sheet { display: block; pointer-events: none; }
  .sheet.is-open { pointer-events: auto; }
  .tb-c2 .pills[data-pills="dtime"], .tb-c2 .pills[data-pills="ptime"] { display: none; }
  .tb-c2 .cselect { display: block; }
}
@media (max-width: 620px) {
  .tb-c2 .field-row, .tb-c2 .method { grid-template-columns: 1fr; }
  /* в одну колонку: убираем row-gap, чтобы расстояние между полями было ровно как у
     отдельных .field (margin-bottom 26px) — иначе ФИО↔Телефон был шире, чем Телефон↔E-mail */
  .tb-c2 .field-row { gap: 0; }
  .tb-c2 .checkout__title { font-size: 26px; }
  .tb-c2 .stepper__label { display: none; }
  .tb-c2 .stepper__line { flex-basis: 30px; }
  .tb-c2 .step__nav { flex-direction: column-reverse; }
  .tb-c2 .step__nav .btn { width: 100%; }
}

/* [FUEL] Плашка-предупреждение «бензинового режима» вверху оформления */
.tb-c2 .tb-c2-fuel-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid #e3b94d;
  border-left: 4px solid #d99a00;
  border-radius: 10px;
  background: #fff8e6;
  color: #5b4708;
}
.tb-c2 .tb-c2-fuel-notice__icon { font-size: 22px; line-height: 1.3; flex: none; }
.tb-c2 .tb-c2-fuel-notice__text { font-size: 14px; line-height: 1.5; }
.tb-c2 .tb-c2-fuel-notice__text p { margin: 0 0 8px; }
.tb-c2 .tb-c2-fuel-notice__text p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .tb-c2 .tb-c2-fuel-notice { padding: 12px 14px; }
  .tb-c2 .tb-c2-fuel-notice__text { font-size: 13px; }
}
