/* ===== Banner 轮播 ===== */
.banner-section {
  margin-top: 124px;
} /* 36+60 */
.banner-section .swiper {
  height: auto;
}
.banner-section .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}
.banner-section .swiper-slide img,
.banner-section-about img {
  display: block;
  width: 100%;
  height: auto;
}

/* 图文列表版块样式 */
.gallery-section {
  background: #f7f7f7;
  padding: 60px 0;
  overflow: hidden;
}
.gallery-section .container {
  position: relative;
}
.gallery-wrapper {
  position: relative;
  overflow: hidden;
}
/* ===== Swiper 图文列表 ===== */
.gallerySwiper {
  overflow: hidden;
}
.gallerySwiper .swiper {
  position: relative;
}
.gallerySwiper .swiper-slide {
  text-align: center;
  background: #fff;
  padding: 15px 0;
}
.gallerySwiper .img-box {
  width: auto;
  height: 6vw;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallerySwiper .img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.gallerySwiper h3 {
  font-size: 14px;
  color: #333;
  text-align: center;
}
.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
  height: auto;
}
.gallerySwiper .swiper-rtl .swiper-button-prev,
.gallerySwiper .swiper-button-next {
  right: 0;
}
.gallerySwiper .swiper-button-prev,
.gallerySwiper .swiper-rtl .swiper-button-next {
  left: 0;
}
/* 箭头样式沿用旧按钮，只需把 Swiper 默认箭头隐藏 */
.gallerySwiper .swiper-button-prev::after,
.gallerySwiper .swiper-button-next::after {
  color: #ffc107;
  font-size: 28px;
}
.gallerySwiper .swiper-slide,
.top-left,
.right-item {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: block; /* 保证 transform 生效 */
  will-change: transform; /* 提前告知浏览器优化渲染 */
}
/* .gallerySwiper .swiper-slide:hover, */
.top-left:hover,
.right-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
/*关于我们*/
/* ===== Apermoak 介绍版块 ===== */
.intro-section {
  background: #fff;
  padding: 60px 0;
}
.intro-title {
  font-size: 32px;
  color: #111;
  text-align: center;
  margin-bottom: 30px;
}
.intro-line {
  display: block;
  width: 60px;
  height: 3px;
  background: #ffc107;
  margin: 0 auto 40px;
}
.intro-txt {
  font-size: 16px;
  line-height: 2;
  color: #444;
  text-align: left;
  margin-bottom: 40px;
  text-indent: 2em;
  text-align: justify;
}
.intro-more-w {
  text-align: center;
}
.intro-more {
  font-size: 16px;
  color: #999;
  text-decoration: underline;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.intro-more:hover {
  color: #ea0a2a;
}
/*视频版块*/
.video-wrapper {
  position: relative;
  /*padding-bottom: 56.25%;*/ /* 16:9 æ¯”ä¾‹ */
  height: 600px;
  overflow: hidden;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
}
.video_this::-webkit-media-controls {
  display: none !important;
}
.videoplay {
  display: block;
  width: 100%;
  height: 100%;
  text-indent: -99999px;
  background: url(../images/icon_video.png) no-repeat center center/60px auto;
  position: absolute;
  left: 0;
  top: 0;
  border: none;
  z-index: 33;
}
.videoclose {
  display: block;
  width: 100%;
  height: 100%;
  text-indent: -99999px;
  background: none;
  position: absolute;
  left: 0;
  top: 0;
  border: none;
  z-index: 33;
  display: none;
}

/*产品版块*/
.product-top {
  display: flex;
  gap: 1vw;
  margin-bottom: 50px;
}
.top-left {
  flex: 2;
  height: 40vw;
  position: relative;
  display: block;
}
.top-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.corner-tag {
  position: absolute;
  left: 0;
  top: 30px;
  background: #ea0a2a;
  color: #fff;
  font-size: 12px;
  padding: 4px 15px;
  border-radius: 0 6px 6px 0;
  z-index: 3;
}
.left-info {
  position: absolute;
  right: 15px;
  bottom: 15px;
  text-align: right;
  color: #fff;
  z-index: 2;
}
.left-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.top-right {
  flex: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1vw;
}
.right-item {
  position: relative;
  height: 19.5vw;
  overflow: hidden;
  display: block;
}
.right-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.right-item .info {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  color: #fff;
  z-index: 2;
}
.top-left .bg,
.right-item .bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.right-item h4 {
  font-size: 14px;
  margin-bottom: 4px;
}
.product-top a:hover .bg {
  display: none;
}
.cate {
  display: inline-block;
  font-size: 12px;
  background: #ffc107;
  color: #111;
  padding: 0 8px;
  border-radius: 3px;
}

/* ---- 版块2：产品列表 ---- */
.product-list {
  margin-bottom: 50px;
}
.list-static {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.list-card {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 1.5vw 1.5vw 2vw;
  position: relative;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    transform 0.3s; /* 过渡 */
}
.list-card:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-15px);
}
.list-img {
  width: 100%;
  height: 15vw;
  margin-bottom: 20px;
  overflow: hidden;
}
.list-inner-img {
  height: 12vw;
}
.list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.list-name {
  font-size: 14px;
  line-height: 20px;
  color: #111;
  margin-bottom: 10px;
}
.list-cate {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}
.list-btn {
  display: inline-block;
  font-size: 14px;
  color: #333;
  background: #ffc107;
  padding: 3px 20px;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .left-info {
    left: 15px;
    text-align: left;
  }
  .product-top {
    flex-direction: column;
  }
  .top-left img,
  .right-item img {
    /* aspect-ratio: 16 / 9; */
  }
  .list-card {
    padding: 15px;
  }
}

