.goods-type ul li:after {
    content: "";
    position: absolute;
     left: 0; 
     top: 0; 
    /*width: 100%;*/
    /*height: 100%;*/
    background: rgba(224, 1, 11, 0.41);
    display: block;
    transition: opacity 0.2s, transform 0.35s;
    opacity: 0;
    /* transform: scale(0); */
}

.goods-type ul li:hover:after {
    opacity: 1;
    bottom: 0;
}

.goods-type ul li:hover h5{
  color:red;
}

.goods-type ul li:hover >a>img{
  transform:scale(1.2);
  transition:all 0.5s;
}

.goods-type .wp .index-tit h2{
    font-size: 20px!important;
    font-weight: 700;
    color: var(--title-text-color, #000);
    font-family: var(--title-font-family);
    padding-top: 20px;
}

.goods-type .wp .cl li h3{
    font-size: 18px!important;
    font-weight: 700!important;
    color: #fff;
    font-family: var(--title-font-family);
    text-align: center;
    
    position: absolute;
    top: 420px;
    /*left: 25%;*/
    left: 50%;
    transform: translateX(-50%);
    
    text-wrap: nowrap;
} 

.goods-type .wp .cl li h3 a:hover{
  color: red!important;
}

.goods-type ul li:hover>h3>a {
    color: red;
}













.goods-type {
  /*padding: 40px 0;*/
  padding: 0px 0 30px;
  background: #ffffff;
}

.goods-type .index-tit {
  text-align: left;
  margin-left: 15px;
}

.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: 50px;
  line-height: 1;
  /*color: #000;*/
  color: black;
  font-weight: 600;
  text-transform: uppercase;
}

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

.goods-type .index-tit p {
  font-size: 16px;
  line-height: 24px;
  color: #373737;
  /*margin: 20px auto 0;*/
}

.goods-type ul {
  margin: 30px 0 0 -2%;
  display: flex;
  flex-wrap: wrap;
  /*justify-content: center;*/
  
  position: relative;
  margin-top: -15px;
  left: 3px;
}

.goods-type ul li {
  /* float: left; */
  /*width: 20%;*/
  width: 320px;
  margin: 25px 0 0 2%;
  box-sizing: border-box;
  margin-top: 0px;
  /*height: 500px;*/
  /*margin-left: 74px;*/
  margin-left: 31px;
  
  position: relative;
  display: flex;
  justify-content: center;
  
  margin-top: 30px;
}


.goods-type ul li:nth-child(4n+1) {
    margin-left: 42px;
}


.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: 10px;
}




.goods-type ul li .pic:hover>img {
    transform: scale(1.2);
    transition: 2s;
    transform: 0.5s;
}



.goods-type ul li .pic::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(224, 1, 11, 0.41) url("../../images/i1.png") no-repeat center;
  display: block;
  transition: opacity 0.2s, transform 0.35s;
  opacity: 0;
  transform: scale(0);
}

.goods-type ul li:hover .pic::after {
  opacity: 1;
  transform: scale(1);
}

.goods-type ul li .pic img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  
  height: 460px;
  border-radius: 10px;
}

.goods-type ul li h5 {
  margin: 15px 0 0;
  color: #000;
  font-size: 26px;
  font-weight: 300;
  text-align: center;
  height: 80px;
}

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

.goods-type ul li .more {
  width: 120px;
  height: 34px;
  line-height: 34px;
  background: var(--color-second);
  border-radius: 25px;
  margin: 10px auto 0;
  display: block;
  text-align: center;
  font-size: 15px;
  color: #fff;
  border-radius: var(--button-radius);
}

.goods-type ul li .more:hover {
  background: var(--btn-hover);
}

@media screen and (max-width: 1500px) {
  .goods-type .index-tit h3 {
    font-size: 48px;
  }

  .goods-type ul li h5 {
    font-size: 20px;
    height: 60px;
  }
  
  
  
  
  
  .goods-type ul li {
    /* float: left; */
    width: 19%;
    margin: 25px 0 0 2%;
    box-sizing: border-box;
    margin-top: 15px;
    /* height: 500px; */
    margin-left: 74px;
    position: relative;
    display: flex;
    justify-content: center;
}

.goods-type ul li:nth-child(4n+1) {
    margin-left: 39px;
}


  
  
}



@media screen and (max-width: 1200px) {
      .goods-type ul li {
        /* float: left; */
        width: 17%;
        margin: 25px 0 0 2%;
        box-sizing: border-box;
        margin-top: 0px;
        /* height: 500px; */
        margin-left: 80px;
        position: relative;
        display: flex;
        justify-content: center;
    }
}









@media screen and (max-width: 1150px) {
  .goods-type ul li h5 {
    font-size: 18px;
  }
}

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

  .goods-type .index-tit h3 {
    font-size: 36px;
  }

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

  .goods-type {
    padding: 30px 0;
  }

  .goods-type ul {
    margin: 15px 0 0 -2%;
    
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
  
      .goods-type ul li:nth-child(4n+1) {
        margin-left: 8px;
    }
  
  
  
  
  

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

  .goods-type ul li h5 {
    font-size: 18px;
    line-height: 22px;
    height: 44px;
  }

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

@media screen and (max-width: 560px) {
  .goods-type .index-tit h3 {
    font-size: 30px;
  }

  .goods-type ul li {
    width: 90%;
  }
  
  .goods-type ul li:nth-child(1) {
    margin-left: 0px;
}
}

@media screen and (max-width: 480px) {
  .goods-type .index-tit h3 {
    font-size: 24px;
  }

  .goods-type ul li h5 {
    font-size: 16px;
  }
}
