/* ===== 确认订单 / 收货地址（按原站小程序 1:1 复刻） ===== */
.jc-order-page{min-height:100vh;background:#f5f5f5;padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
.jc-order-hero{height:88px;background:linear-gradient(180deg,#f4564a 0%,#ff8069 100%);color:#fff;padding:0 14px;box-sizing:border-box}
.jc-order-status{height:34px;display:flex;justify-content:space-between;align-items:center;padding:0 4px;font-size:13px;font-weight:600;letter-spacing:.2px}
.jc-order-status .jc-os-right{display:flex;align-items:center;gap:5px;font-size:11px}
.jc-order-nav{height:44px;display:flex;align-items:center}
.jc-order-back{width:44px;flex:none;font-size:30px;line-height:1;color:#fff;text-decoration:none}
.jc-order-title{flex:1;text-align:center;font-size:16px;font-weight:600;color:#fff}
.jc-order-caps{width:76px;flex:none;height:32px}

.jc-order-card{background:#fff;border-radius:12px;margin:10px 10px 0;padding:0 12px 12px}
.jc-order-tabs{display:flex;height:54px;margin:0 -12px}
.jc-order-tab{flex:1;display:flex;align-items:center;justify-content:center;background:#fff3f1;color:#8a8a8a;font-size:15px;position:relative}
.jc-order-tab.on{background:#fff;color:#1f2937;font-weight:600}
.jc-order-tab.on::after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:26px;height:3px;background:#f4453a;border-radius:3px}
.jc-order-tab:first-child{clip-path:polygon(0 0,100% 0,88% 100%,0 100%)}
.jc-order-tab:last-child{clip-path:polygon(12% 0,100% 0,100% 100%,0 100%);margin-left:-12%}
.jc-order-addaddr{display:block;width:204px;height:40px;margin:20px auto 6px;border:0;border-radius:20px;background:#f4f5f7;color:#f4574a;font-size:14px;font-weight:600}
.jc-order-addr{margin:12px 0 4px;padding:12px;background:#fff9f8;border:1px solid #ffe3dc;border-radius:10px;display:flex;align-items:center;gap:10px}
.jc-order-addr-main{flex:1;min-width:0}
.jc-order-addr-name{font-size:15px;font-weight:600;color:#1f2937}
.jc-order-addr-name span{font-weight:400;color:#6b7280;font-size:13px;margin-left:10px}
.jc-order-addr-det{font-size:12px;color:#6b7280;margin-top:4px;line-height:1.5}
.jc-order-addr-edit{font-size:12px;color:#f4574a;flex:none}

.jc-order-shop{display:flex;align-items:center;gap:6px;padding:14px 0 8px;color:#6b7280;font-size:12px}
.jc-order-shop i{display:inline-flex;width:17px;height:17px;border:1px solid #b9b9b9;border-radius:3px;align-items:center;justify-content:center;font-size:10px;font-style:normal}
.jc-order-goods{display:flex;gap:10px;align-items:center;padding:8px 0}
.jc-order-goods img{width:76px;height:76px;flex:none;border-radius:8px;object-fit:cover;background:#f3f4f6}
.jc-order-goods-ph{width:76px;height:76px;flex:none;border-radius:8px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:28px}
.jc-order-goods-main{flex:1;min-width:0}
.jc-order-goods-name{font-size:14px;color:#1f2937;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.jc-order-goods-spec{font-size:11px;color:#9ca3af;margin-top:3px}
.jc-order-goods-price{margin-top:5px;color:#f4453a;font-size:15px;font-weight:700}
.jc-order-goods-price del{color:#b6b6b6;font-size:12px;font-weight:400;margin-left:6px}
.jc-order-qty{display:flex;align-items:center;flex:none;gap:0}
.jc-order-qty button{width:28px;height:28px;border:1px solid #e5e7eb;background:#fff;color:#4b5563;font-size:16px;line-height:1}
.jc-order-qty button:first-child{border-radius:4px 0 0 4px}
.jc-order-qty button:last-child{border-radius:0 4px 4px 0}
.jc-order-qty span{min-width:32px;height:28px;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-size:13px}
.jc-order-line{height:1px;background:#f0f0f0;margin:8px 0}
.jc-order-fee{display:flex;align-items:center;justify-content:space-between;padding:5px 0;font-size:13px;color:#4b5563}
.jc-order-points-row{display:flex;align-items:center;justify-content:space-between;padding:7px 0;font-size:12px;color:#4b5563}
.jc-order-points-row .pt-label{display:flex;align-items:center;gap:6px}
.jc-order-points-row .pt-ico{display:inline-flex;width:15px;height:15px;border:1px solid #f4453a;color:#f4453a;border-radius:50%;font-size:9px;align-items:center;justify-content:center;font-style:normal}
.jc-order-points-row .pt-val{color:#f4453a}
.jc-pts-switch{display:inline-block;vertical-align:middle;width:38px;height:22px;border-radius:11px;background:#f4453a;position:relative;margin-left:8px;flex:none}
.jc-pts-switch::after{content:'';position:absolute;right:2px;top:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.jc-pts-switch.off{background:#d1d5db}
.jc-pts-switch.off::after{right:auto;left:2px}
.jc-order-subtotal{display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid #f0f0f0;font-size:13px;color:#374151}
.jc-order-subtotal b{font-size:17px;color:#1f2937;margin-left:8px}
.jc-order-saved{color:#f4453a;font-size:12px}
.jc-order-remark{display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;margin:10px;padding:14px 12px;font-size:14px;color:#1f2937}
.jc-order-remark input{flex:1;min-width:0;border:0;outline:0;text-align:right;font-size:13px;color:#6b7280;background:transparent}
.jc-order-remark .arrow{color:#c4c4c4;font-size:16px}
.jc-order-tip{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(64px + env(safe-area-inset-bottom,0px));width:100%;max-width:480px;height:30px;background:#262626;color:#e8e8e8;font-size:11px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;box-sizing:border-box;z-index:103}
.jc-order-tip .x{font-size:15px;color:#aaa;line-height:1}
.jc-order-bar{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:480px;height:64px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 14px;box-sizing:border-box;box-shadow:0 -1px 0 rgba(0,0,0,.06);z-index:104}
.jc-order-bar .sum{font-size:13px;color:#4b5563}
.jc-order-bar .sum b{font-size:20px;color:#f4453a;margin-left:3px}
.jc-order-submit{height:42px;min-width:158px;padding:0 24px;border:0;border-radius:21px;background:linear-gradient(90deg,#ff8a6b,#f4453a);color:#fff;font-size:15px;font-weight:600}
.jc-order-submit:disabled{opacity:.6}
.jc-order-pick{background:#fff;padding:14px 12px;border-radius:12px;margin:10px 10px 0;font-size:13px;color:#4b5563}
.jc-order-pick .jc-order-addr{margin:10px 0 0}

/* 收货地址页 */
.jc-addr-page{min-height:100vh;background:#f5f5f5;padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
.jc-addr-search{display:flex;align-items:center;gap:8px;height:38px;margin:12px 10px 6px;padding:0 14px;background:#f1f2f4;border-radius:19px;color:#9ca3af;font-size:13px}
.jc-addr-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:13px;color:#374151}
.jc-addr-wx{display:flex;align-items:center;gap:10px;background:#fff;padding:14px 16px;font-size:14px;color:#1f2937;border-bottom:1px solid #f5f5f5}
.jc-addr-wx .wxico{width:20px;height:20px;border-radius:50%;background:#2dc100;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px}
.jc-addr-wx .arrow{margin-left:auto;color:#c4c4c4}
.jc-addr-list{margin-top:8px;background:#fff}
.jc-addr-item{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #f5f5f5}
.jc-addr-item .main{flex:1;min-width:0}
.jc-addr-item .nm{font-size:15px;font-weight:600;color:#1f2937}
.jc-addr-item .nm span{font-weight:400;color:#6b7280;font-size:13px;margin-left:10px}
.jc-addr-item .det{font-size:12px;color:#6b7280;margin-top:5px;line-height:1.5}
.jc-addr-item .def{display:inline-block;margin-left:6px;padding:1px 5px;border:1px solid #f4453a;color:#f4453a;border-radius:3px;font-size:10px}
.jc-addr-item .edit{font-size:12px;color:#9ca3af;flex:none}
.jc-addr-empty{padding:70px 20px 40px;text-align:center;color:#9ca3af;font-size:13px}
.jc-addr-empty .art{width:110px;height:110px;margin:0 auto 20px;opacity:.42}
.jc-addr-bottom{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:480px;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;box-sizing:border-box;z-index:104}
.jc-addr-add{width:100%;height:46px;border:0;border-radius:23px;background:linear-gradient(90deg,#ff5a4a,#f0453a);color:#fff;font-size:15px;font-weight:600}
.jc-addr-form{background:#fff;border-radius:12px;margin:10px;padding:4px 12px}
.jc-addr-frow{display:flex;align-items:center;gap:10px;min-height:50px;border-bottom:1px solid #f5f5f5;font-size:14px;color:#374151}
.jc-addr-frow:last-child{border-bottom:0}
.jc-addr-frow label{width:82px;flex:none}
.jc-addr-frow input{flex:1;min-width:0;border:0;outline:0;font-size:14px;color:#1f2937;background:transparent;text-align:right}
.jc-addr-form-tip{font-size:11px;color:#9ca3af;padding:12px 2px 4px}

/* 下单流程页屏蔽底栏与悬浮客服，避免遮挡合计栏 / 积分开关 */
body.jc-order-page-on #phoneTabbar{display:none!important}
body.jc-order-page-on #mallFloats{display:none!important}
body.jc-order-page-on{padding-bottom:0!important}
