/* camringcn header: extra nav + mobile two-tier bar (anputidepepsupply layout, no member) */
.web_head .head_right{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  flex-wrap:nowrap !important;
  gap:14px !important;
  height:auto !important;
  width:auto !important;
  min-width:0;
  overflow:visible !important;
  white-space:nowrap;
}
.web_head .head_right > *{
  position:relative !important;
  right:auto !important;
  top:auto !important;
  left:auto !important;
  float:none !important;
  flex:0 0 auto !important;
}
.web_head .xy-header-extra-nav{
  position:static !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  margin:0;
  padding:0;
  list-style:none;
  height:auto;
  width:auto;
  overflow:visible;
  flex:0 0 auto !important;
}
.web_head .xy-header-extra-nav > li{
  display:inline-flex !important;
  align-items:center;
  position:relative !important;
  float:none !important;
  margin:0;
  padding:0 2px;
  overflow:visible;
  line-height:1;
  flex:0 0 auto;
}
.web_head .xy-member-nav,
.web_head .xy-wishlist-nav,
.web_head .xy-header-search,
.web_head .xy-basket-nav{
  color:#fff;
  opacity:1;
}
.web_head .xy-basket-nav .icon,
.web_head .xy-basket-nav .icon > svg,
.web_head .xy-header-search,
.web_head .xy-header-search a,
.web_head .xy-header-search .icon > svg{
  color:#fff;
  fill:currentColor;
}
.web_head .xy-header-search a,
.web_head .xy-header-search a.xy-header-search-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.web_head .xy-header-search .icon,
.web_head .xy-header-search .icon > svg{
  width:18px;
  height:18px;
}
.web_head .xy-header-extra-fallback{ display:none !important; }

/* 系统已注入搜索时，隐藏主题 #btn-search，避免两颗搜索叠在一起 */
.web_head .head_right:has(.xy-header-search) > .btn--search,
.web_head .head_right:has(.xy-header-search) > #btn-search{
  display:none !important;
}
/* 旧 prisna 语言块停用；桌面 GTranslate 跟原版：搜索右侧 | 旗 + English + 下箭头 */
.web_head .change-language{
  display:none !important;
}
.web_head .xy-header-lang{
  display:inline-flex !important;
  align-items:center !important;
  overflow:visible !important;
  z-index:21;
  margin:0 0 0 2px !important;
  padding:0 0 0 12px !important;
  border-left:1px solid rgba(255,255,255,.55);
  color:#fff;
}
.web_head .xy-header-lang-switcher,
.web_head .xy-header-lang-switcher #gt_float_wrapper{
  position:relative !important;
  top:auto !important;
  right:auto !important;
  left:auto !important;
  overflow:visible !important;
  line-height:1 !important;
}
.web_head .xy-header-lang-switcher .gt_float_switcher{
  position:relative !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
  line-height:1 !important;
  border-radius:0 !important;
}
.web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected{
  background:transparent !important;
  float:none !important;
  cursor:pointer !important;
  border-radius:0 !important;
  overflow:visible !important;
  text-transform:none !important;
}
.web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  min-height:30px !important;
  height:30px !important;
  padding:0 !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  cursor:pointer !important;
}
.web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang .gt-lang-code{
  display:inline-block !important;
  position:static !important;
  top:auto !important;
  min-width:0;
  color:#fff !important;
  font-weight:400 !important;
  font-size:14px !important;
  line-height:1 !important;
  text-transform:none !important;
  letter-spacing:0;
}
.web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow{
  display:inline-block !important;
  height:10px !important;
  width:10px !important;
  margin:0 0 0 2px !important;
  background-size:8px !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:%23ffffff'/></svg>") !important;
  opacity:.95 !important;
}
.web_head .xy-header-lang-switcher .gt_float_switcher img,
.web_head .xy-header-lang-switcher .gt-selected img{
  display:inline-block !important;
  width:20px !important;
  height:14px !important;
  max-width:20px !important;
  max-height:14px !important;
  margin:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  flex-shrink:0 !important;
  overflow:visible !important;
  border-radius:0 !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:auto !important;
  padding:10px 8px !important;
  background:#fff !important;
  border:1px solid #e5e5e5 !important;
  border-radius:8px !important;
  box-shadow:0 8px 28px rgba(0,0,0,.14) !important;
  z-index:9999 !important;
  display:none !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  box-sizing:border-box !important;
}
.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options.gt-open{
  display:grid !important;
}
.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options a{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  padding:7px 8px !important;
  color:#444 !important;
  font-size:12px !important;
  text-decoration:none !important;
}
.web_head .xy-header-lang-switcher .gt_float_switcher .gt_options a:hover{
  background:#f5f5f5 !important;
  color:#0f7577 !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;
  color:#0f7577 !important;
  border-top:1px solid #eee !important;
  margin-top:6px !important;
}
.web_head .btn--search,
.web_head .head_right > .btn--search{
  position:relative !important;
  right:auto !important;
  top:auto !important;
  flex:0 0 30px !important;
  width:30px !important;
  height:30px !important;
  margin:0 !important;
}
.web_head .xy-basket-nav{
  margin:0 !important;
  overflow:visible;
  min-width:24px;
}

