.site-header-wrap {
  width: 100%;
  background: #f3f3f3;
  border-bottom: 1px solid #ececec;
  position: relative;
  z-index: 9999;
}

.site-header {
  max-width: 1680px;
  height: 96px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.site-logo {
  flex: 0 0 auto;
}

.site-logo a {
  display: flex;
  align-items: center;
  height: 96px;
  line-height: 0;
}

.site-logo img {
  display: block;
  height: 52px;
  width: auto;
}

.site-menu-toggle {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
  z-index: 10020;
}

.site-menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111;
  border-radius: 2px;
}

.site-menu-toggle span:nth-child(1) {
  top: 0;
}

.site-menu-toggle span:nth-child(2) {
  top: 10px;
}

.site-menu-toggle span:nth-child(3) {
  top: 20px;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-nav-close {
  display: none;
}

.site-menu {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 54px;
}

.site-menu > li {
  position: relative;
}

.site-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 96px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.site-menu > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: #e4d54a;
  transition: width 0.22s ease;
}

.site-menu > li:hover > a::after,
.site-menu > li.active > a::after {
  width: 36px;
}

.menu-arrow {
  font-size: 9px;
  line-height: 1;
  transform: translateY(0);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 176px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #f2f2f2;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  z-index: 10000;
}

.has-dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #e8e8e8;
  color: #111;
}

.dropdown-large > .dropdown-menu {
  min-width: 290px;
  max-height: 72vh;
  overflow-y: auto;
}

.menu-group-title {
  padding: 10px 18px 4px;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.site-lang {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 34px;
  white-space: nowrap;
}

.site-lang a,
.site-lang span {
  text-decoration: none;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.site-lang a.current {
  color: #111;
  font-weight: 700;
}

.site-lang a:hover {
  color: #111;
}

/* 平板 */
@media screen and (max-width: 1200px) {
  .site-header {
    height: 86px;
    padding: 0 20px;
  }

  .site-logo a {
    height: 86px;
  }

  .site-logo img {
    height: 44px;
  }

  .site-menu {
    gap: 28px;
  }

  .site-menu > li > a {
    height: 86px;
    font-size: 13px;
  }

  .site-menu > li > a::after {
    bottom: 12px;
    height: 3px;
  }

  .site-lang {
    margin-left: 18px;
  }

  .site-lang a,
  .site-lang span {
    font-size: 12px;
  }
}

/* H5 */
@media screen and (max-width: 768px) {
  .site-header {
    height: 72px;
    padding: 0 16px;
    position: relative;
    z-index: 10010;
  }

  .site-logo a {
    height: 72px;
  }

  .site-logo img {
    height: 36px;
  }

  .site-menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 84%;
    max-width: 360px;
    height: 100vh;
    background: #f5f5f5;
    z-index: 10030;
    display: block;
    padding: 22px 20px 24px;
    box-sizing: border-box;
    transition: right 0.28s ease;
    overflow-y: auto;
  }

  .site-nav.open {
    right: 0;
  }

  .site-nav-close {
    display: block;
    text-align: right;
    font-size: 30px;
    line-height: 1;
    color: #111;
    margin-bottom: 18px;
    cursor: pointer;
  }

  .site-menu {
    display: block;
    margin: 0;
    padding: 0;
  }

  .site-menu > li {
    border-bottom: 1px solid #e5e5e5;
  }

  .site-menu > li > a {
    height: auto;
    min-height: 56px;
    width: 100%;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    padding: 0;
  }

  .site-menu > li > a::after {
    display: none;
  }

  .menu-arrow {
    font-size: 10px;
  }

  .dropdown-menu {
    display: block;
    position: static;
    transform: none;
    min-width: auto;
    background: transparent;
    box-shadow: none;
    padding: 0 0 10px 0;
    margin-top: -4px;
  }

  .dropdown-menu li a {
    padding: 8px 0 8px 14px;
    font-size: 14px;
    line-height: 1.5;
  }

  .dropdown-large > .dropdown-menu {
    min-width: auto;
    max-height: none;
    overflow: visible;
  }

  .menu-group-title {
    padding: 10px 0 4px 14px;
    font-size: 13px;
  }

  .site-lang {
    margin: 20px 0 0;
    justify-content: flex-start;
  }

  .site-lang a,
  .site-lang span {
    font-size: 14px;
  }
}