/* Cashback Pro V36.7.165 — navigation first-paint and compact category control. */
/* Avoid the initial expanded-menu flash while the saved state is being restored. */
html.nav-bootstrap-pending #header-menu-row,
html.nav-bootstrap-pending #app-sidebar,
html.nav-bootstrap-pending #sidebar-backdrop {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* The toggle keeps one short label in every orientation and on desktop. */
#mobile-menu-toggle.mobile-menu-toggle {
  gap: 8px !important;
  white-space: nowrap !important;
}
#mobile-menu-toggle.mobile-menu-toggle > span {
  font-size: inherit !important;
  line-height: 1.1 !important;
}

/* Desktop: pin the compact control directly below the brand/header, at the
   same left alignment as the brand, without adding it to the header height. */
@media (min-width: 1100px) {
  html body .header-menu-row {
    position: fixed !important;
    top: calc(var(--v36-header-height, 104px) + 7px) !important;
    left: 18px !important;
    right: auto !important;
    width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1805 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    pointer-events: none !important;
  }
  html body #mobile-menu-toggle.mobile-menu-toggle {
    position: relative !important;
    margin: 0 !important;
    min-height: 36px !important;
    padding: 7px 12px !important;
    pointer-events: auto !important;
  }
}
