/**
 * 顶栏语言 / 会员 / 询盘篮 — anputidepepsupply（白底黑图标）
 * 参考母版 gtranslate 美化，选择器改为 .web_head / .head_right
 */

:root {
  --xy-member-nav-avatar-bg: #222;
  --xy-member-nav-avatar-color: #fff;
  --xy-member-nav-icon-size: 24px;
  --xy-basket-nav-icon-size: 24px;
  --xy-basket-badge-bg: var(--xy-skin-primary, #8bc34a);
}

.web_head .head_right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  vertical-align: middle !important;
  overflow: visible !important;
  background-color: transparent !important;
}

.web_head .head_right .xy-header-extra-nav {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  vertical-align: middle !important;
  overflow: visible !important;
}

.web_head .head_right .xy-header-extra-nav > li {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow: visible !important;
  line-height: 1 !important;
}

.web_head .head_right .xy-header-extra-nav .xy-member-nav,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav,
.web_head .head_right .xy-header-extra-nav .xy-wishlist-nav {
  --xy-member-nav-icon-size: 24px;
  --xy-basket-nav-icon-size: 24px;
  --xy-member-nav-avatar-bg: #222;
  color: #222 !important;
  opacity: 1 !important;
}

.web_head .head_right .xy-header-extra-nav a {
  color: #222 !important;
}

.web_head .head_right .xy-header-extra-nav .xy-member-nav-login,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav > a,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav .icon,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav .icon > i,
.web_head .head_right .xy-header-extra-nav .xy-basket-nav .icon > svg {
  color: #222 !important;
  fill: currentColor !important;
}

/* 系统若已注入搜索，隐藏样板搜索钮，避免双份 */
.web_head .head_right:has(.xy-header-search) > .btn--search {
  display: none !important;
}

.web_head .xy-header-search-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.web_head .xy-header-search-btn .icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
}
.web_head .xy-header-search-btn .icon svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

/* —— gtranslate（对齐母版布局，配色适配红底） —— */
.web_head .xy-header-lang {
  display: inline-flex !important;
  align-items: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
  overflow: visible !important;
}

.web_head .xy-header-lang-switcher {
  line-height: 1 !important;
  overflow: visible !important;
}

