/* swiper */
.ap-banner {
  height: 350px;
}

.ap-banner .swiper-pagination-bullet {
  width: 13px;
  height: 5px;
  border-radius: 5px;
  transition: all .5s;
}

.ap-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-banner .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  width: 26px;
}

.section {
  padding: 80px 0;
  background-color: #fff;
}

.section .index-title {
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section .index-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100px;
  height: 1px;
  background-color: var(--primary-color);
}

.section .index-title h3 {
  font-size: 32px;
  color: var(--primary-color);
}

.section .index-title p {
  font-size: 24px;
  color: #6666667a;
  line-height: 2;
  margin-top: 5px;
  font-family: 'en';
  font-weight: bold;
  letter-spacing: 2px;
}

.section .index-title.text-left {
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section .index-title.text-left::after {
  left: 0;
  transform: translateX(0);
}

.section .index-title.text-left .more-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--primary-color);
  border-radius: 30px;
  width: 30px;
  height: 30px;
  font-size: 14px;
  color: var(--primary-color);
  transition: all 0.3s;
}

.section .index-title.text-left .more-btn:hover {
  width: 50px;
  color: #fff;
  background-color: var(--primary-color);
}

/* 关于我们 */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image-box {
  flex: 1;
  position: relative;
  padding-right: 20px;
}

.about-image-box .main-img {
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-image-box .main-img img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-box:hover .main-img img {
  transform: scale(1.05);
}

.about-text-box {
  flex: 1;
}

.about-text-box .index-title h3 {
  font-size: 32px;
  color: var(--text-dark);
  margin-top: 10px;
}

.about-text-box .sub-title {
  color: #F06D39;
  font-family: 'en';
}

.about-desc {
  margin: 30px 0;
}

.about-desc .highlight {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 15px;
}

.about-desc p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  text-align: justify;
}

.about-features {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.feature-item .icon {
  color: var(--primary-color);
  font-weight: bold;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-more .arrow {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-more:hover {
  background-color: #d85a2b;
  box-shadow: 0 8px 15px rgba(240, 109, 57, 0.3);
}

.btn-more:hover .arrow {
  transform: translateX(5px);
}

/* 热门产品 */
.section.products-ap {
  padding: 50px 0 0 0;
}

.products-box {
  /* display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px; */
  margin-top: 40px;
  padding-bottom: 50px !important;
}

.products-ap .product-list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.products-ap .product-list li {
  list-style: none;
  overflow: hidden;
}

.products-ap .product-list li a {
  display: block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: #fff;
  transition: all 0.3s ease;
}

.products-ap .product-list li a:hover {
  background-color: #d85a2b;
  box-shadow: inset 0 0 10px rgba(240, 109, 57, 0.3);
}

.products-box .product-item {
  background-color: #fff;
  width: 100%;
  position: relative;
}

.products-box .product-item a {
  position: relative;
  padding-bottom: 70%;
  width: 100%;
  display: block;
  overflow: hidden;
}

.products-box .product-item .product-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease-in-out;
}

.products-box .product-item .product-info {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #333;
  top: 100%;
  margin-top: -60px;
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.2) 100%);
  transition: all .5s;
  padding: 15px 20px;
  text-align: left;
}

.products-box .product-item .product-info h3 {
  color: #333;
  font-weight: normal;
}


.products-box .product-item a:hover .product-info h3 {
  color: var(--primary-color);
  font-weight: bold;
}

.products-box .product-item a:hover .product-thumb {
  transform: scale(1.1);

}

.products-box .product-item a:hover .product-info {
  visibility: visible;
  top: 0;
  margin: 0;
  border-radius: 0;
  padding: 30px 40px;
}

