/* 2.27.3 手机顶栏（≤1024px 才加载）：菜单图标、字标、收藏（数量角标）、搜索。效果稿 temp/veezoon/mock/mobile-nav-v2.html。
   结构由 MobileChrome::print_header 插入 .whb-mobile-right；顶栏购物车与国旗按钮不再显示（国家与货币在目录抽屉底部）。 */
html.gbmh-on .whb-general-header .whb-mobile-right > :not(.gbmh) { display: none !important; }
html.gbmh-on .whb-general-header .whb-mobile-left { flex: 0 0 auto; }
html.gbmh-on .whb-general-header .whb-mobile-center { flex: 1 1 auto; justify-content: flex-start; padding-left: 4px; }
html.gbmh-on .whb-general-header .whb-mobile-right { flex: 0 0 auto; }
html.gbmh-on .whb-general-header .whb-mobile-center .wd-logo img { max-width: 132px !important; height: auto; }

/* 菜单按钮：只留线性图标，文字给读屏。 */
html.gbmh-on .whb-general-header .wd-header-mobile-nav > a {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 12px; color: #0e1b15;
}
html.gbmh-on .whb-general-header .wd-header-mobile-nav .wd-tools-icon { display: grid; place-items: center; width: 24px; height: 24px; }
html.gbmh-on .whb-general-header .wd-header-mobile-nav .wd-tools-icon::before { display: none !important; }
html.gbmh-on .whb-general-header .wd-header-mobile-nav .wd-tools-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.gbmh { display: flex; align-items: center; gap: 2px; }
.gbmh .wd-header-wishlist { display: block; margin: 0; padding: 0; }
.gbmh .gbmh-btn {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 12px;
  color: #0e1b15; text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.gbmh .gbmh-btn:active { background: #f1f5f2; }
.gbmh .wd-tools-icon { position: relative; display: block; width: 24px; height: 24px; }
.gbmh .wd-tools-icon::before { display: none !important; }
.gbmh svg, .gbmh-burger { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gbmh .gbmh-count {
  position: absolute; top: -6px; right: -8px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px;
  border: 2px solid #fff; border-radius: 9px; background: #116c46; color: #fff; font: 700 10.5px/1 'Golos Text', Arial, sans-serif;
  box-sizing: content-box;
}
.gbmh .gbmh-count.is-zero { display: none; }
.gbmh .gbmh-btn:focus-visible, html.gbmh-on .wd-header-mobile-nav > a:focus-visible { outline: 2px solid #116c46; outline-offset: 2px; }

/* 首页头部下的搜索条、手机目录抽屉里的搜索框已去掉（2.27.3）；旧缓存页面里残留的也隐藏。 */
.gbv5-mhero-wrap .gbv5-msearch, .gbmd .gbmd-search { display: none !important; }
