/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  
  font-family: "Arial", sans-serif;
}

/* 顶部导航 */

/* 首页轮播 */
.banner {
  position: relative;
  width: 1920px;
  height: 500px;
  overflow: hidden;

}
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* 产品分类 */

.container {
  /* 版芯宽度 */
  width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.product-categories {
  padding: 160px 0 60px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 30px;
  margin-bottom: 15px;
  color: #333;
  padding-bottom: 5px;
  border-bottom: 3px solid #00a854;
  display: inline-block;
}
.categories-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.category-item {
  background: #fff;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.category-item:hover {
  transform: translateY(-10px);
}

.category-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.category-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}
.category-item p {
  font-size: 14px;
  color: #333;
}

/* 热卖产品 */
.hot-products {
  padding: 20px 20px;
  background: #f5f5f5;
}

/* 公司简介（简略） */
.about-brief {
  padding: 80px 0;
  display: flex;
  align-items: center;
  gap: 50px;
}
.about-content {
  flex: 1;
}
.about-content h2 {
  font-size: 30px;
  margin-bottom: 15px;
  color: #333;
  padding-bottom: 5px;
  border-bottom: 3px solid #00a854;
  display: inline-block;
}
.about-content p {
  font-size: 18px;
  line-height: 2;
  color: #333;
  margin-bottom: 30px;
}
.about-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.stat-item {
  width: 500px;
  text-align: center;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.stat-item img{
  width: 500px;

}

/* 产品详情页 */
.product-detail {
  padding: 80px 0;
  display: flex;
  gap: 50px;
}

/* 底部 */
.footer {
  background: #585858;
  color: #fff;
  padding: 10px 0 10px;
}

/* 微信客服 */

/* 框架CSS开始 */

/* ==========下拉菜单开始========== */

/* ==========下拉菜单结束======== */

/* banner 开始 */
.banner {
  width: 100%;
  height: 530px;
  top: 120px;
  position: relative;
  overflow: hidden;
}

.banner .banner-img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s;

  /* ========== 修复 1：隐藏的图片不能点击 ========== */
  pointer-events: none;
}

/* ========== 修复 2：当前显示图片可点击 ========== */
.banner-img.active {
  pointer-events: auto;
}

.banner .banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner .banner-img:first-child {
  opacity: 1;
}

.banner-left,
.banner-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 70px;
  color: #ccc;
  font-size: 27px;
  text-align: center;
  line-height: 70px;
  cursor: pointer;
  z-index: 10;
}

.banner-left {
  left: 0;
  border-radius: 0 5px 5px 0;
}

.banner-right {
  right: 0;
  border-radius: 5px 0 0 5px;
}

.banner-left:hover,
.banner-right:hover {
  background-color: #00000050;
  color: #fff;
  transition: all 0.3s ease;
}

