body{
    max-width: 750px;
    margin: 0 auto;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
}
/*header*/
header{
    position: fixed;
    width: 100%;
    max-width: 750px;
    top: 0;
    left: auto;
    z-index: 99999;
}
/*logo*/
header .logo-avatar{
    height: 1rem;
    padding: 0 0.2rem;
    background: #fff;
    display: flex;
    align-items: center;
    border-bottom: 0.02rem solid #f2f2f2;
}
header .logo-avatar .logo-box{
    display: flex;
    align-items: center;
}

header .logo-avatar .logo-img{
    width: 2rem;
    height: auto;
}
header .logo-avatar span{
    margin-left: 0.1rem;
    font-size: 0.34rem;
    color: #333;
}
header .logo-avatar .search-box{
    margin-left: 0.2rem;
    flex: 1;
    height: 0.6rem;
    border-radius: 0.3rem;
    border: 0.02rem solid #ff4000;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}
header .logo-avatar .search-box input{
    height: 100%;
    outline: none!important;
    border: 0;
    font-size: 0.24rem;
    padding: 0 0.2rem;
    color: #666;
}
header .logo-avatar .search-box .icon{
    position: absolute;
    right: 0.15rem;
}
header .cate{
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
}
header .cate .cate-wrap{
    overflow:hidden;
    overflow-x:scroll;
    width:92%;
    padding: 0 0.1rem;
    -webkit-overflow-scrolling:touch;
}
header .cate .cate-wrap::-webkit-scrollbar{
    width: 0;
    display:none
}
header .cate .cate-wrap .cate-sliber{
    white-space:nowrap;
    padding: 0.1rem 0;
}
header .cate .cate-wrap .cate-sliber .item{
    height: 0.5rem;
    line-height: 0.5rem;
    padding: 0 0.05rem;
    display: inline-block;
    margin-right: 0.1rem;
    position:relative;
}
header .cate .cate-wrap .cate-sliber .item.active{
    border-bottom: 0.04rem solid #ff4000;
}
header .cate .cate-wrap .cate-sliber .item a{
    text-decoration: none;
    color: #333;
    font-size: 0.26rem;
}
header .cate .cate-more{
    width: 8%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*header -end*/

/*主体部分*/
main{
    margin-top: 1.65rem;
    margin-bottom: 0.9rem;
    padding: 0.2rem 0;
    background: #efefef;
}
/*轮播图*/
#banner{
    width: 100%;
    height: 3rem;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
#banner .swiper-slide{
    text-align: center;
}
#banner .swiper-slide img{
    width: 7rem;
    height: 100%;
    border-radius: 0.25rem;
}
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    height: 2px;
    display: inline-block;
    width: 20px;
    border-radius: 0px;
    background-color: #ccc;
}
/*nav*/
nav{
    width: 92%;
    margin: 0 auto;
    margin-top: 0.2rem;
    display: flex;
}
nav .item{
    flex: 1;
    padding: 0.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
nav .item .ico{
    width: 0.5rem;
    height: auto;
}
nav .item .txt{
    color: #666;
    font-size: 0.22rem;
    line-height: 0.4rem;
}
/*栏目内容*/
.card{
    width: 95%;
    margin: 0 auto;
    margin-top: 0.2rem;
    border-radius: 0.2rem;
    background: #fff;
}
.card-title{
    width: 100%;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    border-bottom: 0.02rem solid #f2f2f2;
}
.card-title span{
    color: #333;
    font-size: 0.28rem;
    margin-right: 0.1rem;
}
.card-body{
    width: 100%;
    padding: 0.2rem;
}
.card .content-avatar{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.card .content-avatar .content-item{
    width: 30%;
    padding-bottom: 30%;
    position: relative;
    border-radius: 0.2rem;
    overflow: hidden;
    margin: 0.1rem;
    box-shadow: 0 0 0 1px #ddd;
}
.card .content-avatar i.mdi-good{
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    position: absolute;
    top: -0.03rem;
    left: 0.1rem;
    z-index: 99;
}
.card .content-avatar i.mdi-good.mdi-hot{
    background-image: url("../images/icon/hot-box-ico.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
}
.card .content-avatar i.mdi-good.mdi-new{
    background-image: url("../images/icon/new-box-ico.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
}
.card .content-avatar .content-item img{
    position: absolute;
}
.card .content-avatar .content-tag{
    width: 100%;
    height: 0.4rem;
    line-height: 0.4rem;
    background: rgba(255,255,255,0.7);
    border-radius: 0 0 0.2rem 0.2rem;
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: center;
}
.card .content-avatar .content-tag span:nth-child(1) {
    color: #d00000;
    font-size: 0.15rem;
}
.card .content-avatar .content-tag span:nth-child(2){
    color: #d00000;
    font-size: 0.2rem;
}
.card .content-avatar .content-tag del{
    font-size: 0.18rem;
    color: #666;
}
.card .content-wrap{
    width: 100%;
    overflow: hidden;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}
.card .content-wrap::-webkit-scrollbar {
    width: 0;
    display: none;
}
.card .content-wrap .wrap-box{
    white-space: nowrap;
}
.card .content-wrap .wrap-box .content-item{
    margin-right: 0.2rem;
    text-decoration: none;
    display: inline-block;
    width: 2.6rem;
    color: #333;
    cursor: pointer;
}
.card .content-wrap .wrap-box .content-item .good-img{
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.1rem 0.1rem 0 0;
}
.card .content-wrap .wrap-box .content-item .good-name{
    margin-top: 0.1rem;
    width: 2.6rem;
    overflow: hidden;
}
.card .content-wrap .wrap-box .content-item .good-name span{
    overflow: hidden;
    font-size: 0.26rem;
}
.card .content-wrap .wrap-box .content-item .price{
    margin-top: 0.1rem;
    width: 2.6rem;
    height: 0.5rem;
}
.card .content-wrap .wrap-box .content-item .price .pri{
    color: #f00;
    font-size: 0.26rem;
}
.card .content-wrap .wrap-box .content-item .price .pri i{
    font-style: normal;
    font-size: 0.2rem;
}
.card .content-wrap .wrap-box .content-item .price .num{
    margin-left: 0.1rem;
    color: #999;
    font-size: 0.24rem;
}

/*宝贝列表*/
.good-title{
    width: 100%;
    margin: 0 auto;
    margin-top: 0.2rem;
    background: #fff;
    padding: 0.25rem;
    font-size: 0.26rem;
    display: flex;
    justify-content: space-between;
}
.good-title .txt{
    color: #333;
}
.good-title .more {
    display: flex;
    align-items: center;
}
.good-title .more .icon{
    width: 0.3rem;
    height: auto;
}
.good-title .more .txt{
    color: #999;
}
.good-avatar{
    margin: 0 auto;
    margin-top: 0.2rem;
    padding: 0 0.1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.good-avatar .list{
    text-decoration: none;
    display: inline-block;
    width: 49%;
    background: #fff;
    border-radius: 0.15rem;
    padding-bottom: 0.05rem;
    position: relative;
    margin: 0.1rem 0;

}
.good-avatar .list .img{
    width: 100%;
    padding-bottom: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 0.15rem 0.15rem 0 0;
}
.good-avatar .list .title{
    height: 0.85rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    padding: 0.1rem;
}
.good-avatar .list .title span{
    font-size: 0.26rem;
    color: #333;
}
.good-avatar .list .price{
    padding: 0.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.good-avatar .list .price .left span:nth-child(1){
    color: #f00;
    font-size: 0.26rem;
}
.good-avatar .list .price .left span:nth-child(2){
    color: #f00;
    font-size: 0.3rem;
}

.good-avatar .list .price .right{
    display: flex;
    align-items: center;
}
.good-avatar .list .price .right img{
    width: 0.18rem;
    height: 0.18rem;
}

.good-avatar .list .price .right span{
    color: #666;
    font-size: 0.26rem;
}

/*行级列表*/
main .list-card{
    margin-top: 0.2rem;
    
    border-radius: 0.2rem;
    padding: 0.2rem 0.1rem;
}
main .list-card .list{
    display: flex;
    align-items: center;
    background: #fff;
    margin-bottom: 0.2rem;
}
main .list-card .list .good-img{
    border-radius: 0.2rem;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
main .list-card .list .good-desc{
    flex: 1;
    height: 2rem;
    padding: 0.05rem 0.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
main .list-card .list .good-desc .name{
    font-size: 0.28rem;
    line-height: 0.45rem;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
main .list-card .list .good-desc .num{
    display: flex;
    align-items: center;
}
main .list-card .list .good-desc .num .pri{
    font-size: 0.28rem;
    color: #ff4000;
}
main .list-card .list .good-desc .num .pri i{
    font-style: normal;
    font-size: 0.22rem;
}
main .list-card .list .good-desc .num .sale{
    margin-left: 0.2rem;
    font-size: 0.24rem;
    color: #999;
}