/* Cashier only: the document scrolls; the order lines keep their natural height. */
body.counter-page .counter-layout > .counter-basket {
  align-self: start;
  position: static;
  height: auto;
  max-height: none;
  overflow: visible;
}
body.counter-page .counter-basket > .counter-items {
  flex: none;
  height: auto;
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
}
/* Short desktop baskets can still follow the menu. A long basket stays in page flow. */
@media (min-width: 768px) {
  body.counter-page .counter-layout > .counter-basket[data-counter-fits] {
    position: sticky;
    top: 12px;
  }
}
