/* 导航菜单 */
.nav {
  width: 100%;
  height: 9.2593vh;
  line-height: 9.2593vh;
  background: #FFFFFF;
  padding: 0 15vw;
  position: relative;
}

.nav ul {
  font-size: 0.85vw;
  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: 35vw;
}
.has-robot a {
  font-size: 1.3542vw;
}
.has-child .logo {
  width: 5.2604vw;
  height: 4.7222vh;
}

.has-child .down {
  width: 0.8854vw;
  height: 0.9259vh;
  display: inline-block;
}

.has-child .input, .has-child .input.active, .has-child .input:focus{
  height: 3.5vh;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0 0.5vw;
}
.search-box-li {
  padding: 0;
  overflow: hidden;
  width: 0; 
  opacity: 0;
  transition: all 0.3s ease;
}
.search-box-li.show {
  width: 9vw; 
  opacity: 1;
}
.search-box-li input {
  width: 9vw;
  height: 3.5vh;
  padding:  0.5vw;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
  box-sizing: border-box;
}
.has-child .search {
  width: 1.25vw;
  height: 1.25vw;
  margin-right: 1vw;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
}
.has-child .tel {
  width: 1.25vw;
  height: 1.25vw;
  display: inline-block;
  vertical-align: middle;
}

.has-child .phone {
  font-family: Source Han Sans CN;
  font-weight: 400;
  font-size: 1.25vw;
  color: #333333;
  margin-left: 0.5vw;
  vertical-align: middle;
  /* line-height: 1.1979vw; */
}
.has-child .back {
  height: 4vh;
  background-color: #cd1e1e;
  line-height: 4vh;
  color: #ffffff;
  border-radius: 5px;
  text-align: center;
  width: 6vw;
  position: absolute;
  top: 2.5vh;
  right: -12vw;
}

/* 鼠标悬停出现二级 */
.sub {
  position: absolute;
  left: 0;
  top: 100%;
  background: rgba(255, 255, 255,0.9);
  border: 1px solid #ddd;
  list-style: none;
  margin: 0;
  /* min-width: 30vw; */
  width: 50vw;
  max-height: 54vh;
  overflow-y: auto;
  display: none !important;
  z-index: 999;
  padding: 1.5vh 0;
}
.nav > ul > li.has-child:nth-child(7) > .sub {
  width: 30vw;
}
.sub .has-flex {
  display: flex;
  justify-content: left;
}
.sub .has-flex .first-title {
  width: 10vw;
  text-align: center;
  padding: 2vh;
  background-color: rgba(245, 245, 245, 0.9);
  font-family: Source Han Sans CN;
  font-weight: bold;
  font-size: 1.25vw;
  color: #333333;
  line-height: 2.1296vh;
}
.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: 1.25vw;
  color: #333333;
  line-height: 2.1296vh;
}
.sub .has-flex .sec-title .second a{
  font-size: 1.0417vw;
  color: #BD0F0F;
  display: flex;
  align-items: center;
}
.sub .has-flex .sec-title .second a img{
  width: 0.5208vw;
  height: 0.8333vw;
  margin-left: 0.5vw;
}
.sub .has-flex .sec-title .third-title {
  /* display: flex;
  justify-content: left; */
  display: inline-block;
}
.sub .has-flex .sec-title .third-title a{
  font-size: 0.9375vw;
  color: #333333;
}

.sub li a {
  display: block;
  color: #333333;
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.9vw;
  padding: 0 2vh;
}

.sub li a:hover {
  color: #147ADD;
  background: #f2f2f2;
}

.has-child:hover .sub {
  display: block !important;
}

.has-child .sub li {
  /* height: 5vh; */
  line-height: 5vh;
}

.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: 1.0417vw;
  min-width: 4.5vw;
  display: inline-block;
  text-align: left;
}

.nav li:hover,
.nav .active {
  /* background:#0762C9; */
}
/* 搜索弹框 */
.search-box {
  width: 70vw;
  height: 48vh;
  background-color: #FFFFFF;
  position: absolute;
  top: 9.2593vh;
  left: 15vw;
  z-index: 999;
  padding: 15vh 10vw 0 10vw;
  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: 6vw;
  height: 6vh;
  line-height: 6vh;
  background-color: #BD0F0F;
  text-align: center;
  border-radius: 0.2083vw;
  cursor: pointer;
}
.search-box .search-txt img {
  width: 3.5185vh;
  height: 3.5185vh;
  margin: 0 auto;
  margin-top: 1.24075vh;
}
.search-box input {
  width: 43vw;
  height: 6vh;
  padding:  0.5vw;
  border: 1px solid #ddd;
  border-radius: 0.2083vw;
  outline: none;
  box-sizing: border-box;
  font-size: 1.0417vw;
  color: #333333;
}
.search-box h2 {
  margin: 1.5vh 0 1vh 0;
  color: #E62A2A;
  font-size: 1.5625vw;
}
.search-box .new-product {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.search-box .new-product li {
  color: #333333;
  height: 4.5vh;
  /* line-height: 4.5vh; */
  font-size: 1.25vw;
}
.search-box .new-product li .new {
  width: 1.25vw;
  height: 1.25vw;
  display: inline-block;
  text-align: center;
  color: #FFFFFF;
  background: #E70000;
  border-radius: 3px;
  /* padding: 0 0.4vh; */
  margin-left: 0.3vw;
  font-size: 0.7813vw;
}
.search-box .new-product li .fire {
  display: inline;
  width: 0.9375vw;
  height: 1.1979vw;
  margin-left: 0.5vw;
}
.search-box .colse {
  position: absolute;
  top: 2vh;
  right: 1vw;
  font-size: 2.0833vw;
  color: #333333;
  z-index: 999999;
  cursor: pointer;
}
.search-box .colse img {
  width: 1.25vw;
  height: 1.25vw;
}