/* 华为云产品下拉：仅样式与层级，交互见 hw-product-mega.js（不加载官方 header UMD / portalLogin / libs） */

#hwProductMega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--hw-mega-top-offset, 56px);
  z-index: 11000;
  max-height: calc(100vh - var(--hw-mega-top-offset, 56px) - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  box-sizing: border-box;
  background: #fff;
  border-top: 1px solid #ebebeb;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  -webkit-overflow-scrolling: touch;
}

#hwProductMega[hidden] {
  display: none !important;
}

#hwProductMega .header-dropdown-product {
  position: relative;
}

#hwProductMega .dropdown-product-item.hw-product-mega-filtered-out {
  display: none !important;
}

#hwProductMega .link-searcher-clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}
