/* 消费者端（小程序）预览样式 —— 手机外壳 + 微信风格 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #e9edf3; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; display: flex; justify-content: center; min-height: 100vh; padding: 16px; color: #1f2533; }
.phone { width: 390px; height: 844px; background: #f6f7fb; border-radius: 40px; box-shadow: 0 20px 60px rgba(20,30,60,.25); overflow: hidden; position: relative; border: 10px solid #1f2533; display: flex; flex-direction: column; }
.statusbar { height: 28px; background: #1f2533; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; flex-shrink: 0; }
.screen { flex: 1; overflow-y: auto; background: #f6f7fb; }
.tabbar { height: 56px; background: #fff; border-top: 1px solid #eceef3; display: flex; flex-shrink: 0; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: #9aa3b5; position: relative; cursor: pointer; }
.tab.active { color: #e8631a; }
.tab-icon { font-size: 20px; position: relative; }
.tab-label { margin-top: 2px; }
.badge-count { position: absolute; top: -6px; right: -10px; background: #eb5757; color: #fff; font-size: 10px; border-radius: 10px; padding: 0 4px; font-style: normal; }

/* 通用 */
.btn { border: 1px solid #e0e3ea; background: #fff; color: #1f2533; padding: 9px 16px; border-radius: 22px; cursor: pointer; font-size: 14px; }
.btn.primary { background: #e8631a; color: #fff; border-color: #e8631a; }
.btn.lg { width: 80%; padding: 13px; border-radius: 26px; font-size: 16px; }
.btn.block { width: 100%; margin-top: 12px; }
.btn.sm { padding: 5px 12px; font-size: 12px; border-radius: 16px; }
.link { color: #e8631a; }
.muted { color: #9aa3b5; }
.sec-title { padding: 14px 16px 6px; font-weight: 700; font-size: 14px; color: #2b3245; }
.sub-header { height: 46px; background: #fff; display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid #eceef3; position: sticky; top: 0; z-index: 5; font-weight: 600; gap: 8px; }
.sub-header .back { font-size: 26px; cursor: pointer; color: #1f2533; }
/* 底部 Tab 页（分类/购物车/订单）：有底部导航就不放返回箭头，只做标题 */
.sub-header.tab-header { padding-left: 14px; }

/* 结算页地址卡片：整块可点，右侧给「更换」提示 */
.co-card.addr-pick { position: relative; cursor: pointer; }
.co-card.addr-pick .addr-go { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--primary, #e8631a); }

/* 收货地址：列表项 + 表单 */
.addr { background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; border: 1px solid #eceef3; }
.addr.def { border-color: var(--primary, #e8631a); }
.addr.pickable { cursor: pointer; }
.addr-hd { font-size: 14px; margin-bottom: 4px; }
.addr-ops { display: flex; gap: 14px; margin-top: 8px; font-size: 12px; }
.addr-ops .link { color: var(--primary, #e8631a); cursor: pointer; }
.addr-ops .link.danger { color: #d9534f; }
.addr-list { padding: 12px 12px 0; }
.addr-form { padding: 12px; }
.af-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.af-row label { width: 68px; color: #6b7488; font-size: 13px; flex: none; }
.af-row input { flex: 1; border: none; outline: none; font-size: 14px; font-family: inherit; background: transparent; }
.af-row.af-col { align-items: flex-start; }
.af-row textarea { flex: 1; border: none; outline: none; resize: none; font-size: 14px; font-family: inherit; background: transparent; }

.sub-header .link { margin-left: auto; font-size: 13px; }
.empty { text-align: center; color: #9aa3b5; padding: 60px 20px; }
.empty .btn { margin-top: 16px; }
/* 空分类占位：图标 + 「敬请期待」（不是「暂无商品」那种像出错的措辞） */
.gb-empty { padding: 70px 20px; }
.gb-empty-ico { font-size: 46px; opacity: .45; line-height: 1; }
.gb-empty-t1 { font-size: 15px; color: #5b6478; font-weight: 600; margin-top: 10px; }
.gb-empty-t2 { font-size: 12px; color: #a8b0c0; margin-top: 6px; }
.footer { text-align: center; color: #b5bccb; font-size: 12px; padding: 20px; }

/* 首页 */
.home-header { background: #fff; padding: 10px 14px; }
.searchbar { background: #f1f3f7; border-radius: 18px; padding: 8px 14px; color: #9aa3b5; font-size: 13px; }
/* 首页轮播广告：一条轨道横排多张，靠 translateX 切换；点/自动/左右滑动都能换 */
.banner-box { position: relative; margin: 12px; border-radius: 14px; overflow: hidden; height: 86px; cursor: pointer; touch-action: pan-y; user-select: none; }
.bn-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.bn-slide { flex: 0 0 100%; height: 100%; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 0 18px; color: #fff; }
.bn-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bn-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.3) 55%, rgba(0,0,0,.08) 100%); }
.bn-text { position: relative; z-index: 1; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.b-title { font-size: 18px; font-weight: 700; }
.b-sub { font-size: 13px; opacity: .92; margin-top: 4px; }
.bn-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.bn-dot { width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.5); transition: width .2s, background .2s; }
.bn-dot.on { width: 14px; background: #fff; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 12px; }
.quick-item { background: #fff; border-radius: 12px; padding: 12px 4px; text-align: center; font-size: 12px; color: #46506a; box-shadow: 0 1px 4px rgba(20,30,60,.05); }
.q-icon { font-size: 24px; margin-bottom: 4px; }
.cat-nav { display: flex; gap: 8px; padding: 4px 12px 8px; flex-wrap: wrap; }
.cat-pill { background: #fff; border: 1px solid #eceef3; border-radius: 16px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.feed { padding: 8px 12px 16px; }
.pcard { display: flex; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(20,30,60,.05); cursor: pointer; }
.pc-img { width: 76px; height: 76px; border-radius: 10px; background: #f3f5f9; display: flex; align-items: center; justify-content: center; font-size: 40px; position: relative; flex-shrink: 0; }
.pd-tag, .pc-img .pd-tag { position: absolute; top: 4px; left: 4px; background: #eb5757; color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 4px; }
.pc-body { flex: 1; margin-left: 10px; display: flex; flex-direction: column; }
.pc-name { font-weight: 600; font-size: 14px; }
.pc-meta { font-size: 12px; color: #9aa3b5; margin: 2px 0; }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.pc-price { color: #e8631a; font-weight: 700; font-size: 16px; }
.pc-add { width: 26px; height: 26px; border-radius: 50%; background: #e8631a; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.pd-tag { background: #eb5757; }

/* 分类 */
.filter-bar { display: flex; gap: 8px; padding: 10px 14px; overflow-x: auto; }
.filter-bar .chip { border: 1px solid #eceef3; background: #fff; border-radius: 14px; padding: 4px 12px; font-size: 12px; color: #6b7488; white-space: nowrap; }
.filter-bar .chip.active { background: #e8631a; color: #fff; border-color: #e8631a; }
.cat-section { padding: 8px 12px; }
.cat-h { font-weight: 700; font-size: 15px; margin: 8px 0; color: #2b3245; }
.cat-list { padding-bottom: 10px; }

/* 购物车 */
.citems { padding: 10px 12px; }
.citem { display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.ci-img { width: 54px; height: 54px; border-radius: 8px; background: #f3f5f9; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.ci-body { flex: 1; margin-left: 10px; }
.ci-name { font-weight: 600; font-size: 14px; }
.ci-price { color: #e8631a; font-weight: 700; margin-top: 2px; }
.stepper { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.stepper span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #e0e3ea; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ci-del { margin-left: 10px; cursor: pointer; }
.checkout-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #eceef3; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; }
.checkout-bar b { color: #e8631a; font-size: 18px; }

/* 结算 / 订单详情 共用 */
.co-type { display: flex; gap: 10px; padding: 12px; }
.co-opt { flex: 1; text-align: center; padding: 12px; border: 1px solid #eceef3; border-radius: 12px; background: #fff; font-size: 14px; }
.co-opt.active { border-color: #e8631a; color: #e8631a; background: #fff5ef; }
.co-card { margin: 0 12px 10px; background: #fff; border-radius: 12px; padding: 12px; font-size: 13px; }
.co-row { display: flex; justify-content: space-between; padding: 5px 0; color: #46506a; }
.co-item { display: flex; justify-content: space-between; padding: 4px 0; }
.co-card.pickup, .pickup { text-align: center; }
.pickup-code { font-size: 30px; font-weight: 800; letter-spacing: 4px; color: #c9500f; background: #fdeee4; padding: 6px 16px; border-radius: 10px; display: inline-block; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pk-cd { font-size: 13px; color: #8a93a6; margin-top: 8px; }
.pk-cd b { color: #e8631a; font-variant-numeric: tabular-nums; }
.modal-actions { display: flex; gap: 10px; padding: 14px 12px; }

/* 订单列表 */
.otabs { display: flex; gap: 4px; padding: 8px 10px; overflow-x: auto; border-bottom: 1px solid #eceef3; background: #fff; }
.otab { font-size: 13px; color: #6b7488; padding: 6px 10px; white-space: nowrap; }
.otab.active { color: #e8631a; font-weight: 700; border-bottom: 2px solid #e8631a; }
.olist { padding: 10px 12px; }
.ocard { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; cursor: pointer; }
.oc-top { display: flex; justify-content: space-between; font-size: 12px; color: #9aa3b5; }
.oc-item { font-size: 13px; color: #46506a; margin: 4px 0; }
.oc-foot { display: flex; justify-content: space-between; font-size: 12px; color: #9aa3b5; margin-top: 4px; }
.oc-act { margin-top: 8px; text-align: right; }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.badge-warn { background: #fdf0e3; color: #f2994a; }
.badge-info { background: #e8f1fe; color: #2f80ed; }
.badge-primary { background: #fdeee4; color: #c9500f; }
.badge-success { background: #e6f7ee; color: #27ae60; }

/* 我的 */
.profile { background: linear-gradient(135deg, #e8631a, #ff9a4c); color: #fff; padding: 24px 18px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; }
.p-name { font-size: 18px; font-weight: 700; }
.lvl { background: rgba(255,255,255,.25); font-size: 11px; padding: 1px 7px; border-radius: 10px; margin-left: 6px; }
.p-sub { font-size: 12px; opacity: .9; margin-top: 3px; }
.wallet { display: flex; background: #fff; margin: 0 12px; border-radius: 12px; margin-top: -16px; box-shadow: 0 2px 8px rgba(20,30,60,.08); position: relative; }
.wallet div { flex: 1; text-align: center; padding: 14px 0; }
.wallet b { display: block; font-size: 18px; }
.wallet small { color: #9aa3b5; font-size: 12px; }
.menu { margin: 14px 12px; background: #fff; border-radius: 12px; overflow: hidden; }
.menu-item { padding: 14px 16px; border-bottom: 1px solid #f1f3f7; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 14px; }
.menu-item:last-child { border-bottom: none; }
.menu-item span { color: #c7cdda; }

/* 登录 */
.login { text-align: center; padding-top: 120px; }
.login-logo { font-size: 64px; }
.login-title { font-size: 20px; font-weight: 700; margin-top: 12px; }
.login-sub { color: #9aa3b5; font-size: 13px; margin: 8px 0 30px; }
.login-tip { color: #b5bccb; font-size: 12px; margin-top: 16px; }

/* 商品详情 */
.pd-hero { height: 240px; background: #f3f5f9; display: flex; align-items: center; justify-content: center; font-size: 120px; }
.pd-info { background: #fff; padding: 14px; margin-top: -16px; border-radius: 16px 16px 0 0; position: relative; }
.pd-name { font-size: 18px; font-weight: 700; }
.pd-price { color: #e8631a; font-size: 22px; font-weight: 700; margin: 6px 0; }
.pd-price small { font-size: 12px; color: #9aa3b5; font-weight: 400; }
.pd-meta { font-size: 12px; color: #9aa3b5; }
.pd-desc { font-size: 13px; color: #6b7488; margin-top: 8px; line-height: 1.6; }
.pd-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #eceef3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.pd-cart { position: relative; font-size: 22px; }
.pd-bar .btn { flex: 1; }

/* 会员中心 */
.member-hero { background: linear-gradient(135deg, #2b3245, #46506a); color: #fff; padding: 24px 18px; }
.mh-lvl { font-size: 20px; font-weight: 700; }
.mh-grow { font-size: 12px; opacity: .8; margin-top: 4px; }
.mh-row { display: flex; background: #fff; margin: 0 12px; border-radius: 12px; margin-top: -16px; position: relative; box-shadow: 0 2px 8px rgba(20,30,60,.08); }
.mh-row div { flex: 1; text-align: center; padding: 14px 0; }
.mh-row b { display: block; font-size: 17px; }
.mh-row small { color: #9aa3b5; font-size: 12px; }
.recharge { display: flex; gap: 8px; padding: 4px 12px; flex-wrap: wrap; }

/* 地址 */
.addr-list { padding: 12px; }
.addr { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.addr.def { border: 1px solid #e8631a; }

/* 核销 */
.verify { text-align: center; padding: 24px 16px; }
.qr { width: 200px; height: 200px; margin: 0 auto 16px; background: #fff; border: 1px solid #eceef3; border-radius: 12px; padding: 12px; }
.qr-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 1fr); gap: 1px; width: 100%; height: 100%; }
.qr-grid i { background: #f3f5f9; border-radius: 1px; }
.qr-grid i.on { background: #1f2533; }

/* 提示 */
.toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%) translateY(20px); background: #1f2533; color: #fff; padding: 10px 20px; border-radius: 24px; opacity: 0; transition: .25s; z-index: 99; font-size: 13px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
/* 团购超时退款弹窗：盖在手机屏内（.phone 是 relative + overflow:hidden） */
.gb-modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,.42); display: flex; align-items: center; justify-content: center; padding: 26px; z-index: 200; }
.gb-modal { background: #fff; border-radius: 14px; width: 100%; max-width: 290px; overflow: hidden; box-shadow: 0 12px 36px rgba(20,30,60,.28); }
.gb-modal-h { padding: 16px 18px 8px; font-size: 15px; font-weight: 600; text-align: center; color: #2b3245; }
.gb-modal-b { padding: 0 18px 16px; font-size: 13px; color: #46506a; line-height: 1.75; text-align: center; }
.gb-modal-b b { color: #e8631a; }
.gb-modal-f { border-top: 1px solid #eceef3; text-align: center; padding: 12px; color: #e8631a; font-weight: 600; font-size: 14px; cursor: pointer; }

/* 数据源状态条 */
.srcbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; font-size: 12px; line-height: 1.4; }
.srcbar span { text-decoration: underline; cursor: pointer; white-space: nowrap; }
.srcbar.mock { background: #fff7e6; color: #8a5a00; border-bottom: 1px solid #ffe0a3; }
.srcbar.bad { background: #fdecec; color: #a32020; border-bottom: 1px solid #f7c1c1; }
.srcbar.ok { background: #e9f7ef; color: #1c6b3f; border-bottom: 1px solid #b7e4c9; }

/* ---- S2 库存件/克：份价与克数标注 ---- */
.pc-price small, .ci-price small { font-size: 11px; font-weight: 400; color: #8a92a6; }
.ci-price small.ci-gram { display: block; color: #8a92a6; }

/* ---- C 端订单 6 分组 + 售后 ---- */
.otab em { font-style: normal; font-size: 10px; background: #f0f2f7; color: #6b7488; border-radius: 8px; padding: 0 5px; margin-left: 3px; }
.otab.active em { background: #fdece0; color: #e8631a; }
.as-line { font-size: 12px; color: #a15c00; background: #fff7e6; border-radius: 6px; padding: 5px 8px; margin-top: 6px; }
.as-tip { font-size: 12px; color: #8a92a6; padding: 10px 14px; line-height: 1.6; }

/* ---- G7 熟食属性标签（辣度/现做/保温/保质期）---- */
.pc-fresh { display: flex; gap: 4px; flex-wrap: wrap; margin: 4px 0 2px; }
.pc-fresh span, .pd-fresh span { font-size: 10px; color: #a15c00; background: #fff7e6; border-radius: 6px; padding: 1px 6px; }
.pd-fresh { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.pd-fresh span { font-size: 12px; padding: 3px 8px; }

/* ---- 商品图片（后台可上传；无图时回退 emoji）---- */
.pc-img img.pc-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.pd-hero img.pd-photo { width: 100%; height: 100%; object-fit: cover; }
.ci-img img.ci-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
img.mini-photo { width: 18px; height: 18px; object-fit: cover; border-radius: 4px; vertical-align: -3px; margin-right: 2px; }

/* ---- 商品介绍（后台「备注」写在详情页展示）---- */
.pd-intro { margin: 10px 12px 90px; background: #fff; border-radius: 10px; padding: 12px 14px; }
.pd-intro-h { font-size: 14px; font-weight: 700; color: #2c3444; margin-bottom: 8px; position: relative; padding-left: 10px; }
.pd-intro-h::before { content: ""; position: absolute; left: 0; top: 2px; width: 3px; height: 14px; background: var(--primary, #ff6a00); border-radius: 2px; }
.pd-intro-b { font-size: 13px; line-height: 1.8; color: #4a5468; white-space: pre-line; }

/* ---- 分类页：左侧分类栏 + 右侧商品 ---- */
.cat-wrap { display: flex; align-items: flex-start; }
.cat-side { width: 92px; flex: none; background: #eff1f6; position: sticky; top: 46px; align-self: flex-start; padding-bottom: 20px; }
.cat-side-item { position: relative; padding: 13px 4px; text-align: center; font-size: 12px; color: #5a6379; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cat-side-item.active { background: #f6f7fb; color: #e8631a; font-weight: 700; }
.cat-side-item.active::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 18px; background: #e8631a; border-radius: 0 2px 2px 0; }
.cs-ico { font-size: 18px; line-height: 1; }
.cs-name { line-height: 1.2; }
.cs-n { position: absolute; top: 7px; right: 8px; font-style: normal; font-size: 10px; color: #a8b0c0; }
.cat-side-item.active .cs-n { color: #e8631a; }
.cat-main { flex: 1; min-width: 0; }
.cat-main-h { padding: 12px 12px 0; font-weight: 700; font-size: 14px; color: #2b3245; }
.cat-main-h small { font-weight: 400; font-size: 12px; margin-left: 4px; }
.cat-main .filter-bar { padding: 8px 12px 4px; }
.cat-main-list { padding: 4px 12px 16px; }

/* ---- 搜索入口 + 搜索页 ---- */
.searchbar { display: flex; align-items: center; justify-content: space-between; }
.sb-go { background: var(--primary, #e8631a); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 10px; }
.search-input { flex: 1; min-width: 0; border: 1px solid var(--line, #e6e8ee); background: #f6f7fb; border-radius: 16px; padding: 7px 12px; font-size: 13px; font-family: inherit; }
.search-input:focus { outline: none; border-color: var(--primary, #e8631a); background: #fff; }
.search-go { color: var(--primary, #e8631a); font-size: 13px; font-weight: 700; padding: 0 4px 0 10px; cursor: pointer; flex: none; }
.search-count { font-size: 12px; color: #8a93a6; padding: 10px 14px 2px; }
.search-empty { padding: 26px 16px; }
.se-t { font-size: 13px; font-weight: 700; color: #2c3444; margin-bottom: 12px; }
.hot-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.hot-word { font-size: 12px; color: #4a5468; background: #f2f4f8; border-radius: 14px; padding: 6px 14px; cursor: pointer; }
.hot-word:active { background: #ffe9d9; color: var(--primary, #e8631a); }
.se-tip { margin-top: 14px; font-size: 12px; color: #a8b0c0; }


/* ---- 商品卡：原价划线 + 已售 ---- */
.pc-price s.pc-orig { font-size: 11px; color: #b6bdca; font-weight: 400; margin-left: 5px; text-decoration: line-through; }
.pc-soldrow { padding: 3px 0 0; }
.pc-sold { font-size: 11px; color: #98a1b2; }

/* ---- 详情页：收藏 + 原价/已售 ---- */
.pd-fav { margin-left: auto; font-size: 18px; color: #c2c9d6; cursor: pointer; padding: 0 2px; }
.pd-fav.on { color: #e8631a; }
.pd-price s.pd-orig { font-size: 12px; color: #b6bdca; font-weight: 400; margin-left: 6px; text-decoration: line-through; }
.pd-sold { font-size: 11px; color: #98a1b2; margin-left: 8px; }

/* ---- 优惠券 ---- */
.cp-hint { font-size: 12px; color: #8a93a6; padding: 10px 14px 2px; }
.cp-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; margin: 10px 12px; padding: 12px 14px; box-shadow: 0 1px 6px rgba(30, 40, 60, .06); }
.cp-card.off { opacity: .55; }
.cp-left { flex: none; width: 62px; text-align: center; border-right: 1px dashed #e6e8ee; padding-right: 10px; }
.cp-left b { display: block; font-size: 18px; color: #e8631a; }
.cp-left small { font-size: 10px; color: #98a1b2; }
.cp-mid { flex: 1; min-width: 0; }
.cp-title { font-size: 13px; font-weight: 600; color: #2c3444; }
.cp-sub { font-size: 11px; color: #98a1b2; margin-top: 2px; }
.cp-st { font-size: 11px; color: #98a1b2; flex: none; }
.cat-pill.on { background: #e8631a; color: #fff; border-color: #e8631a; }

/* ---- 浏览记录 ---- */
.vw-list { padding: 8px 12px 16px; }
.vw-item { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.vw-img { width: 44px; height: 44px; flex: none; border-radius: 8px; background: #f4f6fa; display: flex; align-items: center; justify-content: center; font-size: 20px; overflow: hidden; }
.vw-img img.vw-photo { width: 100%; height: 100%; object-fit: cover; }
.vw-info { flex: 1; min-width: 0; }
.vw-name { font-size: 13px; font-weight: 600; color: #2c3444; }
.vw-time { font-size: 11px; color: #98a1b2; margin-top: 2px; }
.vw-price { font-size: 13px; font-weight: 700; color: #e8631a; flex: none; }


/* ---- 结算选券 ---- */
.cpick { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; margin: 10px 12px; padding: 12px 14px; }
.cpick.on { outline: 2px solid var(--primary, #e8631a); }
.cpick.off { opacity: .6; }
.cpick-none { text-align: center; padding: 16px 0 30px; font-size: 13px; }

/* ---- 优惠/实付/倒计时 ---- */
.co-row .cut, .oc-cut { color: #e8631a; }
.oc-cut { font-size: 12px; color: #e8631a; padding: 2px 0; }
.cd { font-variant-numeric: tabular-nums; color: #e8631a; font-weight: 700; }
.cd.out { color: #98a1b2; font-weight: 400; }
.oc-cd { font-size: 12px; color: #8a93a6; padding-top: 4px; }
.checkout-bar .save { margin-left: 8px; font-size: 11px; color: #e8631a; }

/* ---- 物流轨迹 ---- */
.timeline { padding: 6px 18px 18px; }
.tl-item { position: relative; padding: 0 0 16px 20px; border-left: 2px solid #eceef3; }
.tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tl-dot { position: absolute; left: -6px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #d5dae4; }
.tl-item.done .tl-dot { background: #e8631a; }
.tl-title { font-size: 13px; font-weight: 600; color: #8a93a6; }
.tl-item.done .tl-title { color: #2c3444; }
.tl-desc { font-size: 12px; color: #98a1b2; margin-top: 2px; }
.tl-time { font-size: 11px; color: #b6bdca; margin-top: 2px; }

/* ---- 商品卡库存 ---- */
.pc-stock { font-size: 11px; color: #98a1b2; padding-top: 2px; }
.pc-stock.out { color: #d05b5b; }
.pc-add.off { background: #d5dae4; font-size: 16px; }

/* ---- 大客户徽标 ---- */
.big-tag { font-size: 11px; background: #fff1e6; color: #c2410c; border-radius: 8px; padding: 1px 8px; margin-left: 6px; }

/* ---- 售后进度时间线 + 支付方式（与后台同名样式保持一致的观感） ---- */
.as-timeline { position: relative; margin: 10px 0 2px; padding-left: 16px; }
.as-timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: #eceef3; }
.as-step { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13px; }
.as-step::before { content: ""; position: absolute; left: -16px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #e8631a; }
.chip.disabled { opacity: .45; }
.co-card .input { width: 100%; height: 34px; padding: 0 10px; border: 1px solid #eceef3; border-radius: 8px; font-size: 13px; }

/* ---- 团购（定期活动促销）：标签 / 活动剩余 / 提货倒计时 ---- */
.gb-hint { margin-top: 5px; font-size: 12px; color: #c9500f; background: #fdeee4; border-radius: 6px; padding: 3px 7px; display: inline-block; }
.gb-left { font-weight: 600; }
.gb-box { margin-top: 10px; border: 1px solid #f6d9c6; background: #fffaf6; border-radius: 10px; padding: 10px 12px; }
.gb-box-h { font-weight: 700; font-size: 14px; color: #c9500f; margin-bottom: 6px; }
.gb-box-b { font-size: 13px; line-height: 1.7; color: #46506a; }
.gb-box-t { margin-top: 6px; font-size: 12px; color: #9aa3b5; }
.gb-notice { margin: 10px 0 0; padding: 9px 11px; background: #fff6f4; border-left: 3px solid #e05a3a; border-radius: 8px; font-size: 13px; color: #8a3a22; line-height: 1.6; }
.oc-cd.out, .cd.out { color: #e05a3a; font-weight: 600; }
.gb-order .co-row span:last-child { text-align: right; }
.filter-bar .chip em { font-style: normal; font-size: 11px; opacity: .65; margin-left: 3px; }

/* ---- 下单成功页（查看此订单 / 返回首页） ---- */
.pr-hero { text-align: center; padding: 34px 16px 22px; }
.pr-ok { width: 64px; height: 64px; line-height: 64px; margin: 0 auto 12px; border-radius: 50%; background: #e8631a; color: #fff; font-size: 34px; font-weight: 700; }
.pr-title { font-size: 21px; font-weight: 700; color: #22283b; }
.pr-sub { margin-top: 6px; font-size: 14px; color: #46506a; }
.pr-amount { margin-top: 10px; font-size: 26px; font-weight: 700; color: #e8631a; }
.pr-hero .muted { margin-top: 6px; font-size: 13px; }
.pr-btns { padding: 6px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.pr-btns .btn { width: 100%; padding: 13px; border-radius: 26px; font-size: 16px; }
