﻿@charset "UTF-8";
html{
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-size: 20px;
}
html,body {
    -webkit-touch-callout:none;
    -webkit-text-size-adjust:none;
    -webkit-tap-highlight-color:rgba(0, 0, 0, 0);
    -webkit-user-select:none;
    width: 100%;
    height: 100%;    
}
body {
    line-height: 1.5;
    font-size: 0.7rem;
    color: #555;
    background-color: #f7f7f7;
    outline: 0;
    padding-top: 2.3rem;
}
*{
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    border:0;
    font-style:normal;
    outline: none;
}
@media only screen and (min-width: 400px) {
    html {
        font-size: 21.33333333px !important;
    }
}
@media only screen and (min-width: 414px) {
    html {
        font-size: 21px !important;
    }
}
@media only screen and (min-width: 480px) {
    html {
        font-size: 25.6px !important;
    }
}

/*隐藏滚动条*/
/*::-webkit-scrollbar:{display:none; width:0; height: 0;}
::-webkit-scrollbar {width: 0em;}
::-webkit-scrollbar:horizontal {height: 0em;}*/

ul, li {
    list-style: none;
}
a {
    color: #555;
    text-decoration: none;
    background-color: transparent;
}

button {
    overflow: visible;
}
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{
  color: #aaa;
}
button,select {
    text-transform: none;
}
button,input,select,textarea {
    font: inherit;
    color: inherit;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    border-radius: 0;
    -webkit-user-select: auto;
    user-select: auto;
    -o-user-select: auto;
    -ms-user-select: auto;
}
textarea {
    overflow: hidden;
    resize: none;
}

img{
    border: none;
    vertical-align: middle;    
}

.noscroll{
    overflow: hidden;
}


