
main .banner:hover .bg-img {
  transform: scale(1.05);
  cursor: pointer;
}
main .banner {
  margin-bottom: 12px;
}
main .banner:hover .t {
  color: #00a79d;
}
main .banner .hc {
  top: 50px;
}
main .banner .hc .t {
  text-align: right;
  font-size: 54px;
  font-weight: 500;
  text-transform: uppercase;
}
main .classification {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 35px; /* 设置栅格间隙 */
  padding: 70px 35px;
  border-top: 2px #383838 solid;
  color: #313131;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}
main .desc-txt {
  padding: 12px 5vw 24px;
  text-align: center;
  font-size: 18px;
}
main .classification a {
  padding: 12px 24px;
  background-color: #eeeeee;
  border-radius: 25px;
  transform: translateY(50px);
  text-align: center;
}
main .classification a:hover {
  transform: scale(1.1) !important;
  background-color: #00a79d;
  color: #fff;
}
main .classification .active {
  background-color: #00a79d;
  color: #fff;
}

main .banner .product-window {
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  padding: 40px 20px;
  border-radius: 4px;
}

main .banner .product-window .tit {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  transform: translateY(100px);
}
main .banner .product-window .swp {
  max-width: 300px;
  color: #333333;
  transform: translateY(100px);
}
main .banner .product-window .swp .swiper-item-img {
  border: 1px #383838 solid;
  margin-bottom: 20px;
  width: 100%;
  height: 150px;
}
main .banner .product-window .swp .swiper-slide-item-name {
  font-weight: 700;
}
main .banner .product-window .swp .swiper-slide-item-subName {
  font-size: 14px;
  font-weight: 500;
}
main .banner .product-window .swp .btn {
  display: inline-block;
  width: 60px !important;
  height: 60px !important;
  text-align: center;
  line-height: 1.3;
  transform-origin: bottom;
  font-size: 36px;
  border-radius: 50%;
  color: #333333;
  border: 1px #333333 solid;
  z-index: 9;
}
main .banner .product-window .swp .btn:hover {
  background-color: #00a79d;
  color: #fff;
}
main .banner .product-window .swp .swiper-btns {
  margin-top: 12px;
  padding-top: 24px;
  width: 100%;
  border-top: 2px #383838 solid;
}
main .products {
  margin: 20px 0;
  padding: 20px 60px;
}
main .products .tit {
  font-size: 34px;
  font-weight: bold;
  transform: translateY(100px);
}

main .products .inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px; /* 设置栅格间隙 */
  font-size: 24px;
  margin-top: 60px;
  transform: translateY(100px);
  overflow-y: auto;
  max-height: 80vh;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
main .products .inner .product-item {
  padding: 20px;
  border-radius: 3px;
  border: 1px #333333 solid;
  height: 250px;
  overflow: hidden;
}
main .products .inner .product-item img{
  height: 150px;
}
main .products .inner .product-item .product-name {
  font-size: 18px;
  font-weight: 500;
}
main .products .inner .product-item .product-subName {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

main .case {
  padding: 60px 50px;
  background-color: #f6f6f6;
}
main .case .tit {
  font-size: 34px;
  font-weight: bold;
  transform: translateY(100px);
  margin-bottom: 16px;
}
main .case .case-index {
  font-size: 32px;
  font-weight: 700;
  transition: letter-spacing 0.3s;
  margin-right: 8px;
}
main .case .case-info {
  overflow: hidden;
}
main .case .swiper-slide-item .imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px; /* 设置栅格间隙 */
}
main .case .swiper-slide-item .imgs img{
  max-height: 150px;
  max-width: 150px;
}
main .case .swiper-slide-item {
  transform: translateY(100px);
}
main .case .swiper-slide-item:hover .case-index {
  letter-spacing: 8px;
}
main .case .case-name {
  margin-bottom: 10px;
  color: #262626;
}
main .case .case-subName {
  font-size: 14px;
  color: #c3c3c3;
}

@media (max-width: 1200px) {
  section {
    margin-left: 100px;
    margin-right: 100px;
  }
  main .products .inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 创建4列等宽栅格 */
    gap: 15px; /* 设置栅格间隙 */
  }
  main .products .inner .product-item .product-name {
    font-size: 16px;
    font-weight: 500;
  }
  main .products .inner .product-item .product-subName {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  main .products .inner .product-item {
    padding: 10px;
  }
}

@media (max-width: 1024px) {
  main .products .inner {
    grid-template-columns: repeat(3, 1fr); /* 创建4列等宽栅格 */
  }
  main .banner .product-window {
    display: none;
  }
  main .classification {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* 设置栅格间隙 */
    padding: 15px 20px;
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  main .classification a {
    padding: 6px 12px;
    font-size: 14px;
  }
  section {
    margin-left: 0;
    margin-right: 0;
  }
  main .banner .hc .t {
    font-size: 32px;
  }
  main .products .inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 创建4列等宽栅格 */
    gap: 15px; /* 设置栅格间隙 */
  }
  main .products {
    padding: 10px 20px;
  }
  main .products .inner {
    margin-top: 20px;
  }
  main .products .inner .product-item .product-name {
    font-size: 14px;
    font-weight: 500;
  }
  main .products .inner .product-item .product-subName {
    font-size: 16px;
    font-weight: 600;
  }
}
