button {
  outline: none;
  border: none;
  transition: 0.3s;
  cursor: pointer;
}
button:hover {
  opacity: 0.85;
}

input {
  border: none;
  outline: none;
  background: transparent;
}

/* 页面：产品列表 product-list  */
.product-list-container {
  background: #f7f7f7;
  padding-bottom: 1.15rem;
}

.product-list-wrap {
  padding-top:1rem;
  width: 14rem;
  margin: 0 auto;
}

/* 筛选框开始 */
.filter-container {
  margin-top: 0.6rem;
  background: #ffffff;
}
.filter-top {
  padding: 0.3rem 0.6rem;
}
.filter-bottom {
  border-top: 1px solid transparent;
  padding: 0.14rem;
  transition:all .365s;
}
.search-box {
}
.search-inner {
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 7rem;
  height: 0.5rem;
  line-height: 0.5rem;
  background: #ffffff;
  opacity: 1;
  border: 1px solid #666666;
}
.search-input {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 0.16rem;
}
.search-img {
  position: absolute;
  z-index: 1;
  right: 0.16rem;
  width: 0.22rem;
  cursor: pointer;
}
.search-img:hover {
  opacity: 0.85;
}

.filter-box {
  padding-top: 0.4rem;
}
.filter-list {
}
.filter-item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.filter-item + .filter-item {
  margin-top: 0.2rem;
}

