body {
    max-width: 750px;
    margin: 0 auto;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    background: #f1f1f1;
}
/*搜索框*/
.search-box{
    padding: 0.2rem;
}
.search-box .content{
    padding: 0.1rem;
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
    background: #fff;
}
.search-box .content .icon{
    width: 0.4rem;
    height: auto;
    padding-right: 0.1rem;
    border-right: 0.01rem solid #ccc;
}
.search-box .content input{
    padding: 0 0.1rem;
    flex: 1;
    outline: none!important;
    border: none!important;
    font-size: 0.26rem;
    color: #666;
}

/*搜索内容*/
main {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}
/*导航条*/
main nav{
    padding: 0.1rem;
    overflow: hidden;
    overflow-x: scroll;
}
main nav.fixed{
    width: 100%;
    max-width: 750px;
    background: #fff;
    position: fixed;
    top: 0;
    z-index: 66;
    box-shadow: 0 0.04rem 0.08rem 0 rgb(7,17,27,0.1);
}
main nav::-webkit-scrollbar {
    width: 0;
    display: none;
}
main nav ul{
    margin: 0;
    white-space: nowrap;
}
main nav ul li.cate{
    font-size: 0.26rem;
    color: #333;
    margin: 0 0.1rem;
    cursor: pointer;
}
main nav ul li.cate.active{
    position: relative;
    color: #ff4000;
    font-size: 0.28rem;
}
/*列表*/
main .content{
    margin-top: 0.2rem;
    padding: 0 0.1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
main .item {
    display: block;
    width: 3.6rem;
    box-sizing: border-box;
    position: relative;
    border-radius: 0.1rem;
    overflow: hidden;
    border: 0.01rem solid #eee;
    text-decoration: none;
    background: #fff;
    margin-bottom: 0.1rem;
}
main .item .good-img {
    width: 3.6rem;
    height: 3.6rem;
    background-color: rgb(232, 232, 232);
    background-repeat: no-repeat;
    background-position: center;

}
main .item .good-name{
    
    font-size: 0.28rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
main .item .good-sale{
    display: flex;
    align-items: flex-end;
    padding: 0 0.1rem;
    margin-bottom: 0.1rem;
}
main .item .good-sale .pri{
    font-size: 0.28rem;
    color: #ff4000;
}
main .item .good-sale .pri i{
    font-size: 0.2rem;
    font-style: normal;
}
main .item .good-sale .hot{
    font-size: 0.22rem;
    color: #999;
    margin-left: 0.1rem;
    margin-bottom: 0.02rem;
}
/*搜索内容 -end*/

/*平板 宽屏 自适应*/
@media only screen and (max-width: 1024px) {
    /*使用移动终端时的样式设定*/
    main nav.fixed {
        max-width: 100% !important;
    }
}
@media only screen and (min-width: 1024px) {
    /*使用PC终端时的样式设定*/
    main nav.fixed  {
        margin: 0 auto !important;
    }
}