.materials {
  background: #fff;
  padding: 0.28rem 0 1.41rem;
}

.quickContact {
  background: #FAFAFA;
}

.materialGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem 0.34rem;
}

.materialGrid .item {
  text-align: center;
}

.materialGrid .imgBox {
  height: 4.31rem;
  background: #eceff4;
  margin-bottom: 0.22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.materialGrid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.materialGrid .item:hover .imgBox::after {
  content: "+";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.48rem;
  height: 0.48rem;
  margin-left: -0.24rem;
  margin-top: -0.24rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.36rem;
  line-height: 0.45rem;
}

.materialGrid .item:hover .imgBox::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.materialGrid h3 {
  color: #222;
  font-size: 0.2rem;
  font-weight: 500;
}

.materialGrid .item:hover h3 {
  color: var(--blue);
}

.materialDetail {
  /* background: #f6f6f6; */
  /* padding: 0.55rem 0 0.2rem; */
  padding-bottom: 1.23rem;
}

.materialIntro {
  padding: .9rem 0 1rem;
  border-bottom: 0.01rem solid #C9C9C9;
}

.materialIntro .top{
    display: flex;
}

.materialIntro h1 {
  min-width: 4.86rem;
  min-height: .88rem;
  color: var(--blue);
  font-weight: 500;
  font-size: 0.45rem;
  /*float: left;*/
  
}

.materialIntro .info{
  border-left: .01rem solid #B7B7B7;
  padding-left: .25rem;
   font-weight: 400;
    font-size: 0.18rem;
    color: #000000;
    line-height: 0.35rem;
}

.materialIntro .info p{
    font-weight: 400;
    font-size: 0.18rem;
    color: #000000;
    line-height: 0.35rem;
}

.detailSection {
  padding: 1rem 0;
  border-bottom: 0.01rem solid #C9C9C9;
}

.detailSection#relatedProducts{
    border: 0;
}

.detailSection h2 {
  font-weight: 500;
  font-size: 0.35rem;
  color: var(--blue);
  margin-bottom: .4rem;
}

#relatedProducts .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#relatedProducts .top .right {
  display: flex;
  gap: 0.08rem;
}

.swiper-button-prev,
.swiper-button-next {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--blue);
  position: static;
  margin: 0;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--orange);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 0.12rem;
  color: #fff;
}

.relatedProducts {
  position: relative;
}

.productCard {
  height: 3.62rem;
}

.productCard .imgBox {
  height: 2.4rem;
}

.productCard .txt {
  padding: .23rem .2rem;
}

.productCard h3 {
  font-weight: 500;
  font-size: 0.22rem;
  color: #000000;
  margin-bottom: .2rem;
}

.productCard p {
  font-weight: 400;
  font-size: 0.18rem;
  color: #797979;
}

@media (max-width: 1024px) {
  .materials {
    padding: 0.42rem 0 0.78rem;
  }

  .materialGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.34rem 0.24rem;
  }

  .materialGrid .imgBox {
    height: 3.2rem;
  }

  .materialGrid h3 {
    font-size: 0.22rem;
    line-height: 0.34rem;
  }

  .materialDetail {
    padding-bottom: 0.72rem;
  }

  .materialIntro {
    padding: 0.54rem 0;
  }

  .materialIntro .top {
    flex-direction: column;
    gap: 0.24rem;
  }

  .materialIntro h1 {
    min-width: 0;
    min-height: 0;
    font-size: 0.42rem;
  }

  .materialIntro .info {
    border-left: 0;
    padding-left: 0;
    border-top: 0.01rem solid #b7b7b7;
    padding-top: 0.22rem;
  }

  .materialIntro .info,
  .materialIntro .info p {
    font-size: 0.22rem;
    line-height: 0.36rem;
  }

  .detailSection {
    padding: 0.58rem 0;
  }

  .detailSection h2 {
    font-size: 0.34rem;
  }

  #relatedProducts .top {
    align-items: flex-start;
    gap: 0.18rem;
  }

  .productCard {
    height: auto;
  }

  .productCard .imgBox {
    height: 2.35rem;
  }

  .productCard h3,
  .productCard p {
    font-size: 0.22rem;
  }
}

@media (max-width: 560px) {
  .materialGrid {
    grid-template-columns: 1fr;
  }
}