/* ===== 新闻轮播版块 ===== */
.news-section {
  background: #fff;
  padding: 60px 0;
}

/* 卡片基础样式 */
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}
.news-card:hover {
  background: #fff;
  /*box-shadow:0 5px 24px rgba(0,0,0,.12);*/
  transform: translateY(-15px);
}

/* 图片区域 */
.news-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 内容区域 */
.news-body {
  padding: 20px 0 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-title {
  font-size: 18px;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
}
.news-date {
  font-size: 12px;
  color: #999;
}

/* Swiper 定制 */
.newsSwiper {
  position: relative;
  padding-bottom: 60px;
}
.news-pagination {
  bottom: 0;
}
.news-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ddd;
  opacity: 1;
}
.news-pagination .swiper-pagination-bullet-active {
  background: #ffc107;
  width: 30px;
  border-radius: 10px;
}

/*关于我们*/
/* ===== 企业介绍版块 ===== */
.about-intro-section {
  background: #fff;
  padding: 60px 0;
}
/* 标题行 */
.about-title {
  font-size: 28px;
  color: #111;
  margin-bottom: 30px;
}
.about-line {
  display: block;
  width: 60px;
  height: 3px;
  background: #ffc107;
  margin-bottom: 30px; /* 与下方内容留空 */
}

