.container {
    background-color: #F7F7F7;
}

/*1级分类页面和多级分类页面*/
.categorylist {
    position: absolute;
    padding-left: 85px;
    background-color: #f2f2f2;
}

.categorylist .product-search {
    margin-top: 45px;
}

.category-content {
    margin-left: 85px;
}

.category-sidebar {
    top: 0;
    left: 0;
    width: 85px;
    height: 100%;
    position: fixed;
    padding: 0px 0px 10px 0px;
    list-style-type: none;
    overflow: auto;
    border-right: 1px solid #eee;
    background-color: #f8f8f8;
    overflow-y: scroll;
}

.category-siderbar-head {
    top: 2.2rem;
}

.category-sidebar .item-content {
    display: block;
    overflow: hidden;
    height: 46px;
    line-height: 46px;
    color: #666;
    word-break: break-all;
    background-color: #f8f8f8;
    border-left: 3px solid transparent;
    text-align: center;
    font-size: 14px;
}

.category-hr {
    margin-top: 0px;
    margin-bottom: 0px;
    border: 1px solid #e5e5e5;
    border-top: 0px solid #eee;
}

.category-sidebar .item-content-select {
    background-color: #fff !important;
    color: #f44;
    border-color: #f44 !important;
    text-decoration: none;
}

.categorylist-group {
    overflow: hidden;
    background-color: #fff;

}

.categorylist-group-title {
    font-size: 14px;
    color: #333;
    line-height: 30px;
    padding: 0 10px 0 15px;
    background-color: #f8f8f8;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    padding-top: 15px;
    padding-bottom: 15px;
}

.categorylist-card {
    display: block;
    height: 80px;
    font-size: 14px;
    position: relative;
    box-sizing: border-box;
    padding: 10px 15px 10px 70px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

.add-cart {
    float: right;
    margin-top: -33px;
    padding: 10px 10px 0px 10px;
}

.add-img {
    width: 25px;
}

.categorylist-thumb {
    background-color: #f8f8f8;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    left: 0;
    top: 10px;
    width: 60px;
    height: 60px;
    position: absolute;
}

.categorylist-card h3 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 10px;
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    color: #333;
}

.categorylist-card h4 {
    width: 110px;
    color: #f44;
    display: block;
    margin-top: 8px;
    font-size: 16px;
    line-height: 18px;
}

.categorylist-card .van-icon-add {
    position: absolute;
    right: 5px;
    bottom: 0;
    width: 42px;
    height: 42px;
    color: #f44;
    line-height: 42px;
    font-size: 22px;
    text-align: center;
}

.content {
    background-color: #f8f8f8;
}

.card-content-a {
    display: inline-block;
    width: 49%;
    /*height: 30px;*/
    /*line-height: 30px;*/
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.card-content-a a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
}

.card-content-inner {
    padding: 12px 12px 12px 12px;
}

.level1 {
    padding-left: .5rem;
}

.level2 {
    padding-left: 1.5rem;
}

.level3 {
    padding-left: 2.5rem;
}

.level4 {
    padding-left: 3.5rem;
}

.level5 {
    padding-left: 4.5rem;
}

.level6 {
    padding-left: 5.2rem;
}

.level7 {
    padding-left: 6.5rem;
}

/*产品列表页*/

/*单行一个产品显示css*/
.product-ul-no {
    list-style-type: none;
    display: block;
    padding: 0px;
    margin: 0px;
}

.product-ul-no .proul-name {
    margin-top: 8px;
}

.product-ul-no .allpro-category-left {
    display: block;
    position: relative;
    padding: 3px 0 2px;
    background-color: #fff;
}

.product-ul-no .allpro-category-right {
    display: block;
    position: relative;
    padding: 3px 0 2px;
    background-color: #fff;
}

.product-ul-no .squareimg {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
}

.product-ul-no .squareimg img {
    width: 100%;
    height: 100%;
}

.product-ul-no li a {
    display: block;
    height: 126px;
    position: relative;
    box-sizing: border-box;
    text-decoration: none;
    padding-left: 120px;
}

.product-ul-no .proul-proimg {
    width: 90%;
    background-size: cover;
    vertical-align: baseline;
}

.product-ul-no .proul-info {
    min-height: 126px;
    box-sizing: border-box;
    padding: 0 10px;
    overflow: hidden;
    line-height: 1;
    border-bottom: 1px dashed #eee;
}

.product-ul-no li a .add-cart {
    margin: -30px 0px;
    padding: 0px 10px 0px 10px;
}
.product-ul-no li a .delete {
    margin: -24px 0px;
    padding: 0px 10px 0px 10px;
}

