/* Header stacking fix — loaded from head.tpl */
.bg_overlay_search + header {
  position: relative;
  z-index: 200 !important;
}

#header .header-nav {
  position: relative;
  z-index: 210 !important;
  overflow: visible !important;
  isolation: isolate;
}

#header .header-top {
  position: relative;
  z-index: 1 !important;
}

#header .displayNav2 {
  position: relative;
  z-index: 211 !important;
  flex-shrink: 0;
}

#header .header-nav .dropdown,
#header .header-nav #_desktop_user_info,
#header .header-nav #_desktop_cart {
  position: relative;
  z-index: 212 !important;
}

#header .header-nav .dropdown-menu {
  z-index: 10050 !important;
}

#header .search_block_results,
#header .search_block_results .autocomplete-suggestions,
#header .autocomplete-suggestions {
  z-index: 40 !important;
}

body .ets_mm_megamenu.sticky_enabled.scroll_heading {
  z-index: 90 !important;
}

.bg_overlay_search:before {
  z-index: 80 !important;
}
