.site-header {
  position: relative;
  z-index: 999;
  overflow: visible !important;
}

.site-header-top {
  background-color: #1a1a1a;
  height: 36px;
  line-height: 36px;
  font-size: 13px;
  color: #c8c8c8;
}

.site-header-top .container {
  height: 100%;
}

.site-header-top-left,
.site-header-top-right {
  display: flex;
  align-items: center;
}

.site-header-hotline {
  letter-spacing: 0.5px;
}

.site-header > .container {
  background-color: #ffffff;
  height: 64px;
  position: relative;
  z-index: 9999;
  overflow: visible !important;
}

.site-header .logo {
  max-width: 180px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .logo img {
  width: 100%;
  height: auto;
}

.site-header .lang-wrapper {
  position: relative;
  cursor: pointer;
}

.site-header .lang-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.site-header .lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  background: #fff;
  transition: all 0.25s ease;
}

.site-header .lang-btn:hover {
  border-color: #6D28D9;
  color: #6D28D9;
}

.site-header .lang-wrapper .lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 120px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 999;
}

.site-header .lang-wrapper:hover .lang-dropdown {
  display: block;
}

.site-header .lang-wrapper .lang-dropdown ul {
  list-style: none;
  padding: 6px 0;
  margin: 0;
}

.site-header .lang-wrapper .lang-dropdown ul li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
}

.site-header .lang-wrapper .lang-dropdown ul li a:hover {
  background-color: #f7f5ff;
  color: #6D28D9;
}

.menu-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.menu-mobile img {
  width: 22px;
  height: 22px;
}

@media (max-width: 991.98px) {
  header.site-header {
    height: auto !important;
    z-index: 99999 !important;
    position: sticky !important;
    top: 0 !important;
  }

  header.site-header .site-header-top {
    height: 32px !important;
    line-height: 32px !important;
    font-size: 12px !important;
  }

  header.site-header .site-header-top-right {
    display: none !important;
  }

  header.site-header > .container {
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: visible !important;
  }

  header.site-header .logo {
    flex-shrink: 0 !important;
    max-width: 140px !important;
  }

  header.site-header .site-header-right {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .menu-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin-left: 4px !important;
    cursor: pointer !important;
  }

  .menu-mobile img.open-icon {
    display: block !important;
  }

  .menu-mobile img.close-icon {
    display: none !important;
  }

  .menu-mobile.open img.open-icon {
    display: none !important;
  }

  .menu-mobile.open img.close-icon {
    display: block !important;
  }
}

@media (max-width: 575.98px) {
  .site-header-top {
    font-size: 11px;
    height: 28px;
    line-height: 28px;
  }

  .site-header > .container {
    height: 56px;
  }

  .site-header .logo {
    max-width: 120px;
  }

  .site-header .lang-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
}

/* ============ 桌面端导航（≥992px）按设计稿还原，移动端样式保持不变 ============ */
@media (min-width: 992px) {
  /* 头部内容整体向中间收拢：覆盖全局 88% 容器与大屏 bootstrap 1320px，统一为 1140px 居中 */
  header.site-header .site-header-top .container,
  header.site-header > .container {
    max-width: 1140px;
  }

  /* 菜单整体靠右，紧邻语言切换 */
  header.site-header .nav-pc {
    margin-left: auto;
    max-width: none;
    overflow: visible;
  }

  /* 设计稿顶部导航不显示“首页” */
  header.site-header .nav-pc .menu > ul > li:first-child {
    display: none;
  }

  header.site-header .nav-pc .menu > ul > li {
    padding: 0 16px;
  }

  header.site-header .nav-pc .menu > ul > li > a {
    font-size: 14px;
    font-weight: 400;
    color: #333;
  }

  /* 语言切换：去胶囊边框与地球图标，改为“| EN”分隔线样式 */
  header.site-header .lang-wrapper {
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid #e0e0e0;
  }

  header.site-header .lang-wrapper .lang-icon {
    display: none;
  }

  header.site-header .lang-btn {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    color: #333;
  }

  header.site-header .lang-btn:hover {
    color: #6D28D9;
  }
}