/* Native tablet commerce. Figma 742:741 and 736:29736/29246/29434.
 * Opt-in only: no global zoom, phone or desktop declarations here.
 * Editable text deliberately remains 16 CSS px, above the 12px Figma sample. */
@media (min-width: 431px) and (max-width: 860px) ,  (width > 430px) and (max-width: 860px) {
  body.tablet-flow .cart-page,
  body.tablet-flow .checkout-page { width: 100%; max-width: none; min-width: 0; overflow: visible; }
  body.tablet-flow .cart-page .ct-wrap,
  body.tablet-flow .checkout-page .co-wrap { width: 100%; max-width: none; min-width: 0; padding-inline: 50px; }
  body.tablet-flow .cart-page { padding: 35px 0 43px; }
  body.tablet-flow .ct-back { font-size: 12px; line-height: 16px; margin-bottom: 29px; }
  body.tablet-flow .ct-title { font-size: 34px; line-height: 39px; margin: 0 0 32px; }
  body.tablet-flow .ct-body { grid-template-columns: minmax(0,1fr); row-gap: 32px; }
  body.tablet-flow .ct-summary { position: static; min-width: 0; }
  body.tablet-flow .ct-item__row { flex-wrap: wrap; gap: 16px; }
  body.tablet-flow .ct-item__main { flex: 1 1 240px; }
  body.tablet-flow .ct-item__info { height: auto; min-height: 84px; justify-content: flex-start; }
  body.tablet-flow .ct-item__links { margin-top: auto; }
  body.tablet-flow .ct-item__title { overflow-wrap: break-word; }
  body.tablet-flow .ct-item__side { width: 154px; margin-left: auto; }
  body.tablet-flow .ct-item__price { font-size: 14px; line-height: 14px; }
  body.tablet-flow .ct-item__pills { display: none; }
  body.tablet-flow .ct-promo__input { font-size: 16px; line-height: 20px; height: 42px; }
  /* Клиент просил уменьшить надпись «введите промокод». Сам кегль поля
     трогать нельзя: 16px тут стоят намеренно (см. шапку файла) — iOS Safari
     зумит страницу при фокусе на поле с кеглем меньше 16px. Поэтому
     уменьшен только плейсхолдер: вводимый текст остаётся 16px, зума нет,
     а надпись встаёт в один ряд с соседями (.ct-back и .ct-checkout — 12px,
     .ct-sum-row__label — 13px). В Figma tablet 742:808 промо-текст — 10px. */
  body.tablet-flow .ct-promo__input::placeholder { font-size: 10px; }
  body.tablet-flow .ct-summary__title { font-size: 24px; line-height: 28px; }
  body.tablet-flow .ct-sum-row,
  body.tablet-flow .ct-total { font-size: 14px; line-height: 14px; align-items: center; }
  body.tablet-flow .ct-sum-row__label { font-size: 13px; white-space: normal; }
  body.tablet-flow .ct-sum-row__value,
  body.tablet-flow .ct-total__value { font-size: 14px; flex-shrink: 0; }
  body.tablet-flow .ct-checkout { min-height: 46px; height: auto; margin-top: 32px; padding: 14px 20px; font-size: 12px; line-height: 16px; }
  body.tablet-flow .ct-empty { padding: 40px 24px; }
  body.tablet-flow .ct-empty__actions .btn { min-width: 0; width: min(100%,300px); min-height: 46px; white-space: normal; }

  body.tablet-flow .checkout-page { padding: 35px 0 62px; }
  body.tablet-flow .co-back { font-size: 12px; line-height: 16px; margin-bottom: 44px; }
  body.tablet-flow .co-steps { margin-bottom: 60px; }
  body.tablet-flow .co-step__dot { width: 44px; height: 44px; }
  body.tablet-flow .co-step__label { font-size: 10px; line-height: 12px; top: calc(100% + 16px); }
  body.tablet-flow .co-notes { gap: 10px; margin: 0 0 32px; }
  body.tablet-flow .co-notes li { font-size: 12px; line-height: 16px; gap: 15px; min-height: 22px; align-items: center; }
  body.tablet-flow .co-notes b { font-weight: 500; }
  body.tablet-flow .co-star { width: 22px; height: 22px; }
  body.tablet-flow .co-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  body.tablet-flow .co-col-main { gap: 20px; }
  body.tablet-flow .co-card { width: 100%; min-width: 0; padding: 54px 54px; border-radius: 32px; background: linear-gradient(95deg,#fff6ed 15.549%,#f5e8db 90.822%); box-shadow: inset -4px -4px 10px #fff,inset 2px 2px 11px rgba(231,205,177,.9),4px 4px 12px rgba(214,191,167,.45); }
  body.tablet-flow .co-card__title { font-size: 28px; line-height: 32px; letter-spacing: .06em; margin-bottom: 36px; }
  body.tablet-flow .co-fields { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px 16px; min-width: 0; }
  body.tablet-flow .co-fields:has(.co-field--city[hidden]) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.tablet-flow .co-field { gap: 12px; min-width: 0; }
  body.tablet-flow .co-field__label { font-size: 14px; line-height: 16px; }
  body.tablet-flow .co-field--city { grid-column: auto; }
  body.tablet-flow .co-field--street { grid-column: 1 / 3; }
  body.tablet-flow .co-field--house { grid-column: 3; grid-row: 2; }
  body.tablet-flow .co-hint { grid-column: 1 / -1; margin-top: -12px; font-size: 10px; line-height: 12px; }
  body.tablet-flow .co-input,
  body.tablet-flow .co-cert__input,
  body.tablet-flow .co-promo,
  body.tablet-flow .co-cert__ok { min-width: 0; font-size: 16px; line-height: 20px; letter-spacing: 0; }
  body.tablet-flow .co-input { height: 40px; padding-inline: 20px; border-width: .5px; border-color: #b01e2b; border-radius: 23.5px; }
  body.tablet-flow .co-input::placeholder { color: #6e6e6e; }
  body.tablet-flow .co-radio { font-size: 12px; line-height: 16px; gap: 12px; }
  body.tablet-flow .co-radio__dot { width: 13px; height: 13px; border-width: 1px; flex-shrink: 0; }
  body.tablet-flow .co-radios { gap: 10px; }
  body.tablet-flow .co-field--note { margin-top: 28px; max-width: 430px; }
  body.tablet-flow .co-field--note .co-field__label { font-size: 12px; }
  body.tablet-flow .co-scheduler { position: relative; max-width: 100%; margin: 28px 0 0 auto; width: 326px; }
  body.tablet-flow .co-cal { min-width: 0; flex: 1 1 0; }
  body.tablet-flow .co-cal__grid { grid-template-columns: repeat(7,minmax(0,1fr)); }
  body.tablet-flow .co-cal__day { min-width: 0; }
  body.tablet-flow .co-times { min-width: 64px; flex: 0 0 64px; }
  body.tablet-flow .co-pay__row { gap: 12px; }
  body.tablet-flow .co-pay__logos { gap: 20px; }
  body.tablet-flow .co-pay__gift { display: flex; line-height: 0; }
  body.tablet-flow .co-logo-mc { width: 34px; height: 26px; }
  body.tablet-flow .co-logo-visa { width: 47px; height: 15px; }
  body.tablet-flow .co-logo-pk { width: 53px; height: 15px; }
  body.tablet-flow .co-pay__hint { margin: 2px 0 0 26px; font-size: 10px; line-height: 12px; color: #401c0c; }
  body.tablet-flow .co-divider { margin: 22px 0 16px; border-top-width: .5px; }
  body.tablet-flow .co-cert { margin-top: 16px; }
  body.tablet-flow .co-cert__input,
  body.tablet-flow .co-promo { height: 42px; border-radius: 0; padding-inline: 20px; }
  /* [65].3.2: keep the field itself at 16px for iOS; the CVC placeholder
   * follows its 10px Figma text while promo remains at 12px. */
  body.tablet-flow .co-cert__input::placeholder { font-size: 10px; }
  body.tablet-flow .co-promo::placeholder { font-size: 12px; }
  /* [121]: дизайнер уточнил — подсказку про CVC не прижимать к самой
   * левой рамке, а выровнять по остальным текстам карточки (тот же
   * отступ слева 26px, что и у .co-pay__hint для PayKeeper выше). */
  body.tablet-flow .co-cert .co-pay__hint { margin: 12px 0 0 26px; max-width: 357px; }
  body.tablet-flow .co-summary .co-card__title { margin-bottom: 36px; }
  body.tablet-flow .co-summary .co-promo { margin-bottom: 28px; }
  body.tablet-flow .co-items { width: calc(50% - 14px); gap: 12px; }
  body.tablet-flow .co-items li { font-size: 12px; line-height: 14px; align-items: flex-end; }
  body.tablet-flow .co-items b { font-size: 12px; line-height: 14px; }
  body.tablet-flow .co-summary > .co-divider { margin: 28px 0; }
  body.tablet-flow .co-summary > .co-divider:first-of-type { width: calc(50% - 14px); }
  body.tablet-flow .co-mid { flex-direction: row; gap: 28px; align-items: flex-end; }
  body.tablet-flow .co-mid .co-totals,
  body.tablet-flow .co-mid .co-ship { flex: 1 1 0; width: 0; min-width: 0; max-width: none; gap: 12px; }
  body.tablet-flow .co-totals__row,
  body.tablet-flow .co-ship__row { font-size: 12px; line-height: 16px; }
  body.tablet-flow .co-packaging-break--after-first { display: none; }
  body.tablet-flow .co-packaging-break--after-second { display: inline; }
  body.tablet-flow .co-totals__row dt { font-weight: 500; }
  body.tablet-flow .co-totals__row--accent dt,
  body.tablet-flow .co-totals__row--accent dd { color: #d28b5c; }
  body.tablet-flow .co-final { font-size: 14px; line-height: 16px; margin-bottom: 36px; }
  body.tablet-flow .co-consent { font-size: 12px; line-height: 14px; gap: 14px; margin-bottom: 33px; }
  body.tablet-flow .co-submit { height: auto; min-height: 46px; font-size: 12px; line-height: 16px; padding: 15px 20px; }
  body.tablet-flow .co-input:focus-visible,
  body.tablet-flow .co-cert__input:focus-visible,
  body.tablet-flow .co-promo:focus-visible,
  body.tablet-flow .ct-promo__input:focus-visible { outline: 2px solid #b01e2b; outline-offset: 3px; }
  body.tablet-flow #co-after-hours.sm-overlay { padding: 16px; overflow-y: auto; }
  body.tablet-flow #co-after-hours .co-afterhours-panel { position: relative; inset: auto; width: min(720px,100%); max-width: 100%; height: auto; min-height: min(440px,calc(100dvh - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; margin: auto; }
  body.tablet-flow #co-after-hours .co-afterhours-loc__left { min-width: 0; }
  body.tablet-flow #co-after-hours .co-afterhours-loc__map { min-width: 0; white-space: normal; }
}
@media (min-width: 431px) and (max-width: 860px),  (width > 430px) and (max-width: 860px){
  body.tablet-flow .co-card:has(> .co-scheduler:not([hidden])) { display: grid; grid-template-columns: minmax(0,1fr) 326px; column-gap: 24px; align-items: start; }
  body.tablet-flow .co-card:has(> .co-scheduler:not([hidden])) > .co-card__title,
  body.tablet-flow .co-card:has(> .co-scheduler:not([hidden])) > .co-field--note { grid-column: 1 / -1; }
  body.tablet-flow .co-card:has(> .co-scheduler:not([hidden])) > .co-scheduler { margin: 0; min-height: 220px; }
  body.tablet-flow .co-card:has(> .co-scheduler:not([hidden])) > .co-field--note .co-field__label { line-height: 14px; }
  body.tablet-flow .co-cal__day { height: 26px; }
  body.tablet-flow .co-times__list { height: 160px; }
}
/* Снят подбрейкпоинт «@media (min-width: 431px) and (max-width: 650px)»: полоса 431–860 показывает один макет 860, разницу делает zoom. */