@media only screen and (max-width: 950px){
  body .web_head .xy-member-nav,
  body .web_head .xy-wishlist-nav,
  body .web_head .xy-basket-nav{
    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;
  }
  .mobile-head-items .mobile-head-item.mobile-head-home,
  .mobile-head-items .mobile-head-item.mobile-head-aside,
  .mobile-head-items .mobile-head-item.mobile-head-social,
  .mobile-head-items .mobile-head-item.mobile-head-search{
    display:none !important;
  }
  .mobile-head-items .mobile-head-item.mobile-head-nav,
  .mobile-head-items .mobile-head-item.mobile-head-nav.xy-mobile-nav-slot{
    width:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    float:none !important;
  }
  .mobile-head-items .mobile-head-nav > .title,
  .mobile-head-items .mobile-head-nav > .title:before,
  .mobile-head-items .xy-mobile-nav-slot > .title{
    display:none !important;
    content:none !important;
    position:absolute !important;
    width:0 !important;
    height:0 !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
    visibility:hidden !important;
    font-size:0 !important;
  }
  .web_head .head_right{
    display:flex !important;
    margin-left:auto !important;
    gap:4px !important;
  }
  .web_head .head_right > *{
    margin:0 !important;
    padding:0 !important;
  }
  .web_head .xy-mobile-nav-trigger,
  .web_head .head_right .xy-mobile-nav-trigger{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:32px !important;
    height:32px !important;
    margin:0 !important;
    padding:0 !important;
    color:#222 !important;
    cursor:pointer !important;
    font-family:'fontawesome', FontAwesome !important;
    line-height:32px !important;
    text-align:center !important;
    position:relative !important;
    z-index:20 !important;
  }
  .web_head .head_right .xy-mobile-nav-trigger:before{
    content:'\f0c9' !important;
    font-size:24px !important;
    color:#222 !important;
    line-height:32px !important;
  }
  .web_head .xy-header-extra-nav{
    display:inline-flex !important;
    align-items:center !important;
    gap:4px !important;
    margin:0 !important;
    padding:0 !important;
  }
  .web_head .xy-header-extra-nav > li{
    margin:0 !important;
    padding:0 !important;
  }
  .web_head .xy-header-extra-nav > li.xy-header-search{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    visibility:visible !important;
    width:32px !important;
    height:32px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
    pointer-events:auto !important;
  }
  .web_head .xy-header-extra-nav > li.xy-header-lang{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    visibility:visible !important;
    width:auto !important;
    min-width:32px !important;
    height:32px !important;
    margin:0 !important;
    padding:0 0 0 8px !important;
    border-left:1px solid rgba(0,0,0,.22);
    overflow:visible !important;
    pointer-events:auto !important;
  }
  .web_head .xy-header-extra-nav > li.xy-header-search{
    overflow:visible !important;
    cursor:pointer;
  }
  .web_head .xy-header-extra-nav > li.xy-header-search > a,
  .web_head .xy-header-search a.xy-header-search-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:32px !important;
    height:32px !important;
    pointer-events:auto !important;
    cursor:pointer;
  }
  .web_head .xy-header-search .icon,
  .web_head .xy-header-search .icon > svg{
    width:18px !important;
    height:18px !important;
    max-width:18px !important;
    max-height:18px !important;
    pointer-events:none;
  }
  .web_head .xy-header-lang-switcher,
  .web_head .xy-header-lang-switcher #gt_float_wrapper,
  .web_head .xy-header-lang-switcher .gt_float_switcher{
    width:auto !important;
    height:32px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
  }
  .web_head .xy-header-search,
  .web_head .xy-header-search > a,
  .web_head .xy-header-search a.xy-header-search-btn,
  .web_head .xy-header-search .icon,
  .web_head .xy-header-search .icon > svg{
    color:#222 !important;
    fill:currentColor !important;
  }
  .web_head .change-language{
    display:none !important;
  }
  .web_head .xy-header-lang{
    color:#111 !important;
  }
  .web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang{
    min-height:32px !important;
    width:auto !important;
    height:32px !important;
    padding:0 4px !important;
    justify-content:center !important;
    overflow:visible !important;
    color:#111 !important;
    gap:6px !important;
  }
  .web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang .gt-lang-code,
  .web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang .gt-lang-code font{
    display:inline-block !important;
    color:#111 !important;
    font-size:13px !important;
    font-weight:500 !important;
  }
  .web_head .xy-header-lang-switcher .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow{
    display:inline-block !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:%23111111'/></svg>") !important;
  }
  .web_head .xy-header-lang-switcher .gt_float_switcher img,
  .web_head .xy-header-lang-switcher .gt-selected img{
    width:20px !important;
    height:14px !important;
    max-width:20px !important;
    max-height:14px !important;
    object-fit:contain !important;
  }
  .web_head .xy-header-lang-switcher .gt_options,
  .web_head .xy-header-lang-switcher .gt_options.gt-open,
  .web_head .xy-header-lang-switcher .gt_options.gt-expanded{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }
}

