
/* v5.1.93 — mobile frontend admin bar fix
   Prevent WordPress admin toolbar from breaking the mobile category panel. */
@media (max-width: 782px) {
  html body.admin-bar.vlg-theme {
    --wp-admin--admin-bar--height: 0px !important;
    padding-top: 0 !important;
  }

  html body.admin-bar.vlg-theme #wpadminbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    z-index: -1 !important;
  }

  html body.admin-bar.vlg-theme .vlg-site-header,
  html body.admin-bar.vlg-theme.vlg-sticky-header .vlg-site-header {
    top: 0 !important;
  }

  html body.admin-bar.vlg-theme.vlg-mobile-categories-only .vlg-nav.is-open,
  html body.admin-bar.vlg-theme.vlg-mobile-categories-only.vlg-menu-open .vlg-nav.is-open,
  html body.admin-bar.vlg-theme .vlg-nav.is-open,
  html body.admin-bar.vlg-theme.vlg-menu-open .vlg-nav.is-open {
    top: 76px !important;
    max-height: calc(100dvh - 84px) !important;
  }

  html body.admin-bar.vlg-theme .vlg-nav.is-open .vlg-nav-inner {
    max-height: calc(100dvh - 84px) !important;
  }

  html body.admin-bar.vlg-theme .vlg-nav.is-open .vlg-mobile-nav-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 3 !important;
    background: inherit !important;
  }
}
