        .fixed-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 900;
            background: #f5f5f5;
            padding: 10px 10px 0;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }

        .top-btn-bar {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 8px;
            align-items: center;
        }
        .region-btn, .type-btn {
            padding: 8px 16px;
            background: #28a745;
            color: #fff;
            border: none;
            border-radius: 20px;
            cursor: pointer;
        }
        .type-btn.active {
            background: #0088ff;
        }
        .login-reg-btn {
            padding: 8px 16px;
            background: #ff6b00;
            color: #fff;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-size: 13px;
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .login-reg-btn.logged-in {
            background: #28a745;
        }

        .region-display {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            background: #e8f4ff;
            border: 1px solid #b3d8ff;
            border-radius: 8px;
            margin-bottom: 10px;
            font-size: 13px;
            color: #0088ff;
        }
        .region-text {
            flex: 1;
        }
        .region-clear {
            padding: 2px 8px;
            background: #ff4d4f;
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
        }

        .search-bar {
            position: relative;
            margin-top: 12px;
            margin-bottom: 8px;
        }
        #searchInput {
            width: 100%;
            padding: 8px 90px 8px 12px;
            border: 1px solid #ddd;
            border-radius: 20px;
            font-size: 14px;
        }
        #searchBtn {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            padding: 4px 12px;
            background: #0088ff;
            color: #fff;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-size: 12px;
        }

        .filter-box {
            background: #fff;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 10px;
        }
        .category-tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 8px;
            white-space: nowrap;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 6px;
            -webkit-overflow-scrolling: touch;
        }
        .category-tab {
            padding: 4px 10px;
            background: #eee;
            border-radius: 12px;
            font-size: 12px;
            cursor: pointer;
            flex-shrink: 0;
        }
        .category-tab.active {
            background: #0088ff;
            color: #fff;
        }
        .category-tabs::-webkit-scrollbar {
            height:4px;
        }
        .category-tabs::-webkit-scrollbar-thumb{
            background:#ccc;
            border-radius:4px;
        }

        .goods-container {
            display: grid;
            gap: 10px;
            grid-template-columns: repeat(2, 1fr);
        }