.banner-zhiding {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.botton {
  width: 50px;
  height: 10px;
  border: 2px solid #fff;
  margin: 15px;
  cursor: pointer;
  transition: 0.4s;
}

.botton.active {
  background-color: #fff;
}

.botton:hover {
  background: #fff;
  transition: all 0.3s ease;
}

/* 产品目录 */

.Product-catalog {
  height: 80px;
  background-color: #f3f4f7;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.row {
  display: flex;
}

/* FAQ样式 */
.FAQ-content h2 {
  font-size: 30px;
  margin-bottom: 15px;
  color: #333;
  padding-bottom: 5px;
  border-bottom: 3px solid #00a854;
  display: inline-block;
}

.faq-section {
  margin: 30px auto;
}
.faq-question {
  border: 1px solid #999;
  margin: 10px;
  padding: 5px 20px;
}

.faq-question h3 {
  cursor: pointer;
  color: #333;
  font-size: 20px;
  margin: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question p {
  display: flex;
  font-size: 18px;
  line-height: 1.5;
  margin: 10px 20px;
  transition: display 0.5s ease;
}

/* Contact us样式 */

.Contact-us {
  padding: 20px 20px;
}

.Contact-title {
  text-align: center;
  margin-bottom: 50px;
}
.Contact-title h2 {
  font-size: 30px;
  margin-bottom: 5px;
  color: #333;
  padding-bottom: 5px;
  border-bottom: 3px solid #00a854;
  display: inline-block;
}
.Contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  min-height: 500px;
  width: calc(100%);
}
.Contact-box {
  border: none;
}

.Contact-box1 {
  border: 4px solid rgba(0, 0, 0, 0.05);
  padding: 30px;
  width: 80%;
  float: left;
  background: no-repeat bottom right;
  margin: 0px 0 30px 0;
}
.category-item {
  background: #fff;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.Contact-drs {
  text-align: left;
  text-align: left;
  float: left;
  width: 100%;
}
.Contact-drs p {
  font-size: 24px;
  line-height: 30px;
  color: #333;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  border-bottom: 2px solid #00a854;
  display: inline-block;
}

.Contact-box1 ul li {
  width: 100%;
  float: left;
  padding: 0px 0 0 70px;
  text-align: left;
  position: relative;
  margin: 0px 0 10px 0;
  min-height: 40px;
}
.Contact-box1 ul li i {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  width: 50px;
  display: inline-block;
  background: green;
  padding: 5px;
  border-radius: 5px;
  left: 0px;
  top: 10px;
  position: absolute;
  text-align: center;
}
.Contact-box1 ul li i img {
  width: 60%;
  height: 60%;
}
.Contact-box1 ul li span {
  font-size: 18px;
  line-height: 22px;
  width: 100%;
  display: inline-block;
  color: #333;
  margin: 10px 0 5px 10px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}
.Contact-box1 ul li p {
  font-size: 15px;
  line-height: 20px;
  width: 100%;
  color: #333;
  display: inline-block;
  margin-left: 10px;
  transition: all 0.3s ease 0s;
}

.Contact-box1 ul li p:hover {
  text-decoration: underline;
  color: #00b34f;
}

.ewma {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 10px;
  top: 20px;
  width: calc(80%);
  list-style-type: none;
}
.ewma li {
  display: flex;
  flex-direction: column; /* 让子元素垂直排列 */
  align-items: center; /* 水平居中 */
  text-align: center;
}

.ewma li a {
  width: 100px;
  display: inline-block;
  left: 10px;
  top: 80px;
}
.ewma li span {
  font-size: 18px;
  line-height: 22px;
  width: 100%;
  display: inline-block;
  color: #333;
  margin: 5px 0 5px 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}
.ewma li img {
  width: 100%;
  height: auto;
}

.m-more input {
  font-size: 15px;
  line-height: 40px;
  color: #fff;
  padding: 0px 30px 0 30px;
  width: auto;
  position: relative;
  text-transform: uppercase;
  -moz-border-radius: 50px;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  vertical-align: middle;
  background: #ff6600;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}
.m-more input:hover {
  background: green;
  color: #fff;
}

.message {
  padding: 20px 0px 0 0;
  margin: 0px auto 0;
  width: 100%;
  float: right;
  height: auto;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0);
}
.message ul {
  width: 100%;
  padding: 10px 0 0px 0;
  text-align: left;
  float: left;
}
.message li {
  margin-bottom: 12px;
  position: relative;
  float: right;
}
.message-mail p {
  background: url(../images/index/fstb/cx-xp-bt.png) no-repeat left 0px top -5px;
  padding: 0 0 0 50px;
  font-size: 25px;
  margin-left: 0;
  display: block;
  margin: 5px 0 0 0;
  color: #333;
  line-height: 26px;
  float: left;
}
.message-mail span {
  margin: 10px 0 0 0;
  font-size: 15px;
  display: inline-block;
}

.send {
  width: 15%;
  background-color: green;
  text-align: center;
}
.send span {
  padding: 5px;
  font-size: 15px;
  background-color: green;
  text-align: center;
}
.meInput {
  width: 100%;
  height: 40px;
  background: #fff;
  border: 1px solid #e6e6e6;
  font-size: 15px;
  padding: 0 15px 0 35px;
  vertical-align: middle;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid #e6e6e6;
  color: #222;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  border-radius: 30px;
}

.meText {
  border: 1px solid #d9d9d9;
  height: 180px;
  max-height: 200px;
  max-width: 100%;
  width: 100%;
  padding: 5px 0;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  padding: 10px 10px 10px 15px;
  overflow: hidden;
  font-size: 15px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  width: 100%;
  display: inline-block;
}

@media screen and (max-width: 1400px) {
  .container {
    width: 90%;
  }
  .droplist li a {
    font-size: 14px;
  }
}

@media screen and (max-width: 1200px) {
  .categories-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-brief {
    flex-direction: column;
    text-align: center;
  }
  .product-detail {
    flex-direction: column;
  }
  .header-menu {
    height: 30px;
    margin: -10px 0 0 0;
  }

  .btli {
    width: 180px;
    line-height: 30px;
  }
  .menu-width a {
    font-size: 18px;
  }
}

@media screen and (max-width: 992px) {
  /* 导航 */

  .header-menu {
    height: 20px;
    margin: 0 0 0 0;
  }

  .btli {
    width: 150px;
    line-height: 20px;
  }
  .menu-width a {
    font-size: 15px;
  }
  .droplist li {
    line-height: 20px;
    height: 20px;
  }
  .droplist li a {
    font-size: 10px;
  }
  .Contact-list {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .categories-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner {
    height: 300px;
  }


  .kf-box {
    width: 90%;
    right: 5%;
  }
  .banner {
    height: 300px;
  }


  .kf-box {
    width: 90%;
    right: 5%;
  }
}
@media screen and (max-width: 620px) {
  .categories-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .menu-toggle {
    display: flex;
  }

  .sidebar-menu {
    display: none;
  }
  .btli {
    display: none;
  }
}

/* 响应式适配 */