/* 内容-图片水平排列 */
.about-intro-wrap {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.about-left {
  flex: 1.5;
}
.about-txt {
  font-size: 16px;
  line-height: 2;
  color: #444;
  text-indent: 2em;
  text-align: justify;
}
.about-right {
  flex: 1;
}
.about-right img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 小屏堆叠 */
@media (max-width: 768px) {
  .about-intro-wrap {
    flex-direction: column;
  }
}

/*产品列表*/
/* ===== 面包屑 + 筛选栏 ===== */
.product-section {
  padding: 0;
  background: #f5f5f5;
}
.product-bar-section {
  padding: 30px 0;
}
.product-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.breadcrumb {
  font-size: 14px;
  color: #666;
}
.breadcrumb a {
  color: #111;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #ea0a2a;
}
.breadcrumb .sep {
  margin: 0 6px;
}
.breadcrumb .current {
  color: #999;
}

/* 右侧图标按钮 */
.filter-toggle {
  cursor: pointer;
  font-size: 28px;
  color: #ffc107;
  vertical-align: middle;
}
.filter-toggle .menu-pro-toggle {
  /* background: none; */
  border: none;
  width: 26px;
  height: 26px;
  opacity: 0.6;
  position: relative;
  cursor: pointer;
}
.filter-toggle .menu-pro-toggle img {
  display: block;
  width: 100%;
  height: auto;
}
.menu-pro-toggle span {
  display: block;
  height: 2px;
  background: #ffc72c;
  margin: 7px 0;
  transition: 0.3s;
}

/* 黄色下拉面板 */
.filter-panel {
  display: none;
  width: 260px;
  height: auto;
  background: #ffc107;
  position: absolute;
  right: -10px;
  top: 70px;
  border-radius: 5px;
  z-index: 10;
}

/* 倒三角 */
.filter-panel::before {
  content: "";
  position: absolute;
  right: 10px; /* 水平居中 */
  top: -8px; /* 三角高度 8px */
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffc107; /* 与面板同色 */
}

.filter-list {
  padding: 15px 0;
}
.filter-list a {
  display: block;
  color: #111;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 3px;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s;
}
.filter-list a:hover {
  color: #ea0a2a;
}

/*新闻列表*/
/* ===== 新闻列表 ===== */
.news-list-section {
  background: #fff;
  padding: 0 0 60px;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-item {
  display: flex;
  gap: 20px;
  /*background:#f7f7f7;*/
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 左侧图片 */
.news-item-img {
  width: 20vw;
  min-height: 12vw;
  flex-shrink: 0;
  overflow: hidden;
}
.news-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右侧内容 */
.news-item-body {
  flex: 1;
  padding: 0 25px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-item-title {
  font-size: 20px;
  color: #111;
  line-height: 1.4;
  margin-bottom: 10px;
}
.news-item-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item-date {
  font-size: 14px;
  color: #999;
}

/* 响应式：768px 以下上下堆叠 */
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }
  .news-item-img {
    width: 100%;
    height: auto;
  }
  .news-detail-title {
    font-size: 24px;
  }
  .news-img {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .news-body {
    padding: 15px 20px 0;
  }
}

/* ===== 新闻详情 ===== */
.news-detail-section {
  background: #f5f5f5;
  padding: 20px 0;
  margin-top: 130px;
}
.breadcrumb {
  font-size: 14px;
  color: #666;
}
.breadcrumb a {
  color: #111;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #ea0a2a;
}
.breadcrumb .sep {
  margin: 0 6px;
}
.breadcrumb .current {
  color: #999;
}

.news-content-section {
  background: #fff;
  padding: 60px 0;
  min-height: 600px;
}
.news-detail-title {
  font-size: 28px;
  color: #111;
  line-height: 1.4;
  margin-bottom: 15px;
  text-align: center;
}
.news-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
  text-align: center;
}
.news-detail-body {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
.news-detail-body p {
  margin-bottom: 16px;
}
.news-detail-body img {
  max-width: 100% !important;
}
/* 小屏堆叠 */
@media (max-width: 768px) {
  .news-page-nav {
    flex-direction: column;
    gap: 12px;
  }
}

/*联系我们*/
.contact-con {
  font-size: 16px;
  line-height: 36px;
  padding-bottom: 30px;
}
.contact-con-tit {
  font-size: 22px;
}
.map img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .about-title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .contact-con {
    font-size: 14px;
  }
  .contact-con-tit {
    font-size: 18px;
  }
}
/* 3. 简单样式，可按需调整 */
.product-gallery-section {
  background: #fff;
  padding: 40px 0;
}
.gallery-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.gallery-left {
  flex: 0 0 560px;
  height: 512px;
  overflow: hidden;
}
.gallery-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid #eee;
  border-radius: 5px;
}

.gallery-right {
  height: 512px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 保证内部元素底部对齐 */
}
.pro-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  max-height: 72px;
  line-height: 36px;
  overflow: hidden;
}
.pro-title-des {
  font-size: 16px;
  margin-top: 30px;
  font-weight: bold;
}
.pro-desc {
  height: 210px;
  overflow-y: auto;
  margin: 30px 0;
  padding-right: 8px;
  color: #666;
  font-size: 14px;
  margin: 10px 0 20px;
}
/* 整个滚动条 */
.pro-desc::-webkit-scrollbar {
  width: 6px;
}

/* 滚动条轨道 */
.pro-desc::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

/* 滚动条滑块 */
.pro-desc::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}

