.header {
  height: 130px;
}
.header img {
  height: 100%;
  max-width: 300px;
  width: 100%;
}

/* 头部响应式设计 */
@media (max-width: 768px) {
  .header {
    height: 100px;
  }
  .header img {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .header {
    height: 80px;
  }
  .header img {
    max-width: 200px;
  }
}
/* 搜索模块 */
.search {
  max-width: 765px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.baidu-search {
  display: flex;
  align-items: center;
}

.baidu-search img {
  height: 42px;
  width: 130px;
  margin-right: 24px;
}

.search input {
  height: 48px;
  width: 400px;
  padding: 0 15px;
  margin-right: -5px;
  border: 2px solid #4e6ef2;
  border-radius: 7px 0 0 7px;
  font-size: 16px;
  outline: none;
}

.search button {
  height: 52px;
  width: 140px;
  padding: 0 20px;
  border: none;
  border-radius: 0 7px 7px 0;
  background-color: #4e6ef2;
  color: white;
  font-size: 16px;
  line-height: 17px;
  cursor: pointer;
  white-space: nowrap;
}

.search button:hover {
  background-color: #3a5ad8;
}

/* 搜索模块响应式设计 */
@media (max-width: 768px) {
  .search {
    padding: 15px;
  }
  
  .baidu-search img {
    height: 36px;
    width: 110px;
    margin-right: 15px;
  }
  
  .search input {
    height: 40px;
  }
  
  .search button {
    height: 44px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .search {
    flex-direction: column;
    padding: 15px;
    align-items: stretch;
  }
  
  .baidu-search {
    justify-content: center;
    margin-bottom: 15px;
  }
  
  .baidu-search img {
    height: 32px;
    width: 100px;
    margin-right: 0;
  }
  
  .search input {
    height: 35px;
    width: 300px;
    font-size: 14px;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  .search button {
    height: 40px;
    width: 330px;
    font-size: 14px;
    border-radius: 7px;
  }
}
/* 第一排导航 */
.common-nav {
  display: flex;
  justify-content: center;
  height: 27px;
  width: 100%;
  line-height: 27px;
  margin-top: 20px;
  border: 1px solid rgb(222, 227, 235);
}
.common-nav a {
  text-decoration: none;
  font-size: 12px;
  color: #373737;
  text-align: center;
  width: 80px;
}
/* 第二排导航 */
.ecommerce-nav {
  height: 196px;
  border: 1px solid rgb(222, 227, 235);
  margin-top: 15px;
  padding: 0 20px;
}

.ecommerce-nav ul li{
  float: left;
  width: 128px;
  font-size: 14px;
  letter-spacing: 1px;
  height: 29px;
  line-height: 29px; /* 垂直居中 */
}
.ecommerce-nav ul li a{
 color: #373737;
 background-size: 18px 18px;
 background-repeat: no-repeat;
 padding-left: 22px;
}
.ecommerce-nav .life-nav {
  margin-top: 15px;
  padding-top: 8px;
  border-top: 1px solid rgb(222, 227, 235);
}
.ecommerce-nav .life-nav li a {
  padding-left: 0;
}
/* 第三部分导航 */
.site-nav {
  border: 1px solid rgb(222, 227, 235);
  margin-top: 15px;
  padding-left: 19px;
  padding-bottom: 5px;
}
.site-nav ul {
  height: 34px;
}
.site-nav ul li {
  float: left;
  font-size: 14px;
  letter-spacing: 1px;
  height: 29px;
  width: 104px;
  line-height: 29px; /* 垂直居中 */
}
.site-nav ul li a {
  color: #373737;
  padding-left: 20px;
}
.site-nav .firstnav {
  padding-left: 0 ;
}
/* 第四部分导航 */
.comprehensive-nav {
  display: flex;
  height: 635px;
  margin-top: 20px;
}
.comprehensive-nav .left-nav {
  width: 748px;
  border: 1px solid rgb(222, 227, 235);
  font-size: 14px;
}
.comprehensive-nav .right-nav {
  width: 452px;
  border: 1px solid rgb(222, 227, 235);
  font-size: 14px;
  background-image: url(https://zwdaohang-1305073862.cos.ap-guangzhou.myqcloud.com/zwdaohang.jpg);
  margin-left: 10px;
}
.multi-category-nav {
  border-bottom: 1px solid rgb(222, 227, 235);
}
.multi-category-nav ul{
  display: block;
  height: 34px;
}
.top-tabs {
  height: 31px;
  line-height: 31px;
   background-color: rgb(247, 247, 247);
   margin-bottom: 6px;
}
.top-tabs ul li {
  float: left;
  color: rgb(73, 137, 73);
}
.top-tabs ul li a {
      color: rgb(73, 137, 73);
      text-decoration: none;
      padding: 0 13px;
}
.category-section {
 padding-bottom: 10px;
}
.category-section ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  height: 33px;
  line-height: 33px;
}
.category-section ul li {
  text-align: center;
}
.category-section ul li:first-child {
  text-align: left;
  flex: 0 0 auto;
}
.category-section ul li:last-child {
  text-align: right;
  flex: 0 0 auto;
}
.category-section ul li a {
  color: #373737;
  text-decoration: none;
  padding: 0 12px;
}