.products-box .product-item a:hover .product-info::after {
  content: '';
  width: 60%;
  height: 80%;
  position: absolute;
  top: 10%;
  right: -13%;
  background: url(../images/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  z-index: 9;
  opacity: 0.2;
}

.product-info .more-btn {
  font-size: 14px;
  margin-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  line-height: 40px;
  padding: 0 20px;
  color: rgba(0, 0, 0, 0.8);
  display: inline-block;
}

.products-ap .swiper-pagination-bullet {
  width: 30px;
  border-radius: 20px;
  background-color: var(--primary-color);
}

/* 第一块产品分类S */
.category-intro-section {
  background-color: #fff;
  padding: 20px 0;
}

.top-cat-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: 30px;
  row-gap: 10px;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.top-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  background-color: #595b5e;
  color: #fff;
  border-left: 8px solid var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
}

.top-cat-list li a:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-left: 8px solid #595b5e;
}

.intro-main-box {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.intro-side-nav {
  flex: 0 0 180px;
}

.intro-side-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-side-nav ul li a {
  display: block;
  padding: 15px;
  background-color: #f5f5f5;
  color: #555;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.intro-side-nav ul li a:hover {
  background-color: #eee;
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  padding-left: 20px;
}

.intro-content-box {
  flex: 1;
  background-color: #f9f9f9;
  padding: 20px 40px;
  display: flex;
  align-items: center;
}

.intro-content-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.intro-content-box .line {
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin-bottom: 20px;
}

.intro-content-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.3;
  margin-bottom: 5px;
}

.intro-content-box ul {
  padding-left: 20px;
}

.intro-content-box ul p {
  margin-bottom: 2px;
}

.intro-content-box p a {
  color: var(--primary-color);
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

@media (max-width: 992px) {
  .top-cat-list {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
  }

  .top-cat-list li a {
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .top-cat-list {
    column-gap: 10px;
  }

  .top-cat-list li a {
    height: 40px;
    font-size: 14px;
  }

  .intro-main-box {
    flex-direction: column;
  }

  .intro-side-nav {
    flex: none;
    width: 100%;
  }

  .intro-side-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 10px;
  }

  .intro-side-nav ul li {
    flex: 1 1 15%;
  }

  .intro-side-nav ul li a {
    padding: 5px;
    font-size: 14px;
  }

  .intro-content-box {
    padding: 25px;
  }
}

/* 第一块产品分类结束E */
@media (max-width: 992px) {
  .about-wrapper {
    flex-direction: column-reverse;
    gap: 50px;
  }

  .about-image-box {
    width: 90%;
    margin: 0 auto;
    padding-right: 0;
  }

}

@media (max-width: 576px) {
  .about-text-box .index-title h3 {
    font-size: 24px;
  }

  .about-text-box .about-desc .highlight {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .about-text-box .about-desc {
    margin: 10px 0;
  }

  .about-text-box .about-desc p {
    font-size: 14px;
  }

  .about-text-box .about-features {
    margin-bottom: 20px;
  }

  .about-text-box .btn-more {
    width: 100%;
    justify-content: center;
  }

  .products-box .product-item .product-info {
    margin-top: -40px;
    padding: 10px 20px;
  }

  .products-box .product-item .product-info h3 {
    font-size: 14px;
  }

  .products-box .product-item a {
    padding-bottom: 80%;
  }

  .products-ap .product-list {
    gap: 10px;
  }

  .products-ap .product-list li a {
    padding: 8px 10px;
    font-size: 14px;
  }
}

/* 资讯与资料下载区域S */
.news-download-ap {
  padding: 80px 0;
}

.news-download-wrapper {
  display: flex;
  gap: 50px;
  margin-top: 60px;
}

.news-left-box,
.download-right-box {
  flex: 1;
}

/* 公用头部样式 */
.box-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.box-head h4 {
  font-size: 20px;
  color: #333;
  margin: 0;
  position: relative;
}

.box-head h4::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.box-head .more {
  font-size: 13px;
  color: #999;
  text-decoration: none;
}

.box-head .more:hover {
  color: var(--primary-color);
}

/* 新闻主推样式 */
.featured-news {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  background: #fff;
  padding: 15px;
  border-radius: 4px;
}

.featured-news .news-img {
  flex: 0 0 180px;
  height: 120px;
  overflow: hidden;
  border-radius: 4px;
}

.featured-news .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.featured-news:hover img {
  transform: scale(1.1);
}

.featured-news h5 {
  font-size: 16px;
  margin-bottom: 8px;
}

.featured-news h5 a {
  color: #333;
  text-decoration: none;
}

.featured-news p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 8px;
  height: 40px;
  overflow: hidden;
}

.featured-news .time {
  font-size: 12px;
  color: #bbb;
}

/* 纯文字新闻列表 */
.text-news-list {
  list-style: none;
  padding: 0;
}

.text-news-list li {
  border-bottom: 1px dashed #eee;
}

.text-news-list li a {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  text-decoration: none;
  font-size: 15px;
  color: #555;
  transition: 0.3s;
}

.text-news-list li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.text-news-list li .date {
  color: #ccc;
  font-size: 13px;
}

/* 资料下载样式 */
.download-list-content ul {
  list-style: none;
  padding: 0;
}

.download-list-content li {
  margin-bottom: 12px;
}

.download-list-content li a {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid #eee;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 4px;
}

.download-list-content .file-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-right: 15px;
}

