.bg-red{
    background: #fb0628;
    border:none;
}
.bg-white{
    background: #fff !important;
}

header.bg-red .u-title{
    color: #fff;
    line-height: .84rem;
    font-size: .31rem;
    text-align: center;
}
header.bg-none .u-title{
    color: #333;
    line-height: .84rem;
    font-size: .31rem;
    text-align: center;
}
header .u-left{
    position: absolute;
    line-height: .84rem;
    left: .2rem;
}
header .u-right{
    position: absolute;
    top:0;
    line-height: .84rem;
    right:.2rem;
}
header .u-right span{
    color: #fff;
    font-size: .27rem;
}
header .u-left img,
header .u-right img{
    width: .4rem;
}
.bg-red .a-name{
    color: #fff;
}
.col-10{width: 10%}
.col-15{width: 15%}
.col-20{width: 20%}
.col-25{width: 25%}
.col-30{width: 30%}
.col-33{width: 33.3%}
.col-35{width: 35%}
.col-40{width: 40%}
.col-45{width: 45%}
.col-50{width: 50%}
.col-55{width: 55%}
.col-60{width: 60%}
.col-65{width: 65%}
.col-70{width: 70%}
.col-75{width: 75%}
.col-80{width: 80%}
.col-85{width: 85%}
.col-90{width: 90%}
/*挂件*/
.m-adv6{
    position: relative;
    overflow: hidden;
}
.m-adv6 li{
    float: left;
}
.m-adv6 img{
    width: 100%;
    display: block;
}
.m-adv5{
    position: relative;
    overflow: hidden;
}
.m-adv5 li{
    float: left;
}
.m-adv5 img{
    display: block;
    width: 100%;
}
.form_name{
    padding-top: .3rem;
}

/****************/

.g-content{
    padding-bottom: .8rem;
}
.header{
    position: relative;
    background: #fb0628;
}
.full-screen{
    padding-bottom:1rem;
}
/*挂件*/
.u-cart-num{
    position: absolute;
    right: .1rem;
    top: .3rem;
    width: .7rem;
    height: .7rem;
    background: #f48451;
    color: #fff;
    text-align: center;
    line-height: .7rem;
    border-radius: 1rem;
    font-size: .29rem;
}
.searchbar .u-scanQR{
    position: absolute;
    top: 50%;
    margin-top: -.2rem;
    right: .5rem;
}
.searchbar .u-scanQR img{
    width: .4rem;
}
.m-btnGroup{
    overflow: hidden;
    padding: .2rem 0;
    background: #fff;
}
.u-btn[class^="col"]{
    float: left;
    text-align: center;
}
.u-btn[class^="col"] div{
    margin: .1rem 0;
}
.u-btn[class^="col"] img{
    width: .7rem;
    height: .7rem;
    border-radius: 1rem;

}
/*商品分类*/
.m-main{
    overflow: hidden;
    padding-top: .76rem;
}
.m-main .g-left{
    width: 20%;
    float: left;
    position: fixed;
    height: 84%;
    overflow: scroll;
}
.m-main .g-right{
    width: 80%;
    float: right;
}
.m-main .g-left>ul{
    position: relative;
    width: 99%;
    padding-bottom: 1rem;
}

.m-main .g-left .u-item{
    width: 100%;
    position: relative;
    background: #f0f0f0;

}
.m-main .g-left .u-item>a>div{
    position: relative;
    width: 100%;
    min-height: .8rem;
    display: table;
    box-sizing: border-box;
    padding: .2rem .1rem;
    font-size: .27rem;
}
.m-main .g-left .u-item>a>div p{
    display: table-cell;
    vertical-align: middle;
}
.m-main .g-left .u-item.active{
    background: #fa0224;
    color: #fff;
}.m-main .g-left .u-item.active a{
    color: inherit;
 }
/*.m-main .g-left .u-item.active:before{*/
    /*content:'';*/
    /*position: absolute;*/
    /*left: 0;*/
    /*right: auto;*/
    /*bottom: auto;*/
    /*transform: none;*/
    /*top:0;*/
    /*height: 100%;*/
    /*z-index: 15;*/
    /*width: .05rem;*/
    /*background: #f48451;*/
