[data-sf-template] .bd-card { display: flex; flex-direction: column; min-width: 0; height: 100%; box-sizing: border-box; color: var(--sf-color-text-primary); font-size: 13px; line-height: 16px; }
[data-sf-template] .bd-card.is-off { opacity: .6; }
[data-sf-template] .bd-card-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; border-radius: var(--sf-radius-card); overflow: hidden; background: var(--sf-color-surface-sunken); }
[data-sf-template] .bd-card-photo img, [data-sf-template] .bd-card-empty { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
[data-sf-template] .bd-badges { display: flex; flex-wrap: wrap; gap: 4px; }
[data-sf-template] .bd-badge { padding: 2px 8px; border-radius: var(--sf-radius-pill); background: var(--sf-color-text-primary); color: var(--sf-color-surface-default); font-size: 12px; font-weight: 600; line-height: 1.5; }
[data-sf-template] .bd-card-name { display: flex; flex-direction: column; gap: 2px; min-height: 44px; margin-top: 8px; padding: 0 2px;
  color: var(--sf-color-text-primary); font-weight: 400; text-decoration: none; overflow-wrap: anywhere; }
[data-sf-template] .bd-card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[data-sf-template] .bd-card-meta { color: var(--sf-color-text-muted); }
@media (min-width: 900px) and (pointer: fine) { [data-sf-template] .bd-card-name { min-height: 24px; } }
[data-sf-template] .bd-card-buy { margin-top: auto; padding-top: 16px; display: flex; }
[data-sf-template] .bd-card-count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--sf-color-text-primary) 48%, transparent);
  color: var(--sf-color-text-inverse); font-size: 34px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
/* Метка — сверху слева на фото во всех видах карточек (слово владельца 16.11). Отступ 8 px, правый край тоже 8 px и «…»
   у длинной метки — наше решение: иначе она режется краем фото. */
