/* 到店自提核销 · 样式 */

/* 结算页配送方式选择 */
.zpv-pickup-box {
    padding: 10px 12px;
}
.zpv-pickup-box .zpv-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}
.zpv-pickup-box .zpv-radio input {
    margin-right: 4px;
}
/* 订单详情：到店自提标识 / 未支付提示 */
.zpv-pickup-badge {
    cursor: default;
}
.zpv-pickup-tip-btn {
    cursor: default;
    font-size: 13px;
}

/* 到店自取选中时，隐藏快递地址框（以自提点地址入账） */
body.zpv-pickup-on .order-address-box {
    display: none !important;
}

/* 顾客核销码弹窗 */
.zpv-modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.zpv-modal {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 320px;
    max-width: 100%;
    padding: 22px 20px 18px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
}
.zpv-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: none;
    font-size: 22px;
    line-height: 1;
    color: #999;
    cursor: pointer;
}
.zpv-modal-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}
.zpv-status {
    font-size: 13px;
    margin-bottom: 10px;
}
.zpv-numeric {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #222;
    margin: 6px 0 14px;
    font-family: "Courier New", monospace;
}
.zpv-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.zpv-qr img, .zpv-qr canvas {
    border-radius: 6px;
}
.zpv-tip {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}
.zpv-meta {
    text-align: left;
    background: #f7f8fa;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 13px;
}
.zpv-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    color: #555;
}
.zpv-row b {
    color: #222;
    font-weight: 600;
}

/* 商家扫码页 */
.zpv-scan-wrap {
    max-width: 480px;
    margin: 20px auto;
    text-align: center;
}
.zpv-scan-video {
    width: 100%;
    max-width: 360px;
    border-radius: 10px;
    background: #000;
    display: block;
    margin: 0 auto 12px;
}
.zpv-scan-manual {
    margin: 14px 0;
}
.zpv-scan-manual input {
    width: 100%;
    max-width: 320px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
}
.zpv-result {
    margin-top: 14px;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    background: #f2f3f5;
    color: #555;
}
.zpv-result.ok {
    background: #e8f8ef;
    color: #1a9c5b;
}
.zpv-result.err {
    background: #fdeced;
    color: #e23b3b;
}
