/*************** 产品分类一行3个 ***************/
.float-l {
  float: left;
}
.float-r {
  float: right;
}
.clear {
  clear: both;
}
.center {
  margin: 0 auto;
}
.ft-wei {
  font-weight: 600;
}
.hide-excess-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.v-center {
  display: flex;
  justify-content: center;
  align-items: Center;
}
@keyframes imgHover {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}
.imgHover {
  animation: imgHover 1s forwards;
}
.home-product .figure .image {
  padding: 0px;
}
.home-product .figure .text {
  top: 100%;
  background-color: transparent;
}
.home-product .figure .text .pro-group-info .pro-group-name {
  display: flex;
  justify-content: center;
  align-items: Center;
}
.home-product .figure .text .pro-group-info .pro-group-descr {
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
}
.home-product .figure .text .more {
  display: inline-block;
  text-transform: uppercase;
  background-color: #F6F800;
}
.home-product .figure .text .more:hover {
  background-color: #fff;
  text-decoration: none;
}
@keyframes group-text-enter {
  from {
    background-color: transparent;
  }
  to {
    background-color: rgba(3, 126, 159, 0.9);
  }
}
@keyframes group-text-leave {
  from {
    background-color: rgba(3, 126, 159, 0.9);
  }
  to {
    background-color: transparent;
  }
}
@keyframes group-line-enter {
  from {
    width: 0px;
  }
  to {
    width: 120px;
  }
}
@media (max-width: 767px) {
  .home-product .figure {
    height: auto;
  }
  .home-product .figure .image {
    height: 200px;
  }
  .home-product .figure .text {
    position: static;
    padding-bottom: 20px;
  }
  .home-product .figure .text .pro-group-info {
    height: auto;
    color: #000;
  }
  .home-product .figure .text .pro-group-info .pro-group-name {
    font-size: 14px;
    line-height: 18px;
    height: auto;
  }
  .home-product .figure .text .pro-group-info .pro-group-descr {
    height: auto;
    padding-left: 25px;
    padding-right: 25px;
  }
  .home-product .figure .text .more {
    padding: 10px 15px;
  }
}
@media (min-width: 768px) {
  .home-product .figure {
    margin-bottom: 30px;
  }
  .home-product .figure .image {
    height: 350px;
  }
  .home-product .figure .text {
    padding: 12px;
  }
  .home-product .figure .text .pro-group-info {
    height: 66%;
    color: #fff;
  }
  .home-product .figure .text .pro-group-info .pro-group-name {
    height: 40px;
    margin-top: 10px;
  }
  .home-product .figure .text .pro-group-info .pro-group-name p {
    font-size: 20px;
    line-height: 21px;
    max-height: 41px;
  }
  .home-product .figure .text .pro-group-info .animate-line {
    width: 0px;
    height: 3px;
    background-color: #F5F700;
    margin: 15px auto;
  }
  .home-product .figure .text .pro-group-info .pro-group-descr {
    color: #fff;
  }
  .home-product .figure .text .more {
    padding: 10px 15px;
  }
  .home-product .figure.figure-enter .text {
    animation: group-text-enter 0.5s forwards;
  }
  .home-product .figure.figure-enter .text .animate-line {
    animation: group-line-enter 0.5s 0.5s forwards;
  }
  .home-product .figure.figure-leave .text {
    animation: group-text-leave 0.5s forwards;
  }
  .home-product .figure.figure-leave .text .animate-line {
    width: 0px;
  }
  .home-product .figure .group-name{
    margin-top:20px;
    font-size: 16px;
  }
}
