/* 支付相关浮层：会员页与「我的订单」共用 */

/* 扫码支付浮层 */
.pay-layer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.pay-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 88%;
    max-width: 320px;
    text-align: center;
}

.pay-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: none;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

.pay-qr-title {
    font-size: 16px;
    margin: 0 0 4px;
}

.pay-qr-amount {
    font-size: 24px;
    font-weight: 600;
    color: #e6533c;
    margin: 0 0 12px;
}

.pay-qr-box {
    display: flex;
    justify-content: center;
    min-height: 200px;
}

.pay-qr-box img,
.pay-qr-box canvas {
    display: block;
}

.pay-qr-tip {
    font-size: 12px;
    color: #888;
    margin: 12px 0 0;
    line-height: 1.6;
}

.pay-qr-fallback {
    font-size: 13px;
    color: #e6533c;
}

/* 支付方式选择浮层 */
.pay-method-layer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 3000;
}

.pay-method-box {
    background: #fff;
    border-radius: 14px 14px 0 0;
    padding: 20px 16px 28px;
    width: 100%;
    max-width: 480px;
}

.pay-method-box h3 {
    font-size: 16px;
    margin: 0 0 16px;
    text-align: center;
}

.pay-method-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
}

.pay-method-item:active {
    border-color: #1a5c4a;
}

.pay-method-item.disabled {
    opacity: .55;
    cursor: not-allowed;
}

.pay-method-note {
    font-size: 12px;
    color: #999;
}

.pay-method-cancel {
    width: 100%;
    padding: 13px;
    margin-top: 6px;
    border: none;
    border-radius: 8px;
    background: #f5f5f5;
    color: #666;
    font-size: 15px;
    cursor: pointer;
}
