.sales .price, .sales .sales_info, h2:before {
    vertical-align: middle
}

footer div:first-child:before, h2:before {
    content: ''
}

body, h1, h2, h3, h4, h5, html, li, ul {
    margin: 0;
    padding: 0
}

html {
    background: url(../images/bg.jpg) center no-repeat fixed #3D000F;
    background-size: cover;
    height: 100%
}

button {
    border: none;
    background: 0 0;
    outline: 0;
    background-color: #fff;
}

body {
    max-width: 640px;
    margin: 0 auto 50px;
    background-color: rgba(255, 255, 255, .2);
    color: #555
}

#POP800_PANEL_DIV {
    display: none
}

.sales, .sales .price, .sales .sales_info, .time_wrapper, h2:before {
    display: inline-block
}

.header {
    padding: 2% 4%;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.service, h2 {
    border-bottom: 1px solid #ccc
}

.header h1 {
    font-size: 20px;
    color: #fff
}

.swiper-slide {
    font-size: 0
}

.img_wrap {
    background: #fff;
    margin: 4% 2.5%
}

h2 {
    color: #555;
    font-weight: 500;
    font-size: 16px;
    line-height: 42px;
    text-indent: 2%
}

h2:before {
    width: 4px;
    height: 18px;
    background: #c50a1d;
    margin-right: 8px
}

.details {
    background: #fff;
    margin: 4% 2.5%;
    padding-bottom: 2%
}

.sales_wrap {
    background: #eee;
    font-size: 0;
    height: 51px;
    overflow: hidden
}

.sales {
    width: 60%;
    color: #fff;
    background: #f61d4b;
    font-size: 0
}

.sales .price {
    font-size: 12px;
    margin: 1%
}

.sales .price ins {
    font-size: 36px;
    font-weight: 600
}

.sales .sales_info {
    font-size: 12px
}

@media screen and (min-width: 340px) {
    .sales .sales_info {
        margin-left: 2%
    }
}

.sales .sales_info .sales_num {
    background: #ca032e
}

.time_wrapper {
    width: 40%;
    vertical-align: top;
    text-align: center;
    margin-top: 10px
}

.time_wrapper .timeWrap {
    display: inline-block;
    font-size: 12px;
    font-weight: 600
}

.time_wrapper #clock {
    display: block;
    color: red
}

.buy_now a, .service span, form .text2box, form .text3box, form .textbox {
    display: inline-block
}

.time_wrapper #timer {
    font-size: 0
}

.time_wrapper #timer span {
    font-size: 12px;
    font-weight: 600
}

.title h1 {
    color: #666;
    font-size: 16px;
    line-height: 32px;
    padding: 2%
}

.service {
    font-size: 0;
    line-height: 42px;
    border-top: 1px solid #ccc;
    padding: 0 2%
}

.service span {
    font-size: 13px;
    padding-left: 25px;
    margin-right: 15px;
    background: url(../images/icon.png) no-repeat;
    background-size: 20px
}

.service span:first-child {
    background-position: 0 -57px
}

.service span:nth-child(2) {
    background-position: 0 11px
}

.service span:nth-child(3) {
    background-position: 0 -23px
}

.buy_now {
    width: 96%;
    background: #c60a1e;
    margin: 2%;
    border-radius: 4px;
    text-align: center
}

.buy_now a, .product_info img {
    width: 100%;
    display: block;
}

.buy_now a {
    color: #fff;
    font-size: 18px;
    line-height: 45px
}

.product_info {
    background: #fff;
    margin: 2% 2.5%
}

/*.product_info .m-img {*/
    /*font-size: 0*/
/*}*/

.product_info video {
    width: 100%;
    height: auto
}

#page-order {
    background: #fff;
    margin: 4% 2.5%;
    padding-bottom: 4%
}

#page-order .order_title {
    padding: 0 2%;
    background-color: #666
}

#page-order h1 {
    color: #fff;
    padding-left: 32px;
    background: url(../images/icon.png) 0 -150px no-repeat;
    background-size: 30px;
    line-height: 44px;
    font-size: 20px;
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap
}

form {
    font-size: 14px
}

