/* ===== 顶部栏 ===== */
.topbar {
  background: #111;
  color: #fff;
  width: 100%;
  z-index: 1000;
}
.topbar-inner {
  height: 76px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 32px;
}
.topbar-logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.topbar-logo img {
  max-height: 34px;
  width: auto;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px !important;
  text-decoration: none;
  font-family: var(--font-family-sans);
}
.topbar-contact span { color: #fff !important; font-size: 12px !important; font-weight: 300; line-height: 16px; }
.topbar-contact:hover, .topbar-contact:hover span { color: var(--theme-color-light); }
.topbar-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.7;
}
@font-face{font-family:'gs-iconfont';font-display:swap;src:url('/template/assets/font/gs-iconfont.woff2') format('woff2');font-weight:normal;font-style:normal;}
.gs-icon{font-style:normal;-webkit-font-smoothing:antialiased;}
.gs-icon::before{font-family:'gs-iconfont';}
.gs-icon-phone::before{content:'\e60c';}
.gs-icon-email::before{content:'\e608';}
i.topbar-icon.gs-icon{display:inline-block;font-size:14px;line-height:14px;text-align:center;color:#fff;}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-navButton {
  display: none !important;
}
.nav-backdrop {
  display: none !important;
}
.header-search .searchToggle,
.topbar-search-btn {
  display: none;
}
.header-search .search-form,
.topbar-search .search-form {
  display: block;
}
.header-search .search-form .bg-search,
.topbar-search .search-form .bg-search {
  display: none;
}
.header-search .search-form .btn-search,
.topbar-search .search-form .btn-search {
  display: none;
}
.header-search .search-form .icon-close-fix,
.topbar-search .search-form .icon-close-fix {
  display: none;
}
.topbar-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 0 16px;
  height: 36px;
  width: 280px;
}
.topbar-search-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-right: 8px;
}
.topbar-search-input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  width: 100%;
  font-family: var(--font-family-sans);
}
.topbar-search-input::placeholder { color: rgba(255,255,255,0.5); }
.topbar-lang { cursor: pointer; position: relative; }
.topbar-lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-family-sans);
}
.topbar-lang-current span { color: #fff; }
.lang-code {
  font-weight: 600;
  font-size: 12px;
  min-width: 20px;
}
.lang-label { opacity: 0.7; font-size: 12px; }
.lang-arrow { width: 10px; height: 10px; filter: invert(1); }
.topbar-lang .droplist { display: none; }
.topbar-lang:hover .droplist { display: block; }
.topbar-lang .droplist .list {
  position: absolute;
  left: 0;
  top: 100%;
  background: #111;
  padding: 8px 0;
  border-radius: 0 0 8px 8px;
  min-width: 180px;
  z-index: 1001;
}
.topbar-lang .droplist .list a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px 8px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  font-family: var(--font-family-sans);
}
.topbar-lang .droplist .list a span { color: #fff; }
.topbar-lang .droplist .list a:hover,
.topbar-lang .droplist .list a.current {
  background: var(--theme-color-light);
  color: #fff;
}
.topbar-lang .droplist .list a:hover span,
.topbar-lang .droplist .list a.current span { color: #fff; }
.lang-code-item {
  font-weight: 700;
  min-width: 24px;
}

/* ===== 菜单栏 ===== */
.navbar {
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  z-index: 999;
  position: relative;
}
.navbar-inner {
  height: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.nav {
  display: flex;
  align-items: center;
}
.navButton { display: none; }
.menu {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 48px;
}
.navitem-row {
  display: contents;
}
.navitem-toggle {
  display: none;
}
.sub2-row {
  display: contents;
}
.sub2-toggle {
  display: none;
}
.menu .navitem {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 0;
}
.menu .navitem:first-child {
  justify-content: flex-start;
  padding-left: 0;
  min-width: 0;
}
.menu .navitem a {
  font-family: 'Poppins', var(--font-family-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: normal;
  text-transform: uppercase;
  color: rgb(245, 245, 245);
  height: 100%;
  padding: 0 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  transition: color 0.2s;
  text-rendering: geometricPrecision;
}
.menu .navitem:first-child a {
  padding-left: 14px;
}
.menu .navitem:hover a,
.menu .navitem.active a {
  color: #fff;
}
.menu .navitem:hover,
.menu .navitem.active {
  background: #333;
}

/* ===== 三级折叠菜单 ===== */
@media screen and (min-width: 1101px) {
  .submenu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 998;
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }
  .submenu.show {
    opacity: 1;
    visibility: visible;
  }
  .submenu .subwrap {
    opacity: 0;
    visibility: hidden;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-top: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    max-width: 1400px;
    margin: 0 auto;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    position: absolute;
    left: 0;
    right: 0;
  }
  .submenu .subwrap.show {
    opacity: 1;
    visibility: visible;
  }
  /* Company / Support / Contact Us 紧凑下拉，不全宽 */
  .submenu .subwrap.company,
  .submenu .subwrap.support,
  .submenu .subwrap.contact-us {
    max-width: none;
    margin: 0;
    position: absolute;
    right: auto;
  }
  .submenu .subwrap.company .subitem,
  .submenu .subwrap.support .subitem,
  .submenu .subwrap.contact-us .subitem {
    max-width: none;
    position: relative;
  }
  .submenu .subwrap.company {
    width: 200px;
  }
  .submenu .subwrap.company .sub-right {
    display: none;
  }
  .submenu .subwrap.company .sub-left {
    width: 100%;
  }
  .submenu .subwrap.support {
    width: 200px;
  }
  .submenu .subwrap.support .sub-left {
    width: 100%;
  }
  /* 后三项 sub-right 改为绝对定位浮层，hover 二级分类时弹出 */
  .submenu .subwrap.support .sub-right {
    position: absolute;
    left: 100%;
    top: 0;
    width: 260px;
    padding: 30px 20px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #d0d0d0;
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    z-index: 10;
  }
  .submenu .subwrap.support .sub-right:has(.sub3-group.active) {
    display: grid;
  }
  /* 后三项二级链接：有子分类时右侧加箭头 */
  .submenu .subwrap.company .sub2-link.has-children,
  .submenu .subwrap.support .sub2-link.has-children,
  .submenu .subwrap.contact-us .sub2-link.has-children {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  /* hover 时用伪元素桥接二级链接和三级浮层之间的间隙 */
  .submenu .subwrap.support .sub2-link.has-children::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 10px;
    height: 100%;
    z-index: 9;
  }
  .submenu .subwrap.company .sub2-link.has-children::after,
  .submenu .subwrap.support .sub2-link.has-children::after,
  .submenu .subwrap.contact-us .sub2-link.has-children::after {
    content: '›';
    font-size: 20px;
    font-weight: 600;
    color: #999;
    line-height: 1;
  }
  .submenu .subwrap.support .sub3-card {
    text-align: left;
    padding: 6px 8px;
    border-radius: 4px;
  }
  .submenu .subwrap.support .sub3-card:hover {
    background: #f0f0f0;
  }
  .submenu .subitem {
    display: flex;
    padding: 30px 0 !important;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
  }
  .sub-left {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .sub2-link {
    display: block;
    padding: 8px 16px;
    font-size: 12px;
    line-height: 16px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-family: var(--font-family-sans);
    font-weight: 400;
    transition: background 0.2s, color 0.2s;
  }
  .sub2-link span {
    font-size: 12px;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
  }
  .sub2-link:hover,
  .sub2-link.active {
    background: #f0f0f0 !important;
    color: var(--theme-color);
  }
  .sub-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    padding-right: 8px;
  }
  .sub3-group {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }
  .sub3-group.active {
    display: grid;
  }
  .sub3-card {
    text-align: center;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    padding: 8px 12px;
    transition: background 0.2s, color 0.2s;
  }
  .sub3-card:hover {
    background: #f0f0f0;
  }
  .sub3-card:hover .sub3-img {
    background: #f0f0f0;
  }
  .sub3-img {
    width: 140px;
    aspect-ratio: 1;
    background: #f6f7fa;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 4px;
  }
  .sub3-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
  }
  .sub3-name {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #333;
    font-family: var(--font-family-sans);
    transition: color 0.2s, font-weight 0.2s;
  }
  /* Company / Support / Contact Us 三级分类不显示图片，纯文本左对齐 */
  .submenu .subwrap.company .sub3-img,
  .submenu .subwrap.support .sub3-img,
  .submenu .subwrap.contact-us .sub3-img {
    display: none;
  }
  .submenu .subwrap.company .sub3-card,
  .submenu .subwrap.support .sub3-card,
  .submenu .subwrap.contact-us .sub3-card {
    text-align: left;
    display: block;
    padding: 8px 16px;
  }
}

/* ===== 滚动上滑固定导航栏 ===== */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #111;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  visibility: hidden;
}
.sticky-nav.show {
  transform: translateY(0);
  visibility: visible;
}
.sticky-nav-inner {
  height: 52px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 !important;
  display: flex;
  align-items: center;
}
.sticky-nav-logo {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}
.sticky-nav-logo img {
  max-height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
}
.sticky-nav-nav .menu {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 52px;
}
.sticky-nav-nav .menu .navitem {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 0;
}
.sticky-nav-nav .menu .navitem:first-child {
  justify-content: flex-start;
  padding-left: 0;
  min-width: 0;
}
.sticky-nav-nav .menu .navitem a {
  font-family: 'Poppins', var(--font-family-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: normal;
  text-transform: uppercase;
  color: rgb(245, 245, 245);
  height: 100%;
  padding: 0 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  transition: color 0.2s;
  text-rendering: geometricPrecision;
}
.sticky-nav-nav .menu .navitem:first-child a {
  padding-left: 14px;
}
.sticky-nav-nav .menu .navitem:hover a,
.sticky-nav-nav .menu .navitem.active a {
  color: #fff;
}
.sticky-nav-nav .menu .navitem:hover,
.sticky-nav-nav .menu .navitem.active {
  background: #333;
}
/* sticky-nav submenu 定位相对于 sticky-nav */
.sticky-nav-submenu {
  top: 52px;
}
.sticky-nav-menu a {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-family-sans);
  line-height: 52px;
}
.sticky-nav-menu a:hover {
  color: var(--theme-color-light);
}


/* ===== 移动端响应式 ===== */
@media screen and (max-width: 1700px) {
  .sticky-nav-logo { display: none; }
}
@media screen and (max-width: 1100px) {
  .topbar-inner { height: 44px; max-width: 100%; padding: 0 16px; }
  .topbar-left { gap: 16px; }
  .topbar-contact span { font-size: 12px; }
  .topbar-contact:nth-child(2) { display: none; }
  .topbar-search-form { width: 180px; height: 24px; }
  .topbar-search-input { font-size: 12px; }
  .lang-label { display: none; }

  .navbar { position: relative; width: 100%; }
  .navbar.mobile-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    animation: mobileSlideDown 0.25s ease forwards;
  }
  @keyframes mobileSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
  }

  .navbar-inner { height: 44px; max-width: 100%; padding: 0 16px; position: relative; display: flex; align-items: center; }
  .nav { width: 100%; display: flex; align-items: center; }
  .navButton {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    height: 44px;
    width: 44px;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0;
  }
  .navButton::before,
  .navButton::after {
    position: absolute;
    content: '';
    width: 20px;
    height: 2px;
    background: #fff;
    left: 0;
    border-radius: 1px;
    transition: transform 0.25s ease, top 0.25s ease, box-shadow 0.25s ease;
  }
  /* 三条横线：上 14px，中 21px，下 28px，间距完全对等 5px */
  .navButton::before {
    top: 14px;
    box-shadow: 0 7px 0 0 #fff;
  }
  .navButton::after {
    top: 28px;
  }
  /* 激活时变成十字叉：都在 top: 21px 以中心完全正交对称旋转 */
  .nav.active .navButton::before {
    top: 21px;
    box-shadow: none;
    transform: rotate(45deg);
  }
  .nav.active .navButton::after {
    top: 21px;
    transform: rotate(-45deg);
  }

  .menu {
    display: none;
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    height: auto;
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  }
  .nav.active .menu { display: flex; }
  .menu .navitem {
    height: auto;
    min-height: 48px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .navitem-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
  }
  .navitem-row a {
    flex: 1;
    line-height: 48px;
    font-size: 15px;
    display: block;
    width: auto;
    padding: 0 16px;
    box-sizing: border-box;
    color: #f5f5f5;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: normal;
  }
  .navitem-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    user-select: none;
  }
  .navitem-toggle::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: #888;
    line-height: 1;
    transition: color 0.2s;
  }
  .navitem.has-children > .navitem-row > .navitem-toggle {
    display: flex !important;
  }
  .menu .navitem:first-child a,
  .menu .navitem .navitem-row a {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .navitem.expanded > .navitem-row > .navitem-toggle::after {
    content: '−';
    color: var(--theme-color-light);
  }

  .sticky-nav { display: none; }

  .navbar > .submenu {
    display: none !important;
  }
  .subwrap {
    position: static !important;
    display: none;
    background: #181818;
    border: none;
    box-shadow: none;
    max-width: 100%;
    margin: 0;
    width: 100%;
  }
  .subwrap.company,
  .subwrap.support,
  .subwrap.contact-us {
    position: static !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .subwrap .subitem {
    display: block;
    padding: 0 !important;
    gap: 0;
    max-width: 100%;
    margin: 0;
  }
  .sub-left {
    width: 100%;
  }
  .sub2-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .menu .navitem .sub2-link {
    flex: 1;
    display: block;
    padding: 12px 16px 12px 28px;
    font-size: 13px;
    color: #ccc;
    text-decoration: none;
    border-radius: 0;
    border-bottom: none;
    background: transparent;
    text-transform: none;
    letter-spacing: normal;
  }
  .menu .navitem .sub2-link.active {
    background: rgba(255,255,255,0.06);
    color: #fff;
  }
  .sub2-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
  }
  .sub2-toggle::after {
    content: '+';
    font-size: 18px;
    font-weight: 300;
    color: #777;
    line-height: 1;
    transition: color 0.2s;
  }
  .sub2-row.has-children > .sub2-toggle {
    display: flex !important;
  }
  .sub2-row.active > .sub2-toggle::after {
    content: '−';
    color: var(--theme-color-light);
  }
  .sub-right {
    display: block;
    width: 100%;
    padding: 0;
    background: #202020;
    border: none;
  }
  .sub3-group {
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }
  .sub3-group.active {
    display: block;
  }
  .menu .navitem .sub3-card {
    display: block;
    text-align: left;
    padding: 8px 16px 8px 42px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    text-decoration: none;
  }
  .menu .navitem .sub3-card:hover { background: rgba(255,255,255,0.06); }
  .sub3-img { display: none; }
  .sub3-name { font-size: 12px; color: #aaa; text-transform: none; }
  /* subwrap 被 JS 移入 .navitem 后，需压过桌面 .menu .navitem a 的 uppercase */
  .menu .navitem .subwrap a { text-transform: none; }
}
@media screen and (max-width: 768px) {
  body {
    padding-top: 48px;
  }
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    z-index: 1000;
    background: #111;
    transition: transform 0.3s ease;
    transform: translateY(0);
  }
  .topbar.mobile-hidden {
    transform: translateY(-100%);
  }
  body.nav-open .topbar {
    transform: translateY(0) !important;
  }
  .topbar-inner {
    position: relative;
    height: 48px;
    max-width: 100%;
    padding: 0 16px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .topbar-left {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .topbar-navButton {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 0;
    z-index: 10;
  }
  .topbar-navButton::before,
  .topbar-navButton::after {
    position: absolute;
    content: '';
    width: 20px;
    height: 2px;
    background: #fff;
    left: 8px;
    border-radius: 1px;
    transition: transform 0.25s ease, top 0.25s ease, box-shadow 0.25s ease;
  }
  .topbar-navButton::before {
    top: 11px;
    box-shadow: 0 7px 0 0 #fff;
  }
  .topbar-navButton::after {
    top: 25px;
  }
  .topbar-navButton.active::before,
  .nav.active .topbar-navButton::before {
    top: 18px;
    box-shadow: none;
    transform: rotate(45deg);
  }
  .topbar-navButton.active::after,
  .nav.active .topbar-navButton::after {
    top: 18px;
    transform: rotate(-45deg);
  }
  .topbar-contact {
    display: none !important;
  }
  .topbar-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .topbar-logo img {
    max-height: 26px;
    max-width: 140px;
    height: auto;
    display: block;
  }
  .topbar-right {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
  }
  .topbar-lang-current {
    padding-left: 6px;
  }
  
  /* 移动端合并导航栏：消除第二行高度，抽屉菜单直接承接于顶部信息栏正下方 */
  .navbar {
    position: relative;
    width: 100%;
    height: 0 !important;
    min-height: 0 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible;
    z-index: 999;
  }
  .navbar-inner {
    display: block !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: visible;
  }
  .navbar-inner .navButton {
    display: none !important;
  }
  .nav {
    display: block !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: visible;
  }
  /* 移动端菜单抽屉：从左向右滑入动画，右侧留出空间并提供暗色遮罩（参考 cannabmall.com） */
  .menu {
    position: fixed;
    top: 48px;
    left: 0;
    width: calc(100% - 60px);
    max-width: 320px;
    height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    background: #111;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    box-shadow: 6px 0 24px rgba(0,0,0,0.6);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex !important;
    visibility: hidden;
    pointer-events: none;
  }
  .nav.active .menu,
  .navbar.active .menu,
  body.nav-open .menu {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: 48px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  body.nav-open .nav-backdrop {
    display: block !important;
    opacity: 1 !important;
  }
  .header-search,
  .topbar-search {
    position: static;
    margin-left: 6px;
  }
  .header-search .searchToggle,
  .topbar-search-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    line-height: 0 !important;
  }
  .header-search .searchToggle svg,
  .topbar-search-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: #ffffff !important;
  }
  .header-search .searchToggle img,
  .topbar-search-btn img {
    width: 15px !important;
    height: 15px !important;
    display: block !important;
  }
  
  /* 独立搜索层 open_sear（1:1 复制参考 cannabmall.com） */
  .header-search .search-form,
  .topbar-search .search-form {
    display: none;
  }
  .header-search .search-form.open_sear,
  .topbar-search .search-form.open_sear {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 99990 !important;
  }
  .header-search .search-form .bg-search,
  .topbar-search .search-form .bg-search {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 99991 !important;
  }
  .header-search .search-form form.search-bar,
  .topbar-search .search-form form.search-bar {
    display: flex !important;
    position: absolute !important;
    left: 50% !important;
    top: 50px !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 24px) !important;
    max-width: 520px !important;
    height: 40px !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
  }
  .header-search .search-form .topbar-search-icon,
  .topbar-search .search-form .topbar-search-icon {
    display: none !important;
  }
  .header-search .search-form .input-group-field,
  .topbar-search .search-form .input-group-field {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    padding: 10px 45px 10px 16px !important;
    line-height: 20px !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #464646 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    outline: none !important;
    border-radius: 0 !important;
  }
  .header-search .search-form .input-group-field::placeholder,
  .topbar-search .search-form .input-group-field::placeholder {
    color: #464646 !important;
    opacity: 0.6 !important;
  }
  .header-search .search-form .btn-search,
  .topbar-search .search-form .btn-search {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    cursor: pointer !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
  }
  .header-search .search-form .btn-search svg,
  .topbar-search .search-form .btn-search svg {
    width: 18px !important;
    height: 18px !important;
    fill: #333333 !important;
  }
  .header-search .search-form .icon-close-fix,
  .topbar-search .search-form .icon-close-fix {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    right: 0 !important;
    top: -40px !important;
    width: 32px !important;
    height: 32px !important;
    cursor: pointer !important;
    z-index: 100000 !important;
  }
  .header-search .search-form .icon-close-fix svg,
  .topbar-search .search-form .icon-close-fix svg {
    fill: #ffffff !important;
    width: 22px !important;
    height: 22px !important;
  }
  .topbar-lang .droplist .list {
    right: 0;
    left: auto;
    min-width: 160px;
  }
}
