/* 导航菜单 */
.nav {
  width: 1400px;
  height: 100px; /* 9.2593vh × 10.8 */
  line-height: 100px; /* 9.2593vh × 10.8 */
  background: #FFFFFF;
  /* padding: 0 288px;  */
  margin: 0 auto;
  position: relative;
}

.nav ul {
  font-size: 16px; /* 0.85vw × 19.2 */
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav>ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav>ul>li {
  position: relative;
}
.has-robot {
  padding-right: 672px;
}
.has-robot a {
  font-size: 26px;
}
.has-child .logo {
  width: 101px; /* 5.2604vw × 19.2 */
  height: 51px; /* 4.7222vh × 10.8 */
}

.has-child .down {
  width: 17px; /* 0.8854vw × 19.2 */
  height: 10px; /* 0.9259vh × 10.8 */
  display: inline-block;
}

.has-child .input, .has-child .input.active, .has-child .input:focus{
  height: 38px; /* 3.5vh × 10.8 */
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0 10px; /* 0.5vw × 19.2 */
}
.search-box-li {
  padding: 0;
  overflow: hidden;
  width: 0; 
  opacity: 0;
  transition: all 0.3s ease;
}
.search-box-li.show {
  width: 173px; /* 9vw × 19.2 */
  opacity: 1;
}
.search-box-li input {
  width: 173px; /* 9vw × 19.2 */
  height: 38px; /* 3.5vh × 10.8 */
  padding: 10px; /* 0.5vw × 19.2 */
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
  box-sizing: border-box;
}
.has-child .search {
  width: 24px; /* 1.25vw × 19.2 */
  height: 24px; /* 1.25vw × 19.2 */
  margin-right: 19px; /* 1vw × 19.2 */
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}
.has-child .tel {
  width: 24px; /* 1.25vw × 19.2 */
  height: 24px; /* 1.25vw × 19.2 */
  display: inline-block;
  vertical-align: middle;
}

.has-child .phone {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 24px; /* 1.25vw × 19.2 */
  color: #333333;
  margin-left: 10px; /* 0.5vw × 19.2 */
  vertical-align: middle;
}
.has-child .back {
  height: 43px; /* 4vh × 10.8 */
  background-color: #cd1e1e;
  line-height: 43px; /* 4vh × 10.8 */
  color: #ffffff;
  border-radius: 5px;
  text-align: center;
  width: 115px; /* 6vw × 19.2 */
  position: absolute;
  top: 27px; /* 2.5vh × 10.8 */
  right: -180px; /* -12vw × 19.2 */
}

/* 鼠标悬停出现二级 */
.sub {
  position: absolute;
  left: 0;
  top: 100%;
  background: rgba(255, 255, 255,0.9);
  border: 1px solid #ddd;
  list-style: none;
  margin: 0;
  width: 960px; /* 50vw × 19.2 */
  max-height: 514px; /* 45vh × 10.8 */
  overflow-y: auto;
  display: none !important;
  z-index: 999;
  padding: 16px 0; /* 1.5vh × 10.8 */
}
.nav > ul > li.has-child:nth-child(7) > .sub {
  width: 576px; /* 30vw × 19.2 */
}
.sub .has-flex {
  display: flex;
  justify-content: left;
}
.sub .has-flex .first-title {
  width: 192px; /* 10vw × 19.2 */
  text-align: center;
  padding: 22px; /* 2vh × 10.8 */
  background-color: rgba(245, 245, 245, 0.9);
  font-family: Source Han Sans CN;
  font-weight: bold;
  font-size: 24px; /* 1.25vw × 19.2 */
  color: #333333;
  line-height: 23px; /* 2.1296vh × 10.8 */
}
.sub .has-flex .sec-title {
  flex: 1;
  background-color: rgba(255, 255, 255,0.9);
  font-family: Source Han Sans CN;
  font-weight: bold;
  font-size: 24px; /* 1.25vw × 19.2 */
  color: #333333;
  line-height: 23px; /* 2.1296vh × 10.8 */
}
.sub .has-flex .sec-title .second a{
  font-size: 20px; /* 1.0417vw × 19.2 */
  color: #BD0F0F;
  display: flex;
  align-items: center;
}
.sub .has-flex .sec-title .second a img{
  width: 10px; /* 0.5208vw × 19.2 */
  height: 16px; /* 0.8333vw × 19.2 */
  margin-left: 10px; /* 0.5vw × 19.2 */
}
.sub .has-flex .sec-title .third-title {
  display: inline-block;
}
.sub .has-flex .sec-title .third-title a{
  font-size: 18px; /* 0.9375vw × 19.2 */
  color: #333333;
}

.sub li a {
  display: block;
  color: #333333;
  white-space: nowrap;
  text-decoration: none;
  font-size: 17px; /* 0.9vw × 19.2 */
  padding: 0 22px; /* 2vh × 10.8 */
}

.sub li a:hover {
  color: #147ADD;
  background: #f2f2f2;
}

.has-child:hover .sub {
  display: block !important;
}

.has-child .sub li {
  line-height: 54px; /* 5vh × 10.8 */
}

.nav ul span {
  color: #0962C6;
  display: inline-block;
}
.nav ul .divider {
  color: #cccccc;
  display: inline-block;
}

.nav a {
  font-weight: 400;
  position: relative;
  font-size: 20px; /* 1.0417vw × 19.2 */
  min-width: 86px; /* 4.5vw × 19.2 */
  display: inline-block;
  text-align: left;
}

.nav li:hover,
.nav .active {
}

/* 搜索弹框 */
.search-box {
  width: 1344px; /* 70vw × 19.2 */
  height: 518px; /* 48vh × 10.8 */
  background-color: #FFFFFF;
  position: absolute;
  top: 100px; /* 9.2593vh × 10.8 */
  left: 15%; /* 15vw × 19.2 */
  z-index: 999;
  padding: 162px 192px 0 192px; /* 15vh 10vw × 10.8 19.2 */
  display: none;
}
/* 搜索框显示状态 */
.search-box.show {
  display: block !important;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.search-box ul {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.search-box .search-txt {
  display: inline-block;
  width: 115px; /* 6vw × 19.2 */
  height: 65px; /* 6vh × 10.8 */
  line-height: 65px; /* 6vh × 10.8 */
  background-color: #BD0F0F;
  text-align: center;
  border-radius: 4px; /* 0.2083vw × 19.2 */
  cursor: pointer;
}
.search-box .search-txt img {
  width: 38px; /* 3.5185vh × 10.8 */
  height: 38px; /* 3.5185vh × 10.8 */
  margin: 0 auto;
  margin-top: 13px; /* 1.24075vh × 10.8 */
}
.search-box input {
  width: 826px; /* 43vw × 19.2 */
  height: 65px; /* 6vh × 10.8 */
  padding: 10px; /* 0.5vw × 19.2 */
  border: 1px solid #ddd;
  border-radius: 4px; /* 0.2083vw × 19.2 */
  outline: none;
  box-sizing: border-box;
  font-size: 20px; /* 1.0417vw × 19.2 */
  color: #333333;
}
.search-box h2 {
  margin: 16px 0 11px 0; /* 1.5vh 1vh × 10.8 */
  color: #E62A2A;
  font-size: 30px; /* 1.5625vw × 19.2 */
}
.search-box .new-product {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.search-box .new-product li {
  color: #333333;
  height: 49px; /* 4.5vh × 10.8 */
  font-size: 24px; /* 1.25vw × 19.2 */
}
.search-box .new-product li .new {
  width: 24px; /* 1.25vw × 19.2 */
  height: 24px; /* 1.25vw × 19.2 */
  display: inline-block;
  text-align: center;
  color: #FFFFFF;
  background: #E70000;
  border-radius: 3px;
  margin-left: 6px; /* 0.3vw × 19.2 */
  font-size: 15px; /* 0.7813vw × 19.2 */
}
.search-box .new-product li .fire {
  display: inline;
  width: 18px; /* 0.9375vw × 19.2 */
  height: 23px; /* 1.1979vw × 19.2 */
  margin-left: 10px; /* 0.5vw × 19.2 */
}
.search-box .colse {
  position: absolute;
  top: 22px; /* 2vh × 10.8 */
  right: 19px; /* 1vw × 19.2 */
  font-size: 40px; /* 2.0833vw × 19.2 */
  color: #333333;
  z-index: 999999;
  cursor: pointer;
}
.search-box .colse img {
  width: 24px; /* 1.25vw × 19.2 */
  height: 24px; /* 1.25vw × 19.2 */
}
/* 移动端适配 */
@media (max-width: 1200px) {
  .search-box {
    left: 0;
  }
  .nav {
    padding: 0 10px;
  }
}