/**
基础组件样式
 */
html {
    /*font-size:14px;*/
}

body {
    background: #EFEFEF;
}

[v-cloak]{
    display:none !important;
}

:root{
    --theme-color: #E40668;
    --pink-color: #EC9DA3;
    --red-color: #E85169;
}

.van-dialog {
    border-radius: 8px;
}

/**
star-cell
 */

.star-cell-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.star-cell-group-title {
    padding: 15px;
    color: #323233;
    font-size: 14px;
}

.star-cell {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    padding: 14px 15px;
    overflow: hidden;
    color: #323233;
    font-size: 14px;
    line-height: 24px;
    background-color: #fff;
}

.star-cell::after {
    position: absolute;
    box-sizing: border-box;
    content: ' ';
    pointer-events: none;
    right: 0;
    bottom: 0;
    left: 15px;
    border-bottom: 1px solid #ebedf0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
}

.star-cell:last-child::after {
    border-bottom: 0;
}

.star-cell-title {
    color: #222222;
}

.star-cell-value {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    color: #222222;
    text-align: right;
    vertical-align: middle;
    word-wrap: break-word;
}

.star-cell-small {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.star-cell-small-title {
    font-size: 14px;
    color: #323233;
}

.star-cell-small-value {
    font-size: 14px;
    color: #969799;
}

.star-column {
    width: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    padding: 10px;
    background: #FFFFFF;
    position: relative;
}

.star-column::after {
    position: absolute;
    box-sizing: border-box;
    content: ' ';
    pointer-events: none;
    right: 0;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #ebedf0;
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
}

.star-column-title{
    width: calc(100% - 30px);
    padding: 12px 15px;
    font-size: 16px;
    color: #222222;
    display: flex;
    align-items: center;
}

.star-column-title .tag{
    width: 2px;
    height: 10px;
    background: #E40668;
    border-radius: 1px;
    margin-right: 5px;
}

.star-flex-vertical{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.star-button {
    position: relative;
    box-sizing: border-box;
    height: 44px;
    font-size: 16px;
    text-align: center;
    border-radius: 22px;
    cursor: pointer;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
}

.star-button-small {
    position: relative;
    box-sizing: border-box;
    height: 30px;
    font-size: 14px;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
}

.theme-button {
    background: #E40668!important;
    color: white;
}

.theme-button:active {
    /*background: #DD4A68;*/
    color: white;
}

.default-button {
    background: white!important;
    color: #E40668;
    height: 42px;
    border: solid 1px #E40668;
}

.star-dialog {
    position: absolute;
    z-index: 10000;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.star-dialog-mask {
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10001
}

.dialog-body {
    width: calc(100% - 40px);
    border-radius: 8px;
    background: #FFFFFF;
    /*box-shadow: 0 0 4px #FF89AE;*/
    z-index: 10002
}

.dialog-content {
    padding: 20px;
    font-size: 14px;
    color: #222222;
    text-align: center;
}

.dialog-buttons {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    border-top: solid 1px #EEEEEE
}

.dialog-buttons .line {
    width: 1px;
    height: 20px;
    background: #EEEEEE
}

.dialog-buttons .dialog-button {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #222222;
    font-weight: bold
}

.dialog-buttons .dialog-button.primary {
    color: #E40668
}

.dialog-buttons .dialog-button.secondary {
    color: #999999
}

.bottom-toolbar {
    width: 100%;
    height: 50px;
    background: #FFFFFF;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -2px 2px -2px #EEEEEE;
}

/**
popup
 */

.popup-title {
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 15px;
    color: #222222;
    font-weight: bold;
    box-shadow: 4px 4px 10px -4px #ebedf0;
    z-index: 1;
}

.bottom-buttons{
    width: 100%;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 -2px 2px -2px #EEEEEE;
    position: fixed;
    left: 0;
    bottom: 0;
    background: #FFFFFF;
    z-index: 1;
}

.bottom-buttons .item{
    flex: 1;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: var(--theme-color);
}

.major{
    background: var(--theme-color);
    color: #FFFFFF!important;
}

.bottom-toolbar .item {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #222222;
    font-weight: bold;
}

.bottom-toolbar .line {
    width: 1px;
    height: 20px;
    background: #EEEEEE;
}

.major{
    background: #E40668!important;
    color: #FFFFFF!important;
}

/**
公共组件样式
 */

.subscribe-popup {
    width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subscribe-popup .title {
    width: calc(100% - 40px);
    padding: 0 20px;
    font-size: 16px;
    color: #222222;
    margin-top: 14px;
    text-align: center;
}

.subscribe-popup .desc {
    font-size: 14px;
    color: #222222;
    margin-bottom: 14px;
    text-align: center;
}

.subscribe-popup .qrcode {
    width: 160px;
    height: 160px;
}

.star-tag-small{
    padding: 2px 6px;
    font-size: 10px;
    color: white;
    background: #E40668;
    border-radius: 2px;
}

.star-tag{
    padding: 3px 8px;
    font-size: 12px;
    color: white;
    background: #FF89AE;
    border-radius: 2px;
}

/**
优惠券
 */

.coupon {
    width: 100%;
    height: 90px;
    display: flex;
    /*background: linear-gradient(-90deg, #ffd99f, #f7bd51);*/
    background: #E40668;
    margin-bottom: 10px;
}

/*前半部分样式*/
.coupon .content {
    position: relative;
    flex: 1;
    padding: 10px 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.coupon .content .amount {
    font-size: 30px;
    color: #FFFFFF;
    display: flex;
    align-items: baseline;
}

.coupon .content .amount .unit {
    font-size: 14px;
}

.coupon .content .name {
    font-size: 14px;
    color: #FFFFFF;
}

.coupon .content .time {
    font-size: 14px;
    color: #FFFFFF;
}

.coupon .tip {
    position: relative;
    flex: 0 0 90px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon .split-line {
    position: relative;
    flex: 0 0 0;
    margin: 0 6px 0 1px;
    border-left: 2px dashed #FFFFFF;
}

.coupon .split-line:before, .split-line:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 6px;
    background: #FFFFFF;
    left: -8px;
    z-index: 1;
}

.coupon .content:before, .coupon .content:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 6px;
    background: #FFFFFF;
    left: -6px;
    z-index: 1;
}

.coupon .tip:before, .tip:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 6px;
    background: #FFFFFF;
    right: -6px;
    z-index: 1;
}
.coupon .content:before, .tip:before, .split-line:before {
    border-radius: 0 0 6px 6px;
    top: 0;
}

.coupon .content:after, .tip:after, .split-line:after {
    border-radius: 6px 6px 0 0;
    bottom: 0;
}

/**
地址选择器
 */

.address-list{
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    overflow: scroll;
}

.address-list .item{
    width: calc(100% - 60px);
    margin: 5px 15px;
    padding: 15px 15px 0 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #FFFFFF;
    border-radius: 8px;
    font-size: 14px;
    color: #222222;
}

.address-list .item:active {
    background-color: #f8f8f8;
}

.address-list .item .col{
    padding: 3px 0;
}

.address-list .item .bottom{
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.address-list .item .bottom .btn{
    height: 28px;
    line-height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    border: solid 1px #EEEEEE;
    font-size: 14px;
    color: #222222;
    margin-left: 10px;
}

/**
顶部用户信息
*/

.user-info {
    width: calc(100% - 24px);
    height: 68px;
    padding: 0 12px;
    background: #E40668;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info .avatar {
    width: 40px;
    height: 40px;
    border: solid 2px #FFFFFF;
    border-radius: 50%;
}

.user-info .info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: auto;
    font-size: 14px;
    color: #FFFFFF;
}

.user-info .logout {
    font-size: 14px;
    color: #FFFFFF;
}

/**
text-color
 */

.color-theme {
    color: #E40668 !important;
}

.color-danger {
    color: #E40668 !important;
}
.color-warning {
    color: #E85169 !important;
}

.color-success {
    color: #E40668 !important;
}

.color-info {
    color: #909399 !important;
}

.color-blue {
    color: #008FF4 !important;
}

.color-red {
    color: #E85169 !important;
}

.color-pink {
    color: #E85169 !important;
}

.bg-theme {
    background-color: #E40668 !important;
}

.bg-danger {
    background-color: #E40668 !important;
}
.bg-warning {
    background-color: #f7bd51 !important;
}

.bg-success {
    background-color: #00cc66 !important;
}

.bg-info {
    background-color: #909399 !important;
}

.font-size-8{
    font-size: 8px;
}

.font-size-9{
    font-size: 9px;
}

.font-size-10{
    font-size: 10px;
}

.font-size-11{
    font-size: 11px;
}

.font-size-12{
    font-size: 12px;
}

.font-size-13{
    font-size: 13px;
}

.font-size-14{
    font-size: 14px;
}

.font-size-15{
    font-size: 15px;
}

.font-size-16{
    font-size: 16px;
}

.font-size-18{
    font-size: 18px;
}

.font-size-20{
    font-size: 20px;
}

/**
text-weight
 */

.bold-font{
    font-weight: bold;
}


/**
vant 样式重写
 */

.van-popup--bottom.van-popup--round {
    border-radius: 10px 10px 0 0!important;
}
.van-tabbar--fixed{
    position:sticky;
    bottom:0;
}
.van-dialog__confirm, .van-dialog__confirm:active {
    color: var(--theme-color) !important;
}

.van-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4) !important;
}

.footer-fix{
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: #FFFFFF;
}

.footer-blank {
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
}

.van-popup {
    display: flex;
    flex-direction: column;
}
.van-popup .popup-title-bar {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #222222;
}
.van-popup .popup-body {
    width: calc(100% - 30px);
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: scroll;
    font-size: 14px;
    color: #222222;
}

.van-dialog__content .dialog-body {
    width: calc(100% - 30px);
    padding: 15px;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    color: #222222;
}

.van-dialog__confirm, .van-dialog__confirm:active {
    color: #E40668;
}

.van-dialog__message{
    /*text-align: left;*/
}

.van-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.van-stepper--round .van-stepper__plus{
    background-color: #E40668;
}
.van-stepper--round .van-stepper__minus {
    color: #E40668;
    background-color: #fff;
    border: 1px solid #E40668;
}

.amount-box{
    display: flex;
    align-items: baseline;
    font-size: 10px;
}
.amount-box .unit{
    margin-right: 2px;
    color: #666666;
}
.input-amount{
    font-size: 20px;
    color: #e40668;
}
.unset-margin-right{
    margin-right: unset;
}

.unset-bottom-line:after{
    border-bottom: unset !important;
}

.single-line{
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}

.notice-text{
    width: calc(100% - 30px);
    padding: 8px 15px;
    background: #FFF8DD;
    font-size: 14px;
    color: #e40668;
    border-radius: 5px;
    line-height: 1.6;
}