/* ============================================================
   组装电脑报价系统 - 前端样式（自适应）
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  /* 为固定在底部的免责声明/备案号页脚预留空间，避免遮挡内容 */
  padding-bottom: 130px;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 16px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.navbar .container { display: flex; align-items: center; gap: 16px; height: 56px; }
.brand { font-weight: 700; font-size: 18px; color: var(--primary); white-space: nowrap; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); background: var(--card);
  padding: 8px 14px; border-radius: 8px; cursor: pointer;
  font-size: 14px; color: var(--text); transition: all .15s;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { opacity: .9; color: #fff; }

/* ---------- 布局 ---------- */
.layout { display: grid; grid-template-columns: 1fr 380px; gap: 16px; padding: 16px 0 40px; align-items: start; }

/* 类目标签 */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cat-tab {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); cursor: pointer; font-size: 14px; transition: all .15s;
}
.cat-tab:hover { border-color: var(--primary); color: var(--primary); }
.cat-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 商品列表 */
.product-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow);
}
.product-card .p-brand { font-size: 12px; color: var(--primary); font-weight: 600; }
.product-card .p-name { font-size: 15px; font-weight: 600; }
.product-card .p-spec { font-size: 12px; color: var(--muted); flex: 1; min-height: 34px; }
.product-card .p-price { font-size: 18px; font-weight: 700; color: var(--red); }
.product-card .p-price small { font-size: 12px; color: var(--muted); font-weight: 400; }
.product-card .add-btn { margin-top: 4px; }
.product-card.incompat { opacity: .55; background: #f9fafb; }
.product-card.incompat .add-btn { cursor: not-allowed; opacity: .5; }
.p-socket { font-size: 11px; color: #2563eb; background: #eff6ff; border-radius: 4px; padding: 1px 6px; margin-left: 4px; white-space: nowrap; }
.p-incompat { font-size: 11px; color: #b91c1c; background: #fee2e2; border-radius: 4px; padding: 2px 6px; margin-top: 2px; }

/* 空状态 */
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* 商品区：搜索框 + 已选 + 网格 */
.prod-toolbar { position: relative; grid-column: 1 / -1; }
.prod-search {
  width: 100%; box-sizing: border-box; padding: 10px 34px 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px;
  background: #fff;
}
.prod-search:focus { outline: none; border-color: var(--primary); }
.prod-search-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: none; background: none; color: #9ca3af; cursor: pointer; font-size: 16px; padding: 4px;
}
.prod-search-clear:hover { color: #dc2626; }
.prod-selected { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.prod-clear-cat {
  margin-left: auto; border: 1px solid var(--border); background: none; color: var(--muted);
  border-radius: 999px; padding: 4px 12px; font-size: 12px; cursor: pointer;
}
.prod-clear-cat:hover { border-color: #dc2626; color: #dc2626; }
.prod-grid { grid-column: 1 / -1; display: contents; }

/* ---------- 配置单面板 ---------- */
.config-panel {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); position: sticky; top: 72px;
  display: flex; flex-direction: column; max-height: calc(100vh - 170px);
}
.panel-head { padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.panel-body { overflow-y: auto; padding: 10px 16px; flex: 1; }
.config-empty { color: var(--muted); text-align: center; padding: 30px 0; font-size: 13px; }

.config-item { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--border); }
.config-item .ci-img { grid-column: 1 / -1; }
.config-item .ci-img img { width: 54px; height: 54px; object-fit: contain; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 3px; }
.config-item .ci-cat { font-size: 12px; color: var(--muted); grid-column: 1 / -1; }
.config-item .ci-name { font-size: 13px; font-weight: 600; }
.config-item .ci-price { font-size: 13px; }
.soldout { color: #dc2626; font-weight: 700; font-size: 12px; background: #fee2e2; border: 1px solid #fecaca; border-radius: 6px; padding: 1px 7px; display: inline-block; }
button.add-btn:disabled { opacity: .5; cursor: not-allowed; }
.config-item .ci-del { color: var(--red); cursor: pointer; font-size: 14px; }
.qty-ctl { display: inline-flex; align-items: center; gap: 4px; }
.qty-ctl button { width: 22px; height: 22px; border: 1px solid var(--border); background: var(--card); border-radius: 5px; cursor: pointer; line-height: 1; }
.qty-ctl span { min-width: 20px; text-align: center; font-size: 13px; }

.panel-foot { padding: 12px 16px; border-top: 1px solid var(--border); background: #fafbfc; border-radius: 0 0 var(--radius) var(--radius); }
.total-row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.total-row .amount { color: var(--red); font-size: 20px; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; }
.action-row .btn { flex: 1; }

/* ---------- 配置单导出区（打印/截图用） ---------- */
/* ===== 导出模板（PNG/PDF）===== */
#export-area {
  position: absolute; left: -9999px; top: 0;
  width: 900px; background: #ffffff; color: #1f2937;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  overflow: hidden; border-radius: 18px; box-shadow: 0 20px 50px rgba(30,58,138,.18);
}
#export-area * { box-sizing: border-box; margin: 0; padding: 0; }
/* 头部渐变 */
#export-area .exp-head {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 58%, #7c3aed 100%);
  color: #fff; padding: 34px 42px;
  display: flex; justify-content: space-between; align-items: center;
}
#export-area .exp-title { font-size: 30px; font-weight: 800; letter-spacing: 2px; }
#export-area .exp-sub  { font-size: 13px; opacity: .85; margin-top: 8px; letter-spacing: 1px; }
#export-area .exp-meta { text-align: right; font-size: 12px; line-height: 2; opacity: .92; }
#export-area .exp-meta b { font-size: 13px; }
/* body */
#export-area .exp-body { padding: 28px 40px 8px; }
/* 统计条 */
#export-area .exp-summary { display: flex; gap: 14px; margin-bottom: 24px; }
#export-area .exp-stat {
  flex: 1; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 18px;
}
#export-area .exp-stat .v { font-size: 24px; font-weight: 800; color: #1d4ed8; }
#export-area .exp-stat .l { font-size: 12px; color: #64748b; margin-top: 3px; }
/* 配置项行 */
#export-area .exp-row {
  display: flex; align-items: center; padding: 13px 16px; border-radius: 12px;
  background: #fafbff; border: 1px solid #eef2ff; margin-bottom: 9px;
}
#export-area .exp-cat {
  min-width: 84px; text-align: center; padding: 7px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 1px;
}
#export-area .exp-img { margin-left: 16px; flex-shrink: 0; }
#export-area .exp-img img { width: 58px; height: 58px; object-fit: contain; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; padding: 3px; }
#export-area .exp-info { flex: 1; margin-left: 16px; }
#export-area .exp-name { font-size: 15px; font-weight: 600; color: #0f172a; }
#export-area .exp-spec { font-size: 12px; color: #64748b; margin-top: 3px; }
#export-area .exp-num { text-align: right; margin-left: 14px; font-size: 13px; color: #334155; line-height: 1.6; }
#export-area .exp-subtotal {
  text-align: right; min-width: 96px; margin-left: 18px;
  font-size: 15px; font-weight: 700; color: #1e3a8a;
}
/* 合计 */
#export-area .exp-total {
  margin: 24px 40px 0; background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff; border-radius: 14px; padding: 22px 30px;
  display: flex; justify-content: space-between; align-items: center;
}
#export-area .exp-total .t1 { font-size: 15px; opacity: .9; letter-spacing: 1px; }
#export-area .exp-total .t2 { font-size: 34px; font-weight: 800; letter-spacing: 1px; }
/* 底部 */
#export-area .exp-foot {
  margin: 22px 40px 0; border-top: 2px dashed #dbe3f0; padding: 16px 0 30px;
  font-size: 11px; color: #94a3b8; line-height: 1.9;
}
/* 批量导出：默认单列；批量时切成两列网格 */
#export-area .exp-config { padding: 12px 0 20px; }
#export-area .exp-config + .exp-config { border-top: 3px solid #e2e8f0; }
#export-area.batch-grid {
  width: 1840px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start;
}
#export-area.batch-grid .exp-config {
  border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 10px 18px; background: #ffffff;
}
#export-area.batch-grid .exp-config + .exp-config { border-top: 1px solid #e2e8f0; }
/* 整图免责声明（PNG 长图末尾，占满整行） */
#export-area .exp-batch-foot {
  grid-column: 1 / -1; margin: 10px 40px 0; border-top: 2px dashed #dbe3f0; padding: 16px 0 26px;
  font-size: 11px; color: #94a3b8; line-height: 1.9; text-align: center;
}
/* 我的配置：批量工具条 + 勾选 */
.config-batch-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-bottom: 1px solid var(--border); background: #f8fafc; flex-wrap: wrap;
}
.config-batch-bar .cb-all { font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 5px; margin-right: auto; cursor: pointer; }
.config-list-item { display: flex; align-items: center; gap: 10px; }
.config-list-item .cb-single { display: flex; align-items: center; flex-shrink: 0; }
.config-list-item .cb-single input, .config-batch-bar .cb-all input { width: 16px; height: 16px; cursor: pointer; }
.config-batch-bar .btn:disabled { opacity: .4; cursor: not-allowed; }