.web_head .xy-header-lang-switcher #gt_float_wrapper {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  height: auto !important;
  z-index: 20 !important;
  display: block !important;
  overflow: visible !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher {
  position: relative !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px !important;
  border-radius: 0 !important;
  overflow: visible !important;
  line-height: 1 !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected {
  background: transparent !important;
  float: none !important;
  cursor: pointer !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 2px 0 6px !important;
  min-height: 40px !important;
  color: #222 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  line-height: 1.2 !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang:hover {
  color: var(--xy-skin-primary, #8bc34a) !important;
  opacity: 1 !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang .gt-lang-code {
  position: static !important;
  top: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  letter-spacing: 0.02em;
}

.web_head .xy-header-lang-switcher .gt_float_switcher img {
  width: 22px !important;
  height: 15px !important;
  max-width: 22px !important;
  max-height: 15px !important;
  margin: 0 !important;
  border-radius: 2px !important;
  vertical-align: middle !important;
  object-fit: cover !important;
  object-position: center !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  background: transparent !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
  height: 14px !important;
  width: 14px !important;
  background-size: 10px !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23222222'/></svg>") !important;
  opacity: 0.95 !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  width: 420px !important;
  max-width: min(420px, calc(100vw - 24px)) !important;
  max-height: min(70vh, calc(100vh - 110px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 10px 8px !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14) !important;
  z-index: 9999 !important;
  float: none !important;
  white-space: normal !important;
  display: none !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: min-content !important;
  align-content: start !important;
  justify-items: stretch !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options.gt-open {
  display: grid !important;
  opacity: 1 !important;
  transform: none !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options a {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 7px 8px !important;
  margin: 0 !important;
  color: #444 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  text-decoration: none !important;
  float: none !important;
  background: transparent !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options a:hover {
  background: #f5f5f5 !important;
  color: var(--xy-skin-primary, #8bc34a) !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options a img {
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 12px !important;
  max-width: 18px !important;
  max-height: 12px !important;
  margin: 1px 0 0 !important;
  background: #e8eef1 !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options.gt-expanded {
  width: 560px !important;
  max-width: min(560px, calc(100vw - 24px)) !important;
  max-height: min(78vh, calc(100vh - 96px)) !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options a.gt-lang-extra {
  display: none !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options.gt-expanded a.gt-lang-extra {
  display: flex !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options a.gt-lang-more {
  grid-column: 1 / -1 !important;
  justify-content: center !important;
  align-items: center !important;
  display: flex !important;
  gap: 6px !important;
  color: var(--xy-skin-primary, #8bc34a) !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  border-top: 1px solid #eee !important;
  margin-top: 6px !important;
  padding: 10px 12px 4px !important;
  text-decoration: none !important;
  word-break: normal !important;
}

.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options a.gt-lang-more:hover {
  background: transparent !important;
  color: #333 !important;
}

.web_head,
.web_head .layout,
.web_head .head_right {
  overflow: visible !important;
}

.web_head:has(.gt_options.gt-open) {
  z-index: 1001;
  overflow: visible !important;
}

@media only screen and (max-width: 950px) {
  /* 与手机顶栏断点一致；压过系统 xy-member-nav.css */
  body .web_head .head_right .xy-header-extra-nav > li.xy-header-lang,
  body .web_head .head_right .xy-header-extra-nav > li.xy-header-search,
  body .web_head .head_right .xy-header-extra-nav > li.xy-member-nav,
  body .web_head .head_right .xy-header-extra-nav > li.xy-basket-nav,
  body .web_head .head_right .xy-header-extra-nav > li.xy-wishlist-nav,
  body .web_head .head_right > .btn--search,
  body .web_head .head_layer .head_right,
  body .web_head li.xy-header-lang,
  body .web_head li.xy-header-search,
  body .web_head .btn--search {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
  }
}

@media screen and (max-width: 980px) {
  .web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang {
    padding-left: 4px !important;
    font-size: 12px !important;
    min-height: 36px !important;
  }
  .web_head .xy-header-lang-switcher .gt_float_switcher img {
    width: 18px !important;
    height: 12px !important;
    max-width: 18px !important;
    max-height: 12px !important;
  }
  .web_head .xy-header-lang-switcher .gt_float_switcher .gt_options,
  .web_head .xy-header-lang-switcher .gt_float_switcher .gt_options.gt-expanded {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    top: 72px !important;
    max-height: calc(100vh - 96px) !important;
    z-index: 10050 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 手机顶栏翻译侧栏 */
.xy-mobile-lang-panel{padding:4px 2px 12px;}
.xy-mobile-lang-panel .xy-mobile-lang-hd{
  margin:0 0 14px;padding:0 4px 10px;border-bottom:1px solid #eee;
  font-size:15px;font-weight:600;color:#222;text-transform:uppercase;letter-spacing:.04em;
}
.xy-mobile-lang-panel .xy-mobile-lang-empty{margin:12px 4px;color:#888;font-size:13px;}
.xy-mobile-lang-panel .xy-mobile-lang-list{list-style:none;margin:0;padding:0;}
.xy-mobile-lang-panel .xy-mobile-lang-list li{margin:0;padding:0;border-bottom:1px solid #f0f0f0;}
.xy-mobile-lang-panel .xy-mobile-lang-list a{
  display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;
  gap:10px;padding:12px 6px;color:#333;text-decoration:none;font-size:14px;line-height:1.3;
}
.xy-mobile-lang-panel .xy-mobile-lang-list a:active,
.xy-mobile-lang-panel .xy-mobile-lang-list a:hover{background:#f7f7f7;color:var(--xy-skin-primary, #8bc34a);}
.xy-mobile-lang-panel .xy-mobile-lang-list img{
  width:22px;height:15px;object-fit:cover;border-radius:2px;-webkit-flex-shrink:0;flex-shrink:0;
}
.xy-mobile-lang-panel .xy-mobile-lang-list span{min-width:0;}

/* 手机汉堡：黑条右侧导航按钮 + 侧滑抽屉 */
@media only screen and (max-width: 950px) {
  .mobile-head-items .mobile-head-item.mobile-head-home {
    display: none !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-nav {
    -webkit-order: 10;
    order: 10;
    -webkit-flex: 0 0 44px;
    flex: 0 0 44px;
    width: 44px;
    max-width: 44px;
    margin-left: auto !important;
    margin-right: 0 !important;
    overflow: hidden !important;
    position: relative;
    z-index: 2;
  }
  /* 有询盘篮时：篮在导航左侧，导航贴右 */
  .mobile-head-items .mobile-head-item.mobile-head-cart:not(.xy-mobile-cart-empty) {
    -webkit-order: 9;
    order: 9;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart:not(.xy-mobile-cart-empty) + .mobile-head-item.mobile-head-nav {
    margin-left: 0 !important;
  }
  /* 手机端不再使用侧栏分类抽屉 */
  .mobile-head-items .mobile-head-item.mobile-head-aside {
    display: none !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-nav > .title {
    display: block !important;
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    overflow: hidden !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    text-indent: -9999px;
  }
  .mobile-head-items .mobile-head-item.mobile-head-nav > .title:before {
    content: '\f0c9' !important;
    font-family: 'fontawesome', FontAwesome !important;
    font-size: 17px !important;
    line-height: 44px !important;
    text-indent: 0;
    display: block;
    text-align: center;
    color: #fff !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-nav .main-content-wrap.side-content-wrap {
    position: fixed !important;
    left: -70% !important;
    top: 0 !important;
    width: 70% !important;
    max-width: 320px !important;
    height: 100% !important;
    height: 100dvh !important;
    overflow: hidden !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-nav .main-content-wrap.show-content-wrap.side-content-wrap {
    left: 0 !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-nav .content-wrap > .head_nav {
    display: block !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-nav > .title:active,
  .mobile-head-items .mobile-head-item.mobile-head-nav > .title:focus {
    background: transparent !important;
    opacity: 1 !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-nav > .title:active:before,
  .mobile-head-items .mobile-head-item.mobile-head-nav > .title:focus:before {
    color: #fff !important;
  }

  /* 侧滑导航抽屉：白底菜单（classic 首页不含 home.css，须在此补全） */
  body > .mobile-body-mask,
  .mobile-body-mask {
    background: rgba(17, 17, 17, 0.55) !important;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .mobile-head-items > .mobile-head-item > .main-content-wrap.side-content-wrap:not(.show-content-wrap) {
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .mobile-head-item.mobile-head-nav .side-content-wrap,
  .mobile-head-item.mobile-head-nav .main-content-wrap,
  .mobile-head-item.mobile-head-language .side-content-wrap,
  .mobile-head-item.mobile-head-language .main-content-wrap,
  .mobile-head-item.mobile-head-aside .side-content-wrap,
  .mobile-head-item.mobile-head-aside .main-content-wrap {
    background-color: #ffffff !important;
    background: #ffffff !important;
  }
  .mobile-head-item.mobile-head-nav .side-content-wrap,
  .mobile-head-item.mobile-head-language .side-content-wrap,
  .mobile-head-item.mobile-head-aside .side-content-wrap {
    width: 70% !important;
    max-width: 320px;
    box-shadow: 8px 0 28px rgba(0, 0, 0, 0.18);
  }
  .mobile-head-item.mobile-head-nav .content-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    height: 100%;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
    box-sizing: border-box;
  }
  .mobile-head-item.mobile-head-nav .content-wrap:before {
    content: "MENU";
    display: block;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    padding: 20px 22px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #fff;
    background: var(--xy-skin-primary, #8bc34a);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }
  .mobile-head-item.mobile-head-nav .mobile-ico-close {
    width: 36px !important;
    height: 36px !important;
    right: -42px !important;
    top: 10px !important;
    border-radius: 50%;
    background: #fff !important;
    background-image: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 0 !important;
    line-height: 36px !important;
    text-align: center !important;
  }
  .mobile-head-item.mobile-head-nav .mobile-ico-close:before {
    content: '\f00d' !important;
    display: block !important;
    font-family: FontAwesome !important;
    font-size: 18px !important;
    line-height: 36px !important;
    color: #333 !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 6px 0 calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    list-style: none;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    background: #fff !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .mobile-head-item.mobile-head-nav .head_nav::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #eee;
    line-height: 1.35 !important;
    overflow: visible !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li:last-child {
    border-bottom: 0;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li:after {
    display: none !important;
    content: none !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li > a {
    position: relative;
    display: block !important;
    height: auto !important;
    min-height: 50px;
    line-height: 1.35 !important;
    padding: 14px 48px 14px 20px !important;
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #222 !important;
    background: transparent !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: break-word;
    box-sizing: border-box;
    -webkit-transition: color .2s ease, background .2s ease;
    transition: color .2s ease, background .2s ease;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li > a:before {
    display: none !important;
    content: none !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li > a > em,
  .mobile-head-item.mobile-head-nav .head_nav > li > a > b {
    color: inherit !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li > a > b {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    text-align: center !important;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 13px !important;
    color: #aaa !important;
    cursor: pointer;
    z-index: 5 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    -webkit-transition: transform .22s ease, color .22s ease, background .22s ease;
    transition: transform .22s ease, color .22s ease, background .22s ease;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li > a > b:active {
    background: rgba(0, 0, 0, 0.05);
  }
  .mobile-head-item.mobile-head-nav .head_nav > li > a > b:after {
    content: "\f107" !important;
    font-family: "fontawesome", FontAwesome !important;
    color: inherit !important;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    margin: 0 !important;
    pointer-events: none;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li.is-open > a > b {
    color: var(--xy-skin-primary, #8bc34a) !important;
    -webkit-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
  }
  .mobile-head-item.mobile-head-nav .head_nav > li.is-open > a {
    background: #fafafa !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li.nav-current > a,
  .mobile-head-item.mobile-head-nav .head_nav > li > a:active {
    color: var(--xy-skin-primary, #8bc34a) !important;
    background: #f8f8f8 !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav > li.nav-current > a {
    border-left: 3px solid var(--xy-skin-primary, #8bc34a);
    padding-left: 17px !important;
  }
  /* 子菜单：全宽灰底 + 左内边距层级（对齐 rbl-hardware） */
  .mobile-head-item.mobile-head-nav .head_nav li > ul {
    position: static !important;
    display: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 4px 0 10px !important;
    background: #f5f5f5 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-transform: none !important;
    transform: none !important;
    border: 0 !important;
    box-sizing: border-box !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav li ul:before {
    display: none !important;
    content: none !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav li.is-open > ul {
    display: block !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    border-bottom: 1px solid #ebebeb;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li:last-child {
    border-bottom: 0;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li:before,
  .mobile-head-item.mobile-head-nav .head_nav li ul li:before {
    display: none !important;
    content: none !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav li ul li {
    width: 100% !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li > a {
    position: relative !important;
    display: block !important;
    padding: 11px 48px 11px 28px !important;
    line-height: 1.45 !important;
    color: #444 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    text-transform: none !important;
    background: transparent !important;
    -webkit-transition: color .2s ease, background .2s ease;
    transition: color .2s ease, background .2s ease;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li > a:hover,
  .mobile-head-item.mobile-head-nav .head_nav li li.nav-current > a {
    color: var(--xy-skin-primary, #8bc34a) !important;
    background: #fff !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li.is-open > a {
    color: var(--xy-skin-primary, #8bc34a) !important;
    background: #fff !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li > a > b {
    display: block !important;
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    margin: 0 !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center !important;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 11px !important;
    color: #bbb !important;
    cursor: pointer;
    z-index: 5 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    -webkit-transition: transform .22s ease, color .22s ease;
    transition: transform .22s ease, color .22s ease;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li > a > b:after {
    content: "\f107" !important;
    font-family: "fontawesome", FontAwesome !important;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    margin: 0 !important;
    pointer-events: none;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li.is-open > a > b {
    color: var(--xy-skin-primary, #8bc34a) !important;
    -webkit-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
  }
  .mobile-head-item.mobile-head-nav .head_nav li li ul {
    background: #ececec !important;
    margin: 0 !important;
    padding: 2px 0 8px !important;
    border: 0 !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li li > a,
  .mobile-head-item.mobile-head-nav .head_nav li li li a {
    padding: 9px 20px 9px 40px !important;
    font-size: 13px !important;
    color: #666 !important;
    font-weight: 400 !important;
    text-transform: none !important;
  }
  .mobile-head-item.mobile-head-nav .head_nav li li li > a:hover,
  .mobile-head-item.mobile-head-nav .head_nav li li li.nav-current > a {
    color: var(--xy-skin-primary, #8bc34a) !important;
    background: #fff !important;
  }
  .mobile-head-item.mobile-head-language .content-wrap,
  .mobile-head-item.mobile-head-aside .content-wrap {
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 15px 12px !important;
  }

  /* 黑条：搜索 | 语言（靠左）；询盘篮 | 导航（靠右，篮在导航左） */
  .mobile-head-items {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    float: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    line-height: 44px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    z-index: 100010 !important;
    overflow: hidden !important;
  }
  .mobile-head-items > .mobile-head-item {
    position: relative;
    z-index: 1;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart.xy-mobile-cart-empty {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    -webkit-flex: 0 0 0 !important;
    flex: 0 0 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart.xy-mobile-cart-empty .xy-basket-nav,
  .mobile-head-items .mobile-head-item.mobile-head-cart.xy-mobile-cart-empty .xy-basket-nav[hidden],
  .mobile-head-items .mobile-head-item.mobile-head-cart.xy-mobile-cart-empty .xy-basket-nav.is-empty {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }
  .mobile-head-items > .mobile-head-item > .title {
    position: relative !important;
    z-index: 3 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    height: 44px !important;
    line-height: 44px !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  .mobile-head-items > .mobile-head-item > .main-content-wrap:not(.show-content-wrap) {
    pointer-events: none !important;
  }
  .mobile-head-items > .mobile-head-item > .main-content-wrap.show-content-wrap {
    pointer-events: auto !important;
  }
  .mobile-head-items .mobile-head-item {
    float: none !important;
    -webkit-flex: 0 0 44px;
    flex: 0 0 44px;
    width: 44px;
    max-width: 44px;
    min-width: 0;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart:not(.xy-mobile-cart-empty) {
    -webkit-order: 9;
    order: 9;
    margin-left: auto !important;
    margin-right: 0 !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-search {
    -webkit-order: 2;
    order: 2;
    -webkit-flex: 0 0 44px;
    flex: 0 0 44px;
    width: 44px;
    max-width: 44px;
    display: block;
    margin-left: 0 !important;
    margin-right: 0 !important;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }
  .mobile-head-items .mobile-head-item.mobile-head-search > .title {
    text-align: center;
    pointer-events: auto !important;
  }
  /* 搜索：全宽下拉条（勿用 45px 父级 width:100%） */
  .mobile-head-item.mobile-head-search .middle-content-wrap {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 44px !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 100018 !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
  .mobile-head-item.mobile-head-search .middle-content-wrap.middle-show-content-wrap {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    top: 44px !important;
  }
  .mobile-head-item.mobile-head-search .middle-content-wrap .content-wrap {
    overflow: visible !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .mobile-head-item.mobile-head-search .head-search {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 40px !important;
    margin: 0 !important;
    background: #f3f3f3 !important;
    border: 1px solid #e0e0e0;
    box-sizing: border-box !important;
  }
  .mobile-head-item.mobile-head-search .head-search form {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  .mobile-head-item.mobile-head-search .head-search .search-ipt {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 44px 0 12px !important;
    border: 0 !important;
    background: transparent !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 40px !important;
    box-sizing: border-box !important;
    -webkit-transform: none !important;
    transform: none !important;
    opacity: 1 !important;
    text-transform: none !important;
    font-weight: normal !important;
  }
  .mobile-head-item.mobile-head-search .head-search .search-btn {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 44px !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    cursor: pointer;
    font-size: 0 !important;
    line-height: 40px !important;
    text-align: center !important;
  }
  .mobile-head-item.mobile-head-search .head-search .search-btn:before {
    content: '\f002' !important;
    display: block !important;
    font-family: FontAwesome !important;
    font-size: 16px !important;
    line-height: 40px !important;
    color: #333 !important;
  }
  .mobile-head-item.mobile-head-search .head-search .search-btn:after {
    display: none !important;
    content: none !important;
  }
  .mobile-head-item.mobile-head-search .head-search .search-attr {
    display: none !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-language > .title {
    pointer-events: auto !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-language {
    -webkit-order: 3;
    order: 3;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart {
    position: relative;
    overflow: hidden !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart:not(.xy-mobile-cart-empty) {
    -webkit-flex: 0 0 44px;
    flex: 0 0 44px;
    width: 44px;
    max-width: 44px;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart > .title {
    display: none !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart .xy-basket-nav {
    display: block !important;
    visibility: visible !important;
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    pointer-events: auto !important;
    position: static !important;
    left: auto !important;
    list-style: none !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart .xy-basket-nav[hidden],
  .mobile-head-items .mobile-head-item.mobile-head-cart .xy-basket-nav.is-empty {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart .xy-basket-nav > a {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    opacity: 1 !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart .xy-basket-nav .icon,
  .mobile-head-items .mobile-head-item.mobile-head-cart .xy-basket-nav .icon svg {
    color: #fff !important;
    fill: currentColor !important;
    width: 16px !important;
    height: 16px !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-cart .xy-basket-badge {
    top: -2px !important;
    right: 4px !important;
  }

  /* 白条：仅 Logo（功能入口均在黑条，head_right 手机端隐藏防溢出） */
  .web_head,
  .index_web_head.web_head {
    padding: 44px 0 0 !important;
    height: auto !important;
    position: relative !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
  .index_web_head.web_head {
    position: relative !important;
  }
  .index_web_head.web_head .head_top {
    display: none !important;
  }
  .index_web_head.web_head .head_layer {
    background: #fff !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    max-width: 100% !important;
  }
  .index_web_head.web_head .head_layer .layout {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    overflow: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .index_web_head.web_head .logo {
    float: none !important;
    text-align: left !important;
    display: block !important;
    position: relative !important;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .index_web_head.web_head .logo a {
    display: block;
    max-width: 100%;
    overflow: hidden;
  }
  .index_web_head.web_head .logo img {
    display: block;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    max-height: 48px !important;
    object-fit: contain;
    object-position: left center;
  }
  .index_web_head.web_head .head_right {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
  }
  .index_web_head.web_head .nav_wrap {
    display: none !important;
  }
  /* Logo 旁重复汉堡（旧版 xy-mobile-nav-trigger）手机端隐藏 */
  .web_head .head_right .xy-mobile-nav-trigger,
  .web_head .head_layer .xy-mobile-nav-trigger,
  .web_head.web_head--classic .head_layer .xy-mobile-nav-trigger {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
  }

  /* 经典顶栏手机：Logo 居中 */
  .web_head.web_head--classic {
    padding-top: 44px !important;
    overflow-x: hidden !important;
  }
  .web_head.web_head--classic .head_top {
    display: none !important;
  }
  .web_head.web_head--classic .head_top .head_right .btn--search,
  .web_head.web_head--classic .head_top .head_top_right {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .web_head.web_head--classic .head_layer .layout {
    position: relative !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    justify-content: center !important;
  }
  .web_head.web_head--classic .head_layer .logo {
    float: none !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .web_head.web_head--classic .head_layer .logo a {
    display: inline-block;
  }
  .web_head.web_head--classic .head_layer .nav_wrap {
    display: none !important;
  }

  /* 侧滑抽屉打开：压过底栏(1030)/询盘(100001)/翻译(10050) 等 */
  body.mobile-drawer-open .mobile-head-items,
  .mobile-head-items:has(.show-content-wrap) {
    z-index: 100020 !important;
  }
  body.mobile-drawer-open .mobile-body-mask,
  .mobile-head-items:has(.show-content-wrap) .mobile-body-mask,
  body.mobile-drawer-open > .mobile-body-mask {
    z-index: 100019 !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
  }
  body.mobile-drawer-open .mobile-head-item .main-content-wrap.side-content-wrap.show-content-wrap,
  .mobile-head-items:has(.show-content-wrap) .mobile-head-item .main-content-wrap.side-content-wrap.show-content-wrap {
    z-index: 100021 !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 70% !important;
    max-width: 320px !important;
    height: 100% !important;
    height: 100dvh !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  body.mobile-drawer-open .mobile-head-item .main-content-wrap.side-content-wrap.show-content-wrap .content-wrap,
  .mobile-head-items:has(.show-content-wrap) .mobile-head-item .main-content-wrap.side-content-wrap.show-content-wrap .content-wrap {
    background: #ffffff !important;
    background-color: #ffffff !important;
  }
  body.mobile-drawer-open .mobile-head-item .mobile-ico-close,
  .mobile-head-items:has(.show-content-wrap) .mobile-head-item .mobile-ico-close {
    z-index: 100022 !important;
  }
}

/* 桌面顶栏下拉：字体与一级导航一致（压过 theme-skin 改色/缩小字号） */
@media only screen and (min-width: 951px) {
  .nav_wrap .head_nav li li,
  .nav_wrap .head_nav li li a,
  .nav_wrap .head_nav li li a:hover,
  .nav_wrap .head_nav li li.nav-current > a,
  .fixed-nav .nav_wrap .head_nav li li,
  .fixed-nav .nav_wrap .head_nav li li a {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: normal !important;
  }
  .nav_wrap .head_nav li li a:hover,
  .nav_wrap .head_nav li li.nav-current > a {
    color: #fff !important;
  }
}

/* 询盘篮抽屉：手机端压过顶栏黑条 / 侧滑 MENU（系统层 z-index 见 xy-mini-cart.css） */
@media only screen and (max-width: 950px) {
  #xy-mini-cart-root.xy-mini-cart-root,
  .xy-mini-cart-root {
    z-index: 100025 !important;
  }
  .xy-mini-cart-root.is-open .xy-mini-cart-panel,
  .xy-mini-cart-root.is-open .xy-mini-cart-head {
    position: relative;
    z-index: 1;
  }
}
