html{
    font-size: calc(100vw/7.5);
    background-color: #f5f5f5;
}
/*轮播*/
.slideBox{
    width: 7.5rem;
    height: 7.5rem;
}
.slideBox img{
    width: 7.5rem;
    height: 7.5rem;
}
/*点样式*/
.swiper-pagination-bullet-active{
    background-color: #3bb850!important;
}
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 100%;
    background: #fff;
    opacity: 1;
}
/*产品详情*/
.mpDetail{
    background-color: #fff;
    padding: .3rem .25rem;
    font-size: .24rem;
}
.mpdPrice>span:nth-child(1){
    font-size: .28rem;
    color: #ff0000;
}
.mpdPrice>span:nth-child(2){
    font-size: .24rem;
    color: #999;
    margin-left: .3rem;
}
.mpdTitle{
    margin-top: .25rem;
    margin-bottom: .25rem;
}
.mpdInfo{
    padding-top: .25rem;
    padding-bottom: .25rem;
    border-top: .03rem solid #eee;
    border-bottom: .03rem solid #eee;
}
.mpdInfo>p{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mpdInfo>p+p{
    margin-top: .1rem;
}
.shopTel{
    padding-top: .25rem;
}
.shopTel>p+p{
    margin-top: .05rem;
}
/*店铺信息*/
.shopInfo{
    margin-top: .25rem;
    margin-bottom: .25rem;
    background-color: #fff;
    padding: .3rem .25rem;
    font-size: .24rem;
}
.shopInfoLeft{
    float: left;
}
.silBox{
    width: 5.5rem;
}
.shopIcon{
    float: left;
    width: 1rem;
    height: 1rem;
    border-radius: .08rem;
    overflow: hidden;
    margin-right: .25rem;
}
.shopIcon>img{
    width: 1rem;
    height: 1rem;
}
.shopName{
    float: left;
}
.shopYear{
     margin-top: .1rem;
 }
.shopYear>img{
    width: .29rem;
    height: .29rem;
    margin-right: .1rem;
}
.shopDescribe{
    margin-top: .1rem;
}
.shopDescribe>span{
    margin-right: .25rem;
}

.shopInfoRight{
    float: left;
    text-align: center;
    padding-top: .35rem;
}
.shopInfoRight>a{
    display: block;
    width: 1.4rem;
    height: .64rem;
    line-height: .64rem;
    border-radius: .2rem;
    border: .03rem solid #3bb850;
    color: #3bb850;
}
/*宝贝详情*/
.mpdDetail{
    margin-top: .25rem;
    background-color: #fff;
    font-size: .24rem;
    padding-bottom: .25rem;
}
.mpdDetail>p{
    height: .88rem;
    line-height: .88rem;
    font-size: .32rem;
    text-align: center;
    font-weight: bold;
    border-bottom: .03rem solid #eee;
}
.mpdDetailBox{
    padding-left: .25rem;
    padding-right: .25rem;
}
.mpdDetailBox img{
    max-width: 7rem;
    margin-top: .2rem;
    margin-bottom: .2rem;
}

.safetyAlert{
    background-color: #e5ffec;
    padding: .25rem .15rem;
    margin-top: .25rem;
    margin-left: .25rem;
    margin-right: .25rem;
}
.safetyAlert>p:nth-child(1){
    font-size: .28rem;
    font-weight: bold;
}
.mpdLike{
    margin-top: .25rem;
    /*background-color: #fff;*/
    padding-bottom: .25rem;
    margin-bottom: 1rem;
}
.mpdLike>p{
    height: .88rem;
    line-height: .88rem;
    font-size: .32rem;
    text-align: center;
    font-weight: bold;
    border-bottom: .03rem solid #eee;
    background-color: #fff;
}

/*产品列表*/
.productList{
    padding-left: .15rem;
    padding-right: .15rem;
}
.plBox{
    display: block;
    float: left;
    width: 3.15rem;
    height: 4.8rem;
    background-color: #fff;
    margin-top: .15rem;
    border-radius: .15rem;
    padding: .2rem;
    margin-right: .1rem;
}
.productList>.plBox:nth-child(2n){
    margin-right: 0;
}
.plImg{
    display: block;
    width: 3rem;
    height: 3rem;
    margin: auto;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
}
.plImg>img{
    max-width: 3rem;
    max-height: 3rem;
}
.plTitle{
    height: .8rem;
}
.plTitle>span{
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-top: .18rem;
    margin-bottom: .18rem;
    font-size: .24rem;
}
.plModel{
    color: #999;
    font-size: .24rem;
    border-radius: .08rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: .1rem;
}
.plPrice>span:nth-child(1){
    color: #ff0000;
    font-size: .3rem;
}
.plPrice>span:nth-child(2){
    color: #999;
    font-size: .24rem;
    float: right;
}


/*返回顶部*/
.backToTop {
    width: .7rem;
    height: .7rem;
    position: fixed;
    bottom: 1.1rem;
    right: 0.3rem;
    z-index: 99;
    display: none;
}

/*底部*/
.mpdBottom{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 7.5rem;
    height: 1rem;
    background-color: #fff;
    border-top: .02rem solid #eee;
}
.mpdBottom>a{
    display: block;
    float: left;
    text-align: center;
    height: 1rem;
}
.mpdShop{
    width: 1.75rem;
    font-size: .2rem;
}
.mpdShop>img{
    width: .5rem;
    height: .5rem;
    margin-top: .08rem;
    margin-bottom: .05rem;
}
.mpdTel,.mpdBuy{
    width: 3.96rem;
    line-height: 1rem;
    font-size: .28rem;
}
.mpdTel{
    border: .02rem solid #3bb850;
    color: #3bb850;
}
.mpdBuy{
    border: .02rem solid #3bb850;
    background-color: #3bb850;
    color: #fff!important;
}

.mpdDown{
    width: 4rem;
    line-height: 1rem;
    font-size: .28rem;
    background-color: #ccc;
    color: #fff;
}
.mpdDown>span{
    color: #fff;
}

/*购买确定弹窗*/
.buyOPW{
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    top:0;
    background-color: rgba(0,0,0,.6);
    z-index: 999999;
}
.buyOPWBox{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 7rem;
    height: 3.2rem;
    background-color: #fff;
    padding: .2rem .25rem;
    font-size: .28rem;
}
.buyOPWCloseP{
    height: .4rem;
    line-height: .4rem;
    text-align: right;
    font-size: .4rem;
}
.buyOPWClose{
    display: inline-block;
    width: .4rem;
    height: .4rem;
    line-height: .4rem;
    text-align: right;
}
.buyPrice{
    color: #fe0000;
    margin-bottom: .15rem;
}
.buyStock{
    margin-bottom: .15rem;
}
.buyNum{
    height: .5rem;
    line-height: .5rem;
    margin-bottom: .4rem;
}
.buyNumText{
    float: left;
}
.buyNumBox{
    float: right;
    width: 2.04rem;
    height: .5rem;
    border: .02rem solid #ccc;
}
.buyNumBox>span{
    float: left;
    display: inline-block;
    width: .5rem;
    height: .5rem;
    line-height: .5rem;
    text-align: center;
    font-size: .4rem;
}
.buyNumInput{
    float: left;
    width: 1rem;
    height: .5rem;
    line-height: .5rem;
    border-left: .02rem solid #ccc;
    border-right: .02rem solid #ccc;
    text-align: center;
}

.buyBTN{
    width: 7rem;
    height: .8rem;
    line-height: .8rem;
    background-color: #00c65d;
    color: #ffffff;
    font-size: .36rem;
    text-align: center;
    border-radius: .1rem;
}
.mpdReport{
    float: right;
    color:#ff8c00;
}
