li,ul,h2{
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: normal;
}
.content{
    padding-bottom: 10px;
}
header a{
    color: #000;
}
.bar-tab .tab-item.active{
    color: #ff708a;
}
.swiper-slide img{
    width: 100%;
}
.swiper-container{
    padding: 0;
}
.redbag{
    background-color: #fff;
    padding: .5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.red-item{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e84943;
    color: #fdec90;
    position: relative;
    line-height: 1.5;
    padding: .2rem 0;
    font-size: .55rem;
    border-radius: .2rem;
    width: calc((100% - 5px) / 2);
    box-sizing: border-box;
    overflow: hidden;
}
.red-item::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    z-index: 2;
}
.red-item::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translate(50%, -50%);
    -moz-transform: translate(50%, -50%);
    -o-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
    background-color: #fff;
    border-radius: 50%;
    width: 1.2rem;
    height: 1.2rem;
    z-index: 2;
}
.red-info{
    border-left: 1px dotted #fdec90;
    padding-left: .4rem;
}
.red-value{
    padding-right: .4rem;
}
.red-value span{
    font-size: 2rem;
}
.red-btn{
    background-color: #fdec90;
    font-size: .4rem;
    color: #e84943;
    line-height: 1.8;
    display: inline-block;
    padding: 0 .2rem;
    border-radius: .1rem;
    margin-top: .2rem;
}
.menu ul{
    overflow: hidden;
}
.menu li{
    float:left;
    padding:5px 0;
    margin:5px 0 0 5px;
    background-color:#fff;
    text-align:center;
    width:calc((100% - 25px) / 4);
    font-size: .6rem;
}
.icon-menus img{
    display: block;
    margin: 0 auto;
    width: 2.8rem;
}
.tips,.special-area{
    padding: 0 5px;
    margin-top: 5px;
}
.tips-content{
    padding: 5px;
    background-color: #fff;
    display: flex;
    align-items: center;
}
.tips-content img{
    width: 1rem;
}
.tips-view{
    flex: 1;
    position: relative;
    overflow: hidden;
    margin-left: .4rem;
    color: transparent;
}
.tips-text{
    position: absolute;
    left: 0;
    top: 1px;
    color: #c40d11;
    white-space: nowrap;
    font-size: .7rem;
}
.special-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}
.special-item img{
    width: calc((100% - 5px) / 2);
}
.goods-list{
    overflow: hidden;
}
.goodskinds{
    margin-bottom: 10px;
    background-color: #fff;
}
.kinds-title{
    font-size: .7rem;
    padding: 10px 0;
    position: relative;
}
.kinds-title h2{
    display: inline-block;
    margin: 0 .5rem 0 1rem;
    font-size: 1rem;
    color: #c40d11;
}
.kinds-title::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1rem;
    background-color: #c40d11;
}
.goods-item{
    padding:0 15px;
    box-sizing:border-box;
    width:50%;
    float:left
}
.goods-img img{
    display: block;
    width: 80%;
    margin: 0 auto;
}
.goods-name{
    font-size: .7rem;
    height:44px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    text-overflow:ellipsis;
    word-break:break-all;
    
}
.goods-price{
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    padding: 10px 0;
}
.price-left{
    display: flex;
    align-items: center;
}
.price-left img{
    width: 1rem;
}
.buy{
    color: #fff;
    background-color: #fe5a01;
    font-size: .5rem;
    margin-left: 5px;
    border-radius: .5rem;
    padding: 5px 12px;
}
.price-old{
    color: #ababab;
    font-size: .4rem;
    text-align: right;
    text-decoration: line-through;
}
.price-old span{
    font-size: .5rem;
}
.price-new{
    color: #fe5a01;
    font-size: .5rem;
}
.price-new span{
    font-size: .7rem;
}
.tab-right{
    box-sizing: border-box;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index:9999;
    background-color:rgba(0,0,0,.8);
    border-top-left-radius:.5rem;
    border-bottom-left-radius:.5rem;
    padding:0 10px;
}
.tab-right-src{
    width: 45px;
}
.tab-right-content{
    right: -55px;
    opacity: 0;
    width: 55px;
}
.tab-right li{
    border-bottom: 1px solid rgba(255,255,255,.3);
    padding: 10px 0;
    margin: 0 auto;
}
.tab-right li:last-child{
    border: 0;
}
.tab-right li:last-child img{
    width: 1rem;
}
.tab-right-src img{
    transform: rotate(180deg);
}
.tab-right img{
    display: block;
    width: 1.5rem;
    margin: 0 auto;
}
/* goods */
::-webkit-scrollbar{
    display: none;
}
.hoticon{
    background-color: #ff473d;
    display: inline-block;
    color: #fff;
    font-size: .4rem;
    vertical-align: middle;
    padding: 1px 3px;
    line-height: 1;
    border-radius: 3px;
}
.goods-menu{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.goods-menu li{
    border-bottom: 1px solid #d7d7d7;
    padding: 15px 0;
    text-align: center;
    font-size: .7rem;
    font-weight: bold;
}
.goods-goodscontent{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 100px;
    padding: 0 5px;
    background-color: #fff;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
    padding-top: 80px;
}
.goods-search{
    background-color: #fff;
    padding: 0 10px;
    box-sizing: border-box;
    height: 50px;
    display: flex;
    font-size: .7rem;
    align-items: center;
    position: fixed;
    left: 105px;
    right: 5px;
    top: 74px;
    z-index: 9;
}
.goods-search-content{
    background-color:#eee;
    border-radius:1rem;
    flex:1;
    display:flex;
    align-items:center;
    padding: 5px 0;
}
.goods-search-content span{
    margin-left: 10px;
    color: #ababab;
}
.goods-banner img{
    display: block;
    width: 100%;
}
.goods-query{
    font-size: .6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
}
.goods-query-right,.goods-goodsprice{
    display: flex;
    align-items: center;
    margin-left: 10px;
}
.goods-query-icon{
    margin-left: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.goods-query-icon img{
    width: 10px;
}
.goods-query-icon img:first-child{
    transform: rotate(180deg);
    margin-bottom: 2px;
}
.goods-goodslist li{
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 0;
}
.goods-goodslist li::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #eee;
    height: 1px;
    transform: scaleY(0.5);
}
.goods-goodsimg img{
    display: block;
    width: 66px;
}
.goods-goodsinfo{
    flex: 1;
    margin-left: 10px;
    font-size: .6rem;
}
.goods-goodsname{
    font-size: .7rem;
}
.goods-shopprice{
    color: #c62f2f;
}
.goods-marketprice{
    color: #ababab;
    font-size: .4rem;
    text-decoration: line-through;
}
.goods-addcart{
    position: absolute;
    right: 0;
    bottom: 10px;
    display: flex;
    align-items: center;
}
.goods-down{
    position: relative;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 1px solid #ababab;
    box-sizing: border-box;
}
.goods-rise{
    position: relative;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #2484cf;
}
.goods-down::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: #ababab;
    transform: translateY(-50%);
}
.goods-rise::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1px;
    background-color: #fff;
    transform: translateY(-50%);
}
.goods-rise::after{
    content: '';
    position: absolute;
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background-color: #fff;
    transform: translateX(-50%);
}
.goods-goodsnum{
    font-size: .7rem;
    width: 1.3rem;
    text-align: center;
}
.goods-vipprice span{
    line-height: 1;
    color: #fff;
    background-color: #e7ae21;
    display: inline-block;
    padding: 3px 5px;
    border-radius: .1rem;
    font-size: .5rem;
}
.goods-s-menu{
    background-color: #fff;
    display: flex;
    align-items: center;
    padding-right: 10px;
    position: fixed;
    top: 44px;
    left: 105px;
    right: 5px;
    z-index: 9;
}
.goods-s-icon img{
    display: block;
    width: 8px;
    transform: rotate(90deg);
}
.goods-s-icon.show img{
    transform: rotate(-90deg);
}
.goods-s-menu ul{
    height: 30px;
    line-height: 30px;
    white-space: nowrap;
    overflow: auto;
    margin-right: 8px;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}