[data-sf-template] .bd-card-badges { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
[data-sf-template] .bd-card-badge { height: 20px; padding: 0 7px; border-radius: var(--sf-radius-pill); background: var(--sf-color-text-primary); color: var(--sf-color-surface-default);
  font-size: 12px; font-weight: 600; line-height: 20px; box-sizing: border-box; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Узкий телефон (фото уже 145 px): две метки встают в два ряда и заходят на цифру счётчика — пока блюдо в корзине,
   на фото одна метка (замер 16.11: на 320 px заход 5 px). */
@media (max-width: 359px) { [data-sf-template] .bd-card-count ~ .bd-card-badges .bd-card-badge:nth-child(n+2) { display: none; } }
[data-sf-template] .bd-price { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 12px; border: 0; border-radius: var(--sf-radius-pill);
  background: var(--sf-color-surface-sunken); color: var(--sf-color-text-primary); font: inherit; font-size: 15px; line-height: 1; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation; }
[data-sf-template] .bd-price svg { color: var(--sf-color-brand-default); stroke-width: 1.8; }
@media (hover: hover) and (pointer: fine) { [data-sf-template] .bd-price:hover { background: color-mix(in srgb, var(--sf-color-brand-default) 10%, var(--sf-color-surface-sunken)); } }
[data-sf-template] .bd-price s { color: var(--sf-color-text-muted); font-weight: 400; font-size: 13px; }
[data-sf-template] .bd-price::after, [data-sf-template] .bd-qty button::after { content: ""; position: absolute; inset: -7px 0; }
[data-sf-template] .bd-qty { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 4px; border-radius: var(--sf-radius-pill); background: var(--sf-color-brand-default);
  color: var(--sf-color-text-inverse); font-size: 15px; line-height: 1; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
[data-sf-template] .bd-qty button { position: relative; width: 30px; height: 30px; padding: 0; border: 0; border-radius: var(--sf-radius-pill); background: transparent; color: inherit;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; touch-action: manipulation; }
[data-sf-template] .bd-qty button svg { stroke-width: 1.8; }
@media (hover: hover) and (pointer: fine) { [data-sf-template] .bd-qty button:hover { background: var(--sf-color-brand-hover); } }
[data-sf-template] .bd-qty button:disabled { opacity: .45; cursor: default; }
[data-sf-template] .bd-price:disabled { opacity: .6; cursor: default; }
[data-sf-template] .bd-off { color: var(--sf-color-text-muted); font-size: 13px; padding: 8px 0; }

/* dish-info */
[data-sf-template] .bd-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--sf-color-text-primary); }
[data-sf-template] .bd-title { margin: 0; font-family: var(--sf-font-heading); font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
[data-sf-template] .bd-meta { margin: 0; color: var(--sf-color-text-muted); font-size: 13px; }
[data-sf-template] .bd-text { margin: 4px 0 0; color: var(--sf-color-text-secondary); font-size: 14px; line-height: 20px; }
[data-sf-template] .bd-text.is-short { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[data-sf-template] .bd-more { align-self: flex-start; min-height: 32px; padding: 0; border: 0; background: none; color: var(--sf-color-text-muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
[data-sf-template] .bd-facts { margin-top: 4px; border-top: 1px solid var(--sf-color-line-default); border-bottom: 1px solid var(--sf-color-line-default); }
[data-sf-template] .bd-facts-head { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 48px; padding: 0; border: 0; background: none;
  color: var(--sf-color-text-primary); font: inherit; text-align: left; cursor: pointer; }
[data-sf-template] .bd-facts-head span { display: flex; flex-direction: column; line-height: 1.2; }
[data-sf-template] .bd-facts-head b { font-size: 14px; font-weight: 600; }
[data-sf-template] .bd-facts-head small { color: var(--sf-color-text-muted); font-size: 12px; }
[data-sf-template] .bd-facts-body { padding: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
[data-sf-template] .bd-kbju { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; font-variant-numeric: tabular-nums; }
[data-sf-template] .bd-kbju div { display: flex; flex-direction: column; min-width: 0; }
[data-sf-template] .bd-kbju dd { margin: 0; font-weight: 700; }
[data-sf-template] .bd-kbju dt { color: var(--sf-color-text-muted); font-size: 12px; overflow-wrap: anywhere; }
[data-sf-template] .bd-allergens { margin: 0; color: var(--sf-color-text-secondary); font-size: 13px; line-height: 18px; }
[data-sf-template] .bd-allergens b { color: var(--sf-color-text-primary); }

/* dish-options */
[data-sf-template] .bd-options { display: flex; flex-direction: column; gap: 24px; min-width: 0; color: var(--sf-color-text-primary); }
/* Вкладки групп (Теремок): липнут к верху окна, выбранная — заливкой, остальные — текстом. */
/* Липнет к самому краю прокрутки (у окна свой отступ сверху: 20 px на телефоне, 28 px на ПК). Полоса фона сверху
   (border-top) закрывает этот отступ, чтобы прокрученный текст не просвечивал; в покое она лежит на пустом
   промежутке 20 px между «О блюде» и выбором (margin-top: -20px). */
[data-sf-template] .bd-tabs { position: sticky; top: -28px; z-index: 1; contain: inline-size; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  margin: -20px -4px 0; padding: 8px 4px; border-top: 20px solid var(--sf-color-surface-default); background: var(--sf-color-surface-default); }
[data-sf-template] .bd-tabs button { position: relative; flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: var(--sf-radius-pill); background: transparent;
  color: var(--sf-color-text-secondary); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
[data-sf-template] .bd-tabs button[aria-selected="true"] { background: var(--sf-color-surface-sunken); color: var(--sf-color-text-primary); font-weight: 600; }
[data-sf-template] .bd-tab-dot { display: inline-block; width: 6px; height: 6px; margin-left: 6px; vertical-align: middle; border-radius: 50%; background: var(--sf-color-signal-danger); }
[data-sf-template] .bd-seg-box { display: flex; flex-direction: column; gap: 8px; }
[data-sf-template] .bd-seg-box + .bd-seg-box { margin-top: -16px; }
[data-sf-template] .bd-seg { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: var(--sf-radius-md); background: var(--sf-color-surface-sunken); }
[data-sf-template] .bd-seg button { min-height: 40px; padding: 0 6px; border: 0; border-radius: var(--sf-radius-sm); background: transparent; color: var(--sf-color-text-muted);
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
[data-sf-template] .bd-seg button[aria-checked="true"] { background: var(--sf-color-surface-raised); color: var(--sf-color-text-primary); font-weight: 600; box-shadow: var(--sf-shadow-sm); }
[data-sf-template] .bd-seg button:disabled { opacity: .45; cursor: default; }
[data-sf-template] .bd-group { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 84px; }
[data-sf-template] .bd-group-head { display: flex; align-items: flex-start; gap: 12px; }
[data-sf-template] .bd-group-title { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
[data-sf-template] .bd-group-head h3, [data-sf-template] .bd-h { margin: 0; font-family: var(--sf-font-heading); font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
[data-sf-template] .bd-group-title small { color: var(--sf-color-text-muted); font-size: 13px; line-height: 18px; }
/* «Обязательно» (Bolt): красная метка, пока не выбрано; заливка — после попытки добавить. */
[data-sf-template] .bd-need { flex: none; margin-top: 1px; height: 22px; padding: 0 8px; border-radius: var(--sf-radius-sm); background: color-mix(in srgb, var(--sf-color-signal-danger) 10%, var(--sf-color-surface-raised));
  color: var(--sf-color-signal-danger); font-size: 12px; font-weight: 600; line-height: 22px; }
[data-sf-template] .bd-need.is-missing { background: var(--sf-color-signal-danger); color: var(--sf-color-text-inverse); }
[data-sf-template] .bd-group-alert { margin: 0; color: var(--sf-color-signal-danger); font-size: 13px; }
[data-sf-template] .bd-group.is-missing .bd-rows, [data-sf-template] .bd-group.is-missing .bd-tiles { outline: 2px solid var(--sf-color-signal-danger); outline-offset: 2px; border-radius: var(--sf-radius-lg); }
[data-sf-template] .bd-rows { border-radius: var(--sf-radius-lg); background: var(--sf-color-surface-raised); overflow: hidden; }
[data-sf-template] .bd-row { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--sf-color-line-default);
  background: transparent; color: var(--sf-color-text-primary); font: inherit; text-align: left; cursor: pointer; }
[data-sf-template] .bd-row:last-child { border-bottom: 0; }
[data-sf-template] .bd-row:disabled { opacity: .45; cursor: default; }
[data-sf-template] .bd-row-name { flex: 1; min-width: 0; }
[data-sf-template] .bd-row small { color: var(--sf-color-text-muted); font-size: 13px; }
[data-sf-template] .bd-radio { width: 22px; height: 22px; flex: none; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--sf-color-line-strong); }
[data-sf-template] .bd-row[aria-checked="true"] .bd-radio { border: 7px solid var(--sf-color-brand-default); }
[data-sf-template] .bd-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* Плитки добавок (Бургер Кинг): крупное фото, название в 2 строки, доплата «+39 ₽» внизу на одной линии во всём ряду. */
[data-sf-template] .bd-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; min-height: 96px; padding: 10px 6px 10px;
  border: 2px solid transparent; border-radius: var(--sf-radius-lg); background: var(--sf-color-surface-raised); color: var(--sf-color-text-primary); font: inherit; text-align: center; cursor: pointer; }
[data-sf-template] .bd-tile.is-on { border-color: var(--sf-color-brand-default); }
[data-sf-template] .bd-tile:disabled { opacity: .45; cursor: default; }
[data-sf-template] .bd-tile img { width: min(72px, 64%); height: auto; aspect-ratio: 1; border-radius: var(--sf-radius-md); object-fit: cover; background: var(--sf-color-surface-sunken); }
[data-sf-template] .bd-tile-name { font-size: 13px; line-height: 16px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 359px) { [data-sf-template] .bd-tile-name { display: block; max-width: 100%; overflow: visible; } }
[data-sf-template] .bd-tile-note { margin-top: auto; color: var(--sf-color-text-secondary); font-size: 13px; font-weight: 600; }
[data-sf-template] .bd-tile-count { position: absolute; right: 6px; top: 6px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: var(--sf-radius-pill);
  background: var(--sf-color-brand-default); color: var(--sf-color-text-inverse); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
[data-sf-template] .bd-chosen { display: flex; flex-direction: column; gap: 4px; }
[data-sf-template] .bd-chosen-row { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 12px; border-radius: var(--sf-radius-md); background: var(--sf-color-surface-sunken); font-size: 13px; }
[data-sf-template] .bd-chosen-row > span:first-child { flex: 1; min-width: 0; }
[data-sf-template] .bd-mini { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; }
[data-sf-template] .bd-mini button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sf-color-surface-raised); color: var(--sf-color-text-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
[data-sf-template] .bd-mini button:disabled { opacity: .45; cursor: default; }
[data-sf-template] .bd-mini output { min-width: 20px; text-align: center; }
[data-sf-template] .bd-ups-box { display: flex; flex-direction: column; gap: 8px; }
[data-sf-template] .bd-ups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
[data-sf-template] .bd-up { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; }
[data-sf-template] .bd-up > b { margin-top: 6px; }
[data-sf-template] .bd-up-pic { position: relative; display: block; }
[data-sf-template] .bd-up-pic img, [data-sf-template] .bd-up-pic .bd-card-empty { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--sf-radius-md); background: var(--sf-color-surface-sunken); }
[data-sf-template] .bd-up-add { position: absolute; right: 6px; bottom: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sf-color-surface-raised);
  color: var(--sf-color-text-primary); font: inherit; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sf-shadow-sm); cursor: pointer; }
[data-sf-template] .bd-up-name { color: var(--sf-color-text-primary); font-size: 13px; line-height: 16px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[data-sf-template] .bd-up-meta { color: var(--sf-color-text-muted); font-size: 13px; line-height: 16px; }

/* dish-buy */
[data-sf-template] .bd-buy { display: flex; flex-direction: column; gap: 8px; width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 20px 14px; background: var(--sf-color-surface-raised);
  border-top: 1px solid var(--sf-color-line-default); color: var(--sf-color-text-primary); }
[data-sf-template] .bd-buy-line { contain: inline-size; display: flex; align-items: baseline; gap: 8px; font-size: 14px; line-height: 20px; min-width: 0; }
[data-sf-template] .bd-buy-line span { flex: 1; min-width: 0; color: var(--sf-color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-sf-template] .bd-buy-line b { flex: none; max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* В комбо каркас рисует свою зачёркнутую цену над кнопками — её показывает наша кнопка. */
[data-sf-template] .combo-regular-price:has(+ [data-sf-slot="dish-buy"] .bd-buy) { display: none; }
[data-sf-template] .bd-hint { margin: 0; color: var(--sf-color-text-muted); font-size: 13px; }
[data-sf-template] .bd-buy-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
[data-sf-template] .bd-step { display: inline-flex; flex: none; align-items: center; gap: 2px; height: 52px; padding: 0 4px; border-radius: var(--sf-radius-pill); background: var(--sf-color-surface-sunken); color: var(--sf-color-text-primary); }
[data-sf-template] .bd-step button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
[data-sf-template] .bd-step button:disabled { opacity: .4; cursor: default; }
[data-sf-template] .bd-step output { min-width: 18px; text-align: center; font-weight: 700; }
[data-sf-template] .bd-go { flex: 1; min-width: 0; height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 0; border-radius: var(--sf-radius-pill);
  background: var(--sf-color-brand-default); color: var(--sf-color-text-inverse); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap; }
[data-sf-template] .bd-go span { overflow: hidden; text-overflow: ellipsis; }
[data-sf-template] .bd-go span { min-width: 0; }
@media (max-width: 359px) {
  [data-sf-template] .bd-buy-line { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
  [data-sf-template] .bd-buy-line :is(span, b) { flex: 0 1 auto; max-width: 100%; overflow: visible; white-space: normal; overflow-wrap: anywhere; }
  [data-sf-template] .bd-go { height: auto; min-height: 52px; padding: 6px; gap: 4px; flex-wrap: wrap; align-content: center; }
  [data-sf-template] .bd-go span { overflow: visible; white-space: normal; line-height: 1.2; text-align: center; }
}
@media (min-width: 900px) { [data-sf-template] .bd-buy { padding-left: 24px; padding-right: 24px; } }
/* Блюдо закончилось: полоса вместо счётчика и кнопки; фото карточки приглушено. */
[data-sf-template] .bd-go-off { flex: 1; min-width: 0; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: var(--sf-radius-pill);
  background: var(--sf-color-surface-sunken); color: var(--sf-color-text-muted); font-size: 16px; font-weight: 700; }
[data-sf-template] .bd-card.is-off .bd-card-photo img { opacity: .45; }
[data-sf-template] .bd-go s { flex: none; opacity: .75; font-weight: 500; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { [data-sf-template] .bd-go:hover { background: var(--sf-color-brand-hover); } }
[data-sf-template] .bd-go.is-need { background: var(--sf-color-surface-sunken); color: var(--sf-color-text-primary); }
[data-sf-template] .bd-go:disabled { opacity: .5; cursor: default; }
[data-sf-template] .bd-card a:focus-visible, [data-sf-template] .bd-card button:focus-visible, [data-sf-template] .bd-buy button:focus-visible, [data-sf-template] .bd-info button:focus-visible,
[data-sf-template] .bd-options button:focus-visible, [data-sf-template] .bd-buy .bd-skip:focus-visible { outline: 2px solid var(--sf-color-line-focus); outline-offset: 2px; }

/* dish-photo: зона повторяет пропорции фото (--bd-photo-ratio = ширина / высота) */
/* Телефон (после №43 фото уезжает при прокрутке): во всю ширину окна, квадрат 390×390, вертикаль до 390×520. */
[data-sf-template] .bd-photo { --bd-photo-cap: 520px; flex: none; display: flex; align-items: center; justify-content: center; min-width: 0; box-sizing: border-box; padding: 0; }
[data-sf-template] .bd-photo img { display: block; width: min(100%, calc(var(--bd-photo-cap) * var(--bd-photo-ratio))); height: auto; aspect-ratio: var(--bd-photo-ratio);
  object-fit: cover; border-radius: 0; background: var(--sf-color-surface-sunken); }
[data-sf-template] .bd-photo.is-added { display: none; }
@media (min-width: 900px) {
  [data-sf-template] .bd-photo { --bd-photo-cap: 560px; flex: 0 0 50%; align-self: stretch; padding: 24px; }
  [data-sf-template] .bd-photo img { border-radius: var(--sf-radius-card); }
  [data-sf-template] .bd-photo.is-added { display: flex; }
}

/* «Можно убрать» (Додо): чип с «×», убранный — зачёркнут, «+» возвращает */
[data-sf-template] .bd-ings { display: flex; flex-wrap: wrap; gap: 8px; }
[data-sf-template] .bd-ing { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; max-width: 100%; box-sizing: border-box; padding: 0 12px 0 14px;
  border: 1px solid var(--sf-color-line-default); border-radius: var(--sf-radius-pill); background: var(--sf-color-surface-raised); color: var(--sf-color-text-primary);
  font: inherit; font-size: 14px; line-height: 18px; cursor: pointer; text-align: left; }
[data-sf-template] .bd-ing span { min-width: 0; overflow-wrap: anywhere; }
[data-sf-template] .bd-ing svg { flex: none; color: var(--sf-color-text-muted); }
[data-sf-template] .bd-ing.is-off { background: var(--sf-color-surface-sunken); border-color: transparent; }
[data-sf-template] .bd-ing.is-off span { color: var(--sf-color-text-muted); text-decoration: line-through; }
[data-sf-template] .bd-ing.is-off svg { color: var(--sf-color-brand-default); }
[data-sf-template] .bd-ing.is-fixed { cursor: default; padding: 0 14px; background: transparent; color: var(--sf-color-text-secondary); }

/* «Собери набор» под описанием: строка-кнопка (одно комбо) или лента вбок (несколько) */
[data-sf-template] .bd-sets { display: flex; gap: 8px; margin-top: 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
[data-sf-template] .bd-sets::-webkit-scrollbar { display: none; }
[data-sf-template] .bd-set { flex: 0 0 min(300px, 86%); display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 60px; box-sizing: border-box; padding: 8px 14px 8px 8px;
  border: 0; border-radius: var(--sf-radius-lg); background: var(--sf-color-surface-sunken); color: var(--sf-color-text-primary);
  font: inherit; text-align: left; cursor: pointer; }
[data-sf-template] .bd-sets.is-one .bd-set { flex: 1 1 auto; }
@media (hover: hover) and (pointer: fine) { [data-sf-template] .bd-set:hover { background: var(--sf-color-line-default); } }
[data-sf-template] .bd-set > svg { flex: none; margin-left: auto; color: var(--sf-color-brand-default); }
[data-sf-template] .bd-set img, [data-sf-template] .bd-set-empty { flex: none; width: 44px; height: 44px; border-radius: var(--sf-radius-md); object-fit: cover; background: var(--sf-color-surface-raised); }
[data-sf-template] .bd-set-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
[data-sf-template] .bd-set-text small { color: var(--sf-color-text-secondary); font-size: 13px; line-height: 16px; font-weight: 700; }
[data-sf-template] .bd-set-text b { font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
[data-sf-template] .bd-set-text b span { font-weight: 500; color: var(--sf-color-text-secondary); white-space: nowrap; }
[data-sf-template] .bd-set:focus-visible { outline: 2px solid var(--sf-color-line-focus); outline-offset: 2px; }

/* «В корзине» после «Добавить» (настройка dish-buy afterAdd) */
[data-sf-template] .bd-options.is-added { padding-top: 20px; }
[data-sf-template] .bd-added-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
[data-sf-template] .bd-added-ok { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--sf-color-surface-sunken); color: var(--sf-color-signal-success); }
[data-sf-template] .bd-added-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
[data-sf-template] .bd-added-text b { font-family: var(--sf-font-heading); font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
[data-sf-template] .bd-added-text small { color: var(--sf-color-text-muted); font-size: 14px; line-height: 18px; }
[data-sf-template] .bd-skip { flex: 1; min-width: 0; height: 52px; border: 0; border-radius: var(--sf-radius-pill); background: var(--sf-color-surface-sunken);
  color: var(--sf-color-text-primary); font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { [data-sf-template] .bd-skip:hover { background: var(--sf-color-line-default); } }

/* Телефон (навык mobile-native, 16.11.2026): отклик на нажатие, подпись кнопки не выделяется долгим нажатием. */
[data-sf-template] :is(.bd-go, .bd-price, .bd-qty button, .bd-up-add, .bd-tile, .bd-skip, .bd-set) { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
[data-sf-template] :is(.bd-go, .bd-price, .bd-qty button, .bd-up-add, .bd-tile, .bd-skip, .bd-set):active:not(:disabled) { transform: scale(.97); }
/* Нажатие, проход 2 (16.11): отклик у всего, что нажимается; при prefers-reduced-motion переходов нет. */
[data-sf-template] :is(.bd-ing):active:not(:disabled) { transform: scale(.97); }
[data-sf-template] :is(.bd-card-name, .bd-card-photo, .bd-facts-head, .bd-more):active { opacity: .7; }
[data-sf-template] :is(.bd-row):active:not(:disabled) { background-color: var(--sf-color-surface-sunken); }
@media (prefers-reduced-motion: no-preference) {
  [data-sf-template] :is(.bd-ing) { transition: transform 120ms cubic-bezier(.23, 1, .32, 1); }
  [data-sf-template] :is(.bd-card-name, .bd-card-photo, .bd-facts-head, .bd-more) { transition: opacity 120ms cubic-bezier(.23, 1, .32, 1); }
}
@media (prefers-reduced-motion: no-preference) {
  [data-sf-template] :is(.bd-go, .bd-price, .bd-qty button, .bd-up-add, .bd-tile, .bd-skip, .bd-set) { transition: transform 120ms cubic-bezier(.23, 1, .32, 1); }
}
/* Зоны нажатия не меньше 44 px без изменения вида: сегменты размера и теста и чипы «можно убрать» — 40 px,
   «+» допродажи — 36 px (честный замер uicheck 17.11). */
[data-sf-template] :is(.bd-seg button, .bd-ing) { position: relative; }
[data-sf-template] .bd-seg button::after { content: ""; position: absolute; inset: -2px 0; }
/* У чипа рамка 1 px, а слой отсчитывается от её внутреннего края — поэтому −3 px. */
[data-sf-template] .bd-ing::after { content: ""; position: absolute; inset: -3px 0; }
[data-sf-template] .bd-up-add::after { content: ""; position: absolute; inset: -4px; }