.content{    background: #fff;}
.fl{    float: left;}
.fr{    float: right;}

.mb1{margin-bottom: 0.025rem;}
.mt20{    margin-top: .5rem;}
.mb20{    margin-bottom: .5rem;}
.mt30{    margin-top: .75rem;}
.mr20{    margin-right: .5rem;}
.mb50{    margin-bottom: 2.5rem;}
.mb60{    margin-bottom: 3rem;}
.ml20{    margin-left: .5rem;}

.pl30{padding-left: .75rem;}
.pr30{padding-right: .75rem;}

.uiflex{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.uiflex .uitem{
    flex: 1;
}


.uifixed{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;    
    padding: .5rem .75rem;
}
.uifixed .btn{
    line-height: 2.25rem;
    border-radius: .25rem;
    font-size: .75rem;
}

/*文字颜色*/
.tdark{ color: #222; }
.tlight{ color: #999; }
.tlighter{ color: #aaa; }
.tred{    color: #fc4b06;}
.tgreen{color: #14ae44;}
.tyellow{color: #fab501;}
.tblue{color: #2374e3;}

/*按钮颜色*/
button{background: none; border: none;}
.btn-link{}
.btn-light{border: 1px #999 solid; color: #999; text-align: center;}
.btn-lighter{border: 1px #aaa solid; color: #aaa; text-align: center;}
.btn-red{border: 1px #fc4b06 solid; color: #fc4b06; text-align: center;}
.btn-primary{color: #fff; border:none; background-color:#627641; text-align: center;}


button.plus{
    width: 1rem;
    height: 1rem;
    background: url(../images/act/plus.png) center no-repeat;
    background-size: 1rem;
    border: 0;
}


.re-button .btn-red{
    color: #f1331c;
    border-color: #f1331c;
}


.clear:before,.clear:after{
    content: '';
    display: block;
    clear: both;
}

.tright{    text-align: right;}
.bold{ font-weight: 700;}


/*文本*/
.ellipsis-1{   
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* 
    两行文本超出隐藏,
    要使用的div必须要有宽和高
 */
.ellipsis-2{
    overflow:hidden; 
    text-overflow:ellipsis;
    display:-webkit-box; 
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}


.fullpage{
    height: 100%;
    position: relative;
}


/*头部*/
header{
    display: flex;
    padding: .4rem .75rem;
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9;    
    height: 2.3rem;
    border-bottom: solid 1px #f7f7f7;
}
header .aback{
    display: block;
    width: 1.5rem;
    background: url(../images/act/back.png) center no-repeat;
    background-size: .5rem auto;
        margin-left: -.5rem;
}
header .title{
    font-size: .925rem;
    color: #222;
    text-align: center;
    flex: 1;
    line-height: 1.5rem;
}



.uititle{
    height: 2.25rem;
    padding: .75rem;
    font-size: .75rem;
    line-height: .75rem;
    /*background: #fff;*/
    position: relative;
}
.uititle:after {
    content: " ";
    display: inline-block;
    position: absolute;
    left: 0;
    top: .7rem;
    bottom: .5rem;
    border-radius: .25rem;
    background-image: -moz-linear-gradient( 90deg, rgb(255,157,3) 0%, rgb(249,190,0) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(255,157,3) 0%, rgb(249,190,0) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(255,157,3) 0%, rgb(249,190,0) 100%);
    width: .25rem;
    height: .8rem;

}
.uititle a{
    margin-left: 1rem;
}


/*选中图标 radio*/
.check .circle{
    width: 1rem;
    height: 1rem;
    display: block;
    background: url(../images/act/check.png) center no-repeat;
    background-size: 1rem;
}
.checked .circle{
    background: url(../images/act/checked.png) center no-repeat;
    background-size: 1rem;
}

/*选中图标 checkbox*/
.check .square{
    width: .8rem;
    height: .8rem;
    display: block;
    background: url(../images/act/icon-square.png) center no-repeat;
    background-size: .8rem;
}
.checked .square{
    background: url(../images/act/icon-square-red.png) center no-repeat;
    background-size: .8rem;
}

/*选中图标 2 checkbox*/
.check .radio{
    width: .9rem;
    height: .9rem;
    display: block;
    background: url(../images/act/icon-radio.png) center no-repeat;
    background-size: .9rem;
}
.checked .radio{
    background: url(../images/act/icon-radio-red.png) center no-repeat;
    background-size: .9rem;
}


/*右箭头 图标*/
.mright {
    width: .75rem;
    height: .75rem;
    display: inline-block;
    background: url(../images/icon/amore.png) center right no-repeat;
    background-size: .6rem .6rem;
}
.mright2 {
    width: .7rem;
    height: .7rem;
    display: inline-block;
    background: url(../images/icon/aright.png) center right no-repeat;
    background-size: .5rem .5rem;
}

/*星星*/

.stars{

}
.stars .star{
    height: .55rem;
    width: .55rem;
    background: url(../images/star_gray.png) center no-repeat;
    background-size: .55rem auto;
    display: block;
    float: left;
    margin-left: .25rem;
}
.stars .bright{
    background: url(../images/star_bright.png) center no-repeat;
    background-size: .55rem auto;
}



/*编辑图标*/
.uedit {
    background: url(../images/edit.png) center no-repeat;
    background-size: 1rem auto;
    width: 1rem;
    height: 1rem;
    display: inline-block;
}

/*微信图标*/
.wechat {
    background: url(../images/user/icon-wechat.png) center no-repeat;
    background-size: 1.35rem 1.25rem;
    width: 1.35rem;
    height: 1.25rem;
    display: inline-block;
}

/*支付宝图标*/
.alipay {
    background: url(../images/user/icon-alipay.png) center no-repeat;
    background-size: 1.35rem 1.25rem;
    width: 1.35rem;
    height: 1.25rem;
    display: inline-block;
}

/*系统通知 成功、失败图标*/
.icon-sucess,.icon-fail{
    width: 3rem;
    height: 3rem;
    display: block;
    margin: 0 auto;
}

/*物流*/
.icon-logi{
    width: 2rem;
    height: 2rem;
    display: block;
    background: url(../images/icon-logi.png) center no-repeat;
    background-size: 2rem;    
}


/*底部导航*/
.tabbar{
    background-color: #fff;
    position: fixed;
    display: flex;
    z-index: 500;
    bottom: 0;
    width: 100%;    
    border-top: 0.025rem solid #eee;
    height: 2.5rem;
}
.tabbar .item {
    padding-top: .15rem;
    color: #999;
    flex: 1;
    position: relative;
}
.tabbar .label{
    color: #aaa;
    font-size: .5rem;
    line-height: .75rem;
    text-align: center;
}
.tabbar .on .label{    color: #627641; }
.tabbar .item .num{
    border-radius: 50%;
    background-color: #fc4b06;
    position: absolute;
    width: 0.75rem;
    height: 0.75rem;
    line-height: 0.75rem;
    font-size: 0.4rem;
    text-align: center;
    color: #fff;
    z-index: 2;
    top: 0.1rem;
    left: 55%;
}


.tabbar .icon{
    height: 1.35rem;
    background-repeat: no-repeat;
    background-size: auto 1.35rem;
    background-position: center;
}
.tabbar .on .icon-index {
    background-image: url(../images/nav/icon-index-on.png);
}
.tabbar .icon-index {
    background-image: url(../images/nav/icon-index.png);
}
.tabbar .on .icon-shop {
    background-image: url(../images/nav/icon-shop-on.png);
}
.tabbar .icon-shop {
    background-image: url(../images/nav/icon-shop.png);
}
.tabbar .on .icon-cate {
    background-image: url(../images/nav/icon-cate-on.png);
}
.tabbar .icon-cate {
    background-image: url(../images/nav/icon-cate.png);
}
.tabbar .on .icon-cart {
    background-image: url(../images/nav/icon-cart-on.png);
}
.tabbar .icon-cart {
    background-image: url(../images/nav/icon-cart.png);
}
.tabbar .on .icon-user {
    background-image: url(../images/nav/icon-user-on.png);
}
.tabbar .icon-user {
    background-image: url(../images/nav/icon-user.png);
}
.tabbar .on .icon-order {
    background-image: url(../images/nav/icon-order-on.png);
}
.tabbar .icon-order {
    background-image: url(../images/nav/icon-order.png);
}


/*客服*/

.custom {
    color: #fff;
    font-size: .55rem;
    line-height: .55rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.502) url(../images/icon-mes-wh2.png) center .5rem no-repeat;
  background-size: .85rem .95rem;
  position: fixed;
  right: .75rem;
  bottom: 3.2rem;
  width: 2.5rem;
  height: 2.5rem;
  z-index: 251;
      text-align: center;
    padding-top: 1.65rem;
}




.flat{
    position: fixed;
    right: .5rem;
    bottom: 5rem;
    z-index: 999;
    transition-duration: 0.3s;
    /*height: 2.4rem;*/
    overflow-y: hidden;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0.2rem;   
}
/*.flat a{ display: block; }*/
.flat i{
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0.075rem 0.375rem 0px rgba(0, 0, 0, 0.3);
    width: 2.4rem;
    height: 2.4rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    margin-bottom: .5rem;
    /*display: none;*/
    display: block;
    transition-duration: 0.3s; 
}   
.flat .serve{
    background-image: url(../images/act/btn-serve.png);
}
.flat .share{
    background-image: url(../images/act/btn-share.png);
}
.flat .totop{
    background-image: url(../images/act/btn-totop.png);
}
.flat .close{
  border: .05rem solid #fff;
  border-radius: 50%;
  background-color: #666;
    background-image: url(../images/act/btn-close.png);
} 

.flat .plus{
    display: block;
    background-image: url(../images/act/btn-plus.png);
}
.flat.open{
    height: 11.6rem;
}
/*.flat.open .plus{
    display: none;
}
.flat.open .serve,.flat.open .share,.flat.open .totop,.flat.open .close{
    display: block;
}*/

/*弹窗*/

.layui-m-layer .popuo-serve{
  border-radius: .25rem;
  background-color: rgb(248, 247, 249);
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.2);
  width: 15.75rem !important;
  /* height: 9.425rem;     */
  font-size: .75rem;
}
.popuo-serve .layui-m-layercont{
    line-height: 1.4rem;
    padding:1.5rem 0;
 }
.popuo-serve .layui-m-layercont span{
    color: #222;
}
.popuo-serve .layui-m-layerbtn {
    width: 100%;
    height: 2.25rem;
    line-height: 2.25rem;
    font-size: 0;
    border-top: 0.025rem solid #ddd;
    background-color: transparent;
    color: #999;
}

.popuo-serve .layui-m-layerbtn span[no] {
    border-right: 0.025rem solid #ddd;
    border-radius: 0;
}
.popuo-serve  .layui-m-layerbtn span[yes] {
    color: #2582f5;
}

.layui-m-layer .popuo-share{
    top: 0px;
    position: absolute;
    right: 0;
    background: transparent;
    font-size: 0.75rem;
    color: #fff;    
    /*padding-top: 2.3rem;*/
    padding-right: 1rem;
}
 .popuo-share .layui-m-layercont {
    text-align: right;
    padding: 0;
    display: inline-block;
    float: right;
    margin-top: 1.25rem;
    padding-top: 0.5rem;
    padding-right: 1.75rem;
    line-height: 1.25rem;
    background: url(../images/user/ar-share.png) right top no-repeat;
    background-size: 1.25rem 1.5rem;
}

/*系统通知*/ 
.prompt{
    /*height: 100%;*/
    position: relative;
    text-align: center;
}
.prompt .result{
    background: #fff;
    padding:2.5rem 1rem;
}
.prompt .icon{
    width: 3rem;
    height: 3rem;
}
.prompt .btext{
    color: #222;
    font-size: .75rem;
    margin-top: 1rem;
}
.prompt .btext b{
    font-size: 1.05rem;
}

.prompt .stext{
    margin-top: .75rem;
    color: #999;
    font-size: .75rem;
    line-height: .75rem;
}

.re-button{
    display: flex;    
    padding:0 1rem;
}
.re-button .btn{
    flex: 1;
    line-height: 2rem;
    font-size: .75rem;
    border-radius: .125rem;
}


.layui-m-layer .popuo-plus{
    height: 100%;
    width: 100% !important;
    background: #fff !important;
    bottom: 0 !important;
}
.layui-m-layer .popuo-plus .layui-m-layercont {
    padding: 0;
    border-radius: 0;
    height: 100%;
    /* padding: 0 !important;
    border-radius: 0 !important;
    background-color: rgba(255,255,255,.8); */
}
.popuo-grod{
    position: relative;
    z-index: 999;
    height: 100%;
    overflow: scroll;
}
.popuo-grod .box{
    position: relative;
    z-index: 1;
}
.popuo-grod .desc{
    padding: 0.75rem;
    border-bottom: solid 5px #f7f7f7;
}
.popuo-grod .pic{
    width: 100%;
    height: 375px;
}
.popuo-grod .pic img{
    width: 100%;
    height: 375px;
}


.popuo-grod .name{
    color: #222;
    font-size: .75rem;
    line-height: .75rem;
}
.popuo-grod .sub{
    font-size: .6rem;
        color: #999;
        margin-top: .25rem;
}
.popuo-grod .attr{
    margin-top: .75rem;
}
.popuo-grod .attr > text{
    width: 2rem;
}
.popuo-grod .attr .uitem{
    text-align: left;
}
.popuo-grod .attr .uitem label{
    min-width: 2.5rem;
    line-height: 1rem;
    padding: 5px .5rem;
    text-align: center;
    border: solid 1px #f1f1f1;
    border-radius: .75rem;
    margin-right: .75rem;
    display: inline-block;
    background: #f1f1f1;
        white-space: nowrap;
}
.popuo-grod .attr .uitem label.select{
    background: #627641;
    border: solid 1px #627641;
    color: #ffffff;
}



.popuo-grod .cost{
    color: #e89048;
    font-size: .75rem;
}
.popuo-grod .cost .spec{
    font-size: .6rem;
}
.popuo-grod .total{
        flex: 1;
    line-height: .7rem;
}
.popuo-grod .bnum {
    display: block;
    margin-bottom: .3rem;
}
.popuo-grod .stock  {
    display: block;
    font-size: .6rem;
    color: #999;
}
.popuo-grod .count{
    width: 5rem;
    display: flex;
}
.popuo-grod .count a{
    display: block
}
.popuo-grod .count .decrease{
    width: 1rem;
    height: 1rem;
    background: url(../images/act/minu.png) center no-repeat;
    background-size: 1rem;
}
.popuo-grod .count .increase{
    width: 1rem;
    height: 1rem;
    background: url(../images/act/plus.png) center no-repeat;
    background-size: 1rem;
}
.popuo-grod .count .number{
    width: 3rem;
    font-size: .6rem;
    color: #222;
    text-align: center;
}

.popuo-grod .action{
    display: flex;
        position: fixed;
    bottom: 0;
    left: 0;  
    right: 0;
    z-index: 1001;
}
.popuo-grod .action .btn{
    flex: 1;
    line-height: 2.5rem;
    text-align: center;
}
.popuo-grod .buynow{
    color: #fff;
    background: #627641;
}
.popuo-grod .addtocart{
    background: #f1f1f1;
}
.popuo-grod .close{
    font-size: 1rem;
    position: fixed;
    left: .5rem;
    top: .5rem;
    color: #fff;
    display: block;
    z-index: 99;
    background: rgba(0,0,0,0.75);
    border-radius: 50%;
}
.popuo-grod .weui-icon-cancel:before{margin: 0;}
.popuo-grod .box.spec{
    position: fixed;
    bottom: 2.5rem;
    padding: .5rem .75rem;
    z-index: 999;
    background: #fff;
    height: 3rem;
    border-top: solid 1px #dcdcdc;
    line-height: 1rem;
    left: 0;
    right: 0;
    width: auto;
}
.popuo-grod .ginfo{
    /* padding-bottom: 6rem; */
    position: fixed;
    z-index: 99;
    width: 100%;
    top: 0;
    bottom: 5rem;
    overflow: scroll;
    background: #fff;
}
.popuo-grod .desc {
padding: .75rem;
overflow: hidden;
border-bottom: solid 5px #eee;
}
.popuo-grod .name {
font-size: .75rem;
line-height: .75rem;
}
.popuo-grod .remark {
    font-size: .6rem;
color: #999;
margin-top: 5px;

}

.popuo-grod .goods_content{ 
    padding: .75rem;
}
.popuo-grod .goods_content .gtit{
    font-weight: bold;
    line-height: 1rem;
}
.popuo-grod .goods_content .gdesc{
    color: #555;
    font-size: .6rem;
    line-height: 1rem;
    padding: .5rem 0;
}

/*产品列表*/
.itemlist{
    margin-left: -0.05rem;
    margin-bottom: 2.5rem;
}
.itemlist .li{
    width: 50%;
    float: left;
}
.itemlist .li .info{
    margin-left: 0.05rem;
    margin-top: 0.05rem;
    background: #fff;
    padding-bottom: .5rem;    
}
.itemlist .li img{
    width: 100%;   
    position: relative;
    z-index: 1;
}

.itemlist .li .coupon{
    position: relative;
}
.itemlist .li .coupon .pr{
    font-size: 1.2rem;
    line-height: .6rem;
    position: absolute;
    left: 2.5rem;
    top: 50%;
    z-index: 10;
    margin-top: -.3rem;
    color: #fff;

}
.itemlist .li .coupon em{
    font-size: .6rem;
}

.itemlist .li .name{
    font-size: .75rem;
    line-height: 1rem;
    height: 2rem;
    overflow: hidden;
    display: block;
    margin: .5rem 0;
    padding: 0 .5rem;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;    
}
.itemlist .li .nowarp{
    height: 1rem;
}
.itemlist .li .cost{
    font-size: .75rem;
    line-height: .75rem;
    color: #f1331c;
    display: block;
    padding: 0 .5rem;
        display: flex;
    justify-content: space-between;
    align-items: center;
}
.itemlist .li .rmb{
    font-size: .6rem;
    color: #999;
    margin-left: .25rem;
    text-decoration: line-through;
}

.itemlist .envelope .tagbg{
    width: 6rem;
    height: 3rem;
    margin: 2.5rem auto;
    display: block;
    background: url(../images/wx_coupon.png) center no-repeat;
    background-size: 6rem 3rem;
    position: relative;
}
.itemlist .envelope .tagbg .tag{
    font-size: .6rem;
    color: #fff;
    display: inline-block;
    width: 1rem;
    line-height: .6rem;
    float: left;
    margin-left: .45rem;
    margin-top: .3rem;
    margin-right: 1.5rem;
}
.itemlist .envelope .tagbg .pri{
    font-size: 1.2rem;
    color: #f1331c;
    margin-top: .7rem;
    display: inline-block;
}
.itemlist .envelope .tagbg .pri em{
    font-size: .6rem;
}