/* Закрепляется только основная шапка; информационная строка прокручивается вместе со страницей. */
:root { --site-header-height: 144px; }
html { scroll-padding-top: calc(var(--site-header-height) + 16px); }

/* clip не создаёт для sticky отдельный прокручиваемый контейнер. */
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: 6; /* Ниже затемнения, корзины и модальных окон. */
  background: #fff;
  box-shadow: 0 5px 20px rgba(9, 27, 53, .055);
}

/* Уведомление появляется под закреплённой шапкой, не поверх навигации. */
.cart-toast { top: calc(var(--site-header-height) + 12px); }

@media (max-width: 850px) {
  :root { --site-header-height: 77px; }
  .topline .container { justify-content: center; text-align: center; }
  .topline .container span:last-child { display: none; }
}

@media print {
  html { scroll-padding-top: 0; }
  .site-header-shell { position: static; box-shadow: none; }
}
