/* Prevent translated labels from colliding on narrow mobile screens. */
@media (max-width: 900px) {
  .mobile-nav {
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav .nav-button {
    flex: 0 0 76px;
    min-width: 76px;
    max-width: 76px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  .mobile-nav .nav-button > span:last-child {
    display: block;
    width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .topbrand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .topbrand > div:last-child {
    min-width: 0;
  }

  .topbrand strong {
    font-size: .82rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .topbrand small {
    display: none;
  }

  .top-actions {
    flex: 0 0 auto;
  }

  .top-actions select {
    max-width: 88px;
  }

  .top-actions .icon-button {
    font-size: .7rem;
  }
}