/* ===== 付款弹窗 ===== */
.pay-popup-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.5);z-index:9999;display:flex;align-items:center;justify-content:center;}
.pay-popup-box{position:relative;background:#fff;border-radius:16px;padding:24px;width:90%;max-width:400px;max-height:80vh;overflow-y:auto;box-shadow:0 8px 32px rgba(0,0,0,0.2);}
.pay-popup-title{font-size:18px;font-weight:700;text-align:center;margin-bottom:8px;color:#333;}
.pay-popup-count{text-align:center;color:#888;font-size:13px;margin-bottom:12px;}
.pay-popup-list{margin-bottom:16px;max-height:150px;overflow-y:auto;}
.pay-order-item{padding:6px 10px;margin:4px 0;background:#f8f9fa;border-radius:8px;font-size:12px;color:#555;word-break:break-all;}
.pay-popup-btns{display:flex;gap:12px;}
.pay-popup-btns button{flex:1;padding:16px 8px;border:none;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s;color:#fff;line-height:1.5;}
.pay-btn-native{background:linear-gradient(135deg,#07c160,#06ad56);}
.pay-btn-native:hover{background:linear-gradient(135deg,#06ad56,#059a4c);}
.pay-btn-h5{background:linear-gradient(135deg,#0088ff,#0066cc);}
.pay-btn-h5:hover{background:linear-gradient(135deg,#0066cc,#0055aa);}
.pay-popup-btns button small{display:block;font-size:11px;font-weight:400;opacity:.85;margin-top:4px;}
.pay-popup-close{position:absolute;top:12px;right:14px;width:28px;height:28px;border-radius:50%;background:#f0f0f0;color:#999;font-size:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;}
.pay-popup-close:hover{background:#e0e0e0;color:#333;}

/* ===== 付款二维码 ===== */
.pay-qr-box{text-align:center;}
.pay-qr-order{font-size:12px;color:#999;margin:8px 0;word-break:break-all;}
.pay-qr-img{width:200px;height:200px;margin:12px auto;display:block;border:2px solid #eee;border-radius:12px;}
.pay-qr-tip{font-size:13px;color:#888;margin-bottom:16px;}
.pay-qr-actions{display:flex;gap:10px;justify-content:center;}
.pay-btn-next,.pay-btn-done{padding:10px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:.2s;}
.pay-btn-next{background:#07c160;color:#fff;}
.pay-btn-next:hover{background:#06ad56;}
.pay-btn-done{background:#0088ff;color:#fff;}
.pay-btn-done:hover{background:#0066cc;}

/* ===== 收货地址选择弹窗（含买家备注弹窗复用） ===== */
.addr-picker-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.5);z-index:10000;display:flex;align-items:center;justify-content:center;}
.addr-picker-box{position:relative;background:#fff;border-radius:16px;padding:24px;width:90%;max-width:400px;max-height:80vh;overflow-y:auto;box-shadow:0 8px 32px rgba(0,0,0,0.2);}
.addr-picker-title{font-size:18px;font-weight:700;text-align:center;margin-bottom:16px;color:#333;}
.addr-picker-list{margin-bottom:12px;max-height:300px;overflow-y:auto;}
.addr-picker-card{padding:14px;margin:8px 0;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;transition:all .2s;}
.addr-picker-card:hover{border-color:#07c160;background:#f0fff4;}
.addr-picker-card.selected{border-color:#07c160;background:#f0fff4;}
.addr-picker-card .apc-header{display:flex;align-items:center;gap:8px;margin-bottom:4px;}
.addr-picker-card .apc-name{font-weight:600;font-size:15px;color:#333;}
.addr-picker-card .apc-phone{color:#666;font-size:13px;}
.addr-picker-card .apc-detail{font-size:13px;color:#888;line-height:1.4;}
.addr-picker-card .apc-default-badge{font-size:11px;background:#07c160;color:#fff;padding:2px 8px;border-radius:10px;}
.addr-picker-empty{text-align:center;color:#999;padding:20px;}
.addr-picker-add-btn{display:block;width:100%;padding:12px;border:2px dashed #ccc;border-radius:12px;background:none;color:#666;font-size:15px;cursor:pointer;margin-bottom:12px;transition:.2s;}
.addr-picker-add-btn:hover{border-color:#07c160;color:#07c160;}
.addr-picker-confirm{display:block;width:100%;padding:14px;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:.2s;color:#fff;
            background: linear-gradient(135deg,#07c160,#06ad56);
        }
.addr-picker-close{position:absolute;top:12px;right:14px;width:28px;height:28px;border-radius:50%;background:#f0f0f0;color:#999;font-size:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;}
.addr-picker-close:hover{background:#e0e0e0;color:#333;}

/* ===== 商家订单管理样式 ===== */
.mch-order-stats{display:flex;gap:10px;margin-bottom:16px;}
.mch-order-stats .mos-item{flex:1;text-align:center;background:#f8f9fa;border-radius:12px;padding:12px 8px;cursor:pointer;transition:.2s;border:2px solid transparent;}
.mch-order-stats .mos-item:hover{background:#e8f5e9;border-color:#07c160;}
.mch-order-stats .mos-item .num{font-size:24px;font-weight:700;color:#333;}
.mch-order-stats .mos-item .lbl{font-size:12px;color:#888;margin-top:4px;}
.mch-order-filter{display:flex;gap:8px;margin-bottom:16px;overflow-x:auto;}
.mch-order-filter .mof-btn{padding:6px 16px;border:1px solid #e0e0e0;border-radius:20px;background:#fff;color:#666;font-size:13px;cursor:pointer;white-space:nowrap;transition:.2s;}
.mch-order-filter .mof-btn.active{background:#07c160;color:#fff;border-color:#07c160;}
.mch-order-list{max-height:calc(100vh - 400px);overflow-y:auto;}
.mch-order-card{background:#fff;border:1px solid #eee;border-radius:12px;padding:14px;margin-bottom:10px;}
.mch-order-card .moc-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;}
.mch-order-card .moc-no{font-weight:600;font-size:14px;color:#333;}
.mch-order-card .moc-status{font-size:12px;padding:2px 10px;border-radius:10px;font-weight:500;}
.mch-order-card .moc-status.待支付{background:#fff3e0;color:#f57c00;}
.mch-order-card .moc-status.已支付{background:#e8f5e9;color:#2e7d32;}
.mch-order-card .moc-status.已发货{background:#e3f2fd;color:#1565c0;}
.mch-order-card .moc-status.已取消{background:#fce4ec;color:#c62828;}
.mch-order-card .moc-info{font-size:12px;color:#888;line-height:1.6;}
.mch-order-card .moc-amount{font-weight:600;color:#e74c3c;font-size:14px;margin:6px 0;}
.mch-order-card .moc-items{margin-top:8px;padding-top:8px;border-top:1px dashed #eee;}
.mch-order-card .moc-item{font-size:12px;color:#666;padding:3px 0;display:flex;justify-content:space-between;}
.mch-order-card .moc-note{font-size:12px;color:#999;margin-top:6px;background:#fafafa;padding:6px 10px;border-radius:6px;}
.mch-order-card .moc-ship-form{margin-top:10px;padding-top:10px;border-top:1px solid #e8f5e9;display:none;}
.mch-order-card .moc-ship-form.show{display:block;}
.mch-order-card .moc-ship-form .ship-input{width:100%;padding:8px 10px;margin:4px 0;border:1px solid #e0e0e0;border-radius:6px;font-size:13px;box-sizing:border-box;}
.mch-order-card .moc-ship-form .ship-submit{width:100%;padding:8px;margin-top:8px;background:linear-gradient(135deg,#07c160,#06ad56);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:.2s;}
.mch-order-card .moc-ship-form .ship-submit:hover{opacity:.9;}
.mch-order-card .moc-toggle-ship{font-size:12px;color:#07c160;cursor:pointer;margin-top:8px;display:inline-block;text-decoration:underline;}
.mch-order-loadmore{text-align:center;padding:12px;}
.mch-order-loadmore button{padding:8px 24px;border:1px solid #ccc;border-radius:20px;background:#fff;color:#666;font-size:13px;cursor:pointer;}