/* 滑块悬停状态 */
.pro-desc::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}
.gallery-right-con {
  max-width: 450px;
  position: relative;
  margin-left: 50px;
}
.thumb-swiper .swiper-slide img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  border: 1px solid #eee;
}
.thumb-swiper .swiper-slide img.active,
.thumb-swiper .swiper-slide img:hover {
  border-color: #f6c500;
}
.thumb-swiper {
  position: relative;
}
.gallery-right-con .swiper-button-prev,
.gallery-right-con .swiper-button-next {
  width: 30px;
  height: 30px;
  margin-top: -15px;
}
.gallery-right-con .swiper-button-next,
.gallery-right-con .swiper-rtl .swiper-button-prev {
  right: -50px;
  color: #666;
}
.gallery-right-con .swiper-button-prev,
.gallery-right-con .swiper-rtl .swiper-button-next {
  left: -50px;
  color: #666;
}
.gallery-right-con .swiper-button-next:after,
.gallery-right-con .swiper-rtl .swiper-button-prev:after,
.gallery-right-con .swiper-button-prev:after,
.gallery-right-con .swiper-rtl .swiper-button-next:after {
  font-size: 32px;
}
.gallery-content {
  text-align: center;
}
.gallery-content-tit {
  position: relative;
  height: 100px;
  margin: 40px 0;
}
.gallery-content-tit span {
  display: inline-block;
  white-space: nowrap;
  padding: 10px 24px;
  background-color: #ffc107;
  color: #111;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translate(-50%, 0);
  z-index: 2;
}

.gallery-content-tit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ddd;
  transform: translateY(-50%);
  z-index: 1;
}
.gallery-content-edit img {
  max-width: 100% !important;
  width: 100%;
  height: auto;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
  .gallery-right {
    margin: auto;
  }
  .gallery-right-con .swiper-button-next,
  .gallery-right-con .swiper-rtl .swiper-button-prev {
    right: -35px;
  }
  .gallery-right-con .swiper-button-prev,
  .gallery-right-con .swiper-rtl .swiper-button-next {
    left: -35px;
  }
  .gallery-right-con .swiper-button-next:after,
  .gallery-right-con .swiper-rtl .swiper-button-prev:after,
  .gallery-right-con .swiper-button-prev:after,
  .gallery-right-con .swiper-rtl .swiper-button-next:after {
    font-size: 18px;
  }
  .intro-section {
    padding: 30px 0;
  }
  .videoplay {
    height: 200px;
    background: none;
  }
  .banner-section {
    margin-top: 90px;
  }
  .thumb-swiper .swiper-slide img {
    height: 70px;
  }
  .news-detail-section {
    margin-top: 90px;
  }
  /* 图文列表版块 */
  .gallery-section {
    padding: 40px 0;
  }

  .gallerySwiper .img-box {
    height: 15vw;
    margin-bottom: 8px;
  }

  .gallerySwiper h3 {
    font-size: 12px;
  }

  .gallery-btn {
    /*display: none;*/
  }
  .product-bar {
    padding: 10px 0;
  }
  .intro-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .intro-txt {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  /* 产品版块 */
  .product-top {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
  }

  .top-left {
    height: 50vw;
    flex: none;
  }

  .top-right {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .right-item {
    height: auto;
  }

  .left-info h3 {
    font-size: 16px;
  }

  .right-item h4 {
    font-size: 12px;
  }

  /* 产品列表 */
  .list-static {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .list-img {
    height: 40vw;
    margin-bottom: 15px;
  }

  .list-name {
    font-size: 13px;
    line-height: 1.5;
  }

  /* 新闻轮播 */
  .newsSwiper .swiper-wrapper {
    /* padding-bottom: 40px; */
  }

  .news-card {
    margin: 0 10px;
  }

  .news-title {
    font-size: 16px;
  }

  .news-desc {
    font-size: 13px;
  }

  /*产品详情*/
  .gallery-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .pro-title {
    font-size: 18px;
    line-height: 24px;
    max-height: none;
  }
  .pro-title,
  .pro-desc {
    height: auto;
  }
  .gallery-left {
    flex: 0;
    height: auto;
  }
  .gallery-left img {
    height: auto;
    object-fit: scale-down;
  }
  .gallery-right-con {
    max-width: 260px;
    margin: 0 auto 20px;
  }
  .product-section {
    padding: 0;
  }
  .video-wrapper {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .gallerySwiper .img-box {
    height: 20vw;
  }

  .gallerySwiper h3 {
    font-size: 11px;
  }

  .intro-title {
    font-size: 22px;
  }

  .product-top {
    margin-bottom: 20px;
  }

  .top-left {
    height: auto;
  }

  .right-item {
    height: auto;
  }

  .list-img {
    height: auto;
  }

  .news-title {
    font-size: 15px;
  }
  .filter-toggle {
    padding-top: 5px;
  }
  .filter-panel {
    top: 56px;
  }
  .product-section {
    padding: 0;
  }
  .video-wrapper {
    height: 200px;
  }
}
