/*************** 产品分类拼图式 ***************/
.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 {
  margin-top: 0px;
}
.home-product .cata-name {
  text-align: center;
}
.home-product .cata-name .list {
  display: inline-block;
  cursor: pointer;
}
.home-product .cata-name .list .c-name {
  display: flex;
  justify-content: center;
  align-items: Center;
  width: 100%;
  padding: 6px 30px;
  font-weight: 600;
  border: 1px solid #eee;
  background-color: #fff;
}
.home-product .cata-name .list.selected {
  color: #fff;
}
.home-product .cata-name .list.selected .c-name {
  border-color: #FBA31D;
  background-color: #fba31d;
}
.home-product .cata-pro-list {
  position: relative;
}
.home-product .cata-pro-list .figure {
  border: 3px solid transparent;
  position: relative;
}
.home-product .cata-pro-list .figure .image {
  height: 85%;
  width: 100%;
  padding-bottom: 50px;
}
.home-product .cata-pro-list .figure .image a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: Center;
}
.home-product .cata-pro-list .figure .image a img {
  display: block;
  max-height: 100%;
  max-width: 100%;
}
.home-product .cata-pro-list .figure .mode {
  color: #2e3854;
  z-index: 3;
  position: absolute;
  text-align: center;
  width: 100%;
  bottom: 18%;
  font-size: 16px;
  letter-spacing: 1px;
}
.home-product .cata-pro-list .figure .title {
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: normal;
  padding: 0 10px;
  z-index: 3;
  position: absolute;
  text-align: center;
  width: 100%;
  bottom: 5%;
}
.home-product .cata-pro-list .figure .summary {
  word-wrap: break-word;
  padding: 3px 15px;
  text-align: left;
}
.home-product .cata-pro-list .figure .hoverbox {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0%;
  z-index: 2;
}
.home-product .cata-pro-list .figure:hover {
  box-shadow: none;
  animation: hover_border 1s forwards;
}
.home-product .cata-pro-list .figure:hover .title span {
  animation: hover_title 1s forwards;
}
.home-product .cata-pro-list .figure:hover .hoverbox {
  animation: hoverbox 1s forwards;
}
@keyframes hoverbox {
  from {
    background-color: transparent;
  }
  to {
    background-color: rgba(200, 200, 200, 0.4);
  }
}
@keyframes hover_title {
  from {
    color: #000;
  }
  to {
    color: #000;
  }
}
@keyframes hover_border {
  from {
    border-color: transparent;
  }
  to {
    border-color: #FFA820;
  }
}
@media (max-width: 767px) {
  .home-product .cata-name {
    margin-bottom: 20px;
  }
  .home-product .cata-name .list {
    font-size: 14px;
    margin: 10px;
  }
  .home-product .cata-pro-list .figure {
    width: 100%;
    height: 300px;
  }
  .home-product .cata-pro-list .figure .title {
    font-size: 14px;
  }
}
@media (min-width: 768px) {
  .home-product .cata-name {
    margin-bottom: 0px;
  }
  .home-product .cata-name .list {
    font-size: 16px;
    margin: 20px;
    padding-bottom: 14px;
  }
  .home-product .cata-name .list.selected {
    background: url('../../images/jian.png') no-repeat bottom center;
  }
  .home-product .cata-pro-list .figure {
    width: 100%;
    height: 360px;
  }
  .home-product .cata-pro-list .figure .mode {
    height: 25px;
    line-height: 25px;
  }
  .home-product .cata-pro-list .figure .title {
    font-size: 14px;
  }
}
