* {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-family: “Helvetica Neue”, Helvetica, STHeiTi, Arial, sans-serif, “Microsoft YaHei”, “微软雅黑”;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    height: 100%;
}

body {
    background-color: #f9f9f9;
    height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

img {
    border: 0;
    max-width: 100% !important;
    vertical-align: middle;
}

address,
caption,
cite,
code,
i,
em,
strong {
    font-weight: normal;
    font-style: normal;
}

ol,
ul {
    list-style: none;
}

a {
    background: transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    color: #000;
}

    a:active {
        outline: 0;
    }

    a:active {
        color: #000;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}

button,
input,
select,
textarea {
    margin: 0;
    font: inherit;
    color: inherit;
    outline: none;
    -webkit-appearance: none;
    border-radius: 0;
}

textarea {
    resize: none
}

:before,
:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/* 公共样式 */
.fl {
    float: left;
}

.fr {
    float: right
}

.abr0 {
    position: absolute;
    right: 0;
}

.abr24 {
    position: absolute;
    right: 0.24rem;
}

.overflow {
    overflow: hidden;
}

.clear::after {
    content: '';
    clear: both;
    display: block;
}

.clear {
    zoom: 1;
}

.mask {
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
    transition: all 0.3s linear
}

.positionR18 {
    position: absolute;
    right: 0.18rem
}

.positionRe {
    position: relative;
}

.loadmore {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .loadmore > div {
        width: 2.5rem;
        height: 0.6rem;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #dbdbdb;
        font-size: 0.2rem;
        border: 1px solid #dbdbdb;
        border-radius: 1.9rem
    }

button.over {
    color: #959595;
    border: 2px solid #959595;
    background: #fff;
}

button.dispatching {
    color: #fff;
    background: #b5826d;
    border: 2px solid #b5826d;
}

button.pay {
    color: #fff;
    background: #b5000c;
    border: 2px solid #b5000c;
}

button.btn-small {
    width: 1.15rem;
    border-radius: 100px;
    font-size: 0.2rem;
}

button.buy {
    display: block;
    font-size: 0.26rem;
    width: 6.15rem;
    height: 0.85rem;
    color: #fff;
    background: #481c87; 
    border-radius: 100px;
    margin: 0 auto;
    border: 0;
    margin-bottom: 0.7rem;
}

.buy-outlined {
    display: block;
    font-size: 0.26rem;
    width: 6.15rem;
    height: 0.85rem;
    color: #b5000c;
    /* background: #b5000c; */
    border-radius: 100px;
    margin: 0 auto;
    border: 1px solid #b5000c;
    margin-bottom: 0.7rem;
}

.btnBox {
    width: 100%;
    margin-left: -50%;
    bottom: 0.7rem;
    position: fixed;
    left: 50%;
    padding-top: 0.3rem;
    background-color: #f9f9f9
}

.radio {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    border: 1px solid #959595;
    margin-right: 0.15rem;
}

    .radio:checked {
        background: url(../img/input-checked.png) center no-repeat;
        background-size: 100%;
        border: 0
    }

/* swiper */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #000000;
}

/* fixed nav */
.navFixed {
    margin-top: 1.2rem;
    z-index: 99999;
}

    .navFixed .fixed-con {
        position: fixed;
        top: 0.8rem;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

/* 头部 */
body {
    /*padding-top: 0.80rem*/
}

.header {
    width: 100%;
    background: #b5000c;
    /* padding: 0.24rem 0; */
    height: 0.80rem;
    color: #ffffff;
    font-size: .3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
}

    .header .header-title {
        letter-spacing: 1px
    }

    .header img {
        position: absolute;
        left: 0.3rem;
        align-self: center;
        width: .18rem
    }


/*NAV*/
.container .nav {
    height: .85rem;
    line-height: .85rem;
    background: #fff;
    display: flex;
    justify-content: space-around;
    font-size: .26rem;
    box-sizing: border-box
}

    .container .nav .active {
        border-bottom: 3px solid #b5000c
    }

.nav-search {
    position: absolute;
    right: 0.5rem;
    align-self: center;
}

/* 底部 */
.place {
    height: 1.06rem;
    width: 100%;
}

.tab-bar {
    width: 100%;
    background: #fff;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    justify-content: space-between;
    align-items: center;
    z-index: 990;
    box-sizing: border-box;
    padding: .1rem 1rem .2rem 1rem
}

    .tab-bar .tab {
        display: flex;
        color: #959595;
        text-decoration: none;
        flex-direction: column;
        text-align: center;
    }

    .tab-bar .active span {
        color: #481c87 !important
    }

    .tab-bar .tab span {
        width: 100%;
        font-size: .2rem;
        color: #959595;
    }

        .tab-bar .tab span:first-child {
            margin-bottom: .1rem
        }

    .tab-bar .tab img {
        width: .34rem
    }

    .tab-bar .home img {
        width: 0.42rem
    }

/* 加载框 */
.load-container {
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 2.4rem;
    height: 2.4rem;
    float: left;
    position: absolute;
    overflow: hidden;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #474747;
    border-radius: 10px;
    opacity: 0.9;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 999999;
}

.loader {
    color: #ffffff;
    font-size: 0.2rem;
    margin: 1rem auto;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.3s infinite linear;
    animation: load4 1.3s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

@keyframes load4 {

    0%, 100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}

/* 确认提示框 */
.tip-model {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    top: 0;
    left: 0;
    animation: tipShow 0.4s forwards;
}

.tip-con {
    width: 5.4rem;
    height: 2.6rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
}

.tip-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    height: 0.9rem;
    border-top: 1px solid #efefef;
    position: absolute;
    bottom: 0
}

    .tip-btn span {
        display: inline-block;
        width: 50%;
        text-align: center;
        height: 0.9rem;
        line-height: 0.9rem;
        color: #1685ff;
        font-size: 0.34rem;
    }

        .tip-btn span:not(:last-child) {
            border-right: 1px solid #efefef
        }

.tip-text {
    text-align: center;
    padding-top: 0.34rem;
    font-size: 0.24rem;
    font-weight: 400
}

.tip-title {
    margin-bottom: 0.24rem;
    font-size: 0.34rem
}

@keyframes tipShow {
    0% {
        opacity: 0;
        transform: scale(0.9)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}

button.buy-small {
    margin-bottom: 0.3rem;
    width: 1.6rem;
    height: 0.4rem;
}

button.positonFixed1 {
    position: fixed;
    /* top: 1.6rem; */
    right: 20px;
    z-index: 9999;
}