.goods-all{
    color: #2484cf;
    font-size: .7rem;
    flex: 1;
    display: none;
}
.goods-s-menu li{
    display: inline-block;
    font-size: .6rem;
    margin-right: 10px;
}
.goods-s-menu li.active{
    color: #2484cf;
}
.goods-popover{
    display: none;
    position: fixed;
    top: 78px;
    bottom: 55px;
    left: 100px;
    right: 0;
    background-color: rgba(0,0,0,.7);
    z-index: 999;
}
.goods-s-menu-list{
    background-color: #fff;
    height: 200px;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}
.goods-s-menu-list ul{
    overflow: hidden;
}
.goods-s-menu-list li{
    float: left;
    box-sizing: border-box;
    text-align: center;
    width: 25%;
    font-size: .7rem;
    padding: 5px 0;
    position: relative;
}
.goods-s-menu-list li::after{
    content: '';
    position: absolute;
    right: 0;
    top: 7px;
    bottom: 7px;
    width: 1px;
    background-color: #eee;
}
.goods-s-menu-list li:nth-child(4n+4)::after{
    display: none;
}
/* cart */
.cart ul{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 55px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.cart li{
    background-color: #fff;
    border-bottom: 1px solid #eee;
}
.cart-swiper .swiper-slide:last-child{
    width: 100px;
    text-align: center;
    line-height: 107px;
    color: #fff;
    font-size: .7rem;
    background-color: #ff473d;
}
.cart-swiper .swiper-slide:first-child{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 10px;
    box-sizing: border-box;
    background-color: #fff;
}
.cart-chose{
    width: 20px;
    height: 20px;
    background: url(../image/icon-not-chose.png) no-repeat 0 0/100% 100%;
}
.cart-chosed{
    background-image: url(../image/checked.png);
}
.cart-goodsimg img{
    display: block;
    width: 77px;
    height: 77px;
}
.cart-goodsinfo{
    margin-left: 10px;
    font-size: .7rem;
    flex: 1;
    display: flex;
    align-items: center;
}
.cart-goodscontent{
    flex: 1;
    margin-left: 10px;
}
.cart-price{
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-goodsnum{
    text-align: center;
    display: flex;
    align-items: center;
    border: 1px solid #d1d1d1;
    line-height: 30px;
}
.cart-down, .cart-rise{
    width: 30px;
    height: 30px;
}
.cart-goodsnumshow{
    width: 35px;
    height: 30px;
    border-left: 1px solid #d1d1d1;
    border-right: 1px solid #d1d1d1;
}
.cart-goodsmoney{
    color: #ff473d;
}
.cart-footer{
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55px;
    display: flex;
    align-items: center;
    font-size: .5rem;
}
.cart-left{
    flex: 1;
    display: flex;
    align-items: center;
}
.cart-choseall{
    padding: 0 30px 0 10px;
    text-align: center;
}
.cart-choseall .cart-chose{
    margin: 0 auto;
}
.cart-total{
    font-size: .7rem;
    color: #ff473d;
}
.cart-submit{
    width: 110px;
    height: 55px;
    line-height: 55px;
    color: #fff;
    background-color: #1b81d3;
    text-align: center;
    font-size: .7rem;
}
/* userinfo */
.userinfo-banner{
    background-color: #f55b4b;
    padding: 10px;
}
.userinfo-banner-content{
    background-color: rgba(255,255,255,.15);
    padding: 10px 0 5px 5px;
    border-radius: 5px;
    color: #fff;
    display: flex;
    align-items: flex-start;
    font-size: .66rem;
    position: relative;
}
.userinfo-vip{
    position:absolute;
    right:0;
    top:40px;
    background:-webkit-linear-gradient(left, #ed9c19, #ffbb46);
    font-size: .8rem;
    padding:5px 10px 5px 12px;
    border-top-left-radius:20px;
    border-bottom-left-radius:20px;
    
}
.userinfo-avatar img{
    display: block;
    width: 80px;
}
.userinfo-user{
    margin-left: 15px;
    line-height: 1.6;
}
.userinfo-username{
    font-size: .9rem;
}
.userinfo-username span{
    background: -webkit-linear-gradient(left, #ed9c19, #ffbb46);
    line-height: 1;
    display: inline-block;
    font-size: .5rem;
    border-radius: 20px;
    padding: 6px 10px;
    vertical-align: middle;
}
.userinfo-useritem span{
    display:inline-block;
    vertical-align:middle;
    background-color:#fff;
    font-size:.5rem;
    color:#f55b4b;
    line-height:1.7;
    padding:0 10px;
    margin-left:10px;
    border-radius:20px;
}
.userinfo-percent{
    margin-top:12px;
    background-color:rgba(0,0,0,.11);
    padding:3px 10px;
    border-radius:5px;
    display:inline-block;
    color:rgba(255,255,255,.9);
    font-size:.75rem;
}
.userinfo-ordermenu{
    padding: 10px 0;
    background-color: #fff;
}
.userinfo-ordermenu ul{
    overflow: hidden;
}
.userinfo-ordermenu li{
    text-align: center;
    width: 25%;
    float: left;
    font-size: .6rem;
}
.userinfo-ordermenu img{
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto;
}
.userinfo-links{
    margin-top: 10px;
}
.userinfo-links li{
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: .7rem;
    background-color: #fff;
}
.userinfo-links img{
    width: 25px;
    margin-right: 10px;
}
/* goodskinds */
.goodskinds-search{
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    padding: 0 10px;
    height: 55px;
    background-color: #fff;
    display: flex;
    align-items: center;
    z-index: 9;
}
.goodskinds-search-left{
    flex: 1;
    background-color: #eee;
    display: flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 20px;
}
.goodskinds-search-left input{
    flex: 1;
    background: none;
    border: 0;
    outline: none;
    font-size: .7rem;
    margin-left: 10px
}
.goodskinds-search-right{
    line-height: 1;
    font-size: .7rem;
    color: #ababab;
    border: 1px solid #eee;
    padding: 8px 20px;
    border-radius: 20px;
}
.goodskinds-l-menu{
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 9;
}
.goodskinds-l-menu ul{
    height: 30px;
    display: flex;
    padding: 0 10px;
    align-items: center;
    font-size: .6rem;
}
.goodskinds-l-menu li{
    padding-right: 44px;
}
.goodskinds-l-menu li.active{
    color: #fe5a00
}
.goodskinds-s-menu{
    position: fixed;
    top: 133px;
    left: 0;
    right: 0;
    height: 50px;
    padding: 5px 0;
    box-sizing: border-box;
    background-color: #eee;
    z-index: 9;
}
.goodskinds-s-menu-content ul{
    background-color: #fff;
    white-space: nowrap;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    height: 40px;
    line-height: 40px;
}
.goodskinds-s-menu-content li{
    display: inline-block;
    font-size: .6rem;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-right: 10px;
}
.goodskinds-s-menu-content li.active{
    color: #fe5a00;
    border-color: #fe5a00;
}
.goodskinds-s-menu-content li:first-child{
    border: 0;
}
.goodskinds-goodslist{
    position: absolute;
    top: 135px;
    right: 0;
    left: 0;
    bottom: 0;
    padding-bottom: 10px;
}
.goodskinds-goodslist .goods-item{
    background-color: #fff;
    box-shadow:0 0 2px 2px rgba(0,0,0,.05);
    border-radius: 3px;
    margin-bottom: 10px;
    width: calc((100% - 10px) / 2);
}
.goodskinds-goodslist .goods-item:nth-child(odd){
    margin-right: 10px;
}
/* activity */
.activity-content{
    background-color: #ffdad7;
}
.activity-banner img{
    display: block;
    width: 100%;
}
.activity-goodslist{
    padding: 7px;
}
.activity-goodslist ul{
    overflow: hidden;
    background-color: #ffeceb;
    border-radius: 5px;
}
.activity-goodslist li{
    float: left;
    width: 50%;
    box-sizing: border-box;
    padding: 10px 5px;
}
.activity-goodsimg img{
    display: block;
    width: 130px;
    margin: 0 auto;
}
.activity-goodsinfo{
    color: #ff727f;
    margin-top: 10px;
    border: 1px solid #ff727f;
    border-radius: 5px;
    padding: 5px;
}
.activity-goodsname{
    font-size: .8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}
.activity-goodsprice{
    display: flex;
    align-items: center;
}
.activity-goodsprice-left{
    flex: 1;
    line-height: 1;
}
.activity-oldprice{
    line-height: 1.8;
    color: #ababab;
    text-decoration: line-through;
    font-size: .5rem;
}
.activity-newprice{
    white-space: nowrap;
    font-size: .7rem;
}
.activity-goodsprice span{
    display: inline-block;
    /* font-size: 1rem; */
}
.activity-buynow img{
    display: block;
    width: 60px;
}