*{
    margin: 0px;
    padding: 0px;
    font-family: 微软雅黑;
}
html,body{
    height: 100%;
}
#home{
    width: 100%;
    height: 100%;
    background: #f3f3f3;
}
.header{
    width: 100%;
    height: 2.5em;
    font-size: 3.2em;
    background: #fff;
    text-align: center;
    line-height: 2.5em;
}
.shopList{
    width: 94%;
    background: #fff;
    margin: 1%;
    font-size: 2em;
    border-radius: .5em;
    padding: 2%;
}
.shopTitle{
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    line-height: 2em;
}
.shopTitle span{
    margin-left: 1em;
}
/*商铺的logo*/
.shopLogo{
    width: 2em;
    height: 2em;
}
/*商品的图片*/
.shopImg{
    width: 8em;
    height: 8em;
}

.commodity{
    width: 100%;
    display: flex;
    vertical-align: middle;

}
.commodity div{
    width:calc(96% - 8em);
    padding: 2%;
}
.commodityType{
    color: rgba(37, 31, 17, 0.41);
    font-size: .9em;
}
.chooseCoupon{
    display: flex;
    line-height: 2em;
    justify-content: space-between;
    border-top: 1px solid #e2e1f3;
    padding-top: 1em;
}

.bottom{
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 8em;
    background: #fff;
    text-align: right;
}
.bottom button{
    border: none;
    width: 6em;
    height: 100%;
    background: #f06a2f;
    font-size: 3em;
    color: #fff;
}


.shadow{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
}
.shadowHide{
    width: 100%;
    height: 0%;
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
}


/*优惠券*/
.coupon{
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 90%;
    background: #e2e1f3;
    bottom: 0;
    font-size: 2em;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    transition: .5s;
}
.couponHide{
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 0%;
    background: #e2e1f3;
    bottom: 0;
    font-size: 2em;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
    transition: .5s;
}

.couponHeader{
    width: 94%;
    height: 4em;
    border-bottom: 1px solid #e2e1f3;
    display: flex;
    flex-direction: row;
    padding: 2% 3%;
    background: #fff;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}

.couponHeader input{
    border: none;
    width: calc(100% - 6em - 2px);
}
.couponHeader input::placeholder{
    font-size: 3em;
}
.couponHeader button{
    background: #f06a2f;
    color: #fff;
    font-size: 1.8em;
    border: none;
    width: 4em;
    height: 2em;
}

.choseType{
    display: flex;
    flex-direction: column;
    background: #fff;
}
.choseType .chose{
    display: flex;
    flex-direction: row;
}
.choseType .chose span{
    display: block;
    width: 50%;
    text-align: center;
    font-size: 1.5em;
    padding: .5em 0;
}
.redBorder{
    width: 40%;
    position: relative;
    border: 3px solid #f06a2f;
    left: 5%;
    transition: .5s;
}
.redBorder2{
    width: 40%;
    position: relative;
    border: 3px solid #f06a2f;
    left: 55%;
    transition: .5s;
}

.flexRow{
    display: flex;
    flex-direction: row;
}
.flexCol{
    display: flex;
    flex-direction: column;
}

.couponCard{
    background: #fff;
    width: 96%;
    margin: 2%;
    border-radius: .5em;
    /*box-shadow: 0em .1em .2em #333333;*/
}
.couponCardHeader{
    width: 90%;
    padding: 8% 5% 5%;
}
.couponCardHeader .money{
    width: 30%;
}
.couponCardHeader .money .sale{
    font-size: 2em;
    color: #ff0000;
}
.couponCardHeader .date .title{
    font-size: 2em;
}

.couponCardHeader .money .noSale{
    font-size: 2em;
    color: #4d4d4d;
}
.couponCardHeader .date .noTitle{
    font-size: 2em;
    color: #4d4d4d;
}
.couponCardHeader .word{
    color: #4d4d4d;
    font-size: 1em;
    line-height: 2em;
}
.couponMsg{
    width: 96%;
    padding: 2%;
    height: 2em;
    background: #f3f3f3;
    border-top: 1px dashed #000;
    color: #4d4d4d;
}