form .bdbox {
    padding: 5px 0;
    display: -webkit-flex;
    display: flex
}

form label.bdxx {
    text-align: right;
    flex-basis: 5em;
    margin-right: 1em;
    flex-shrink: 0;
    line-height: 2em
}

.dxbox label, .less, .like_wrap .like, .more, .submit, footer {
    text-align: center
}

form label.bdxx:last-child {
    margin: 0
}

form em {
    color: red;
    vertical-align: middle
}

form input, form select, form textarea {
    border: 1px solid #ccc;
    width: 90%;
    height: 2em;
    line-height: 2em;
    text-indent: 8px;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075)
}

.less, .more, .textWrap {
    line-height: 32px;
    vertical-align: middle
}

form input[name=price] {
    border: none;
    box-shadow: none
}

form textarea {
    resize: none
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:  #858585;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:  #858585;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:  #858585;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:  #858585;
}
form select {
     height: 2.3em;
    color:  #858585;
}

form .text2box, form .text3box, form .textbox {
    flex-grow: 2
}

.item .dxbox {
    display: flex;
    flex-wrap: wrap
}
/*
.item .dxbox label {
    max-width: 100px
}*/

.dxbox {
    font-size: 0
}

.dxbox input[type=radio] {
    display: none
}

.dxbox label, .less, .m-selnum, .more, .textWrap, footer div a {
    display: inline-block
}

.dxbox label {
    font-size: 14px;
    padding: 2px;
    border: 1px solid #ddd;
    margin: 5px 5px 5px 0;
    border-radius: 2px;
    min-width: 40px
}

.m-selnum {
    font-size: 0
}

.less, .more {
    width: 32px;
    height: 32px;
    color: #222;
    border: 1px solid #ccc;
    font-size: 28px;
    font-family: monospace
}

.textWrap {
    font-size: 12px;
    padding: 0 16px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc
}

.huo {
    background: url(../images/icon.png) 0 -231px no-repeat;
    background-size: 30px;
    padding-left: 22px
}

.huo_info {
    font-size: 14px;
    margin-left: 6em;
    padding: 6px 8px;
    background: #fbeedf;
    border: 1px solid #eed3d7;
    border-radius: 4px;
    color: red;
    min-width: 60%
}

.submit button {
    width: 96%;
    font-size: 16px;
    line-height: 42px;
    background: #E30;
    color: #fff;
    border-radius: 4px;
    margin: 10px 0
}

footer, footer div a {
    width: 100%;
    color: #fff
}

.tab-sel {
    background: #E30;
    border-color: #E30 !important;
    color: #fff
}

.tab-sel .huo {
    background-position: 0 -265px
}

#page-order .new_order {
    padding: 0 2%;
    background-color: #666
}

#page-order .new_order h1 {
    background-position: 0 -186px
}

footer {
    display: -webkit-flex;
    display: flex;
    background: #E30;
    line-height: 50px;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    max-width: 640px
}

footer div {
    border-right: 1px dashed #fff;
    flex-grow: 1
}

footer div:first-child {
    width: 50px;
    flex-grow: 0
}

footer div:first-child:before {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    transform: rotate(-45deg);
    position: absolute;
    top: 10px;
    left: 20px
}

footer div:last-child {
    border-right: none
}

.notes {
    background: #fff
}

.picList li {
    border-bottom: 1px dotted #aaa;
    padding: 2px
}

.picList li.odd {
    background: #eee
}

.like_wrap {
    height: 100vh;
    position: fixed;
    z-index: 22;
    width: 100%;
    top: 0;
    left: 0;
    display: none
}

.like_wrap .like_shadow {
    height: 100vh;
    position: absolute;
    background: rgba(0, 0, 0, .5);
    width: 100%
}

.like_wrap .like {
    background: #eee;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 80px;
    margin: -40px 0 0 -90px;
    line-height: 80px;
    border-radius: 8px
}

.like_wrap .close {
    position: absolute;
    top: -8px;
    right: -5px;
    line-height: 16px;
    width: 16px;
    border: 1px solid;
    border-radius: 14px;
    background: #fff
}