/* ---------- 品牌徽标 ---------- */
/* 颜色由 JS 内联 hex 写入。布局用 inline-block（html2canvas 对 flex 支持不完整，用 flex 会导致截图丢背景） */
.brand-badge {
  display: inline-block; padding: 2px 9px; border-radius: 6px;
  font-size: 11px; font-weight: 800; line-height: 1.5;
  vertical-align: middle; max-width: 100%; margin-right: 4px;
}
.brand-badge .brand-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-badge .brand-logo { height: 15px; width: auto; display: inline-block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }

/* ---------- 页脚 ---------- */
.site-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: #1f2937; color: #9ca3af; padding: 12px 0; box-shadow: 0 -4px 14px rgba(0,0,0,.18); }
.site-footer p { text-align: center; font-size: 12px; margin: 3px 0; }
.site-footer a { color: #9ca3af; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- 登录/注册页 ---------- */
.auth-wrap { min-height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; padding: 30px 16px; }
.auth-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.08); width: 100%; max-width: 380px; padding: 30px; }
.auth-card h2 { margin-bottom: 20px; text-align: center; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 5px; color: var(--muted); }
.form-group input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.form-group input:focus { outline: none; border-color: var(--primary); }
.form-tip { text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-tip a { color: var(--primary); text-decoration: none; }
.msg { text-align: center; font-size: 13px; margin-top: 10px; min-height: 18px; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--green); }

