/* H5 language / currency — top corners above uni tabbar & header */
.jzw-h5-lang,
#lang-switcher.jzw-h5-lang,
#currency-switcher.jzw-h5-lang{
  position:fixed;
  top:calc(10px + env(safe-area-inset-top, 0px));
  bottom:auto;
  right:12px;
  left:auto;
  z-index:2147483000;
  max-width:46vw;
  font-size:12px;
  pointer-events:auto;
}
#currency-switcher.jzw-h5-lang{
  right:auto;
  left:12px;
}
.jzw-h5-lang .lang-switch-btn,
.jzw-h5-lang .currency-switch-btn{
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.96);
  border-radius:999px;
  padding:7px 12px;
  box-shadow:0 6px 18px rgba(15,23,42,.16);
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#1f2937;
  font-weight:600;
  cursor:pointer;
}
.jzw-h5-lang .lang-switch-menu,
.jzw-h5-lang .currency-switch-menu{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  bottom:auto;
  min-width:150px;
  max-width:min(80vw,260px);
  max-height:50vh;
  overflow:auto;
  margin:0;
  padding:6px 0;
  list-style:none;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  box-shadow:0 8px 24px rgba(15,23,42,.12);
}
#currency-switcher .currency-switch-menu{right:auto;left:0;}
.jzw-h5-lang .lang-switch-menu li,
.jzw-h5-lang .currency-switch-menu li{
  padding:8px 12px;
  word-break:break-word;
  cursor:pointer;
}
.jzw-h5-lang .lang-switch-menu li[aria-selected="true"],
.jzw-h5-lang .lang-switch-menu li:hover,
.jzw-h5-lang .currency-switch-menu li[aria-selected="true"],
.jzw-h5-lang .currency-switch-menu li:hover{
  background:#fff7ed;
  color:#ff6a00;
}
