@charset "utf-8";



.product-list .fix-top{z-index: 22; position: fixed; top: 0; width: 100%; left: 0; right: 0;}

.product-cont{ margin-top:1.68rem;   display: block; width: 100%;     border: 1px solid #f0f0f5;}

.product-list .search {
    height: 0.98rem;
    background: #fff;
}

.product-list .txt-input {
    border-radius: 6px;
    height: 0.64rem;
    background: #f0f0f5;
    margin-left: 0.3rem;
    overflow: hidden;
}

.product-list .txt-input .btn-submit {
    width: 0.66rem;
    height: 0.64rem;
    font-family: iconIntegral_v1;
    color: #ccc;
    background: transparent;
    border: none;
    padding-left: 0.1rem;
}

.product-list .txt-input input {
    height: 0.64rem;
    width: 100%;
    background: transparent;
    border: none;
    font-size: 0.24rem;
    padding-left: 0.1rem;
}

.btn-switch-layout {
    width: 0.8rem;
    height: 0.8rem;
    background: #fff;
    border: none;
    margin-left: 0.4rem;
    color: #666;
    text-align: left;
}

.btn-switch-layout:before {
    font-family: iconIntegral_v1;
    content: "\e608";
    font-size: 0.4rem;
}

.btn-switch-layout.curr:before {
    font-family: iconIntegral_v1;
    content: "\e60a";
    font-size: 0.4rem;
}

.product-list .tab-wrap {
    height: 0.7rem;
    background: #fff;
}

.product-list .tab-wrap .btn {
    border: none;
    background: transparent;
    font-size: 0.3rem;
    height: 0.7rem;
    line-height: 0.72rem;
    transition:.6s;
}

.product-list .tab-wrap .btn.curr {
    color: $color-sub;
}

.product-list .tab-wrap .btn:active{  background:#f0f0f5;}

.product-list .tab-wrap .btn.icon-arrow:after{
    display: inline-block;
    content: "";
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-top: 4px solid transparent;
    margin-left: 0.1rem;
    vertical-align: middle;
    margin-top: -2px;
}
.product-list .tab-wrap .btn.curr.icon-up.icon-arrow:after{
    border-bottom: 4px solid #f54040;
    border-top:0 ;
}
.product-list .tab-wrap .btn.curr.icon-down.icon-arrow:after{
    border-bottom: 0;
    border-top: 4px solid #f54040;
}

.product-list .tip-box {
    height: 0.36rem;
    line-height: 0.7rem;
    padding: 0 0.3rem;
    color: #999;
    font-size: 0.22rem;
}

.product-list .tip-box .icon {
    font-family: iconIntegral_v1;
    padding-right: 0.13rem;
}
.layout-grid li .img .product-data-info,.layout-list li .img .product-data-info{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.6rem;
    line-height:0.6rem;
    text-align: center;
    font-size: 0.2rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}
//.layout-grid {
//  font-size: 0;
//  margin-top: 0.24rem;
//}
//
//.layout-grid li {
//  display: inline-block;
//  width: 3.3rem;
//  background: #fff;
//  margin-left: 0.3rem;
//  border-radius: 6px 6px 0 0;
//  overflow: hidden;
//  padding-bottom: 0.2rem;
//  margin-bottom: 0.24rem;
//}
//
//.layout-grid li:active {
//  transition: .1s;
//  background: #f4f4f4;
//}
//
//.layout-grid li:active .name {
//  color: #999;
//}
//
//.layout-grid li .btn-cart {
//  display: none;
//}
//
//.layout-grid li .img {
//  width: 3.3rem;
//  height: 3.3rem;
//  position: relative;
//}
//.layout-grid li .img img{
//  width: 100%;
//  height: 100%;
//}
//.layout-grid li .name {
//  margin-top: 0.16rem;
//  font-size: 0.24rem;
//  color: #333;
//  height: 0.7rem;
//  line-height: 0.35rem;
//  padding: 0 0.16rem;
//}
//
//.layout-grid li .txt1 {
//  font-size: 0.36rem;
//  color: $color-primary;
//  padding: 0.28rem 0.16rem 0 0.16rem;
//}
//
//.layout-grid li .txt1 .t {
//  font-size: 0.22rem;
//}
//
//.layout-list {
//  background: #fff;
//  margin-top: 0.24rem;
//}
//.layout-list li{ position: relative;}
//.layout-list li a {
//  display: -webkit-box;
//  display: -webkit-flex;
//  display: flex;
//  -webkit-box-orient: horizontal;
//  border-bottom: 1px solid #e8e8e8;
//  padding: 0.26rem 0.24rem 0.26rem 0.28rem;
//}
//
//.layout-list li:last-child a {
//  border-bottom: none;
//}
//
//.layout-list li:active {
//  transition: .1s;
//  background: #fafafa;
//}
//
//.layout-list li .img {
//  position: relative;
//  width: 2rem;
//  height: 2rem;
//  border-radius: 4px;
//  overflow: hidden;
//}
//.layout-list li .img img{
//   width: 100%; 
//   height: 100%;
// }
//
//.layout-list li .txt-wrap {
//  position: relative;
//  -webkit-box-flex: 1;
//  -webkit-flex: 1;
//  flex: 1;
//  width: 0%;
//  padding-left: 0.2rem;
//}
//
//.layout-list li .name {
//  font-size: 0.28rem;
//  line-height: 0.38rem;
//  color: #333;
//}
//
//.layout-list li .txt1 {
//  position: absolute;
//  left: 0.2rem;
//  bottom: 0;
//  font-size: 0.36rem;
//  color: $color-primary;
//}
//
//.layout-list li .txt1 .t {
//  font-size: 0.24rem;
//}
//
//.layout-list li .btn-cart {
//  position: absolute;
//  bottom:0.16rem;
//  right:0;
//  padding: 0.1rem 0.24rem 0.06rem 0.1rem;
//  font-family: "iconIntegral_v1";
//  background: transparent;
//  border: none;
//  font-size: 0.38rem;
//  color: #f07d43;
//  z-index: 10;
//}
//.layout-list li .btn-cart:after{
//  content: "\e616";
//}


/*购物车虚浮图标*/
.shopping-cart-btn{
    font-family: iconIntegral_v1;
    position: fixed;
    bottom: 13%;
    right: 8%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    text-align: center;
    color: $gray;
    font-size: 20px;
        border: 1px solid #e8e8e8;
    //-webkit-box-shadow: 0 0 8px #d15222;
    //-moz-box-shadow: 0 0 8px #d15222;
    //box-shadow: 0 0 8px #d15222;
    padding-top: 2px;
    z-index: 20;
}

.shopping-cart-btn .flag.max-val{
    right: -14px;
}
.shopping-cart-btn .flag{
    position: absolute;
    top: 0;
    right: 0;
    background: $red;
    line-height: 1.1;
    font-size: 12px;
    padding: 3px 6px;
    color: $white;
    border-radius: 200px;
}
/*购物车虚浮图标 --end*/
#cartShadow{   
    display:none;
    font-family: iconIntegral_v1;
    position: absolute;
    background: $red;
    z-index: 22;
    padding: 0.1rem;
    font-size: 0.2rem;
    color: #fff;
    border-radius: 3px; 
}
#cartShadow.show.animate{display: block;animation:addInCart 1s infinite;-webkit-animation:addInCart 1s infinite;}

@import "../layout/filtrate-block";

@-webkit-keyframes addInCart {
    0% {
        -webkit-transform: translate3d(0, 0, 0) scale(1);
    }
    30% {
        -webkit-transform: translate3d(-151.5px, -50px, 0) scale(1);
    }
    100% {
        -webkit-transform: translate3d(-34px, 209.296875px, 0) scale(.7);
    }
}

@keyframes addInCart {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    30% {
        transform: translate3d(-151.5px, -50px, 0) scale(1);
    }
    100% {
        transform: translate3d(-34px, 209.296875px, 0) scale(.7);
    }
}