.filter-title {
  min-width: 1.5rem;
  text-align: left;
  font-size: 0.18rem;
  color: #999999;
}
.filter-tags {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.filter-tag {
  margin-right: 0.4rem;
  margin-bottom: 0.3rem;
  cursor: pointer;
  font-size: 0.16rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #333333;
}
.filter-tag.active {
  color: #94c33a;
  font-weight: bold;
}

.action-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.filter-clear {
  width: 1.28rem;
  height: 0.46rem;
  background: #ffffff;
  border-radius: 0rem 0rem 0rem 0rem;
  opacity: 1;
  font-size: 0.16rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #284186;
}
.filter-search {
  width: 1.28rem;
  height: 0.46rem;
  background: #284186;
  border-radius: 0rem 0rem 0rem 0rem;
  opacity: 1;
  font-size: 0.16rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #ffffff;
}
.toggle-box {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 0.16rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #284186;
}

.toggle-box img {
  width: 0.18rem;
  transform: rotate(180deg);
  transition:all .365s;
}

/* 筛选框结束 */

/* 底部产品列表 */
.product-bottom-container {
  margin-top: 0.6rem;
  margin-top: 0.8rem;
  display: flex;
}

.product-list {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
      align-content: flex-start;
    align-items: flex-start;
}

.product-item {
  margin-bottom: .24rem;
  position: relative;
  width: 2.76rem;
  /*height: 4.48rem;*/
  background: #ffffff;
  margin-right: 0.15rem;
  cursor: pointer;
  position: relative;
}
.news{
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    font-size: .2rem;
    color: #ccc;
    /*font-style: italic;*/
    font-weight: bold;
}
.product-item:nth-child(4n) {
  margin-right: 0;
}

.product-img-box {
  width: 2.76rem;
  height: 2.76rem;
  transition: 0.3s;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.4s;
}

.product-info {
  padding: 0 0.15rem;
  padding-top: 0.2rem;
}

.product-title {
  transition: 0.4s;
  transition: 0.3s;
  font-size: 0.17rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #333333;
  margin-bottom: 0.16rem;
  text-align: center;
}

.product-desc {
  transition: 0.4s;
  margin-top: 0.12rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
  transition: 0.3s;
  margin-top: 0.12rem;
  margin-bottom: 0.16rem;
  height: 0.58rem;
  font-size: 0.16rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #999;
  line-height: 0.29rem;
}
.product-link {
  transition: 0.4s;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  height: 0.42rem;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 0.14rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #666666;
}
.product-link img {
  width: 0.18rem;
}

.product-item:hover {
  box-shadow: 0rem 0.04rem 0.24rem 0rem rgba(0, 0, 0, 0.1);
}

.product-item:hover .product-img {
  transform: scale(1.05);
}
.product-item:hover .product-title {
  color: #284186;
  font-weight: bold;
}
.product-item:hover .product-desc {
  color: #333333;
}
.product-item:hover .product-link {
  color: #284186;
}

.product-line {
  position: absolute;
  z-index: 10;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #94c33a;
  transition: 0.6s;
}
.product-item:hover .product-line {
  width: 100%;
}

/* 左侧导航 开始*/

.product-aside-nav {
  align-self: flex-start;
  width: 2.3rem;
  margin-right: 0.21rem;
  background: #fff;
}

/*.product-aside-nav a {*/
/*  display: block;*/
/*}*/

.level-1-list {
}
.level-1-item {
}

.level-1-item + .level-1-item {
  border-top: 1px solid rgba(40, 65, 134, 0.1);
}

.level-1-title {
  padding-left: 0.2rem;
  position: relative;
}
.level-1-text {
  line-height: 0.3rem;
  font-size: 0.2rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #333333;
  padding: 0.1rem 0;
  padding-right: 0.2rem;
}
.level-1-icon {
  position: absolute;
  top: 0.12rem;
  right: 0.12rem;
  width: 0.24rem;
  height: 0.24rem;
}

.level-2-list {
  display: none;
}
.level-2-item {
}
.level-2-item + .level-2-item {
  border-top: 1px solid rgba(40, 65, 134, 0.1);
}
.level-2-title {
  padding-left: 0.28rem;
  position: relative;
}
.level-2-text {
  line-height: 0.48rem;
  font-size: 0.16rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #666666;
}
.level-2-icon {
  position: absolute;
  top: 0.12rem;
  left: 0;
  width: 0.24rem;
  height: 0.24rem;
}

.level-3-list {
  display: none;
}
.level-3-item {
  min-height: 0.36rem;
  padding: 0.1rem 0;
  display: flex;
  align-items: center;
}
.level-3-item + .level-3-item {
  border-top: 1px solid rgba(40, 65, 134, 0.1);
}

.level-3-title {
  padding-left: 0.28rem;
  padding-right: .15rem;
}
.level-3-text {
  line-height: 0.3rem;
  font-size: 0.14rem;
  font-family:  -Regular,  ;
  font-weight: 400;
  color: #666666;
  
      display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 1;
    transition: 0.3s;
}
.level-3-text:hover{
    -webkit-line-clamp: initial;
}
.level-3-title + .level-3-title {
}

.level-1-icon-active {
  display: none;
}
.level-2-icon-active {
  display: none;
}

/* 被选中的导航 */
/* 1级导航选中 */
.level-1-title.active {
  background: #284186;
}
.level-1-title.active .level-1-text {
  color: #fff;
  font-weight: bold;
}
.level-1-title.active .level-1-icon-active {
  display: inline-block;
}
.level-1-title.active .level-1-icon-default {
  display: none;
}
.level-1-title.active + .level-2-list {
  display: block;
}



/* 2级导航选中 */
.level-2-title.active .level-2-text {
  color: #284186;
}
.level-2-title.active .level-2-icon-active {
  display: inline-block;
}
.level-2-title.active .level-2-icon-default {
  display: none;
}
.level-2-title.active + .level-3-list {
  display: block;
}

/* 3级导航雪中 */
.level-3-title.active .level-3-text {
  color: #284186;
}

/* 左侧导航 结束 */




















/*==============H5==============*/
@media all and (max-width: 1024px) { 
    .product-aside-nav{
        /*width: 2.5rem;*/
        margin-right: .2rem;
    }
    .product-aside-nav {
        /*display: none;*/
    }
    .level-1-text{
        font-size: .26rem;
        padding: .1rem 0;
        line-height: .34rem;
    /*        display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*text-overflow: ellipsis;*/
    /*overflow: hidden;*/
    /*-webkit-line-clamp: 1;*/
    }
    .level-2-text{
        font-size: .24rem;
    }
    .level-3-text{
        font-size: .22rem;
        line-height: 0.38rem;
    }
    .level-2-icon {
        position: absolute;
        top: 50%;
        left: 0;
        width: 0.3rem;
        height: 0.3rem;
        transform: translateY(-50%);
    }



    
    .product-list-wrap {
        width: 100%;
        padding-top: 25px;
    }
    .filter-container {
        width: auto;
        margin: 0 15px;
        margin-top: 20px;
    }
    .product-bottom-container {
        margin-top: 20px;
    }
    .filter-top {
      padding: 15px;   
    }
    .filter-title {
        font-size: 14px;
        min-width: 5em;
    }
    .filter-tag {
        font-size: 12px;
        margin-right: 15px;
        margin-bottom: 15px;
    }
    .filter-clear,.filter-search {
        width: 80px;
        height: 30px;
        font-size: 12px;
    }
    .filter-bottom {
        padding: 15px;   
    }
    
    .search-inner{
        width: 80%;
        height: 35px;
        border-radius: 5px;
    }
    .search-input {
        height: 35px;
        font-size: 14px;
    }
    .search-img {
        width: 20px;
        height: 20px;
    }
    .toggle-box span{
        font-size: 14px;
    }
    .toggle-box img {
        width: 15px;
    }
    
    .product-list {
        width: 100%;
        /*padding: 0 15px;*/
        padding-right: 15px;
        justify-content: space-between;
    }
    .product-item {
        width: 48%;
        height: auto;
        margin: 0;
        margin-bottom: 15px;
    }
    
    .product-img-box {
        width: 100%;
        height: 2.2rem;
    }
    .product-title {
        font-size: 14px;
    }
    .product-desc {
        height: auto;
        min-height: 36px;
        font-size: 12px;   
        line-height: 1.5;
    }
    
    .product-link {
        font-size: 12px;
        height: 30px;
    }
    
}





























