/* ============================================================
 *  易邻同城 — 全局样式（橙色品牌主题 / 响应式 / 前后端分离）
 *  复用修配速达宽屏风格，新增：闲置卡片、商家标识、详情弹窗、
 *  发布表单、担保订单时间线、商家中心 / 审核后台。
 * ============================================================ */
:root {
  --orange: #FF6A00; --orange-600: #F25C00; --orange-700: #D95000;
  --orange-soft: #FFF1E6; --orange-grad: linear-gradient(135deg, #FF8A3D 0%, #FF5E3A 100%);
  --ink: #1F2329; --ink-2: #4E5969; --muted: #8A8F99; --line: #ECEEF1;
  --bg: #F5F6F8; --card: #FFFFFF; --success: #18A058; --success-soft: #E8F7EE;
  --warn: #E37318; --radius: 14px; --radius-sm: 10px;
  --shadow: 0 2px 12px rgba(31,35,41,.06); --shadow-lg: 0 10px 34px rgba(31,35,41,.12);
  --maxw: 1480px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
img { max-width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }

/* ---------------- 按钮 ---------------- */
.btn { border-radius: 10px; padding: 9px 16px; font-weight: 700; font-size: 13.5px; transition: transform .08s, box-shadow .2s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-grad); color: #fff; box-shadow: 0 4px 14px rgba(255,106,0,.30); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(255,106,0,.42); }
.btn-ghost { background: var(--bg); color: var(--ink); } .btn-ghost:hover { background: #ECEEF1; }
.btn-outline { background: #fff; color: var(--orange-700); border: 1.5px solid var(--orange); } .btn-outline:hover { background: var(--orange-soft); }
.btn-block { width: 100%; display: block; text-align: center; }
.btn-lg { padding: 13px 18px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------- 顶部导航 ---------------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.topbar-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 38px; height: 38px; border-radius: 11px; background: var(--orange-grad); display: grid; place-items: center; color: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(255,106,0,.35); }
.brand .name { font-weight: 800; font-size: 19px; } .brand .name b { color: var(--orange); } .brand .name span { color: var(--ink); }
.brand .sub { font-size: 11px; color: var(--muted); font-weight: 600; }
.city-pill { margin-left: 4px; display: inline-flex; align-items: center; gap: 4px; background: var(--orange-soft); color: var(--orange-700); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: 6px; }
.nav a { padding: 8px 14px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: 13.5px; } .nav a:hover { background: var(--bg); } .nav a.active { background: var(--orange-soft); color: var(--orange-700); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; position: relative; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: var(--bg); border-radius: 999px; font-weight: 700; font-size: 13px; }
.user-chip .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--orange-grad); color: #fff; display: grid; place-items: center; font-size: 13px; }
.user-menu { position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 180px; z-index: 60; display: flex; flex-direction: column; }
.user-menu a { padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; } .user-menu a:hover { background: var(--bg); }
.user-menu button { padding: 9px 12px; border-radius: 8px; background: none; color: #D4380D; font-weight: 700; font-size: 13px; text-align: left; }
.user-menu button:hover { background: #FEECEC; }
.wm-wallet { padding: 8px 12px; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 4px; }
.wm-wallet b { color: var(--orange-700); }

/* 商家标识 */
.merchant-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--success-soft); color: var(--success); }
.merchant-badge.pending { background: #FFF4E0; color: var(--warn); }
.merchant-badge.rejected { background: #FEECEC; color: #D4380D; }

/* ---------------- 主视觉 ---------------- */
.banner { max-width: var(--maxw); margin: 18px auto 0; padding: 0 24px; }
.banner-inner { background: var(--orange-grad); border-radius: 20px; color: #fff; padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: 0 14px 40px rgba(255,106,0,.28); }
.banner-text { max-width: 640px; }
.badge-row { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.hb-badge { background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hb-badge.ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); }
.banner-text h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.25; }
.banner-text h1 .hl { background: #fff; color: var(--orange-700); padding: 0 8px; border-radius: 8px; }
.banner-text p { margin: 0 0 16px; opacity: .96; font-size: 14.5px; }
.banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--orange-700); } .btn-light:hover { box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.btn-outline-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.6); } .btn-outline-light:hover { background: rgba(255,255,255,.22); }
.banner-stats { display: flex; gap: 26px; }
.banner-stats .s { text-align: center; } .banner-stats .s b { display: block; font-size: 24px; } .banner-stats .s span { font-size: 12px; opacity: .9; }

/* ---------------- 能力条 ---------------- */
.features { max-width: var(--maxw); margin: 16px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.feat-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.feat b { display: block; font-size: 14.5px; } .feat span { font-size: 12px; color: var(--muted); }

/* ---------------- 三栏布局 ---------------- */
.layout { max-width: var(--maxw); margin: 18px auto; padding: 0 24px; display: grid; grid-template-columns: 232px minmax(0,1fr) 320px; gap: 18px; align-items: start; }
.side { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; position: sticky; top: 80px; }
.side h3 { margin: 0 0 12px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.cat-item:hover { background: var(--bg); } .cat-item.active { background: var(--orange-soft); color: var(--orange-700); }
.cat-item .cnt { font-size: 12px; color: var(--muted); font-weight: 700; } .cat-item.active .cnt { color: var(--orange-700); }
.brand-block { margin-top: 18px; } .brand-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.brand-chip { padding: 6px 11px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 12px; font-weight: 700; cursor: pointer; border: 1px solid transparent; }
.brand-chip:hover { border-color: var(--orange); color: var(--orange-700); } .brand-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.toggle-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.toggle-row input { width: 16px; height: 16px; accent-color: var(--orange); }
.price-range { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.price-range input { flex: 1; width: 100%; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; outline: none; }
.price-range input:focus { border-color: var(--orange); }

.main { min-width: 0; }
.searchbar { display: flex; gap: 10px; margin-bottom: 14px; }
.searchbar input { flex: 1; padding: 11px 14px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-size: 14px; outline: none; }
.searchbar input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 2px 12px; }
.section-head h2 { margin: 0; font-size: 17px; } .section-head .count { color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .12s, box-shadow .2s; border: 1px solid transparent; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--orange-soft); }
.card .thumb { height: 124px; background: linear-gradient(135deg, #FFF6EE, #FFE9D6); display: grid; place-items: center; font-size: 50px; position: relative; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .tag { position: absolute; top: 8px; left: 8px; background: rgba(255,106,0,.92); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; }
.merchant-flag { position: absolute; top: 8px; left: 8px; background: var(--success); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; }
.cond-flag { position: absolute; top: 8px; right: 8px; background: rgba(31,35,41,.78); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; }
.card .body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .pname { font-weight: 700; font-size: 14px; line-height: 1.35; min-height: 38px; }
.card .pspec { color: var(--muted); font-size: 12px; }
.card .price-row { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.card .price { color: var(--orange-700); font-weight: 800; font-size: 19px; } .card .price small { font-size: 12px; }
.mini-merchant { font-size: 11px; color: var(--success); font-weight: 700; background: var(--success-soft); padding: 1px 7px; border-radius: 6px; }
.mini-user { font-size: 11px; color: var(--muted); background: var(--bg); padding: 1px 7px; border-radius: 6px; }
.card .add { margin-top: 8px; background: var(--orange-grad); color: #fff; border-radius: 10px; padding: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.card .add:hover { box-shadow: 0 5px 16px rgba(255,106,0,.4); }
.empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 60px 0; }

/* 右栏账户 / 担保 / 服务中心 */
.right-panel { font-size: 13px; }
#accountBox .ac-guest { font-weight: 700; margin-bottom: 10px; }
#accountBox .ac-user { font-weight: 700; margin-bottom: 10px; }
.ac-link { display: block; padding: 9px 12px; border-radius: 9px; font-weight: 600; color: var(--ink-2); background: var(--bg); margin-bottom: 6px; }
.ac-link:hover { background: var(--orange-soft); color: var(--orange-700); }
.ac-note { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.ac-wallet { margin-top: 10px; font-size: 12px; color: var(--muted); background: var(--success-soft); padding: 8px 10px; border-radius: 9px; }
.ac-wallet b { color: var(--success); }
.note-list { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 12.5px; line-height: 1.9; }
.sa-mini { background: var(--orange-soft); border-radius: 10px; padding: 12px; }
.sa-mini-addr { font-weight: 700; font-size: 12.5px; line-height: 1.4; }
.sa-mini-sub { font-size: 11.5px; color: var(--orange-700); margin-top: 4px; }

/* ---------------- 服务范围 ---------------- */
.service { max-width: var(--maxw); margin: 30px auto; padding: 0 24px; }
.service-inner { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 28px 30px; }
.service-head h2 { margin: 0 0 6px; font-size: 20px; } .service-head p { margin: 0 0 20px; color: var(--ink-2); } .service-head b { color: var(--orange-700); }
.service-grid { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: center; }
.sa-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sa-card.center { background: linear-gradient(160deg, #FFF7F0, #FFF); }
.sa-map { width: 200px; height: 200px; margin: 0 auto 16px; }
.sa-center-info { text-align: center; } .sa-label { font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 6px; letter-spacing: .5px; }
.sa-addr { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.4; } .sa-sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.sa-card.areas .sa-label { margin-bottom: 14px; }
.sa-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.sa-chip { background: var(--orange-soft); color: var(--orange-700); padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.sa-foot { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---------------- 详情弹窗 ---------------- */
.detail-backdrop { display: none; position: fixed; inset: 0; background: rgba(15,18,22,.55); z-index: 200; align-items: center; justify-content: center; padding: 18px; }
.detail-backdrop.open { display: flex; }
.detail-modal { position: relative; width: min(820px, 96vw); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 20px; padding: 26px 26px 24px; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.detail-modal .cashier-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 9px; background: var(--bg); font-size: 16px; color: var(--ink-2); z-index: 2; }
.detail-loading { padding: 40px; text-align: center; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 320px 1fr; gap: 22px; }
.d-gallery { background: linear-gradient(135deg, #FFF6EE, #FFE9D6); border-radius: 14px; min-height: 280px; display: flex; flex-direction: column; overflow: hidden; }
.d-slides { position: relative; width: 100%; height: 280px; display: grid; place-items: center; }
.d-slide { width: 100%; height: 100%; display: none; } .d-slide.active { display: block; }
.d-slide img { width: 100%; height: 280px; object-fit: cover; display: block; }
.d-noimg { font-size: 110px; align-self: center; }
.d-thumbs { display: flex; gap: 8px; padding: 10px; background: #fff; overflow-x: auto; }
.d-thumb { width: 56px; height: 56px; border-radius: 8px; border: 2px solid transparent; overflow: hidden; padding: 0; cursor: pointer; background: none; flex: 0 0 auto; }
.d-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-thumb.active { border-color: var(--orange-700); }
.d-info { min-width: 0; display: flex; flex-direction: column; }
.d-title { font-size: 21px; font-weight: 800; line-height: 1.3; }
.d-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.d-tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--bg); color: var(--ink-2); }
.d-tag.merchant { background: var(--success-soft); color: var(--success); }
.d-tag.user { background: #EEF3FF; color: #2f6bff; }
.d-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 2px 0 10px; }
.d-meta span { background: var(--bg); padding: 3px 9px; border-radius: 7px; }
.d-price { font-size: 30px; font-weight: 800; color: var(--orange-700); margin: 4px 0 10px; }
.d-seller { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.d-desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.d-guarantee { font-size: 12.5px; color: var(--orange-700); background: var(--orange-soft); border-radius: 10px; padding: 10px 12px; margin: 12px 0; line-height: 1.6; }
.d-guest-tip { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.d-guest-tip b { color: var(--orange-700); }
/* 详情增强：卖家卡片 / 担保三步 / 相关推荐 */
.d-seller-card { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; background: var(--bg); border-radius: 14px; }
.ds-avatar { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--orange-500), var(--orange-700)); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 800; flex: 0 0 auto; }
.ds-main { min-width: 0; }
.ds-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ds-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--success-soft); color: var(--success); }
.ds-badge.user { background: #EEF3FF; color: #2f6bff; }
.ds-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.d-guarantee-steps { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 16px; background: var(--orange-soft); border-radius: 14px; flex-wrap: wrap; }
.dgs-step { display: flex; gap: 10px; align-items: center; flex: 1; min-width: 140px; }
.dgs-step .num { width: 26px; height: 26px; border-radius: 50%; background: var(--orange-700); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: 0 0 auto; }
.dgs-step b { color: var(--orange-700); font-size: 13px; }
.dgs-step span { font-size: 11.5px; color: var(--ink-2); }
.dgs-arrow { color: var(--orange-700); font-weight: 800; }
.d-related { margin-top: 18px; }
.dr-loading { font-size: 12px; color: var(--muted); padding: 8px 0; }
.dr-title { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.dr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dr-card { background: var(--bg); border-radius: 12px; overflow: hidden; cursor: pointer; transition: .15s; }
.dr-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dr-thumb { height: 84px; display: grid; place-items: center; font-size: 36px; background: linear-gradient(135deg, #FFF6EE, #FFE9D6); overflow: hidden; }
.dr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dr-name { font-size: 12px; padding: 6px 8px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-price { font-size: 13px; font-weight: 800; color: var(--orange-700); padding: 0 8px 8px; }

/* 游客下单表单 / 支付成功 */
.guest-form { max-width: 420px; margin: 0 auto; }
.guest-form h3 { margin: 0 0 4px; font-size: 18px; }
.guest-form .lead { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.pay-success { text-align: center; padding: 10px; }
.ps-icon { font-size: 54px; }
.pay-success h3 { margin: 8px 0; font-size: 18px; }
.ps-order { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; } .ps-order b { color: var(--ink); }
.ps-step { font-size: 13px; color: var(--orange-700); background: var(--orange-soft); border-radius: 10px; padding: 10px; margin-bottom: 16px; line-height: 1.6; }
.ps-guest { font-size: 13px; color: var(--ink-2); background: var(--bg); border-radius: 10px; padding: 12px; margin-bottom: 14px; line-height: 1.7; }
.ps-guest b { color: var(--orange-700); }

/* ---------------- 发布页 ---------------- */
.publish-wrap { max-width: 860px; margin: 26px auto 50px; padding: 0 18px; }
.publish-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 28px 30px; }
.publish-card h1 { margin: 0 0 4px; font-size: 22px; }
.publish-card .lead { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uploader { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.upload-btn { display: inline-grid; place-items: center; width: 92px; height: 92px; border: 1.5px dashed var(--orange); color: var(--orange-700); border-radius: 12px; font-weight: 700; font-size: 13px; cursor: pointer; background: var(--orange-soft); }
.upload-btn:hover { background: #ffe7d2; }
.img-preview { display: flex; flex-wrap: wrap; gap: 10px; }
.img-item { position: relative; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.img-item img { width: 100%; height: 100%; object-fit: cover; }
.img-del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 7px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; display: grid; place-items: center; }
.pf-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.field .err { color: var(--red, #dc2626); font-size: 11.5px; margin-top: 5px; }
.char-count { float: right; font-weight: 600; color: var(--muted); font-size: 11px; }
.draft-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--orange-soft); border: 1px solid #ffd9bd; color: var(--orange-700); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.draft-banner .btn { padding: 4px 12px; }
#dropzone { width: 100%; border: 1.5px dashed transparent; border-radius: 12px; padding: 6px; transition: .15s; }
#dropzone.drag { border-color: var(--orange); background: var(--orange-soft); }
.drop-hint { width: 100%; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.img-item.cover { border-color: var(--orange-700); box-shadow: 0 0 0 2px var(--orange-soft); }
.cover-badge { position: absolute; left: 4px; bottom: 4px; background: var(--orange-700); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.img-setcover { position: absolute; left: 4px; top: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 6px; border: none; cursor: pointer; display: none; }
.img-item:hover .img-setcover { display: block; }

/* ---------------- 商家中心 / 审核 ---------------- */
.merchant-wrap { max-width: 860px; margin: 26px auto 50px; padding: 0 18px; }
.merchant-head h1 { margin: 0 0 4px; font-size: 22px; } .merchant-head .lead { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.m-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 24px 26px; margin-bottom: 18px; }
.m-intro h2 { margin: 0 0 12px; font-size: 18px; }
.m-benefits { margin: 0 0 18px; padding-left: 18px; color: var(--ink-2); line-height: 2; }
.m-status { border-radius: 14px; padding: 20px; }
.m-status.ok { background: var(--success-soft); } .m-status.warn { background: #FFF4E0; } .m-status.err { background: #FEECEC; }
.ms-badge { display: inline-block; font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.m-status.ok .ms-badge { color: var(--success); } .m-status.warn .ms-badge { color: var(--warn); } .m-status.err .ms-badge { color: #D4380D; }
.ms-shop { font-weight: 700; margin-bottom: 8px; } .ms-desc { color: var(--ink-2); margin-bottom: 14px; line-height: 1.6; }
.ms-actions { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.ms-meta { font-size: 12.5px; color: var(--muted); }
.ms-wallet { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.ms-wallet b { color: var(--success); }
.m-form { margin-top: 8px; }
.app-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.app-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; flex-wrap: wrap; }
.app-phone { font-size: 12px; color: var(--muted); font-weight: 600; }
.app-body { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; line-height: 1.6; }
.app-acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------- 订单中心 ---------------- */
.orders-wrap { max-width: 980px; margin: 24px auto 40px; padding: 0 18px; }
.orders-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.orders-head h1 { margin: 0; font-size: 22px; }
.orders-filter { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.of-chip { padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: 13px; cursor: pointer; }
.of-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.orders-empty { text-align: center; color: var(--muted); padding: 50px 0; } .orders-empty a { color: var(--orange-700); font-weight: 700; }
.order-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.oc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.oc-id { font-weight: 800; font-size: 15px; margin-right: 10px; } .oc-when { font-size: 12px; color: var(--muted); }
.oc-items { border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 10px 0; }
.oi { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; } .oi span:last-child { color: var(--orange-700); font-weight: 700; }
.oc-escrow { font-size: 12.5px; color: var(--orange-700); background: var(--orange-soft); padding: 8px 10px; border-radius: 9px; margin: 10px 0 0; }
.oc-ship { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.oc-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 6px; font-size: 12.5px; color: var(--muted); }
.oc-amount b { color: var(--ink); font-size: 15px; }
.oc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.oc-hint { font-size: 12.5px; color: var(--muted); align-self: center; }
.oc-form { background: var(--bg); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.oc-form input { padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; outline: none; }
.oc-form input:focus { border-color: var(--orange); }
.oc-form-btns { display: flex; gap: 8px; }

/* 状态标签补充 */
.tc-status.status-refunded { background: #EEF3FF; color: #2f6bff; }

/* 游客查询 */
.guest-lookup { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 20px 22px; margin-bottom: 18px; }
.gl-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.gl-tip { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.gl-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gl-row input { flex: 1; min-width: 160px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; outline: none; }
.gl-row input:focus { border-color: var(--orange); }

/* ---------------- 登录 / 注册 ---------------- */
.auth-wrap { max-width: 440px; margin: 40px auto; padding: 0 18px; }
.auth-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 30px 28px; }
.auth-card .logo-big { width: 56px; height: 56px; border-radius: 16px; background: var(--orange-grad); color: #fff; display: grid; place-items: center; font-size: 28px; margin: 0 auto 14px; box-shadow: 0 6px 18px rgba(255,106,0,.35); }
.auth-card h2 { text-align: center; margin: 0 0 4px; font-size: 20px; }
.auth-card .lead { text-align: center; color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.field { margin-bottom: 14px; } .field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; outline: none; background: #fff; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.field .hint { color: var(--muted); font-size: 11.5px; margin-top: 5px; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 13px; color: var(--ink-2); } .auth-switch a { color: var(--orange-700); font-weight: 700; }
.auth-switch.demo-tip { font-size: 12px; color: var(--muted); margin-top: 10px; } .auth-switch.demo-tip b { color: var(--ink-2); }
.alert { padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-bottom: 14px; display: none; }
.alert.show { display: block; } .alert-error { background: #FEECEC; color: #D4380D; } .alert-success { background: var(--success-soft); color: var(--success); } .alert-info { background: var(--orange-soft); color: var(--orange-700); }

/* ---------------- 收银台 ---------------- */
.cashier-backdrop { position: fixed; inset: 0; background: rgba(15,18,22,.55); z-index: 200; display: grid; place-items: center; padding: 18px; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.cashier { position: relative; width: min(420px, 96vw); background: #fff; border-radius: 20px; padding: 26px 24px 24px; box-shadow: var(--shadow-lg); text-align: center; animation: pop .25s ease; }
.cashier-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 9px; background: var(--bg); font-size: 16px; color: var(--ink-2); }
.cashier-head { margin-bottom: 6px; } .cashier-title { font-size: 18px; font-weight: 800; } .cashier-sub { font-size: 12px; color: var(--muted); }
.cashier-amount { font-size: 38px; font-weight: 800; color: var(--orange-700); margin: 8px 0 2px; }
.cashier-meta { font-size: 12px; color: var(--muted); display: flex; justify-content: center; gap: 14px; margin-bottom: 10px; }
.cashier-goods { font-size: 12.5px; color: var(--ink-2); background: var(--bg); border-radius: 9px; padding: 8px 10px; margin-bottom: 14px; line-height: 1.5; }
.cashier-methods { display: flex; gap: 8px; margin-bottom: 16px; }
.pay-method { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: var(--bg); border: 2px solid transparent; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.pay-method .pm-icon { font-size: 20px; } .pay-method.active { border-color: var(--mc); background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.cashier-qr { width: 200px; height: 200px; margin: 0 auto 10px; border-radius: 14px; padding: 8px; border: 1px solid var(--line); }
.cashier-tip { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; } .cashier-tip b { color: var(--orange-700); }
.cashier-cancel { display: block; width: 100%; margin-top: 10px; background: none; color: var(--muted); font-size: 13px; font-weight: 700; padding: 8px; }
.cashier-status { font-size: 13px; font-weight: 700; margin-top: 10px; min-height: 18px; } .cashier-status.ok { color: var(--success); } .cashier-status.err { color: #D4380D; }

/* ---------------- 提示 ---------------- */
.toast { position: fixed; top: 22px; left: 50%; transform: translateX(-50%) translateY(-20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 14px; z-index: 300; opacity: 0; transition: all .25s ease; box-shadow: var(--shadow-lg); pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); } .toast.success { background: var(--success); } .toast.error { background: #D4380D; }

/* ---------------- 页脚 ---------------- */
.footer { max-width: var(--maxw); margin: 30px auto 36px; padding: 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.f-brand { font-size: 16px; margin-bottom: 8px; } .f-brand b { color: var(--orange-700); }
.f-addr { font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.f-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.f-links a { color: var(--ink-2); font-weight: 600; font-size: 13px; } .f-links a:hover { color: var(--orange-700); }
.f-copy { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1180px) { .layout { grid-template-columns: 200px minmax(0,1fr) 300px; } .service-grid { grid-template-columns: 280px 1fr; } .detail-grid { grid-template-columns: 260px 1fr; } }
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .cat-list { flex-direction: row; flex-wrap: wrap; } .cat-item { flex: 0 0 auto; }
  .right-panel { display: none; }
  .nav { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .pf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar-inner { padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
  .brand { font-size: 16px; } .brand .sub { display: none; }
  .city-pill { font-size: 11px; padding: 4px 9px; }
  .banner { padding: 0 14px; } .banner-inner { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
  .banner-text h1 { font-size: 22px; } .banner-stats { gap: 16px; width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .features { grid-template-columns: 1fr 1fr; padding: 0 14px; }
  .layout { padding: 0 14px; margin-top: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card .thumb { height: 100px; font-size: 40px; }
  .detail-grid { grid-template-columns: 1fr; }
  .d-gallery { min-height: 200px; } .d-slide img { height: 200px; }
  .d-slides { height: 200px; }
  .dr-grid { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 0 14px; } .service-grid { grid-template-columns: 1fr; }
  .footer { padding: 0 14px; }
  .publish-card, .merchant-wrap { padding: 20px 16px; }
}
