/* ==================== 头部导航样式 Start ==================== */
header.black .common-header {
  background-color: #121212;
}
header.gray .common-header {
  background-color: #F5F5F7;
}
header.gray .common-header .logo {
  -webkit-filter: brightness(0);
  filter: brightness(0);
}
header.gray .common-header .menu,
header.gray .common-header .search,
header.gray .common-header .shop {
  color: #000;
}
header.white .common-header {
  background-color: #fff;
}
header.white .common-header .logo {
  -webkit-filter: brightness(0);
  filter: brightness(0);
}
header.white .common-header .menu,
header.white .common-header .search,
header.white .common-header .shop {
  color: #000;
}
header.white2 .common-header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(0.521vw);
  -webkit-backdrop-filter: blur(0.521vw);
}
header.white2 .common-header .logo {
  -webkit-filter: brightness(0);
  filter: brightness(0);
}
header.white2 .common-header .menu,
header.white2 .common-header .search,
header.white2 .common-header .shop {
  color: #000;
}
.common-header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  z-index: 999;
  max-width: 750px;
  transform: translateX(-50%);
  transition: background-color 0.4s;
}
.common-header .svg-icon {
  font-size: 0;
}
.common-header .mobile-nav {
  position: relative;
}
.common-header .mobile-nav,
.common-header .mobile-menus {
  display: block;
}
.common-header .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding-left: 30px;
  padding-right: 30px;
}
.common-header .left-head,
.common-header .right-head {
  display: flex;
  align-items: center;
}
.common-header .right-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.common-header .menu {
  font-size: 40px;
  color: #fff;
  margin-left: 20px;
}
.common-header .search,
.common-header .shop {
  font-size: 30px;
  color: #fff;
  display: block;
}
.common-header .logo {
  text-align: center;
  font-size: 12px;
  height: 40px;
}
.common-header .logo img {
  height: 100%;
}
.common-header .shop {
  margin-left: 30px;
}
.common-header .language {
  width: 18px;
  height: 18px;
  background: url(../images/m-icon/language.svg) no-repeat center center;
  background-size: 100%;
}
.common-header .search-form {
  background-color: #fff;
  position: absolute;
  top: 100%;
  z-index: 999;
  width: 100%;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
}
.common-header .search-form .body {
  padding: 20px;
  display: flex;
  align-items: stretch;
}
.common-header .search-form.active {
  opacity: 1;
  visibility: visible;
}
.common-header .search-form input {
  min-width: 0;
  flex-grow: 1;
  border: 1px solid #ECECEC;
  padding: 0 20px;
  color: #333;
  font-size: 26px;
}
.common-header .search-form button {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}
.common-header .search-form button:after {
  content: "";
  display: block;
  width: 50%;
  height: 50%;
  background: url(../images/m-icon/search.svg) no-repeat center center;
  background-size: 100%;
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}
.common-header .search-form .link {
  display: none;
  margin-top: 10px;
  padding-left: 10px;
}
.common-header .search-form .link .title {
  font-size: 12px;
  color: #000;
  margin-bottom: 8px;
}
.common-header .search-form .link ul {
  padding-bottom: 10px;
}
.common-header .search-form .link ul > li {
  transition: all 0.4s;
  border-radius: 5px;
}
.common-header .search-form .link ul > li:last-child {
  margin-bottom: 0;
}
.common-header .search-form .link ul > li > a {
  display: block;
  color: #0071E3;
  font-size: 12px;
  line-height: 1.1;
  padding: 4px 0;
}
.common-header .search-form .link ul > li .icon {
  font-size: 14px;
  margin-right: 10px;
}
.mobile-menus {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  width: 100%;
  transition: all 0.2s;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}
