/* =========================================================
   Phase 18.9.5.28.5.8.5.1
   Header branches dropdown visibility + products most viewed UX fix
   Safe CSS only: no cart/checkout/payment/order selectors.
   ========================================================= */
.market-header,
.market-header .utility-strip,
.market-header .main-header,
.market-header .category-bar,
.market-header .category-nav,
.market-header .mega-holder{
  overflow: visible !important;
}
.market-header{
  z-index: 20000 !important;
  isolation: isolate;
}
.market-header .category-bar{
  position: relative !important;
  z-index: 20020 !important;
}
.market-header .category-nav{
  position: relative !important;
  z-index: 20025 !important;
}
.market-header .mega-holder{
  position: relative !important;
  z-index: 20030 !important;
}
.market-header .mega-holder:hover,
.market-header .mega-holder:focus-within{
  z-index: 20100 !important;
}
.market-header .mega-holder > .mega-menu,
.market-header .mega-holder > .mega-menu-v30{
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  z-index: 20120 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
  background: #fff !important;
  border: 1px solid #e3ebf7 !important;
  box-shadow: 0 30px 90px rgba(15,23,42,.20) !important;
  max-height: min(68vh, 560px) !important;
  overflow: auto !important;
}
.market-header .mega-holder:hover > .mega-menu,
.market-header .mega-holder:focus-within > .mega-menu,
.market-header .mega-holder:hover > .mega-menu-v30,
.market-header .mega-holder:focus-within > .mega-menu-v30{
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
.market-header .mega-menu .mega-grid,
.market-header .mega-menu-v30 .mega-grid{
  display: grid !important;
}
@media (max-width: 1050px){
  .market-header .mega-holder > .mega-menu,
  .market-header .mega-holder > .mega-menu-v30{
    display: none !important;
  }
}
.products-page-pro-v66 [name="most_viewed"]:checked + span + b,
.products-page-pro-v66 [name="sort"] option[value="views"]{
  font-weight: 900;
}
