
/*
 * The cart, the favorites and the login of the header on narrow screens: a
 * smaller font and gaps, every item on one line. The selectors start with
 * .header-main to win over the ones of kart, its style.css comes later.
 */
@media (max-width: 424px) {
  .header-main .header-right,
  .header-main .header-right > ul.menu {
    gap: 0.5rem;
  }

  .header-main .header-right .cart-block--link__expand,
  .header-main .header-right > ul.menu a {
    font-size: 14px;
    white-space: nowrap;
  }
}

/* Narrower: the icon of the cart on the top line, its count below it */
@media (max-width: 359px) {
  .header-main .header-right .cart-block--link__expand {
    white-space: normal;
    text-align: center;
  }

  .header-main .header-right .cart-block--summary__count {
    white-space: nowrap;
  }

  .header-main .header-right > ul.menu a {
    white-space: normal;
    text-align: center;
    display: inline-block;
  }
}