/* ---------- 弹窗 ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: none; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.modal-mask.show { display: flex; }
.modal { background: var(--card); border-radius: 12px; width: 100%; max-width: 460px; max-height: 80vh; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.modal-head { padding: 14px 18px; border-bottom: 1px solid var(--border); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 14px 18px; overflow-y: auto; }
.modal-body .save-row { display: flex; gap: 8px; margin-bottom: 14px; }
.modal-body .save-row input { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; }
.config-list-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.config-list-item .cl-name { font-weight: 600; font-size: 14px; }
.config-list-item .cl-time { font-size: 12px; color: var(--muted); }

/* ---------- 响应式（手机/平板） ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .config-panel { position: static; max-height: none; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .cat-tab { flex-shrink: 0; }
  .product-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (max-width: 600px) {
  body { padding-bottom: 150px; }
  .navbar .container { height: auto; flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
  .nav-right { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 8px; }
  .nav-right .btn { flex: 1; min-width: 0; }
  #user-name { flex-basis: 100%; }
  .layout { padding: 10px 0 24px; gap: 12px; }
  .config-panel { border-radius: 10px; }
  .panel-head { padding: 10px 14px; }
  .panel-body { padding: 8px 14px; }
  .panel-foot { padding: 10px 14px; }
  .action-row { flex-wrap: wrap; }
  .action-row .btn { flex: 1 1 100%; }
  /* 手机固定 2 列，避免宽屏手机挤成 3 列导致右侧贴边/溢出观感 */
  .product-list { grid-template-columns: repeat(2, 1fr); }
  .product-card { padding: 10px; }
  .p-name { font-size: 13px; }
  .p-price { font-size: 16px; }
  .config-empty { padding: 18px 0; }
  .modal { padding: 8px; }
  .modal-head, .modal-body { padding: 12px 14px; }
  .build-input { flex-wrap: wrap; }
  .build-input input { flex-basis: 100%; }
  .exp-foot { margin: 14px 12px 0; }
}