/*}*/
.swiper-pagination-bullet-active{
    background: #333 !important;
}
.m-main .g-left .u-item:before{
    content: '';
    position: absolute;
    left: auto;
    bottom: auto;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: #fff;
    display: block;
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transform: scaleX(0.5);
    transform: scaleX(0.5);
}
.m-main .g-left .u-item:after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: auto;
    top: auto;
    height: 1px;
    width: 100%;
    background-color: #fff;
    display: block;
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

.m-main .g-left .u-item.u-child{
    background: #fff;
}
.m-main .g-left .u-item.u-child:before{
    display: none;
}
.m-main .g-left .u-item.u-child:first-child:before{

}
/*商品列表*/
.u-down-icon{
    position: absolute;
    width: .2rem;
    height: .2rem;
    right: 0;
    top: 50%;
    margin-top: -0.1rem;
    transform: rotate(180deg);
    transition: transform 1s;
    /*display: none;*/
}
.u-product{
    position: relative;
    min-height: 2rem;
}
.u-product:after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: auto;
    top: auto;
    height: 1px;
    width: 100%;
    background-color: #e6e6e6;
    display: block;
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    visibility: visible;
}
.u-product .u-info{
    width: 70%;
    margin-left: .15rem;
}
.u-product>div{
    padding: .1rem .2rem;

}
.u-product .u-price{
    text-align: left;
    font-size: .27rem;
    color: gray;
}
.u-product .u-price>p{
    line-height: .25rem;
}
.u-label{
    background-color: #d80808;
    padding: 1px 5px;
    line-height: 1.33333;
    color: #fff;
    font-size: .2rem;
}
.u-product .u-name{
    text-align: left;
    margin-left: .1rem;
    font-size: .25rem;
}
.u-product .u-name>p{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height:.28rem;
    margin-bottom: .02rem;
}
.u-product .u-name>p:last-child{
    font-size: .2rem;
    margin-bottom: .1rem;
}
.u-product .u-label{
    font-size: .22rem;
}
.u-product .u-setNum{
    position: relative;
    width: 100%;
    text-align: right;
}
.u-product .u-setNum .u-num{
    display: inline-block;
    height: .45rem;
    width: .8rem;
    border-radius: 1rem;
    line-height: .45rem;
    text-align: center;
    border: solid 1px #bbb;
    font-size: .24rem;
}
.u-product .u-setNum .u-btn{
    display: inline-block;
    height: .45rem;
    width: .45rem;
    line-height: .46rem;
    text-align: center;
    border-radius: 1rem;
    font-size: .25rem;


}
.u-product .u-setNum .u-btn.u-add{
    background: #f48451;
    color: #fff;
    border:solid 1px #f48451;
    margin-right: .2rem;
}
.u-product .u-setNum .u-btn.u-dec{
    background: #fff;
    color: #bbb;
    border:solid 1px #bbb;
}
.u-cart-btn{
    display: inline-block;
    float: right;
    margin-left: .3rem;
    background: url(../i/icon.png) center no-repeat;
    background-size: .4rem 3rem;
    background-position-y: .1rem;
    margin-top: -.16rem;
}
.u-cart-btn >p{
    margin-top: .54rem;
}
.btn.scanQR{
    background: url("../icon/QR-icon1.png") center no-repeat !important;
    background-size: 0.55rem .55rem !important;
    background-position-y: .1rem !important;
}
.pt-num .minus, .pt-num .plus{
    border-radius: 1rem;
    font-size: .385rem;
}
.pt-num .minus{
    background: #fff;
    color: #999;
}
.pt-num .plus{
    background: #ff7600;
    border-color: #ff7600;
}
.pt-num .num .num-ipt{
    border: 1px solid #BFBFBF;
    margin: 0 .1rem;
    border-radius: 1rem;
    width: .7rem;
    font-size: .25rem;
}

