.tab-header{text-align: center;}
.tab-btn {
  width: 45%;
    position: relative;
    outline: none;
    line-height: 80px;
    padding: 0 40px;
    background: #eee;
    font-size: 20px;
    margin-bottom:5px;
  }
  

  
  .tab-btn.active {
    color: #fff;
    background: #009688;
  }
  
  .tab-btn.active::after {
    width: 80%;
  }
  
  .tab-content {
    min-height: 300px;
    padding-top:60px;
  }
  .tab-content ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:start;
  }

  .tab-content ul li{
    width: 32%;
    margin-right:1.5%;
    margin-bottom:30px;
  }

  .tab-content ul li:nth-child(3n){margin-right:0;}


  .product-gpg-li-box{
    position: relative;
    border-radius: 20px 20px 0px 0;
    overflow: hidden;
  }

  .product-gpg-li-pic{
    width: 100%;
    height:383px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
  }
  .product-gpg-li-pic img{
    width: 100%;
    object-fit: cover;
    transition: all .4s;
  }
.product-gpg-li-name{
  position: absolute;
  left: 0;
  bottom:0;
  background: rgba(255,255,255,.8);
  height: 60px;
  line-height: 60px;
  padding:0 40px;
  overflow: hidden;
  transition: all .4s;
}
.product-gpg-li-more{
  line-height: 80px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    background: #fff;
}
.product-gpg-li-more a{display: block;}


.tab-content ul li:hover .product-gpg-li-pic img{
  transform: scale(1.1);
}
.tab-content ul li:hover .product-gpg-li-name{
  color:#009688
}



@media(max-width:1440px) and (min-width:1280px){
  .product-gpg-li-pic{height:278px}
}
  
  @media (max-width: 640px) {
    .tab-header {
      overflow-x: auto;
      white-space: nowrap;
      display: block;
    }
    
    .tab-btn {
      display: inline-block;
      width: auto;
    }
    
    .tab-btn::after {
      bottom: 8px;
    }
  }
  @media(max-width:1199px){
    .tab-btn{padding: 0 20px;font-size:16px;}
    .product-gpg-li-pic{height:214px}
  }
  @media(max-width:767px){
    .tab-content ul li{width: 48%;margin-right: 2%;}
    .product-gpg-li-name{padding:0 10px;}
  }