.download-list-content .file-name {
  flex: 1;
}

.download-list-content .file-name h5 {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
}

.download-list-content .file-name p {
  font-size: 12px;
  color: #bbb;
  margin: 0;
}

.download-list-content .download-btn {
  color: #ddd;
  transition: 0.3s;
}

.download-list-content li a:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.download-list-content li a:hover .download-btn {
  color: var(--primary-color);
}

/* 响应式适配 */
@media (max-width: 992px) {
  .news-download-wrapper {
    flex-direction: column;
    gap: 40px;
  }
}

/* 荣誉资质板块样式 */
.honor-ap {
  padding: 80px 0;
  background-color: #fff;
}

.honor-swiper-container {
  padding: 20px 10px 50px !important;
  /* 为阴影留出空间 */
  position: relative;
  margin-top: 30px;
}

.honor-item {
  background: #fff;
  transition: all 0.3s ease;
  text-align: center;
}

.honor-item a {
  text-decoration: none;
}

/* 证书图片容器 */
.honor-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  /* 证书通常是 A4 比例 */
  overflow: hidden;
  /*box-shadow: 0 5px 15px rgba(0,0,0,0.08);*/
  box-shadow: 0 0 22px rgba(0, 0, 0, .08);
  border: 1px solid #eee;
  background: #fff;
}

.honor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10px;
  /* 模拟证书边框 */
  transition: transform 0.5s ease;
}


.honor-item:hover .hover-mask {
  opacity: 1;
}

.honor-item:hover .honor-img img {
  transform: scale(1.05);
}

/* 证书标题 */
.honor-item h4 {
  font-size: 16px;
  color: #555;
  font-weight: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 15px 5px;
}

.honor-item:hover h4 {
  color: var(--primary-color);
}

/* 轮播按钮样式自定义 */
.honor-next,
.honor-prev {
  background-image: none;
  background-color: rgba(0, 0, 0, 0.05);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.honor-next::after,
.honor-prev::after {
  font-size: 18px;
  color: #999;
}

.honor-next:hover,
.honor-prev:hover {
  background-color: var(--primary-color);
}

.honor-next:hover::after,
.honor-prev:hover::after {
  color: #fff;
}

/* 查看更多按钮 */
.honor-more-btn {
  text-align: center;
  margin-top: 20px;
}

.honor-more-btn a {
  display: inline-block;
  background-color: var(--primary-color);
  /* #F06D39 */
  color: #fff;
  padding: 12px 60px;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
  border-radius: 2px;
}

.honor-more-btn a:hover {
  background-color: #d85a2b;
  box-shadow: 0 5px 15px rgba(240, 109, 57, 0.3);
}

.hidden-img {
  display: none !important;
}

/* 悬停遮罩 */
.hover-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 109, 57, 0.9);
  /* 主色调 */
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.honor-item:hover .hover-mask {
  opacity: 1;
}

.hover-mask i {
  font-size: 28px;
  margin-bottom: 5px;
}

.hover-mask span {
  font-size: 13px;
}