
.header{
    position: fixed;
    z-index: 999;
    width: 100%;
    top:0;
    padding:10px;
    max-width: 480px;
}
.header.float{
    background-color: rgba(255,255,255,0.9);
}

.searchBar{
    height: 40px;
    border:2px solid #ff5000;
    border-radius: 40px;
    display: flex;
    align-items: center;
    background-color: rgba(255,255,255,0.9);
}
.searchBar .input{
    width:100%;
    overflow: hidden;
    height: 32px;
    padding:0 10px;		text-align: center;
}
.searchBar .input .van-swipe-item,.searchBar .placeholder{
    line-height: 32px;
    opacity: 0.7;
}
.searchBar .sbtn{
    flex-shrink: 0;
    margin-right:2px;
}
.searchBar .sbtn .van-button__content{
    padding:0 10px;
}
.searchBar .sbtn .van-button__text{
    font-size:15px;
}
.banner .van-swipe-item .item{
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner .van-swipe-item .item img{
    max-width: 100%;
    display: block;
}

.category{
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 10px;
    margin:10px;
    padding:5px;
}
.category .item{
    width:25%;
    overflow: hidden;
    padding:5px;
}
.category .item .icon{
    display: flex;
    align-items: center;
    justify-content: center;
}
.category .item .icon img{
    display: block;
    max-width: 100%;
}
.category .item .name{
    text-align: center;
    color:#666;
    margin-top:2px;
    font-size: 14px;
    word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
}


.title{
    background-color: #fff;
    padding:12px;
    font-size:15px;
	font-weight: bold;
}

.product{
    margin:5px;
}

.product .item{
    width:50%;
    padding:5px;
    box-sizing: border-box;
    float: left;
}
.product .item .box{
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}
.product .item .imgbox img{
    display: block;
    width: 100%;
}
.product .item .textbox img{
	width: 50px;
	float: left;
	padding-right: 10px;
}
.product .item .textbox{
    padding:10px;
}
.product .item .textbox .info{
    display: flex;
    padding-top:5px;
    align-items: center;
}

.product .item .name{
    font-size:13px;
    word-break:break-all;
    display:-webkit-box;
    -webkit-line-clamp:1;
    -webkit-box-orient:vertical;
    overflow:hidden;
    height: 17px;
    line-height: 17px;
	font-weight: bold;
}
.product .item .price{
    color:#ff5000;
    margin-right:8px;
}
.product .item .price .number{
    font-size:16px;
    font-weight: 700;
}
.product .item .sales{
    font-size:13px;
}
.main{
    background-color: #fff;
    display: flex;
    border-top:1px solid #eee;
}
.main .left{
    width:110px;
    background-color: #fafafa;
    height: 100%;
    flex-shrink: 0;
}
.main .right{
    width:100%;
    height: 100%;
    overflow: auto;
}
.main .list .item{
    height: 45px;
    display: flex;
    align-items: center;
    padding:0 10px;
}
.main .list .item:before{
    content: '';
    display: block;
    height: 16px;
    width:3px;
    background: var(--primary);
    margin:0 5px 0 0;
    opacity: 0;
    border-radius: 2px;
}
.main .list .item.on{
    background-color: #fff;
	font-weight: bold;
}
.main .list .item.on:before{
    opacity: 1;
}

