.goods-type {
  padding: clamp(30px, 4.6875vw, 90px) 0;
  background: #f5f5f5;
}

.goods-type .index-tit {
  text-align: center;
}

.goods-type .index-tit em {
  font-size: 15px;
  color: #575756;
  letter-spacing: 9px;
  font-weight: 600;
  display: block;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.goods-type .index-tit h3 {
  font-size: clamp(20px, 2.40vw, 46px);
  line-height: 1.3;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
}

.goods-type .index-tit h3 span {
  color: #93c01f;
}

.goods-type .index-tit p {
  font-size: clamp(14px, 0.94vw, 18px);
  line-height: 24px;
  color: #555;
  margin: 20px auto 0;
}

.goods-type ul {
  margin: 30px 0 0 -2%;
  display: flex;
  flex-wrap: wrap;
}

.goods-type ul li {
  /* float: left; */
  width: 18%;
  margin: 25px 0 0 2%;
  box-sizing: border-box;
  width: 31.33%;
  text-align: center;
}

.goods-type ul li .pic {
  display: block;
  width: 100%;
  position: relative;
  box-shadow: 0 0 13px rgba(0, 0, 0, 0.13);
  overflow: hidden;
  border-radius: 20px;
}
.goods-type ul li:hover img{transform:scale(1.05);}
 

.goods-type ul li .pic img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;transition:0.3s;
}

.goods-type ul li h5 {
  margin: 15px 0 0;
  color: #000;
  font-size: clamp(14px, 1.15vw, 22px);
  font-weight: 300;
  text-align: center;
  /* height: 80px; */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.goods-type ul li h5 a:hover {
  color: var(--color-primary);
}

.goods-type ul li .more {
  background: var(--color-primary);
  margin: 10px auto 0;
  display: inline-block;
  text-align: center;
  font-size: clamp(13px, 0.78vw, 15px);
  color: #fff;
  border-radius: var(--button-radius);
  transition: 0.3s;
  padding: 10px 50px;
}

.goods-type ul li .more:hover {
  background: #000;
}

@media(max-width:1280px){
  .goods-type ul li .more {
    padding: 8px 30px;
  }
}



@media screen and (max-width: 991px) {
  .goods-type .index-tit em {
    letter-spacing: 5px;
  }



  .goods-type .index-tit p {
    line-height: 22px;
    margin: 15px auto 0;
  }



  .goods-type ul {
    margin: 15px 0 0 -2%;
  }

  .goods-type ul li {
    width: 31.333333333%;
    margin: 20px 0 0 2%;
  }

  .goods-type ul li h5 {
    line-height: 22px;
  }

  .goods-type ul li .more {
    display: none;
  }
}

@media screen and (max-width: 560px) {

  .goods-type ul li {
    width: 48%;
  }
}


