@charset "utf-8";
/* 白天和夜晚模式 */
body {
    height: 100vh;
}
body.daytime {
    background-color: #ededed;
    color: #000000;
}
body.daytime .summary, body.daytime .packages, body.daytime .order, body.daytime .payment {
    background-color: #ffffff;
}
body.night {
    background-color: #111111;
    color: #d3d3d3;
}
body.night .summary, body.night .packages, body.night .order, body.night .payment {
    background-color: #252525;
}
body.night .summary .item-xian {
    background-color: #313131;
}
body.night .packages .item.active {
    border: solid 0.02rem #ffffff;
}
body.night .packages .item.active .item-box {
    border-bottom: solid 0.01rem transparent;
}
body.night .packages .item .item-box, body.night .payment .item .item-box {
    border-bottom: solid 0.01rem #313131;
}
body.night .packages .item:last-child .item-box, body.night .payment .item:last-child .item-box {
    border-bottom: none;
}

.showPackages {
    display: block;
}
.hidePackages {
    display: none;
}

/* 商户 */
.shop {
    height: 0.35rem;
    line-height: 0.35rem;
    padding-left: 0.12rem;
    overflow: hidden;
}
.shop .shop-list {
    overflow-x: auto;
    display: flex;
}
.shop .shop-item {
    font-size: 0.14rem;
    padding: 0 0.11rem;
    flex: none;
}
.shop .shop-item.active span {
    font-weight: bold;
    color: #247fd2;
    border-bottom: 0.02rem solid #247fd2;
}

.paddingBox {
    padding: 0 0.36rem 0 0.35rem;
}


/* 汇总 */
.summary {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.1rem 0;
}
.summary .item {
    width: calc(50% - 0.02rem);
    height: 0.65rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.summary .item-xian {
    width: 0.02rem;
    height: 0.65rem;
    background-color: #f1f1f1;
}
.summary .item .item-img {
    width: 0.25rem;
    height: 0.25rem;
    margin-right: 0.15rem;
}
.summary .item .item-text {
    font-size: 0.25rem;
}


/* 套餐 */
.packages {
    width: 100%;
}
.packages .item {
    min-height: 0.55rem;
    padding: 0 0.15rem;
    cursor: pointer;
    display: flex;
    border: solid 0.02rem transparent;
}
.packages .item.active {
    border: solid 0.02rem #247fd2;
}
.packages .item.active .item-box {
    border-bottom: solid 0.01rem transparent;
}
.packages .item.active .packages-btn  {
    background: url(../images/check.png) no-repeat;
    background-size: 100% 100%;
    display: block;
}
.packages-content {
    display: flex;
    align-items: center;
}
.packages .packages-btn {
    width: 0.25rem;
    height: 0.25rem;
    background: url(../images/check-no.png) no-repeat;
    background-size: 100% 100%;
    display: block;
    margin-right: 0.1rem;
}
.packages .item .item-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    border-bottom: solid 0.01rem #f1f1f1;
}
.packages .item:last-child .item-box {
    border-bottom: none;
}
.packages-content p {
    /* width: 2rem; */
    font-size: 0.15rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}
.packages-price {
    font-size: 0.2rem;
}


/* 订单 */
.order {
    width: 100%;
    height: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order .order-price {
    font-size: 0.25rem;
}
.order .order-btn {
    display: flex;
    justify-content: end;
}
.order .order-btn .order-btn-item {
    width: 0.25rem;
    height: 0.25rem;
    line-height: 0.25rem;
    cursor: pointer;
    text-align: center;
}
.order .order-btn .order-btn-item.minus {
    background: url(../images/minus.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 0.1rem;
}
.order .order-btn .order-btn-item.plus {
    background: url(../images/plus.png) no-repeat;
    background-size: 100% 100%;
    margin-left: 0.1rem;
}


/* 支付方式 */
.payment {
    width: 100%;
}
.payment .item {
    padding: 0 0.3rem;
    cursor: pointer;
}
.payment .item .item-box {
    min-height: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: solid 0.01rem #f1f1f1;
}
.payment .item:last-child .item-box {
    border-bottom: none;
}
.payment .payment-content {
    display: flex;
    align-items: center;
}
.payment .payment-content .payment-img {
    width: 0.25rem;
    height: 0.25rem;
    margin-right: 0.05rem;
    display: flex;
    align-items: center;
}
.payment .payment-content .payment-text {
    font-size: 0.15rem;
}
.payment .payment-btn {
    width: 0.25rem;
    height: 0.25rem;
    background: url(../images/check-no.png) no-repeat;
    background-size: 100% 100%;
    display: block;
}
.payment .item.active .payment-btn  {
    background: url(../images/check.png) no-repeat;
    background-size: 100% 100%;
    display: block;
}


/* 确认 */
.confirm {
    width: 100%;
    padding: 0.12rem 0.11rem;
}
.confirm .confirm-btn {
    width: 100%;
    height: 0.5rem;
    line-height: 0.5rem;
    font-size: 0.17rem;
    color: #ffffff;
    background-color: #247fd2;
    outline: none;
    border: none;
    border-radius: 0.05rem;
    display: block;
    text-align: center;
    cursor: pointer;
    -webkit-appearance: none;
}

/* 提示弹窗 */
.alertMsg {
	padding: 0.1rem 0.1rem;
	line-height: 1;
	position: fixed;
	font-size: 0.15rem;
	color: #fff;
	text-align: center;
	background: #333;
	border-radius: 0.01rem;
	opacity: 0;
	top: 50%;
	left: 50%;
	z-index: 100000;
	display: none;
	transform: translate(-50%, -50%);
}