.product-ul-no li a .proul-name {
    overflow: hidden;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 18px;
    font-weight: 500;
    color: #333;
    height: 36px;
}

.product-ul-no li a .proul-price {
    width: 100px;
    color: #f44;
    display: block;
    height: 15px;
    margin-top: 33px;
    line-height: 15px;
}

.product-ul-no .product-prolist-comment {
    margin-top: 8px;
    height: 14px;
    font-size: 12px;
    color: #999;
}

/*end - 单行一个产品显示css*/

/*单行两个产品显示css*/
.product-ul-no-sec {
    width: 100%;
    background-color: #f2f2f2;
    list-style-type: none;
    padding: 0;
    margin-bottom: 3px;
}
.product-ul-no-sec .allpro-category-left {
    width: 49%;
    margin: 0px 0px 3px 0px;
    display: inline-block;
    background-color: #FFF;
    vertical-align: top;
}

.product-ul-no-sec .allpro-category-right {
    width: 49%;
    vertical-align: top;
    margin: 0px 0px 3px 0px;
    display: inline-block;
    background-color: #FFF;
}

.product-ul-no-sec li a .proul-name {
    overflow: hidden;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-top: .5rem;
    line-height: 1.8rem;
    font-weight: 500;
    color: #333;
    height: 3.6rem;
}

.product-ul-no-sec li a .add-cart {
    padding: 0px 0px 0px 10px;
}

.product-ul-no-sec li a .proul-price {
    width: 10rem;
    color: #f44;
    display: block;
    margin-top: .5rem;
    line-height: 1.5rem;
}

.product-ul-no-sec .squareimg {
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    position: relative;
}

.product-ul-no-sec .squareimg img {
    width: 100%;
    height: 100%;
    position: absolute;
}

.product-ul-no-sec .proul-info {
    padding: 0px 10px 10px 10px;
}

/*end - 单行两个产品显示css*/
.int {
    font-size: 18px;
}

.product-prolist-comment {
    font-size: 12px;
    color: #999;
}



.sale-item {
    position: absolute;
    margin-left: 100px
}
.original-price{
    color:#ccc;
    text-decoration: line-through;
    margin-left: 10px;
    font-size: 10px;
}


.product-ul-no .sales-img{
    width: 24px;
    height: 24px;
    position: absolute;
    top: 3px;
    left: 3px;
}
.product-ul-no-sec li{
    position: relative;
}
.product-ul-no-sec  .sales-img{
    width: 24px;
    height: 24px;
    position: absolute;
    top: 3px;
    left: 3px;
}
.categorylist-card .sales-img{
    width: 24px;
    height: 24px;
    position: absolute;
    top: 3px;
    left: 3px;
}
.categorylist .add-cart{
    margin-top: -42px;
}
.product-ul-no li a .proul-price {
    width: 78%;
    overflow: hidden;
    white-space:nowrap;
}
.product-ul-no-sec li a .proul-price {
    width: 72%;
    overflow: hidden;
    white-space:nowrap;
}
.categorylist-card h4 {
    width: 72%;
    overflow: hidden;
    white-space:nowrap;
}
.view-date{
    padding: 10px 15px;
    /*background-color: #fff;*/
}
.categorylist-content{
    padding-bottom: 100px;
}
.category-sidebar li a{
    text-decoration: none;
}
.sub-category{
    display: none;
}
/*首页搜索框样式*/
@media screen and (max-width: 1024px){
    .allpro-category-content .add-cart {
        margin-top: -42px;
    }
    .allpro-category-content .delete {
        margin-top: -42px;
    }

}

@media screen and (max-width: 768px){
    .allpro-category-content .add-cart {
        margin-top: -42px;
    }

}

@media screen and (max-width: 414px){
    .allpro-category-content .add-cart {
        margin-top: -42px;
    }
    .allpro-category-content .delete {
        margin-top: -38px;
    }

}

@media screen and (max-width: 375px){
    .allpro-category-content .add-cart {
        margin-top: -33px;
    }
    .allpro-category-content .delete {
        margin-top: -30px;
    }
}

@media screen and (max-width: 360px){
    .allpro-category-content .add-cart {
        margin-top: -33px;
    }
    .allpro-category-content .delete {
        margin-top: -30px;
    }
}

@media screen and (max-width: 320px){
    .allpro-category-content .add-cart {
        margin-top: -33px;
    }
    .allpro-category-content .delete {
        margin-top: -30px;
    }
}
