/* 22.11 Иван: в «Ваш расчёт» на месте стоит зона цены («Ваш расчёт» → «Разово» → сумма), без полосы прокрутки;
   держится, пока её не вытолкнет кнопка «Получить КП». Зона едет ОДНИМ куском: сдвиг --calc-shift считает
   calc-result-sticky.js (раньше были три отдельных sticky — у края карточки они наезжали друг на друга).
   Обёртки итога «растворены», чтобы позиции считались от карточки. Только компьютер. */
@media (min-width: 1051px) {
  html.orbit main .focus-calc-result .focus-calc-summary,
  html.orbit main .focus-calc-result .focus-calc-total-group { display: contents; }
  html.orbit main .focus-calc-result .focus-calc-summary > h3,
  html.orbit main .focus-calc-result .focus-calc-total-group:first-of-type > .focus-calc-period,
  html.orbit main .focus-calc-result .focus-calc-total-group:first-of-type > .focus-calc-total {
    position: relative;
    z-index: 2;
    background: var(--calc-result-surface, var(--muted));
    box-shadow: 0 0 0 1px var(--calc-result-surface, var(--muted));
    translate: 0 var(--calc-shift, 0px);
  }
  html.orbit main .focus-calc-result .focus-calc-summary > h3 {
    margin-bottom: 0 !important; padding-bottom: 16px; border-bottom: 1px solid var(--border);
  }
  /* полоса фона над уехавшей шапкой закрывает строки, проходящие над ней */
  html.orbit main .focus-calc-result.is-head-stuck .focus-calc-summary > h3 {
    box-shadow: 0 -40px 0 0 var(--calc-result-surface, var(--muted)), 0 0 0 1px var(--calc-result-surface, var(--muted));
  }
  html.orbit main .focus-calc-result .focus-calc-total-group:first-of-type > .focus-calc-period { margin-bottom: 0; padding: 14px 0 6px; }
  html.orbit main .focus-calc-result .focus-calc-total-group:first-of-type > .focus-calc-total { margin-bottom: 0; padding-bottom: 16px; }
  /* разделитель и отступы, которые давала обёртка группы */
  html.orbit main .focus-calc-result .focus-calc-total-group:not(:first-of-type) > .focus-calc-period {
    border-top: 1px solid var(--border); padding-top: 14px; margin-top: 14px;
  }
}
