/* ==========================================================================
   即购即达 · 商城营销页（优惠券中心 / 我的卡券 / 积分商城）
   仅用于 coupon / my-coupons / points 三个新版页面，全部类名以 nm-mk- / nm-cp- / nm-mkc- 前缀
   依赖：assets/nm.css（基础变量与公共组件）
   ========================================================================== */

.nm-mk-bg { background: #f5f5f5; padding: 0 0 40px; }
.nm-mk-wrap { width: 1190px; margin: 0 auto; padding-top: 16px; }
.nm-page .nm-toast { max-width: 80vw; line-height: 1.5; white-space: normal; text-align: center; }

/* ==========================================================================
   1. 页面头部通栏
   ========================================================================== */
.nm-mk-hero { position: relative; overflow: hidden; min-height: 132px; border-radius: 4px; background: linear-gradient(120deg, #a51f22 0%, #e3393c 56%, #ff8350 100%); color: #fff; padding: 26px 32px; display: flex; align-items: center; }
.nm-mk-hero::before { content: ""; position: absolute; right: 140px; top: -100px; width: 250px; height: 250px; border-radius: 50%; background: rgba(255,255,255,.08); }
.nm-mk-hero::after { content: ""; position: absolute; right: -40px; bottom: -110px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.06); }
.nm-mk-hero-txt { position: relative; z-index: 2; min-width: 0; }
.nm-mk-hero-tag { display: inline-block; font-size: 10px; line-height: 18px; letter-spacing: 2px; color: #ffd8c9; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; padding: 0 8px; }
.nm-mk-hero h1 { font-size: 30px; font-weight: 700; letter-spacing: 2px; line-height: 1.2; margin-top: 10px; }
.nm-mk-hero p { font-size: 12px; line-height: 20px; opacity: .86; margin-top: 8px; }
.nm-mk-hero-side { position: relative; z-index: 2; margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nm-mk-hero-stat { text-align: center; padding-right: 18px; border-right: 1px solid rgba(255,255,255,.25); }
.nm-mk-hero-stat span { display: block; font-size: 11px; opacity: .8; }
.nm-mk-hero-stat b { font-size: 30px; line-height: 1.15; font-weight: 700; }
.nm-mk-hero-stat i { font-style: normal; font-size: 12px; margin-left: 2px; opacity: .8; }
.nm-mk-hero-btn { display: inline-block; height: 34px; line-height: 32px; padding: 0 16px; border: 1px solid rgba(255,255,255,.7); border-radius: 17px; font-size: 12px; color: #fff !important; white-space: nowrap; }
.nm-mk-hero-btn:hover { background: #fff; color: #c9272a !important; }
.nm-mk-hero-btn.solid { background: #fff; border-color: #fff; color: #c9272a !important; font-weight: 700; }
.nm-mk-hero-btn.solid:hover { background: #fff1f1; }
.nm-mk-hero-points { min-height: 150px; }
.nm-mk-points-balance { position: relative; z-index: 2; margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nm-mk-balance { text-align: right; }
.nm-mk-balance span { display: block; font-size: 12px; opacity: .8; }
.nm-mk-balance b { display: inline-block; font-size: 38px; line-height: 1.1; font-weight: 700; letter-spacing: 1px; }
.nm-mk-balance i { font-style: normal; font-size: 12px; margin-left: 3px; opacity: .85; }
.nm-mk-balance.guest b { font-size: 19px; font-weight: 400; letter-spacing: 0; }
.nm-mk-point-actions { display: flex; flex-direction: column; gap: 6px; }

/* ==========================================================================
   2. 区块 / 通用
   ========================================================================== */
.nm-mk-sec { background: #fff; border: 1px solid #f0f0f0; border-radius: 4px; padding: 20px 22px 22px; margin-top: 14px; }
.nm-mk-sec-hd { display: flex; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #f2f2f2; margin-bottom: 16px; }
.nm-mk-sec-hd h2 { font-size: 20px; color: #333; font-weight: 700; line-height: 22px; border-left: 5px solid var(--nm-red); padding-left: 10px; letter-spacing: 1px; }
.nm-mk-sec-hd .nm-mk-count { display: inline-block; margin-left: 8px; background: #fff1f1; color: var(--nm-red); font-size: 11px; line-height: 18px; border-radius: 9px; padding: 0 8px; font-weight: 700; }
.nm-mk-sec-hd .nm-mk-tip { margin-left: auto; font-size: 12px; color: #999; }
.nm-mk-badge { display: inline-block; font-size: 10px; line-height: 18px; padding: 0 6px; border-radius: 2px; background: #fff1f1; color: var(--nm-red); }
.nm-mk-badge.orange { background: #fff3e6; color: #e07b00; }
.nm-mk-empty { padding: 56px 20px; text-align: center; color: #aaa; font-size: 13px; line-height: 22px; background: #fff; border: 1px dashed #eee; border-radius: 4px; }
.nm-mk-empty .ico { display: block; font-size: 38px; line-height: 1; margin-bottom: 10px; opacity: .55; }
.nm-mk-empty .nm-mk-btn { margin-top: 14px; }
.nm-mk-coupon-grid .nm-mk-empty,
.nm-mk-pickup-grid .nm-mk-empty,
.nm-mk-goods .nm-mk-empty,
.nm-mk-mycoupon-grid .nm-mk-empty { grid-column: 1 / -1; }
.nm-mk-note-bar { margin-top: 14px; padding: 13px 20px; background: #fff; border: 1px solid #f0f0f0; border-radius: 4px; color: #999; font-size: 12px; line-height: 22px; }
.nm-mk-note-bar b { color: #666; }
.nm-mk-skel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
[hidden] { display: none !important; }

/* 按钮 */
.nm-mk-btn { display: inline-block; height: 36px; line-height: 34px; padding: 0 20px; border: 1px solid #ddd; border-radius: 2px; background: #fff; color: #666 !important; font-size: 13px; text-align: center; cursor: pointer; white-space: nowrap; }
.nm-mk-btn:hover { border-color: var(--nm-red); color: var(--nm-red) !important; }
.nm-mk-btn.primary { background: var(--nm-red); border-color: var(--nm-red); color: #fff !important; }
.nm-mk-btn.primary:hover { background: var(--nm-red-dark); border-color: var(--nm-red-dark); }
.nm-mk-btn:disabled, .nm-mk-btn.dis { background: #ccc; border-color: #ccc; color: #fff !important; cursor: not-allowed; }

/* 标签页 */
.nm-mk-tabs { display: flex; align-items: center; gap: 26px; border-bottom: 1px solid #f0f0f0; }
.nm-mk-tabs a { position: relative; display: block; padding: 10px 2px 12px; font-size: 14px; color: #666; }
.nm-mk-tabs a:hover { color: var(--nm-red); }
.nm-mk-tabs a.on { color: var(--nm-red); font-weight: 700; }
.nm-mk-tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--nm-red); }

/* ==========================================================================
   3. 优惠券票券卡片
   ========================================================================== */
.nm-mk-coupon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nm-cp { position: relative; display: flex; min-height: 152px; background: #fff; border: 1px solid #f3dddd; border-radius: 4px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.nm-cp:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(227,57,60,.12); }
.nm-cp-l { position: relative; width: 128px; flex: 0 0 128px; padding: 14px 8px; background: linear-gradient(135deg, #ff6b4a, #e3393c); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.nm-cp-l::before, .nm-cp-l::after { content: ""; position: absolute; right: -8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; z-index: 3; }
.nm-cp-l::before { top: -8px; }
.nm-cp-l::after { bottom: -8px; }
.nm-cp-type { position: absolute; left: 0; top: 0; font-size: 10px; line-height: 18px; padding: 0 6px; background: rgba(0,0,0,.15); border-radius: 0 0 6px 0; }
.nm-cp-amt { font-size: 32px; font-weight: 700; line-height: 1.05; letter-spacing: -1px; white-space: nowrap; }
.nm-cp-amt small { font-size: 14px; font-weight: 400; letter-spacing: 0; margin: 0 1px; }
.nm-cp-cond { max-width: 100%; margin-top: 8px; padding: 0 8px; font-size: 11px; line-height: 18px; border-radius: 9px; background: rgba(255,255,255,.18); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nm-cp-r { flex: 1; min-width: 0; padding: 14px 16px 12px; display: flex; flex-direction: column; }
.nm-cp-name { font-size: 15px; color: #222; font-weight: 700; line-height: 1.35; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nm-cp-ex { margin-top: 4px; font-size: 11px; color: #999; }
.nm-cp-nums { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 6px; font-size: 11px; color: #999; }
.nm-cp-nums b { color: var(--nm-red); font-weight: 700; }
.nm-cp-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px; }
.nm-cp-mine { font-size: 11px; line-height: 18px; padding: 0 6px; border-radius: 2px; background: #fff4f4; color: var(--nm-red); white-space: nowrap; }
.nm-cp-btn { margin-left: auto; height: 30px; line-height: 28px; padding: 0 16px; border: 1px solid var(--nm-red); border-radius: 15px; background: var(--nm-red); color: #fff; font-size: 12px; white-space: nowrap; }
.nm-cp-btn:hover { background: var(--nm-red-dark); border-color: var(--nm-red-dark); }
.nm-cp-btn.received { background: #fff; color: var(--nm-red); }
.nm-cp-btn.received:hover { background: #fff1f1; }
.nm-cp-btn.dis, .nm-cp-btn.dis:hover { background: #c9c9c9; border-color: #c9c9c9; color: #fff; cursor: not-allowed; }
.nm-cp-zhekou { border-color: #e4e0fa; }
.nm-cp-zhekou .nm-cp-l { background: linear-gradient(135deg, #8b6cf0, #5b4bc4); }
.nm-cp-zhekou .nm-cp-nums b { color: #6650c8; }
.nm-cp-zhekou .nm-cp-mine { background: #f4f1ff; color: #6650c8; }
.nm-cp-zhekou .nm-cp-btn { border-color: #6650c8; background: #6650c8; }
.nm-cp-zhekou .nm-cp-btn.received { background: #fff; color: #6650c8; }
.nm-cp-zhekou:hover { box-shadow: 0 8px 22px rgba(102,80,200,.14); }

/* 领用券卡片 */
.nm-mk-pickup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.nm-cp-pickup { display: flex; gap: 14px; padding: 14px; background: #fff; border: 1px solid #f0e3d2; border-radius: 4px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.nm-cp-pickup:hover { border-color: #f3c48a; box-shadow: 0 6px 18px rgba(240,123,0,.1); }
.nm-cp-pickup-pic { flex: 0 0 104px; width: 104px; height: 104px; border-radius: 3px; overflow: hidden; background: #fafafa; display: flex; align-items: center; justify-content: center; }
.nm-cp-pickup-pic img { width: 100%; height: 100%; object-fit: cover; }
.nm-cp-pickup-pic .ph { font-size: 30px; color: #ddd; }
.nm-cp-pickup-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nm-cp-pickup-top { display: flex; align-items: center; gap: 8px; }
.nm-cp-pickup-month { margin-left: auto; font-size: 11px; color: #999; }
.nm-cp-pickup h3 { margin-top: 6px; font-size: 14px; color: #222; line-height: 1.4; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nm-cp-pickup .goods { margin-top: 3px; font-size: 11px; color: #888; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nm-cp-pickup .goods b { color: #e07b00; font-weight: 400; }
.nm-cp-pickup-nums { display: flex; gap: 12px; margin-top: 6px; font-size: 11px; color: #999; }
.nm-cp-pickup-nums b { color: #555; }
.nm-cp-pickup-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px; }
.nm-cp-pickup-foot span { font-size: 11px; color: #bbb; }
.nm-cp-pickup-foot .nm-cp-btn { border-color: #f0b27a; background: #fff7ef; color: #e07b00; }
.nm-cp-pickup-foot .nm-cp-btn:hover { background: #fff1df; }

/* ==========================================================================
   4. 我的卡券
   ========================================================================== */
.nm-mk-mycoupon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.nm-mkc { display: flex; min-height: 150px; background: #fff; border: 1px solid #f0f0f0; border-radius: 4px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.nm-mkc:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.nm-mkc-pic { position: relative; flex: 0 0 150px; width: 150px; background: #fafafa; overflow: hidden; }
.nm-mkc-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nm-mkc-pic .ph { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #ddd; }
.nm-mkc-month { position: absolute; left: 0; top: 0; z-index: 2; font-size: 11px; line-height: 22px; padding: 0 8px; background: rgba(227,57,60,.9); color: #fff; border-radius: 0 0 8px 0; }
.nm-mkc-body { flex: 1; min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; }
.nm-mkc-top { display: flex; align-items: center; gap: 8px; }
.nm-mkc-status { font-size: 11px; line-height: 18px; padding: 0 7px; border-radius: 2px; background: #fff1f1; color: var(--nm-red); }
.nm-mkc-status.s1 { background: #f2f5fa; color: #5b6b85; }
.nm-mkc-status.s2 { background: #f4f4f4; color: #999; }
.nm-mkc-tag { margin-left: auto; font-size: 11px; color: #bbb; }
.nm-mkc-name { margin-top: 7px; font-size: 16px; line-height: 1.4; color: #222; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nm-mkc-coupon { margin-top: 3px; font-size: 12px; color: #888; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nm-mkc-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 11px; color: #999; }
.nm-mkc-meta b { color: #555; font-weight: 400; }
.nm-mkc-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 10px; }
.nm-mkc-remark { flex: 1; min-width: 0; font-size: 11px; color: #bbb; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nm-mkc-use { margin-left: auto; height: 32px; padding: 0 18px; border: 1px solid var(--nm-red); border-radius: 16px; background: var(--nm-red); color: #fff; font-size: 12px; }
.nm-mkc-use:hover { background: var(--nm-red-dark); }
.nm-mkc-order { margin-left: auto; font-size: 12px; color: #999; white-space: nowrap; }
.nm-mkc.is-used .nm-mkc-pic img,
.nm-mkc.is-expired .nm-mkc-pic img { filter: grayscale(1); opacity: .72; }
.nm-mkc.is-used .nm-mkc-month,
.nm-mkc.is-expired .nm-mkc-month { background: rgba(153,153,153,.9); }

/* ==========================================================================
   5. 积分商城
   ========================================================================== */
.nm-mk-sortbar { display: flex; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #f2f2f2; margin-bottom: 16px; }
.nm-mk-tabs-pill { gap: 8px; border-bottom: 0; }
.nm-mk-tabs-pill a { padding: 7px 16px; border: 1px solid #eee; border-radius: 16px; background: #fff; font-size: 12px; color: #666; }
.nm-mk-tabs-pill a.on { background: var(--nm-red); border-color: var(--nm-red); color: #fff; font-weight: 400; }
.nm-mk-tabs-pill a.on::after { display: none; }
.nm-mk-sort-tip { margin-left: auto; font-size: 12px; color: #999; }
.nm-mk-sort-tip b { color: var(--nm-red); }
.nm-mk-goods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.nm-mk-good { display: flex; flex-direction: column; background: #fff; border: 1px solid #f3f3f3; transition: transform .2s, box-shadow .2s; }
.nm-mk-good:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.nm-mk-good-pic { position: relative; width: 100%; padding-top: 100%; background: #fafafa; overflow: hidden; }
.nm-mk-good-pic img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.nm-mk-good:hover .nm-mk-good-pic img { transform: scale(1.04); }
.nm-mk-good-pic .ph { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #e5d5d5; background: repeating-linear-gradient(135deg, #faf7f7 0 10px, #f6f1f1 10px 20px); }
.nm-mk-good-body { flex: 1; display: flex; flex-direction: column; padding: 10px 12px 12px; }
.nm-mk-good-name { font-size: 13px; color: #333; line-height: 19px; height: 38px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nm-mk-good-point { margin-top: 7px; color: var(--nm-red); font-size: 12px; line-height: 22px; }
.nm-mk-good-point b { font-size: 20px; font-weight: 700; }
.nm-mk-good-point .cash { margin-left: 5px; color: #999; font-size: 11px; }
.nm-mk-good-meta { display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; font-size: 11px; color: #aaa; }
.nm-mk-good-btn { width: 100%; height: 30px; line-height: 30px; margin-top: 9px; border: 0; border-radius: 2px; background: var(--nm-red); color: #fff; font-size: 12px; }
.nm-mk-good-btn:hover { background: var(--nm-red-dark); }
.nm-mk-good-btn.dis, .nm-mk-good-btn:disabled { background: #cfcfcf; cursor: not-allowed; }
.nm-mk-good-btn.dis:hover, .nm-mk-good-btn:disabled:hover { background: #cfcfcf; }

/* 积分明细 */
.nm-mk-point-detail { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.nm-mk-point-sum { padding: 22px 18px; border: 1px solid #ffe3dc; border-radius: 4px; background: linear-gradient(160deg, #fff6f3, #fff); text-align: center; }
.nm-mk-point-sum span { display: block; font-size: 12px; color: #999; }
.nm-mk-point-sum b { display: block; margin-top: 6px; font-size: 38px; line-height: 1.2; font-weight: 700; color: var(--nm-red); }
.nm-mk-point-sum em { font-style: normal; font-size: 12px; color: #999; }
.nm-mk-point-sum .nm-mk-btn { margin-top: 14px; }
.nm-mk-point-main { min-width: 0; }
.nm-mk-point-pane { max-height: 420px; overflow: auto; padding-top: 4px; }
.nm-mk-pane-empty { padding: 40px 0; text-align: center; color: #bbb; font-size: 12px; }
.nm-mk-log { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed #f0f0f0; font-size: 13px; }
.nm-mk-log .lf { min-width: 0; }
.nm-mk-log .t { color: #555; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nm-mk-log .ts { margin-top: 3px; font-size: 11px; color: #aaa; }
.nm-mk-log .rt { font-weight: 700; color: #999; white-space: nowrap; }
.nm-mk-log .rt.plus { color: #2c9c6a; }
.nm-mk-log .rt.minus { color: var(--nm-red); }
.nm-mk-log .rt span { font-size: 11px; font-weight: 400; }
.nm-mk-rec { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed #f0f0f0; }
.nm-mk-rec-pic { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 3px; overflow: hidden; background: #fafafa; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 22px; }
.nm-mk-rec-pic img { width: 100%; height: 100%; object-fit: cover; }
.nm-mk-rec-info { flex: 1; min-width: 0; }
.nm-mk-rec-info .name { font-size: 13px; color: #333; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nm-mk-rec-info .meta { margin-top: 4px; font-size: 11px; color: #aaa; }
.nm-mk-rec .st { flex-shrink: 0; font-size: 11px; padding: 2px 8px; border-radius: 2px; background: #fff4ec; color: #e07b00; white-space: nowrap; }
.nm-mk-rec .st.s1 { background: #eef4ff; color: #3b6fd4; }
.nm-mk-rec .st.s2 { background: #eef8f1; color: #2c9c6a; }

/* ==========================================================================
   6. 弹窗 / 表单 / 成功态
   ========================================================================== */
.nm-mk-mask { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.5); }
.nm-mk-mask.on { display: flex; }
.nm-mk-modal { width: 560px; max-width: 100%; max-height: 90vh; overflow: auto; background: #fff; border-radius: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.nm-mk-modal.wide { width: 640px; }
.nm-mk-modal-hd { height: 48px; padding: 0 18px; display: flex; align-items: center; background: #fafafa; border-bottom: 1px solid #f0f0f0; }
.nm-mk-modal-hd b { font-size: 15px; color: #333; }
.nm-mk-modal-hd .close { margin-left: auto; font-size: 22px; line-height: 1; color: #999; }
.nm-mk-modal-hd .close:hover { color: var(--nm-red); }
.nm-mk-modal-bd { padding: 18px 20px 20px; }
.nm-mk-modal-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 18px; }
.nm-mk-note { margin-top: 14px; padding: 10px 12px; border: 1px solid #ffe1bd; border-radius: 3px; background: #fff8ef; color: #a86a1a; font-size: 12px; line-height: 1.8; }
.nm-mk-field { margin-top: 12px; }
.nm-mk-field label { display: block; margin-bottom: 5px; font-size: 12px; color: #666; }
.nm-mk-field label em { font-style: normal; color: var(--nm-red); margin-left: 2px; }
.nm-mk-input, .nm-mk-textarea { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 3px; background: #fff; color: #333; font-size: 13px; outline: 0; }
.nm-mk-input:focus, .nm-mk-textarea:focus { border-color: var(--nm-red); box-shadow: 0 0 0 2px rgba(227,57,60,.08); }
.nm-mk-textarea { min-height: 56px; resize: vertical; }
.nm-mk-form-row { display: flex; gap: 12px; }
.nm-mk-form-row > * { flex: 1; min-width: 0; }
.nm-mk-pickup-detail { display: flex; gap: 14px; padding: 12px; background: #fafafa; border-radius: 4px; }
.nm-mk-pickup-detail-pic { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 3px; overflow: hidden; background: #f2f2f2; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 28px; }
.nm-mk-pickup-detail-pic img { width: 100%; height: 100%; object-fit: cover; }
.nm-mk-pickup-detail-info { flex: 1; min-width: 0; }
.nm-mk-pickup-detail-info h3 { font-size: 15px; color: #222; line-height: 1.4; }
.nm-mk-pickup-detail-info .g { margin-top: 4px; font-size: 12px; color: #888; }
.nm-mk-pickup-detail-info .m { margin-top: 6px; font-size: 11px; color: #999; }
.nm-mk-info-list { margin-top: 14px; font-size: 12px; color: #666; }
.nm-mk-info-list div { display: flex; padding: 6px 0; border-bottom: 1px dashed #f2f2f2; line-height: 1.6; }
.nm-mk-info-list div:last-child { border-bottom: 0; }
.nm-mk-info-list .k { flex: 0 0 78px; color: #999; }
.nm-mk-info-list .v { flex: 1; min-width: 0; word-break: break-all; }
.nm-mk-stepper { display: inline-flex; height: 32px; border: 1px solid #ddd; border-radius: 3px; overflow: hidden; }
.nm-mk-stepper button { width: 32px; border: 0; background: #f7f7f7; color: #666; font-size: 16px; }
.nm-mk-stepper button:hover { color: var(--nm-red); }
.nm-mk-stepper input { width: 56px; border: 0; border-left: 1px solid #eee; border-right: 1px solid #eee; text-align: center; font-size: 13px; outline: 0; }
.nm-mk-exchange { display: flex; gap: 14px; padding: 12px; background: #fafafa; border: 1px solid #f2f2f2; border-radius: 4px; }
.nm-mk-exchange-pic { flex: 0 0 86px; width: 86px; height: 86px; border-radius: 3px; overflow: hidden; background: #f2f2f2; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 28px; }
.nm-mk-exchange-pic img { width: 100%; height: 100%; object-fit: cover; }
.nm-mk-exchange-info { flex: 1; min-width: 0; }
.nm-mk-exchange-info h3 { font-size: 15px; color: #222; line-height: 1.4; }
.nm-mk-exchange-info .p { margin-top: 5px; font-size: 12px; color: var(--nm-red); }
.nm-mk-exchange-info .p b { font-size: 20px; }
.nm-mk-exchange-info .s { margin-top: 4px; font-size: 11px; color: #999; }
.nm-mk-exchange-total { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; padding: 10px 14px; border: 1px dashed #ffd3c2; background: #fff7f3; font-size: 12px; color: #666; }
.nm-mk-exchange-total b { color: var(--nm-red); font-size: 15px; }
.nm-mk-exchange-total .after b { color: #2c9c6a; }
.nm-mk-success { padding: 24px 20px 8px; text-align: center; }
.nm-mk-success .ico { font-size: 46px; line-height: 1; }
.nm-mk-success h3 { margin-top: 12px; font-size: 19px; color: #333; }
.nm-mk-success .order-no { margin-top: 12px; font-size: 13px; color: #666; }
.nm-mk-success .order-no b { font-family: Consolas, Monaco, monospace; color: #222; letter-spacing: .5px; }
.nm-mk-success .sub { margin-top: 8px; font-size: 12px; color: #999; }
.nm-mk-success .nm-mk-modal-actions { justify-content: center; }
.nm-mk-login-prompt { padding: 18px 20px 8px; text-align: center; }
.nm-mk-login-prompt .ico { font-size: 40px; line-height: 1; }
.nm-mk-login-prompt h3 { margin-top: 10px; font-size: 18px; color: #333; }
.nm-mk-login-prompt p { margin-top: 6px; font-size: 12px; color: #999; }
.nm-mk-login-prompt .nm-mk-modal-actions { justify-content: center; }

/* ==========================================================================
   7. 响应式
   ========================================================================== */
@media (max-width: 1189px) {
    .nm-mk-wrap { width: 100%; padding-left: 10px; padding-right: 10px; }
    .nm-mk-coupon-grid { grid-template-columns: repeat(2, 1fr); }
    .nm-mk-goods, .nm-mk-skel-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .nm-mk-wrap { padding-top: 12px; }
    .nm-mk-hero { min-height: 0; padding: 20px 18px; flex-wrap: wrap; gap: 14px; }
    .nm-mk-hero h1 { font-size: 22px; }
    .nm-mk-hero-side, .nm-mk-points-balance { width: 100%; margin-left: 0; justify-content: space-between; }
    .nm-mk-hero-stat { padding-right: 12px; }
    .nm-mk-hero-stat b { font-size: 22px; }
    .nm-mk-balance b { font-size: 28px; }
    .nm-mk-sec { padding: 14px 12px 16px; }
    .nm-mk-sec-hd { margin-bottom: 12px; }
    .nm-mk-sec-hd h2 { font-size: 17px; }
    .nm-mk-coupon-grid, .nm-mk-pickup-grid, .nm-mk-mycoupon-grid { grid-template-columns: 1fr; }
    .nm-mk-goods, .nm-mk-skel-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .nm-cp { min-height: 138px; }
    .nm-mk-point-detail { grid-template-columns: 1fr; }
    .nm-mk-point-sum { display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 14px; }
    .nm-mk-point-sum span { display: inline; }
    .nm-mk-point-sum b { display: inline; margin-top: 0; font-size: 30px; }
    .nm-mk-point-sum .nm-mk-btn { margin: 0 0 0 10px; }
    .nm-mk-point-pane { max-height: none; }
    .nm-mk-tabs { gap: 18px; }
    .nm-mk-sortbar { flex-wrap: wrap; gap: 8px; }
    .nm-mk-tabs-pill { flex-wrap: wrap; }
    .nm-mk-sort-tip { width: 100%; margin-left: 0; }
    .nm-mk-modal { max-height: 92vh; }
    .nm-mk-form-row { display: block; }
    .nm-mk-form-row > * + * { margin-top: 10px; }
}
@media (max-width: 520px) {
    .nm-mk-hero-tag { display: none; }
    .nm-cp-l { width: 106px; flex-basis: 106px; }
    .nm-cp-amt { font-size: 26px; }
    .nm-cp-name { font-size: 13px; }
    .nm-mkc-pic { flex-basis: 110px; width: 110px; }
    .nm-mk-modal-bd { padding: 14px; }
    .nm-mk-pickup-detail { display: block; }
    .nm-mk-pickup-detail-pic { width: 100%; height: 120px; margin-bottom: 10px; }
}
