@charset "utf-8";
.product_item{
    background-color: #FBFBFB;
    line-height: 64px;
    color: #323232;
}

.product_item .product_navbar{
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}
.product_item .product_navbar > span{
    padding: 0 15px;
}

.product_item .product_navbar .p_category{
    color: #ABABAB;
}

/* collection */
.comwidth{
    max-width: 1260px;
    margin: 0 auto;
}

.categroies{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.categroies .categroy_all{
    width: 280px;
    margin-right: 20px;
}

.categroy_all > p{
    padding: 30px 0 20px 0;
}

.categroy_all .category_ul{
    color: #969696;
}

.categroy_all .category_ul > li{
    margin: 10px 0;
    cursor: pointer;
}

.categroy_all .category_ul > li.active{
    color: #04d39f;
}

.categroy_block{
  width: calc(100% - 300px)
}

.categroy_block .categroy_sortby{
    display: flex;
    justify-content: flex-end;
    font-family: OpenSans;
}

.categroy_sortby .sort_title{
    padding: 8px 10px 0 0;
}

.categroy_sortby .sort_area{
    position: relative;
}

.categroy_sortby .sort_area .sort_choose{
    display: inline-flex;
    width: 250px;
    border: 1px solid #dddddd;
    padding: 7px 15px;
    cursor: pointer;
    color: #969696;
}

.categroy_sortby .sort_area .sort_ul{
    box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.15);
    border-radius:0 0 3px 3px;
    z-index: 9;
    position: absolute;
    width: 100%;
    display: none;
}

.categroy_sortby .sort_area .sort_ul > li{
    text-align: left;
    padding-left: 14px;
    line-height: 34px;
    background-color: #ffffff;
    cursor: pointer;
}

.categroy_sortby .sort_area .sort_ul > li:hover{
    background-color: #04D39F;
    color: #ffffff;
}

.categroy_item{
    display: flex;
    flex-wrap: wrap;
    margin-right: -22px;
}

.categroy_item .category_detail{
    width: 33.3%;
    padding-right: 22px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 62px;
}

.category_detail .img_block{
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}

.category_detail .img_block .quick_view{
    display: block;
    position: absolute;
    bottom: -40px;
    left:50%;
    transform: translateX(-50%);
    cursor: pointer;
    transition: bottom 0.5s;
    -moz-transition: bottom 0.5s;
    -webkit-transition: bottom 0.5s;
    -o-transition: bottom 0.5s;
    width: 140px;
    height: 40px;
    text-align: center;
    background: rgba(4,211,159,1);
    border-radius: 20px;
    line-height: 40px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    word-break: keep-all;
    white-space: nowrap;
    padding: 0 10px;
}
.category_detail .img_block:hover .quick_view{
    bottom: 15px;
    top: auto;
}
.img_block .category_d_img{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}
.img_block .category_d_img > span{
    position: absolute;
    display: inline-block;
    top: 20px;
    width: 75px;
    height: 24px;
    line-height: 24px;
    color: #fff;
    text-align: center;
}

.category_d_img > img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.catalog_price_box {
    position: relative;
}
.catalog_price_box .free_icon {
    position: absolute;
    right: 3px;
    color: #04d39f;
}
.catalog_price_box .price_line {
    color: #ABABAB;
    text-decoration: line-through;
    margin-right: 10px;
}
.hide{
    display: none;
}
.category_detail .category_p_title{
    margin: 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
    -webkit-box-orient: vertical;
}
.category_detail .category_p_title:hover{
    color: #04D39F;
}
.category_detail .category_p_price{
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    color: rgba(50,50,50,1);
}

.category_detail .category_p_price .free_icon{
    position: absolute;
    right: 0;
    color: #04d39f;
}




/* mobile */
.pcategory_box{
    padding: 30px 0;
}
.pcategory_ul_box {
    display: none;
    font-family: OpenSans;
}
.pcategory_ul_box .sort_choose{
    display: inline-flex;
    width: 250px;
    border: 1px solid #dddddd;
    padding: 7px 15px;
    cursor: pointer;
    color: #969696;
    width: 100%;
}

.pcategory_ul_box .category_ul{
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.15);
    border-radius: 0 0 3px 3px;
    z-index: 9;
    position: absolute;
    width: 100%;
    display: none;
}
.pcategory_ul_box .category_ul li{
    text-align: left;
    padding-left: 14px;
    line-height: 34px;
    background-color: #ffffff;
    cursor: pointer;
}
.icon-triangle{
    display: inline-block;
    height: 0;
    width: 0;
    border-style: solid;
    border-color: #888 transparent transparent transparent;
    border-width: 6px 5px 0px 5px;
    position: absolute;
    top: 16px;
    right: 10px;
}
.icon-triangle.icon-triangle_up{
    border-color: transparent transparent #888 transparent;
    border-width: 0px 5px 6px 5px;
}
.goods_null{
    width: 65%;
    text-align: center;
    height: 400px;
}
.goods_null i{
    font-size: 100px;
    color: #EFEFEF;
}
.goods_null_text{
    font-size: 22px;
    font-family: OpenSans;
    color: #333333;
    display: block;
}
@media screen and (max-width:768px) {
    .categroies .categroy_all{
        display: none;
    }
    .categroy_sortby .sort_title{
        display: none;
    }
    .categroy_block .categroy_sortby {
        width: calc( 50% - 6px);
        padding: 0;
    }
    .categroy_sortby .sort_area .sort_choose{
        width: 100%;
    }
    .categroy_sortby .sort_area{
        width: 100%;
    }
    .categroy_block{
        width: 100%;
    }
    .categroy_item{
      margin-right: -13px;
    }
    .goods_null{
        width: 100%;
    }
    .categroy_item .category_detail{
        width:50%;
        padding-right: 13px;
        margin-bottom: 24px;
    }
    .pcategory_ul_box {
        display: block;
        width: calc( 50% - 6px);
        position: relative;
    }
    .pcategory_box{
        display: inline-flex;
        width: 100%;
        justify-content: space-between;
        padding: 15px 0;
    }
    .category_detail .img_block .quick_view{
        width: 105px;
        height: 30px;
        font-size: 12px;
        line-height: 30px;
        bottom: 10px;
    }

}