/* ---------- 可搜索下拉选择器（combobox） ---------- */
.combobox { position: relative; }
.cb-box { position: relative; }
.cb-input {
  width: 100%; padding: 12px 42px 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 15px; background: var(--card); box-shadow: var(--shadow);
}
.cb-input:focus { outline: none; border-color: var(--primary); }
.cb-box.has-value .cb-input { border-color: var(--green); background: #f0fdf4; }
.cb-clear {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  border: none; background: #e5e7eb; color: #4b5563; width: 24px; height: 24px;
  border-radius: 50%; cursor: pointer; line-height: 1; font-size: 12px;
}
.cb-current { font-size: 13px; color: var(--muted); margin: 8px 2px 2px; }
.cb-current b { color: var(--green); }
.cb-cur-price { color: var(--red); font-weight: 700; margin-left: 6px; }
/* 多选已选芯片 */
.cb-multi { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eef2ff; border: 1px solid #c7d2fe; color: #3730a3;
  border-radius: 999px; padding: 4px 10px; font-size: 12px;
}
.cb-chip b { color: var(--green); font-weight: 700; }
.cb-chip i { color: var(--red); font-style: normal; font-weight: 600; }
.cb-chip em {
  cursor: pointer; color: #7c3aed; font-style: normal; font-weight: 700;
  padding: 0 2px; border-radius: 4px; user-select: none;
}
.cb-chip em:hover { background: #ddd6fe; color: #6d28d9; }
.cb-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 320px; overflow-y: auto;
  display: none; list-style: none; padding: 4px;
}
.cb-list.open { display: block; }
.cb-item {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 6px; cursor: pointer; font-size: 13px;
}
.cb-item:hover, .cb-item.active { background: #eff6ff; }
.cb-item.cb-incompat { opacity: .45; cursor: not-allowed; }
.cb-brand { color: var(--primary); font-weight: 600; white-space: nowrap; }
.cb-name { font-weight: 600; white-space: nowrap; }
.cb-spec { color: var(--muted); font-size: 12px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-info { background: #eff6ff; color: #2563eb; border-radius: 4px; padding: 0 5px; font-size: 11px; margin-left: 4px; white-space: nowrap; }
.cb-price { color: var(--red); font-weight: 700; white-space: nowrap; }
.cb-tag { background: #fee2e2; color: #b91c1c; font-size: 11px; border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.cb-empty { padding: 14px; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- AI 智能配机 ---------- */
.build-input { display: flex; gap: 8px; margin-bottom: 10px; }
.build-input input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.build-input input:focus { outline: none; border-color: var(--primary); }
.build-result-box { max-height: 52vh; overflow-y: auto; margin-top: 8px; }
.bi { display: flex; justify-content: space-between; gap: 10px; padding: 8px 4px; border-bottom: 1px dashed var(--border); font-size: 13px; align-items: baseline; }
.bi-cat { color: var(--muted); min-width: 70px; white-space: nowrap; }
.bi-name { flex: 1; }
.bi-price { color: var(--red); font-weight: 600; white-space: nowrap; }
.bi-total { font-weight: 700; border-bottom: none; border-top: 1px solid var(--border); padding-top: 10px; }

/* ===== 电商风格批量导出卡片（长图） ===== */
.ecom-wrap{background:#f1f5f9;padding:0 0 26px}
.ecom-head{background:#0f172a;color:#fff;padding:22px 26px;text-align:center}
.ecom-head .e1{font-size:24px;font-weight:800;letter-spacing:3px}
.ecom-head .e2{font-size:13px;color:#cbd5e1;margin-top:7px}
.ecom-head .e3{font-size:12px;color:#94a3b8;margin-top:4px}
.ecom-card{display:block;position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;overflow:hidden;padding:14px;font-size:13px}
.ecom-price{position:absolute;top:12px;left:12px;background:#ef4444;color:#fff;font-weight:800;padding:6px 14px;border-radius:8px;font-size:18px;line-height:1.15;text-align:center;z-index:2;min-width:92px}
.ecom-price small{display:block;font-size:10px;font-weight:400;opacity:.85;margin-top:2px}
.ecom-no{position:absolute;top:12px;right:14px;font-size:14px;color:#94a3b8;font-weight:700;z-index:2}
.ecom-title{position:absolute;top:50px;left:12px;font-size:14px;font-weight:700;color:#0f172a;z-index:2;right:14px}
.ecom-body{display:table;width:100%;margin-top:84px;border-collapse:collapse}
.ecom-img{display:table-cell;width:150px;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;text-align:center;vertical-align:middle;overflow:hidden;padding:6px;box-sizing:border-box}
.ecom-img img{max-width:138px;max-height:100px;object-fit:contain;display:inline-block;vertical-align:middle}
.ecom-img .placeholder{color:#94a3b8;font-size:12px;line-height:100px}
.ecom-list{display:table-cell;vertical-align:middle;padding-left:12px}
.ecom-row{font-size:10.5px;line-height:1.55;color:#0f172a;white-space:nowrap;overflow:hidden}
.ecom-row .k{display:inline-block;width:52px;color:#64748b;flex:none}
.ecom-row .v{color:#0f172a}

/* ===== 简洁两列配置卡（PNG/PDF 批量导出重置模板） ===== */
.sx-head{padding:20px 26px;border-bottom:1px solid #e2e8f0;text-align:center;background:#f8fafc}
.sx-head .t{font-size:22px;font-weight:800;color:#0f172a;letter-spacing:2px}
.sx-head .s{font-size:13px;color:#6b7280;margin-top:6px}
.sx-head .d{font-size:12px;color:#9ca3af;margin-top:3px}
.sc-grid{padding:16px 14px 0}
.sc-tbl{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;margin-bottom:14px}
.sc-td{width:50%;vertical-align:top;padding:0 8px}
.sc-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;overflow:hidden}
.sc-head{padding:10px 14px;background:#f8fafc;border-bottom:1px solid #eef2f7;overflow:hidden}
.sc-no{color:#94a3b8;font-weight:700;font-size:13px}
.sc-name{font-size:15px;font-weight:800;color:#0f172a;margin-left:6px}
.sc-price{float:right;font-size:16px;font-weight:800;color:#ef4444}
.sc-rows{padding:8px 14px 12px}
.sc-row{font-size:12.5px;line-height:1.75}
.sc-row .k{display:inline-block;width:56px;color:#64748b}
.sc-row .v{color:#0f172a}
.sc-sold{color:#ef4444;font-weight:700}

