﻿.product {
  width: 100%;
  height: auto;
}

.product .banner {
  width: 100%;
  overflow: hidden;
}

.product .banner img {
  width: 100%;
  position: relative;
}

.product .product_box {
  width: 95%;
  max-width: 1080px;
  height: auto;
  margin: 0 auto;
  padding-bottom: 4.375rem;
}

.product .product_box .nav ul {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.product .product_box .nav a {
  position: relative;
  display: flex;
  flex-grow: 1;
  height: 4.375rem;
  padding: 0px 10px;
  color: #666666;
  font-weight: 400;
  background: #f7f7f7;
}

.product .product_box .nav a li {
  color: #666666;
}

.product .product_box .nav a {
  border-right: 1px solid #e3e3e3;
  transition: all 0.2s ease-in;
}

.product .product_box .nav a:last-child {
  border: none;
}

.product .product_box .nav li {
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 1.25rem;
  line-height: 4.375rem;
}

.product .product_box .nav a:hover,
.product .product_box .nav a.active {
  background: #1890ff;
  font-weight: bold;
  color: #ffffff;
}

.product .product_box .nav a:hover li,
.product .product_box .nav a.active li {
  color: #ffffff;
}

.product .product_box .product_list {
  width: 100%;
  height: auto;
  margin-top: 3.125rem;
}

.product .product_box .product_list ul {
  display: flex;
  flex-wrap: wrap;
}

.product .product_box .product_list li {
  position: relative;
  margin-right: 13px;
  width: 260px;
  height: 200px;
  margin-bottom: 30px;
  cursor: pointer;
  background-color: #fff;
}

.product .product_box .product_list li:nth-child(4n) {
  margin-right: 0;
}

.product .product_box .product_list .pic {
  width: 100%;
  height: 160px;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.5s ease-in;
  position: absolute;
  top: 0;
  border-radius: 5px;
  border: 1px solid #eaeaea;
}

.product .product_box .product_list .pic img {
  height: 100%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
}

.product .product_box .product_list .infos {
  width: 100%;
  height: 160px;
  border: 1px solid #1890ff;
  padding: 0.625rem 0.75rem;
  background-color: #fff;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease-in-out;
}

.product .product_box .product_list .infos .title {
  font-size: 1.10rem;
  font-weight: bold;
  color: #1890ff;
  text-align: center;
  margin-bottom: 0;
}

.product .product_box .product_list .infos .zhaiyao {
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  margin-top: 0.625rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.product .product_box .product_list .infos .zhaiyao p {
  line-height: 1.5625rem;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.product .product_box .product_list .infos .btn {
  overflow: hidden;
  margin-top: 0.625rem;
  padding: 0;
  border: 0;
}

.product .product_box .product_list .infos .btn .into {
  width: 5.875rem;
  height: 2rem;
  background: #1890ff;
  border-radius: 0.05rem;
  float: left;
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
  margin-right: 1.875rem;
  text-align: center;
  line-height: 2rem;
  margin-bottom: 0;
}

.product .product_box .product_list .infos .btn .more {
  width: 5.875rem;
  height: 2rem;
  border: 1px solid #1890ff;
  border-radius: 0.05rem;
  float: left;
  font-size: 1rem;
  font-weight: 400;
  color: #1890ff;
  text-align: center;
  line-height: 2rem;
  margin-bottom: 0;
}

.product .product_box .product_list li .showTitle {
  display: flex;
  justify-content: center;
  line-height: 40px;
  font-size: 16px;

  span {
    color: #666;
  }
}



/* 动画部分 */
.product .product_box .product_list li:hover .pic {
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: -1;
}

.product .product_box .product_list li:hover .infos {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.product .product_box .product_list li:hover .showTitle {
  background-color: #1890ff;
  transition: all 0.3s ease-in-out;

  span {
    color: #fff;
  }
}

/* 动画部分-end */

.product_box .show {
  display: block;
}

.product_box .hide {
  display: none;
}