.mobile-menus.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.mobile-menus.active .nav-box {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.mobile-menus .nav-box {
  width: 90%;
  background-color: #fff;
  overflow: auto;
  height: 100vh;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  transform: translateX(-100%);
  opacity: 1;
  visibility: hidden;
  transition: all 0.4s;
}
.mobile-menus .nav-box .close {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  margin: 15px auto 0;
  margin-right: 20px;
}
.mobile-menus .nav-box .close:before,
.mobile-menus .nav-box .close:after {
  content: "";
  background-color: #333;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.mobile-menus .nav-box .close:before {
  width: 100%;
  height: 1px;
}
.mobile-menus .nav-box .close:after {
  width: 1px;
  height: 100%;
}
.mobile-menus .nav-box > ul {
  min-width: 0;
  flex-grow: 1;
  padding: 20px;
  font-size: 14px;
}
.mobile-menus .nav-box > ul a {
  display: block;
}
.mobile-menus .nav-box > ul > li {
  font-size: inherit;
}
.mobile-menus .nav-box > ul > li.sub.active > a:after {
  display: none;
}
.mobile-menus .nav-box > ul > li.sub.active > a .icon::before {
  display: none;
}
.mobile-menus .nav-box > ul > li.sub > a:after {
  display: none;
}
.mobile-menus .nav-box > ul > li.sub > a .icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 100%;
  z-index: 99;
  right: -10px;
}
.mobile-menus .nav-box > ul > li.sub > a .icon:before,
.mobile-menus .nav-box > ul > li.sub > a .icon:after {
  content: "";
  display: block;
  background-color: #333;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}
.mobile-menus .nav-box > ul > li.sub > a .icon:before {
  width: 1px;
  height: 12px;
}
.mobile-menus .nav-box > ul > li.sub > a .icon:after {
  width: 12px;
  height: 1px;
}
.mobile-menus .nav-box > ul > li > a {
  color: #000;
  font-size: inherit;
  height: 36px;
  line-height: 36px;
  padding-right: 15px;
  position: relative;
  letter-spacing: 0.6px;
}
.mobile-menus .nav-box > ul > li > a > span {
  opacity: 0.5;
}
.mobile-menus .nav-box > ul > li > a:before,
.mobile-menus .nav-box > ul > li > a:after {
  z-index: 99;
}
.mobile-menus .nav-box > ul > li > a:after {
  content: "";
  position: absolute;
  right: 0.4em;
  top: 50%;
  display: block;
  width: 0.5em;
  height: 0.5em;
  border-right: 1.2px solid;
  border-top: 1.2px solid;
  transform: rotate(45deg) translateY(-50%);
  margin-top: -0.15em;
  opacity: 0.8;
}
.mobile-menus .nav-box > ul > li > ul {
  display: none;
  font-size: 13px;
  padding-bottom: 10px;
}
.mobile-menus .nav-box > ul > li > ul > li {
  font-size: inherit;
}
.mobile-menus .nav-box > ul > li > ul > li > a {
  color: #888;
  font-size: inherit;
  height: 30px;
  line-height: 30px;
  border-bottom: 1px dashed #eee;
}
.mobile-menus .nav-box > ul > li > ul > li > ul {
  font-size: 13px;
}
.mobile-menus .nav-box > ul > li > ul > li > ul > li {
  font-size: inherit;
}
.mobile-menus .nav-box > ul > li > ul > li > ul > li > a {
  color: #888;
  font-size: inherit;
  height: 30px;
  line-height: 30px;
  border-bottom: 1px dashed #eee;
}
.mobile-menus .other-menus {
  flex-shrink: 0;
}
.mobile-menus .other-menus > ul > li > a {
  background-color: #F6F6F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  line-height: 1;
  font-size: 13.8px;
  color: #1d1d1d;
  border-bottom: 1px solid #ececec;
}
.mobile-menus .other-menus > ul > li > a img {
  width: 16px;
}
.mobile-menus .other-menus > ul > li > ul {
  display: none;
  font-size: 14px;
}
.mobile-menus .other-menus > ul > li > ul > li {
  background-color: #efefef;
}
.mobile-menus .other-menus > ul > li > ul > li > a {
  padding: 10px 25px;
  display: block;
  color: #333;
  font-size: inherit;
}
@media screen and (max-width: 749px) {
  .common-header {
    max-width: 100vw;
    left: 0;
    transform: translateX(0);
  }
  .common-header .head {
    height: 12vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .common-header .menu {
    font-size: 5.333vw;
    margin-left: 2.667vw;
  }
  .common-header .search,
  .common-header .shop {
    font-size: 4vw;
  }
  .common-header .logo {
    font-size: 1.6vw;
    height: 5.333vw;
  }
  .common-header .shop {
    margin-left: 4vw;
  }
  .common-header .language {
    width: 2.4vw;
    height: 2.4vw;
  }
  .common-header .search-form {
    box-shadow: 0 0.667vw 0.667vw 0 rgba(0, 0, 0, 0.1);
  }
  .common-header .search-form .body {
    padding: 2.667vw;
  }
  .common-header .search-form input {
    border: 0.133vw solid #ECECEC;
    padding: 0 2.667vw;
    font-size: 3.467vw;
  }
  .common-header .search-form button {
    width: 8vw;
    height: 8vw;
  }
  .common-header .search-form .link {
    margin-top: 1.333vw;
    padding-left: 1.333vw;
  }
  .common-header .search-form .link .title {
    font-size: 1.6vw;
    margin-bottom: 1.067vw;
  }
  .common-header .search-form .link ul {
    padding-bottom: 1.333vw;
  }
  .common-header .search-form .link ul > li {
    border-radius: 0.667vw;
  }
  .common-header .search-form .link ul > li > a {
    font-size: 1.6vw;
    padding: 0.533vw 0;
  }
  .common-header .search-form .link ul > li .icon {
    font-size: 1.867vw;
    margin-right: 1.333vw;
  }
}
/* ==================== 头部导航样式 End ==================== */