/* 全屏搜索：黑底 + 青绿点缀，居中大输入 */
html.xy-search-open,
html.xy-search-open body{
  overflow:hidden !important;
}
.js .main-wrap--move{
  transform:none !important;
  height:auto !important;
}
.js .main-wrap--move .btn--search{
  pointer-events:auto !important;
  opacity:1 !important;
}
.web-search,
.js .web-search{
  position:fixed !important;
  z-index:10050 !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:80px 24px 40px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:left !important;
  background:rgba(8,10,12,.82) !important;
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .35s ease, visibility .35s ease;
}
.js .web-search::before{
  display:none !important;
}
.js .web-search.search--open,
.js .search--open{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
.web-search .xy-search-inner{
  position:relative;
  z-index:1;
  width:min(740px, 92vw);
  opacity:0;
  transform:translateY(18px);
  transition:opacity .45s ease .05s, transform .45s ease .05s;
}
.search--open .xy-search-inner{
  opacity:1;
  transform:none;
}
.web-search .xy-search-kicker{
  margin:0 0 22px;
  color:#0f7577;
  font-size:11px;
  font-weight:700;
  letter-spacing:.38em;
  text-transform:uppercase;
  line-height:1;
}
.web-search .head-search{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  border-bottom:1px solid rgba(255,255,255,.28) !important;
  transition:border-color .25s ease;
}
.web-search .head-search:focus-within{
  border-bottom-color:#0f7577 !important;
}
.web-search .head-search form{
  display:block;
  position:relative;
  margin:0;
}
.web-search .head-search .search-ipt,
.web-search .search-ipt{
  position:static !important;
  display:block !important;
  box-sizing:border-box !important;
  width:100% !important;
  height:auto !important;
  left:auto !important;
  top:auto !important;
  margin:0 !important;
  padding:8px 108px 18px 0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  color:#fff !important;
  font-family:'Montserrat', Arial, Helvetica, sans-serif !important;
  font-size:32px !important;
  font-weight:500 !important;
  line-height:1.25 !important;
  letter-spacing:.01em !important;
  transform:none !important;
  transition:none !important;
  -webkit-appearance:none;
  appearance:none;
}
.web-search .search-ipt::-webkit-input-placeholder{
  color:rgba(255,255,255,.32) !important;
  font-weight:400 !important;
}
.web-search .search-ipt::-moz-placeholder{
  opacity:1;
  color:rgba(255,255,255,.32) !important;
  font-weight:400 !important;
}
.web-search .search-ipt:-ms-input-placeholder{
  color:rgba(255,255,255,.32) !important;
}
.web-search .search-ipt::-webkit-search-cancel-button,
.web-search .search-ipt::-webkit-search-decoration{
  -webkit-appearance:none;
}
.web-search .head-search .search-btn,
.web-search .search-btn{
  position:absolute !important;
  right:0 !important;
  top:auto !important;
  bottom:16px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  border:0 !important;
  color:#0f7577 !important;
  font-family:'MontserratSemiBold', 'Montserrat', Arial, sans-serif !important;
  font-size:12px !important;
  font-weight:700 !important;
  letter-spacing:.2em !important;
  text-transform:uppercase !important;
  cursor:pointer !important;
  transition:color .2s ease, letter-spacing .2s ease;
}
.web-search .search-btn:hover{
  color:#13a0a3 !important;
  letter-spacing:.26em;
}
.web-search .head-search .search-attr,
.web-search .search-attr{
  display:block !important;
  width:auto !important;
  margin:18px 0 0 !important;
  padding:0 !important;
  text-align:left !important;
  color:rgba(255,255,255,.38) !important;
  font-size:12px !important;
  letter-spacing:.08em !important;
  line-height:1.4 !important;
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
}
.web-search .btn--search-close{
  position:absolute !important;
  top:28px !important;
  right:28px !important;
  z-index:2;
  display:block !important;
  width:44px !important;
  height:44px !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
  border:0 !important;
  border-radius:0 !important;
  opacity:.8 !important;
  cursor:pointer;
  transition:opacity .2s ease, transform .2s ease;
}
.web-search .btn--search-close:hover{
  opacity:1 !important;
  transform:rotate(90deg);
}
.web-search .btn--search-close:before,
.web-search .btn--search-close:after{
  content:"";
  position:absolute;
  left:10px;
  top:21px;
  width:24px;
  height:1px;
  background:#fff;
}
.web-search .btn--search-close:before{ transform:rotate(45deg); }
.web-search .btn--search-close:after{ transform:rotate(-45deg); }

@media only screen and (max-width: 950px){
  .web-search,
  .js .web-search{
    padding:72px 20px 32px !important;
    align-items:stretch !important;
  }
  .web-search .xy-search-inner{
    width:100%;
  }
  .web-search .head-search .search-ipt,
  .web-search .search-ipt{
    font-size:22px !important;
    padding:6px 86px 14px 0 !important;
  }
  .web-search .btn--search-close{
    top:16px !important;
    right:12px !important;
  }
}

/* 侧栏关闭按钮：不依赖缺失的 mobile_close.png，避免叉显示不全 */
.mobile-head-item .side-content-wrap{
  overflow:visible !important;
  z-index:10070 !important;
  background:#fff !important;
}
.mobile-body-mask{
  z-index:10020 !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  background:rgba(17,17,17,.45) !important;
}
.mobile-ico-close{
  position:absolute !important;
  right:-50px !important;
  top:12px !important;
  z-index:10052 !important;
  display:block !important;
  width:40px !important;
  height:40px !important;
  margin:0 !important;
  padding:0 !important;
  background:#fff !important;
  background-image:none !important;
  border:0 !important;
  border-radius:50% !important;
  box-shadow:0 2px 12px rgba(0,0,0,.22) !important;
  overflow:visible !important;
  pointer-events:auto !important;
  cursor:pointer;
}
.mobile-ico-close:before,
.mobile-ico-close:after{
  content:"" !important;
  position:absolute;
  left:11px;
  top:19px;
  width:18px;
  height:2px;
  background:#111;
  border-radius:1px;
}
.mobile-ico-close:before{ transform:rotate(45deg); }
.mobile-ico-close:after{ transform:rotate(-45deg); }
@media only screen and (max-width: 360px){
  .mobile-ico-close{
    right:10px !important;
    top:10px !important;
    box-shadow:0 1px 8px rgba(0,0,0,.18) !important;
  }
}