/*商品分类输入框*/
.u-cover{
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    background: #333;
    opacity: 0.5;
    top:0;
    left: 0;

}
.m-input{
    position: fixed;
    width: 70%;
    height: 3.5rem;
    background: #fff;
    left: 50%;
    top:20%;
    display: none;
    z-index: 2001;
    margin: 0 0 0 -35%;
    border-radius: .1rem;
}
.m-input .u-title{
    font-size: .3rem;
    text-align: center;
    line-height: .7rem;
}
.m-input .u-info{
    box-sizing: border-box;
    padding: 0 .3rem;
    text-align: center;
    margin: .3rem 0 0 0;
}
.m-input .u-info>span:nth-child(1) {
    float: left;
}
.m-input .u-info>span:nth-child(2){
    text-align: center;
}
.m-input .u-info>span:nth-child(3){
    float: right;
}
.m-input input{
    display: block;
    border: solid 1px #e6e6e6;
    border-radius: 1rem;
    line-height: 0.5rem;
    text-align: center;
    width: 70%;
    margin: 0.1rem auto;
}
.m-input .m-btn{
    position: absolute;
    width: 100%;
    bottom: 0;
    border-top: solid 1px #e6e6e6;
}
.m-input .m-btn .u-btn{
    width: 50%;
    float: left;
    height: .8rem;
    line-height: .8rem;
    text-align: center;
    font-size: .3rem;
    border-radius: .05rem;
}
.m-input .m-btn .u-cancle{
     background: #f1f1f1;
 }
.m-input .m-btn .u-submit{
    background: #f48451;
    color: #fff;
}

.pt-gallery.cat-gallery{
    position: fixed;
    top: .84rem;
    width: 100%;
    z-index: 2;
}
.cart-page .total{
    height: .9rem;
    line-height: .9rem;
    font-size: .26rem;
    font-weight: normal;
    position: fixed;
    left: 0;
    bottom: .95rem;
    background: #fff;
    width: 100%;
    z-index: 200;

}
.cart-page .total .order-btn-bar{
    width: 2rem;
    float: right;
    margin-right: .2rem;
}
.custom-html img{
    width: 100%;
}
img{
    width: 100%;
}
.cart-page  .pt-h-item .u-total{
    float: left;
    margin-left: .2rem;
    line-height: 25px;
}
.pt-list .pt-h-item{
    position: relative;
    border-bottom: 1px solid #e6e6e6;
    padding: 0;
}
.pt-list .pt-h-item .u-total2{
    position: absolute;
    right: .5rem;
    bottom: 0;
}
.popup{
    z-index: 5000;
}
/*搜索框*/
.a-bar .a-search.active{
    border: none;
    background:none;
}
/*我的订单*/
.icon.act{
    color: #F48452;
    border-bottom: 2px solid #F48452;
}
.warn-message{
    margin-left: .2rem;
}

.section-title .u-num{
    position: absolute;
    font-size: 0.2rem;
    left: 2.1rem;
    top: 0.33rem;
    display: block;
    background: #d80808;
    color: #fff;
    width: .4rem;
    height: .4rem;
    border-radius: 1rem;
    text-align: center;
    line-height: 0.43rem;
}
.w .page-article .member-messagebox .member-tabs a:after{
    content: "";
    position: absolute;
    height: .3rem;
    width: 1px;
    right: 0;
    top: .18rem;
    background-color: #E5E5E5;
}
.w .page-article .member-messagebox .member-tabs a:last-child:after{
    display: none;
}
.a-bar .a-search .a-search-ipt{
    color: #333;
    font-size: .3rem;
    width: 4rem;
    line-height: .46rem;
    border-radius: .05rem;
    padding-left: .1rem;
}
.box-display [class*="box-item-flex"]>label{
    position: absolute;
    right: .4rem;
    top: 0;
    background-color: #f48451;
    color: #fff;
    display: block;
    width: .4rem;
    height: .4rem;
    line-height: .42rem;
    font-size: .22rem;
    border-radius: 1rem;
}
.deposit-way .pay-item.act{
    background-color: #f48451;
    color: #fff;
}
.pre-info .u-tag{
    display: inline-block;
    background-color: #d80808;
    padding: 1px 5px;
    line-height: 1.33333;
    color: #fff;
}
.pre-info .u-tag *{
    color: #fff;
}
.goods-item .store-warn{
    bottom:5px;
}
.goods-item .p-quantity{
    position: inherit;
}