
/* (22 Nov 2026, owner: "first row links have dead click") phones/tablets: the top-row menus (account, resources, language,
   settings) were marked open by js/mobile_nav_patch.js but no rule showed them - the shared rule for the other sites
   (shared/aeris_storefront_mobile_header_compact.php) is not loaded here. Show the open menu, inside the screen. */
@media (max-width: 980px) {
  html body #mainHeader .header-top-bar .top-bar-dropdown-wrap.at-top-bar-dropdown-open { z-index: 10052 !important; }
  html body #mainHeader .header-top-bar .top-bar-dropdown-wrap.at-top-bar-dropdown-open .top-bar-dropdown,
  html body .top-bar-dropdown.at-top-bar-dropdown-mobile-panel {
    display: block !important; visibility: visible !important; opacity: 1 !important; pointer-events: auto !important;
    z-index: 2147483647 !important; max-width: calc(100vw - 16px) !important; max-height: 70vh !important; overflow-y: auto !important;
  }
  /* the top row is icon-only on phones (shared CSS sets its links to font-size 0) - links INSIDE an open menu need their words */
  html body #mainHeader .header-top-bar .top-bar-left .top-bar-dropdown a,
  html body #mainHeader .header-top-bar .top-bar-right .top-bar-dropdown a,
  html body #mainHeader .header-top-bar .top-bar-dropdown-wrap .top-bar-dropdown a {
    font-size: 14px !important; line-height: 1.3 !important; display: flex !important; align-items: center !important; gap: 10px !important;
    padding: 10px 14px !important; white-space: normal !important; width: auto !important; min-width: 170px !important; color: #1f2937 !important;
  }
  html body #mainHeader .header-top-bar .top-bar-dropdown a i { font-size: 15px !important; width: 18px !important; text-align: center !important; }
}
