/* ============================================================
   南京苏迪科技 · 视觉体系 v5（松墨 · 编目）
   ============================================================ */
:root {
  --ink: #1A1A1A;
  --ink-soft: #3B415A;
  --muted: #575E76;
  --faint: #8B90A6;
  --bg: #FFFFFF;
  --panel: #FFFFFF;
  --panel-warm: #F5F6F7;
  --line: #E5E5E5;
  --line-strong: #D0D0D0;
  --dark: #1A1A1A;
  --dark-2: #333333;
  --accent: #2C55A2;
  --accent-deep: #1E3F7A;
  --accent-soft: #E8EEF9;
  --amber: #2C55A2;
  --amber-soft: #E8EEF9;
  --red: #C2571B;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 12px rgba(26, 26, 26, 0.08);
  --shadow-lift: 0 12px 30px rgba(26, 26, 26, 0.16);
  --serif: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.modal-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; }
p { margin: 0 0 10px; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* ===== 顶部信息条（深蓝） ===== */
.topbar { background: linear-gradient(90deg, #111111 0%, #1A1A1A 100%); color: #B3B3B3; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.topbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar a { color: #C7C7C7; }
.topbar a:hover { color: #fff; }

/* ===== 主头部 ===== */
.site-header { background: linear-gradient(90deg, #1A1A1A 0%, #262626 55%, #1A1A1A 100%); position: sticky; top: 0; z-index: 60; border-bottom: none; box-shadow: 0 4px 18px rgba(20, 20, 20, 0.35); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.header-inner .brand { background: #fff; padding: 7px 16px; border-radius: 10px; box-shadow: 0 4px 16px rgba(10, 10, 10, 0.35); }
.header-inner .brand img.brand-mark { width: auto; height: 38px; max-width: 200px; object-fit: contain; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 18.5px; letter-spacing: 0.5px; }
.brand-text em { display: block; font-style: normal; font-size: 11.5px; color: #8F8F8F; letter-spacing: 1px; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 16px; font-size: 15px; color: #CBCBCB; border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent; transition: color .15s;
}
.site-nav a:hover { color: #fff; }
.site-nav a.is-active { color: #fff; border-bottom-color: #fff; }
.auth-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-block; border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 9px 22px; font-size: 14px; font-weight: 600; transition: all .15s; line-height: 1.4;
}
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.3); color: #D9D9D9; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.65); color: #fff; }
.btn-amber { background: linear-gradient(135deg, #2C55A2 0%, #1E3F7A 100%); color: #fff; box-shadow: 0 4px 14px rgba(44, 85, 162, 0.35); }
.btn-amber:hover { background: linear-gradient(135deg, #1E3F7A 0%, #1E3F7A 100%); box-shadow: 0 6px 18px rgba(44, 85, 162, 0.45); }
.btn-teal { background: linear-gradient(135deg, #2C55A2 0%, #2C55A2 100%); color: #fff; box-shadow: 0 4px 14px rgba(44, 85, 162, 0.32); }
.btn-teal:hover { background: linear-gradient(135deg, #1E3F7A 0%, #B25E00 100%); box-shadow: 0 6px 18px rgba(44, 85, 162, 0.42); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-line { background: var(--panel); border-color: var(--line-strong); color: var(--ink-soft); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: #F2F2F2; color: var(--red); border-color: #E0E0E0; }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 5px 12px; font-size: 12.5px; }
.account-name { color: #DCDCDC; font-size: 13px; white-space: nowrap; }

/* ===== 首页 HERO 图文轮播 ===== */
.hero-carousel { position: relative; overflow: hidden; background: var(--dark); }
.hc-track { display: flex; transition: transform .55s ease; }
.hc-slide { position: relative; flex: none; width: 100%; min-height: 440px; display: flex; align-items: center; }
.hc-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-shade { position: absolute; inset: 0; background: linear-gradient(92deg, rgba(8, 8, 8,0.94) 0%, rgba(8, 8, 8,0.68) 48%, rgba(30, 63, 122, 0.22) 100%); }
.hc-content { position: relative; z-index: 1; padding: 74px 0 78px; color: #F3F1E9; max-width: 640px; }
.hc-eyebrow { color: #A9BEE0; font-size: 13px; letter-spacing: 3px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.hc-eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, #A9BEE0, #2C55A2); }
.hc-content h2 { font-family: var(--serif); font-size: 38px; line-height: 1.3; letter-spacing: 1px; }
.hc-content h2 em { font-style: normal; background: linear-gradient(90deg, #2C55A2 0%, #B9CAE8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #2C55A2; }
.hc-lead { color: #C7C7C7; font-size: 15px; margin: 16px 0 0; max-width: 520px; }
.hc-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hc-actions .btn-line { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); color: #fff; }
.hc-actions .btn-line:hover { border-color: #fff; color: #fff; }
.hc-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.hc-dot { width: 26px; height: 4px; border-radius: 2px; border: none; background: rgba(255,255,255,0.34); transition: all .2s; }
.hc-dot.active { background: linear-gradient(90deg, #2C55A2, #1E3F7A); width: 40px; }
.hc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(0,0,0,0.35); color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.hc-arrow:hover { background: rgba(26, 26, 26, 0.88); border-color: #C7C7C7; }
.hc-prev { left: 22px; }
.hc-next { right: 22px; }

/* 优势横条 */
.svc-strip { background: var(--dark); color: #CCCCCC; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); }
.svc-item { background: var(--dark); padding: 22px 24px; }
.svc-item strong { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.svc-item span { font-size: 12.5px; color: #9E9E9E; }

/* ===== 通用区块 ===== */
.section { padding: 54px 0; }
.section-tint { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { font-family: var(--serif); font-size: 26px; letter-spacing: 1px; }
.section-head h2::before { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #2C55A2, #2C55A2); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 14px; max-width: 460px; margin: 0; }
.more-link { color: var(--accent); font-size: 14px; font-weight: 600; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }

/* 分类卡片 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 18px; position: relative; overflow: hidden; transition: all .18s; cursor: pointer;
}
.cat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #2C55A2, #2C55A2); transform: scaleY(0); transition: transform .18s; }
.cat-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.cat-card:hover::before { transform: scaleY(1); }
.cat-card .cat-no {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 26px; padding: 0 8px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 13px; font-weight: 800; letter-spacing: 1px;
}
.cat-card h3 { font-size: 17px; margin: 12px 0 6px; }
.cat-card p { font-size: 13px; color: var(--muted); margin: 0 0 10px; min-height: 44px; }
.cat-card .cat-count { font-size: 12.5px; color: var(--accent); font-weight: 700; }

/* 目录式信息行 */
.dir-list { display: flex; flex-direction: column; gap: 12px; }
.dir-row {
  display: grid; grid-template-columns: 1fr 210px; gap: 18px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--line-strong);
  border-radius: var(--radius); padding: 16px 20px; transition: all .15s;
}
.dir-row:hover { border-left-color: var(--accent); box-shadow: var(--shadow); }
.dir-row.is-rec { border-left-color: var(--amber); }
.dir-thumb { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--panel-warm); border: 1px solid var(--line); overflow: hidden; }
.dir-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-img { width: 100%; max-height: 340px; object-fit: cover; }
.cart-prod { display: flex; gap: 12px; align-items: center; }
.cart-prod img { width: 54px; height: 54px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); flex: none; }
.dir-main h3 { font-size: 16.5px; }
.dir-main h3 a:hover { color: var(--accent); }
.dir-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.tag-chip { font-size: 11.5px; color: var(--muted); background: var(--panel-warm); border: 1px solid var(--line); padding: 1px 8px; border-radius: 3px; }
.tag-cat { color: var(--accent); background: var(--accent-soft); border-color: transparent; font-weight: 600; }
.tag-rec { color: #B25E00; background: var(--amber-soft); border-color: transparent; font-weight: 600; }
.dir-summary { font-size: 13px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-side { border-left: 1px dashed var(--line-strong); padding-left: 18px; font-size: 12.5px; color: var(--muted); }
.dir-side strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dir-side .dir-phone { color: var(--accent-deep); font-weight: 700; }
.login-hint { color: #B25E00; font-size: 12px; }
.empty-state { background: var(--panel); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }
.empty-state h3 { font-size: 16px; margin-bottom: 6px; }

/* 信息列表分页 */
.dir-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 22px; }
.page-btn {
  min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid var(--line-strong);
  background: var(--panel); color: var(--ink-soft); border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; text-align: center; line-height: 32px; transition: all .15s;
}
.page-btn:hover:not(:disabled):not(.is-current) { border-color: var(--accent); color: var(--accent); }
.page-btn.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn:disabled { opacity: .45; cursor: not-allowed; }
.page-ellipsis { color: var(--faint); padding: 0 2px; }

/* 筛选条 */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-bar button {
  padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--panel); font-size: 13.5px; color: var(--ink-soft); transition: all .15s;
}
.filter-bar button:hover { border-color: var(--accent); color: var(--accent); }
.filter-bar button.active { background: var(--dark); color: #fff; border-color: var(--dark); }

/* 套餐 */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-align: left; position: relative; }
.plan-card.hot { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.plan-card .plan-badge { position: absolute; top: -11px; left: 20px; background: var(--accent); color: #fff; font-size: 11.5px; padding: 2px 10px; border-radius: 3px; }
.plan-card h3 { font-family: var(--serif); font-size: 19px; }
.plan-price { color: var(--red); font-size: 30px; font-weight: 800; margin: 10px 0 4px; }
.plan-price em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 400; }
.plan-card ul { margin: 12px 0 18px; }
.plan-card li { font-size: 13.5px; color: var(--ink-soft); padding: 5px 0 5px 22px; position: relative; }
.plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* 商城商品卡 */
.goods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.goods-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .18s; display: flex; flex-direction: column; }
.goods-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.goods-cover { height: 210px; display: block; position: relative; background: var(--panel-warm); overflow: hidden; }
.goods-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.goods-card:hover .goods-cover img { transform: scale(1.04); }
.goods-cover .goods-tag { position: absolute; left: 10px; top: 10px; font-size: 11px; background: rgba(255,255,255,0.92); border: 1px solid var(--line); color: var(--ink-soft); padding: 1px 8px; border-radius: 3px; }
.goods-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.goods-body h3 { font-size: 14.5px; line-height: 1.45; min-height: 42px; }
.goods-body h3 a:hover { color: var(--accent); }
.goods-desc { font-size: 12.5px; color: var(--muted); margin: 6px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.goods-price { color: var(--red); font-size: 19px; font-weight: 800; }
.goods-price em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); }
.goods-meta { font-size: 12px; color: var(--faint); margin: 8px 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.goods-actions { margin-top: auto; display: flex; gap: 8px; }
.goods-actions .btn { flex: 1; text-align: center; padding: 7px 8px; font-size: 13px; }

/* 商城顶部横幅 */
.mall-banner { background: linear-gradient(120deg, #1A1A1A 0%, #262626 60%, #1A1A1A 100%); color: #fff; padding: 40px 0; position: relative; overflow: hidden; }
.mall-banner::after { content: ""; position: absolute; right: -60px; top: -70px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(44, 85, 162, 0.28), transparent 65%); }
.mall-banner h1 { font-family: var(--serif); font-size: 30px; letter-spacing: 1px; position: relative; z-index: 1; }
.mall-banner p { color: #C7C7C7; margin: 8px 0 0; font-size: 14.5px; position: relative; z-index: 1; }
.mall-svc { display: flex; gap: 26px; margin-top: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.mall-svc span { font-size: 12.5px; color: #C7C7C7; display: flex; align-items: center; gap: 6px; }
.mall-svc span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.mall-tools { display: flex; gap: 12px; align-items: center; margin: 22px 0; flex-wrap: wrap; }
.mall-search { display: flex; flex: 1; min-width: 240px; max-width: 420px; }
.mall-search input { flex: 1; border: 1px solid var(--line-strong); border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding: 9px 14px; background: var(--panel); font-size: 14px; outline: none; }
.mall-search input:focus { border-color: var(--accent); }
.mall-search button { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.mall-sort { display: flex; gap: 8px; }
.mall-sort button { padding: 8px 16px; border: 1px solid var(--line-strong); background: var(--panel); border-radius: var(--radius-sm); font-size: 13px; color: var(--ink-soft); }
.mall-sort button.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); font-weight: 700; }
.result-count { font-size: 13px; color: var(--muted); }

/* ===== 详情页 ===== */
.page-title-bar { background: var(--panel); border-bottom: 1px solid var(--line); padding: 26px 0; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--accent); }
.page-title-bar h1 { font-family: var(--serif); font-size: 27px; letter-spacing: 0.5px; }
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: start; padding: 30px 0 50px; }
.detail-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.detail-panel h2 { font-family: var(--serif); font-size: 19px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--accent); }
.detail-panel p { font-size: 14.5px; color: var(--ink-soft); }
#infoDetailMain .detail-panel + .detail-panel { margin-top: 16px; }
#infoDetailMain .notice-strip { margin-top: 16px; margin-bottom: 0; }
.detail-ul, .detail-ol { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.detail-ul li, .detail-ol li { font-size: 14.5px; color: var(--ink-soft); line-height: 1.75; }
.detail-ol { list-style: decimal; }
.detail-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.side-panel { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h4 { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-card h4::before { content: ""; width: 14px; height: 2px; background: var(--amber); }
.side-rows { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.side-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.side-rows span { color: var(--muted); white-space: nowrap; }
.side-rows strong { font-weight: 600; text-align: right; word-break: break-all; }
.check-list li { font-size: 13px; color: var(--ink-soft); padding: 6px 0 6px 20px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* 商品详情 */
.prod-layout { display: grid; grid-template-columns: 400px 1fr; gap: 30px; padding: 32px 0 50px; align-items: start; }
.prod-visual { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.prod-visual img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.prod-info { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.prod-info h1 { font-size: 22px; font-family: var(--serif); }
.prod-price-line { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.prod-price-line .p { color: var(--red); font-size: 32px; font-weight: 800; }
.prod-price-line .s { font-size: 13px; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; }
.spec-table td { border: 1px solid var(--line); padding: 8px 14px; font-size: 13.5px; }
.spec-table td:first-child { background: var(--panel-warm); color: var(--muted); width: 96px; }
.prod-actions { display: flex; gap: 12px; margin-top: 18px; }
.comment-block { margin-top: 26px; }
.comment-item { border-bottom: 1px dashed var(--line-strong); padding: 14px 0; }
.comment-item:last-child { border-bottom: none; }
.comment-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.comment-user { font-weight: 700; color: var(--ink-soft); }
.comment-stars { color: var(--amber); letter-spacing: 2px; }
.comment-date { margin-left: auto; font-size: 12px; color: var(--faint); }
.comment-text { font-size: 14px; color: var(--ink-soft); margin: 6px 0 0; }

/* ===== 表单 ===== */
.form-page { max-width: 460px; margin: 46px auto 60px; }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; }
.form-card h1 { font-family: var(--serif); font-size: 23px; text-align: center; margin-bottom: 6px; }
.form-card .form-sub { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px 13px; font-size: 14px; background: #fff; outline: none; transition: border-color .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 96px; }
.field-error { font-size: 12.5px; color: var(--red); margin-top: 5px; display: none; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: var(--red); background: #F5F3EC; }
.form-field.has-error .field-error { display: block; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row input { flex: 1; }
.captcha-canvas { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; flex: none; }
.agree-line { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 14px 0 18px; }
.agree-line a { color: var(--accent); }
.agree-line a:hover { text-decoration: underline; }
.form-switch { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-switch a { color: var(--accent); font-weight: 600; }

/* ===== 购物车 ===== */
.cart-table { width: 100%; border-collapse: collapse; background: var(--panel); }
.cart-table th { background: var(--panel-warm); font-size: 13px; color: var(--muted); font-weight: 600; padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.qty-ctl { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.qty-ctl button { width: 30px; height: 30px; background: var(--panel-warm); border: none; font-size: 15px; }
.qty-ctl span { width: 42px; text-align: center; font-size: 14px; }
.cart-summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.cart-total { font-size: 15px; }
.cart-total strong { color: var(--red); font-size: 26px; font-weight: 800; }

/* ===== 个人中心 / 后台 ===== */
.dash-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 30px 0 56px; align-items: start; }
.dash-aside { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 96px; }
.dash-user { padding: 20px; border-bottom: 1px solid var(--line); background: var(--panel-warm); }
.dash-user strong { display: block; font-size: 15px; }
.dash-user span { font-size: 12.5px; color: var(--muted); }
.dash-nav button { display: block; width: 100%; text-align: left; padding: 12px 20px; background: none; border: none; border-left: 3px solid transparent; font-size: 14px; color: var(--ink-soft); }
.dash-nav button:hover { background: var(--panel-warm); }
.dash-nav button.active { border-left-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; }
.dash-main { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; min-height: 420px; }
.dash-main h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--accent); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-box { background: var(--panel-warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.stat-box strong { display: block; font-size: 24px; color: var(--accent-deep); }
.stat-box span { font-size: 12.5px; color: var(--muted); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--line-strong); white-space: nowrap; }
.data-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: top; }
.data-table .t-title { max-width: 300px; }
.badge { display: inline-block; font-size: 12px; padding: 1px 9px; border-radius: 3px; font-weight: 600; }
.badge-ok { background: var(--accent-soft); color: var(--accent-deep); }
.badge-wait { background: var(--amber-soft); color: #B25E00; }
.badge-off { background: #EFEBE0; color: var(--muted); }
.badge-pay { background: #F2F2F2; color: var(--red); }
.notice-strip { background: #F8F1E2; border: 1px solid #E8DCB8; color: #7C5A24; border-radius: var(--radius-sm); padding: 10px 16px; font-size: 13.5px; margin-bottom: 18px; }
.record-row { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; align-items: center; }
.record-row strong { font-size: 14px; }
.record-row .muted { color: var(--muted); }

/* ===== 协议页 ===== */
.doc-layout { padding: 40px 0 60px; }
.doc-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px; }
.doc-card h1 { font-family: var(--serif); font-size: 26px; text-align: center; letter-spacing: 2px; }
.doc-intro { text-align: center; color: var(--muted); font-size: 14px; max-width: 720px; margin: 12px auto 26px; }
.doc-card h3 { font-size: 15.5px; margin: 22px 0 8px; color: var(--accent-deep); }
.doc-card p { font-size: 14.5px; color: var(--ink-soft); text-align: justify; }

/* ===== 页脚 ===== */
.site-footer { background: linear-gradient(180deg, #141414 0%, #1A1A1A 100%); color: #B3B3B3; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; padding: 46px 0 34px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 6px 14px; background: #fff; border-radius: 9px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand img.brand-mark { width: auto; height: 32px; max-width: 170px; object-fit: contain; }
.footer-grid p { font-size: 13px; line-height: 1.8; }
.footer-col h4 { color: #E2E8E0; font-size: 14.5px; margin-bottom: 14px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: #B3B3B3; padding: 3px 0; }
.footer-col a:hover { color: #CFDCD3; }
.copyright { border-top: 1px solid #161616; padding: 16px 0; font-size: 12.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.copyright a { color: #676767; }
.copyright a:hover { color: #fff; }
.tech-support { color: #4A4A4A; font-size: 12px; }

/* ===== 商家入驻 ===== */
.ma-banner { background: linear-gradient(135deg, #1A1A1A 0%, #2C55A2 100%); color: #fff; padding: 44px 0; }
.ma-banner-eyebrow { font-size: 13px; letter-spacing: 3px; margin-bottom: 10px; opacity: .9; }
.ma-banner h1 { font-family: var(--serif); font-size: 32px; letter-spacing: 1px; }
.ma-banner p { color: #DDE6DD; margin: 10px 0 0; font-size: 15px; max-width: 640px; }
.ma-layout { padding-top: 30px; }
.ma-intro-hero { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 22px; }
.ma-intro-hero h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.ma-intro-hero p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.ma-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.ma-benefit { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.ma-benefit strong { display: block; font-size: 15px; color: var(--accent-deep); margin-bottom: 6px; padding-bottom: 8px; border-bottom: 2px solid var(--amber-soft); }
.ma-benefit p { font-size: 12.5px; color: var(--muted); margin: 0; }
.ma-steps { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 22px; }
.ma-steps h3 { font-size: 16px; margin-bottom: 16px; color: var(--ink); }
.ma-steps-grid { display: flex; align-items: center; gap: 8px; }
.ma-step { flex: 1; text-align: center; }
.ma-step h4 { font-size: 14px; margin: 8px 0 4px; }
.ma-step p { font-size: 12px; color: var(--muted); margin: 0; }
.m-step-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; align-items: center; justify-content: center; }
.ma-step-arrow { color: var(--line-strong); font-size: 18px; flex: none; }
.ma-conditions { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 26px; }
.ma-conditions h3 { font-size: 16px; margin-bottom: 10px; color: var(--ink); }
.ma-form-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; }
.m-form-title { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; padding-left: 12px; border-left: 4px solid var(--amber); }
.m-form-desc { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.required { color: var(--red); }
.m-form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.m-step-no { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--panel-warm); border: 1px solid var(--line-strong); color: var(--muted); font-size: 13px; font-weight: 700; align-items: center; justify-content: center; }
#merchantStepBar { display: flex; gap: 8px; margin-bottom: 24px; padding: 0; }
#merchantStepBar li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 6px 14px; border-radius: 999px; background: var(--panel-warm); border: 1px solid var(--line); }
#merchantStepBar li.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); font-weight: 700; }
#merchantStepBar li.active .m-step-no { background: var(--accent); border-color: var(--accent); color: #fff; }
#merchantStepBar li.done { color: var(--accent-deep); }
#merchantStepBar li.done .m-step-no { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.ma-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ma-cat-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; cursor: pointer; transition: all .15s; background: #fff; }
.ma-cat-check:hover { border-color: var(--accent); }
.ma-cat-check input { accent-color: var(--accent); }
.form-field.has-error .ma-categories { border: 1px solid var(--red); border-radius: var(--radius-sm); padding: 6px; background: #F5F3EC; }
.ma-confirm-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.ma-confirm-section { background: var(--panel-warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; }
.ma-confirm-section h4 { font-size: 14px; color: var(--accent-deep); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-strong); }
.ma-confirm-row { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: 13.5px; }
.ma-confirm-row span { color: var(--muted); white-space: nowrap; }
.ma-confirm-row strong { font-weight: 600; text-align: right; word-break: break-all; }
.ma-status-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; max-width: 680px; margin: 0 auto; text-align: center; }
.ma-status-card h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px; }
.ma-status-card > p { color: var(--ink-soft); font-size: 14px; }
.ma-status-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; margin: 0 auto 16px; }
.ma-approved .ma-status-icon { background: var(--accent-soft); color: var(--accent-deep); }
.ma-pending .ma-status-icon { background: var(--amber-soft); color: var(--amber); }
.ma-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; text-align: left; background: var(--panel-warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin-top: 18px; }
.ma-info-grid > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.ma-info-grid > div:nth-last-child(-n+2) { border-bottom: none; }
.ma-info-grid span { color: var(--muted); white-space: nowrap; }
.ma-info-grid strong { font-weight: 600; text-align: right; word-break: break-all; }
.ma-mall-cta { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px dashed var(--amber); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 20px; transition: all .15s; }
.ma-mall-cta:hover { background: var(--amber-soft); border-style: solid; }
.ma-mall-cta-icon { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--amber); color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ma-mall-cta-text { font-size: 13.5px; color: var(--muted); flex: 1; }
.ma-mall-cta-text strong { color: var(--amber); font-size: 14.5px; margin-right: 4px; }
.ma-mall-cta-arrow { color: var(--amber); font-size: 13.5px; font-weight: 700; white-space: nowrap; }

/* ===== 弹窗 ===== */
.modal { position: fixed; inset: 0; background: rgba(23, 26, 31, 0.55); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal.show { display: flex; }
.modal-card { background: var(--panel); border-radius: var(--radius); width: min(440px, 100%); max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lift); }
.modal-card.wide { width: min(620px, 100%); }
.modal-topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); background: var(--panel-warm); }
.modal-topbar span { font-weight: 700; font-size: 14.5px; }
.modal-close-btn { background: none; border: none; font-size: 22px; line-height: 1; color: var(--muted); }
.modal-close-btn:hover { color: var(--ink); }
.modal-body { padding: 24px 26px; }
.modal-body h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.modal-actions { display: flex; gap: 12px; margin-top: 20px; justify-content: center; }
.pay-box { background: var(--panel-warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; margin: 14px 0; font-size: 13.5px; }
.pay-box > div { display: flex; justify-content: space-between; padding: 4px 0; }
.pay-code { text-align: center; margin: 8px 0; }
.pay-code img { width: 210px; height: 210px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 auto; background: #fff; padding: 8px; }
.pay-note { text-align: center; font-size: 12.5px; color: var(--muted); }
.modal-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--amber-soft); color: var(--amber); font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }

/* ===== 响应式安全 ===== */
@media (max-width: 980px) {
  .detail-layout, .prod-layout, .dash-layout { grid-template-columns: 1fr; }
  .cat-grid, .goods-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ma-benefits { grid-template-columns: repeat(2, 1fr); }
  .ma-categories { grid-template-columns: repeat(2, 1fr); }
  .ma-info-grid { grid-template-columns: 1fr; }
  .ma-steps-grid { flex-wrap: wrap; justify-content: center; }
  .ma-step-arrow { display: none; }
  .dir-row { grid-template-columns: 1fr; }
  .dir-side { border-left: none; border-top: 1px dashed var(--line-strong); padding: 10px 0 0; }
  .side-panel { position: static; }
  .dash-aside { position: static; }
  .site-nav { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-content h2 { font-size: 30px; }
  .hc-content { padding: 56px 0 66px; }
  .hc-arrow { display: none; }
}
@media (max-width: 560px) {
  .cat-grid, .goods-grid, .plan-grid, .stat-row, .footer-grid { grid-template-columns: 1fr; }
  .ma-benefits, .ma-categories { grid-template-columns: 1fr; }
  .hc-content h2 { font-size: 25px; }
  .hc-slide { min-height: 360px; }
  .ma-banner h1 { font-size: 26px; }
  .ma-info-grid { grid-template-columns: 1fr; }
  .ma-step { flex-basis: 45%; }
  .shell { width: calc(100% - 28px); }
  .svc-grid { grid-template-columns: 1fr; }
}

/* ===== 待开通支付（支付弹窗） ===== */
.pay-pending { margin: 14px auto 4px; padding: 20px 16px; border: 1px dashed #C9C9C9; border-radius: var(--radius); background: linear-gradient(180deg, #F5F3EC, #EFEFEF); max-width: 320px; }
.pay-pending-badge { display: inline-block; padding: 3px 14px; border-radius: 999px; background: var(--amber-soft); color: #B25E00; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; }
.pay-pending-title { display: block; margin-top: 10px; font-family: var(--serif); font-size: 20px; color: var(--ink); letter-spacing: 2px; }
.pay-pending-sub { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ===== 商品详情页 ===== */
.goods-detail .gd-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 8px; }
.gd-h { font-size: 15px; color: var(--ink); margin: 18px 0 10px; padding-left: 10px; border-left: 3px solid var(--accent); font-family: var(--serif); }
.gd-specs { margin: 0; padding: 0; list-style: none; }
.gd-specs li { padding: 8px 10px; font-size: 13.5px; color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.gd-specs li::before { content: "◆"; color: var(--accent); margin-right: 8px; font-size: 11px; }
.detail-mt { margin-top: 16px; }

/* ===== 结算表单（提交订单弹窗） ===== */
.modal-card.wide .modal-body { padding: 22px 26px 26px; }
.co-scroll { max-height: 62vh; overflow: auto; padding-right: 6px; }
.co-sec { margin-bottom: 22px; }
.co-sec h3 { font-family: var(--serif); font-size: 15.5px; color: var(--ink); margin-bottom: 12px; padding-left: 10px; border-left: 3px solid var(--amber); }
.co-field { display: grid; grid-template-columns: 92px 1fr; align-items: center; margin-bottom: 10px; font-size: 13.5px; color: var(--ink-soft); }
.co-field span { color: var(--muted); }
.co-field input { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 14px; width: 100%; transition: border-color .15s; }
.co-field input:focus { outline: none; border-color: var(--accent); }
.co-goods { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.co-goods-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.co-goods-row:last-child { border-bottom: none; }
.cg-name { flex: 1; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-x { color: var(--muted); font-size: 13px; }
.cg-sub { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.co-goods-total { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; background: var(--panel-warm); font-size: 13.5px; color: var(--muted); }
.co-goods-total strong { color: var(--ink); font-size: 16px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt-card { position: relative; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; font-size: 13px; transition: all .15s; }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.opt-card .opt-label { font-weight: 700; color: var(--ink); }
.opt-card .opt-fee { color: var(--red); font-weight: 700; font-size: 15px; }
.opt-card .opt-fee-empty { color: var(--faint); }
.opt-card em { font-style: normal; font-size: 12px; color: var(--muted); }
.opt-card.on em { color: var(--accent); }
.co-footer { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel-warm); margin-top: 4px; }
.co-total { font-size: 14px; color: var(--ink-soft); }
.co-total strong { color: var(--red); font-size: 24px; font-weight: 800; }
.co-fee-note { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ===== v4 高端彩色附加层 ===== */
.hero-carousel::before {
  content: ""; position: absolute; right: 5%; top: -160px; width: 480px; height: 480px;
  border-radius: 50%; background: radial-gradient(circle, rgba(44, 85, 162,0.42) 0%, transparent 62%);
  z-index: 1; pointer-events: none;
}
.hero-carousel::after {
  content: ""; position: absolute; right: 26%; bottom: -200px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(169, 190, 224,0.36) 0%, transparent 62%);
  z-index: 1; pointer-events: none;
}
.cat-grid .cat-card:nth-child(4n+1) .cat-no { background: #E8EEF9; color: #2C55A2; }
.cat-grid .cat-card:nth-child(4n+2) .cat-no { background: #E8EEF9; color: #2C55A2; }
.cat-grid .cat-card:nth-child(4n+3) .cat-no { background: #E8EEF9; color: #2C55A2; }
.cat-grid .cat-card:nth-child(4n+4) .cat-no { background: #E8EEF9; color: #1E3F7A; }
.cat-grid .cat-card { border-radius: 12px; }
.cat-grid .cat-card:hover { transform: translateY(-3px); border-color: #CFDCD3; }
.site-nav a { color: #C7C7C7; }
.site-nav a:hover { color: #fff; }
.site-nav a.is-active { color: #fff; border-bottom-color: #A9BEE0; }

/* ==========================================================================
   v5「松墨 · 编目」全面重设计层 —— 2026-10-28 南京苏迪科技有限公司
   色系：松墨绿 + 铜金 + 暖象牙；字体：衬线标题（编辑部风）+ 黑体正文；
   排版：细线编目、扁平按钮、去渐变高光
   ========================================================================== */
:root {
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow: 0 1px 2px rgba(26, 26, 26, .05);
  --shadow-lift: 0 12px 28px rgba(26, 26, 26, .12);
}
body { font-family: var(--sans); }
.shell { width: min(1160px, calc(100% - 44px)); }
.section { padding: 44px 0; }
.section-head h2 { font-size: 28px; letter-spacing: .04em; }
.cat-grid { gap: 14px; }
.dir-list { gap: 10px; }
.goods-grid { gap: 16px; }
.plan-grid { gap: 16px; }
.cat-grid .cat-card { border-radius: 8px; }
.site-header { box-shadow: 0 1px 0 rgba(26, 26, 26, .06); }

/* —— 阴影全面扁平化（编目风） —— */
.cat-card, .dir-card, .goods-card, .side-card, .plan-card, .detail-panel,
.dash-side, .modal-card, .gd-gallery, .gd-buy, .hero-side-card {
  box-shadow: none;
}
.cat-card:hover, .dir-card:hover, .goods-card:hover { box-shadow: 0 10px 24px rgba(26, 26, 26, .09); }

/* —— 标题衬线化 —— */
h1, h2, h3,
.section-head h2, .dc-title, .cat-name, .plan-name, .gd-h,
.detail-panel h2, .side-card h4, .dash-main h2, .co-sec h3,
.page-head h1, .mall-banner h1, .hero-title {
  font-family: var(--serif);
  letter-spacing: .02em;
}
.dc-title, .gd-h, .dash-main h2, .detail-panel h2 { font-weight: 700; }

/* —— 顶栏 / 头部：白昼编辑部 —— */
.topbar { background: #262626; color: #C7C7C7; }
.topbar a { color: #D9D9D9; }
.site-header { background: #FFFFFF; border-bottom: 1px solid #E5E5E5; }
.header-inner .brand {
  background: transparent; border: none; box-shadow: none;
  padding: 0; border-radius: 0;
}
.site-nav a { color: #3A4A42; font-weight: 600; }
.site-nav a:hover { color: #2C55A2; }
.site-nav a.is-active { color: #2C55A2; border-bottom-color: #2C55A2; }
.account-name { color: #1A1A1A; }
.menu-toggle { color: #1A1A1A; }
.btn-ghost {
  color: #1A1A1A; border: 1.5px solid #D0D0D0; background: transparent;
}
.btn-ghost:hover { border-color: #2C55A2; color: #2C55A2; background: #FFFFFF; }

/* —— 英雄区：松墨深底 + 铜金点缀 —— */
.hero-carousel::before, .hero-carousel::after { display: none; }
.hc-rule { width: 44px; height: 3px; background: #2C55A2; margin: 14px 0 12px; }
.hc-note { margin: 10px 0 0; font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .62); }
.hc-eyebrow {
  background: transparent; border: 1px solid rgba(255, 255, 255, .38);
  color: #B9CAE8; letter-spacing: .18em;
}
.hc-lead em {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: #A9BEE0; color: #A9BEE0; font-style: italic;
  font-family: var(--serif);
}
.hc-actions .btn-line { border-color: rgba(255, 255, 255, .55); color: #E8EEF9; }
.hc-arrow { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }
.hc-dot { border-color: rgba(255, 255, 255, .55); }
.hc-dot.active { background: #A9BEE0; border-color: #A9BEE0; }

/* —— 按钮扁平化 —— */
.btn { box-shadow: none; }
.btn-amber { background: #2C55A2; box-shadow: none; }
.btn-amber:hover { background: #1E3F7A; }
.btn-teal { background: #2C55A2; box-shadow: none; }
.btn-teal:hover { background: #164434; }
.btn-line { color: #1A1A1A; border-color: #D0D0D0; background: transparent; }
.btn-line:hover { border-color: #2C55A2; color: #2C55A2; }

/* —— 编目卡片：细线 + 顶部色签 —— */
.cat-card { border: 1px solid #E5E5E5; border-top: 3px solid #2C55A2; box-shadow: none; }
.cat-card:nth-child(even) { border-top-color: #2C55A2; }
.cat-no, .cat-grid .cat-card:nth-child(n) .cat-no {
  background: transparent; color: #2C55A2; border: none;
  font-family: var(--serif); font-size: 30px; font-weight: 700;
  padding: 0; width: auto; height: auto; border-radius: 0;
  border-bottom: 3px solid #E5E5E5; box-shadow: none;
}

/* —— 信息列表：编辑部横排 —— */
.dir-card {
  border: 1px solid #E5E5E5; border-left: 3px solid #E5E5E5;
  border-radius: 8px; box-shadow: none; background: #FFFFFF;
}
.dir-card:hover {
  border-left-color: #2C55A2; border-color: #D0D0D0;
  transform: none; box-shadow: 0 10px 26px rgba(26, 26, 26, .1);
}
.is-rec { background: #E8EEF9; color: #B25E00; }

/* —— 商品 / 价格衬线 —— */
.g-media { background: #F5F6F7; }
.goods-card { border: 1px solid #E5E5E5; box-shadow: none; }
.goods-card:hover { box-shadow: 0 12px 28px rgba(26, 26, 26, .12); }
.prod-price-line .p, .plan-price, .sum-line b, .price { font-family: var(--serif); }
.plan-card.hot { border: 2px solid #2C55A2; }
.plan-badge { background: #2C55A2; }

/* —— 分区标题铜金短线 —— */
.eyebrow { color: #B25E00; letter-spacing: .18em; text-transform: uppercase; }
.section-head h2 { color: #1A1A1A; }

/* —— 服务条衬线编号 —— */
.svc-num { font-family: var(--serif); color: #A9BEE0; }

/* —— 徽记 / 状态 —— */
.badge-ok { background: #E8EEF9; color: #2C55A2; }
.badge-wait { background: #E8EEF9; color: #B25E00; }
.comment-stars, .gd-meta .stars { color: #2C55A2; }

/* —— 侧栏 / 后台 —— */
.side-card h4::before { background: #2C55A2; }
.dash-side { background: #FFFFFF; border: 1px solid #E5E5E5; }
.side-nav a.on { background: #2C55A2; color: #FFFFFF; }
.gd-h, .dash-main h2 { border-left: 4px solid #2C55A2; }
.co-sec h3 { border-left: 4px solid #2C55A2; }

/* —— 页脚 —— */
.site-footer { background: #1A1A1A; }
.footer-col h4 { color: #A9BEE0; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .14); }

/* ==========================================================================
   v6「华为风」全面重设计层 —— 2026-10-28 参照华为官网
   白底 + 近黑文字 + 华为红 #2C55A2 点缀；全无衬线（HarmonyOS Sans 优先）；
   扁平卡片 + 悬停浮起；浅灰分区与页脚；去衬线去渐变
   ========================================================================== */
:root {
  --sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --serif: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --ink: #1A1A1A; --ink-soft: #333333; --muted: #6B6B6B; --faint: #999999;
  --bg: #FFFFFF; --panel: #FFFFFF; --panel-warm: #F7F7F7;
  --line: #E5E5E5; --line-strong: #D0D0D0;
  --dark: #1A1A1A; --dark-2: #262626;
  --accent: #2C55A2; --accent-deep: #1E3F7A; --accent-soft: #E8EEF9;
  --amber: #FA9D00; --amber-soft: #FFF4E5;
  --red: #2C55A2;
  --shadow: 0 2px 10px rgba(0, 0, 0, .06);
  --shadow-lift: 0 14px 30px rgba(0, 0, 0, .14);
}
body { background: #FFFFFF; color: #1A1A1A; }
h1, h2, h3, .section-head h2, .dc-title, .cat-name, .plan-name, .gd-h,
.detail-panel h2, .side-card h4, .dash-main h2, .co-sec h3,
.page-head h1, .mall-banner h1 { letter-spacing: 0; font-weight: 700; }

/* —— 顶栏 / 头部 —— */
.topbar { background: #262626; color: #C7C7C7; }
.topbar a { color: #E5E5E5; }
.site-header { background: #FFFFFF; border-bottom: 1px solid #E5E5E5; box-shadow: none; }
.site-nav a { color: #333333; font-weight: 500; }
.site-nav a:hover { color: #2C55A2; }
.site-nav a.is-active { color: #2C55A2; border-bottom-color: #2C55A2; }
.account-name { color: #1A1A1A; }
.btn-ghost { color: #333333; border: 1.5px solid #D0D0D0; background: #FFFFFF; }
.btn-ghost:hover { border-color: #2C55A2; color: #2C55A2; background: #FFFFFF; }

/* —— 英雄区：黑色渐隐遮罩 + 白字 —— */
.hc-shade { background: linear-gradient(90deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.38) 55%, rgba(8,8,8,.08) 100%); }
.hc-eyebrow { background: transparent; border: none; color: #E3E3E3; letter-spacing: .3em; font-size: 13px; }
.hc-lead { color: #F2F2F2; }
.hc-lead em {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: #FFFFFF; color: #FFFFFF; font-style: normal; font-weight: 700;
  font-family: var(--sans);
}
.hc-rule { background: #2C55A2; }
.hc-note { color: rgba(255, 255, 255, .55); letter-spacing: .12em; }
.hc-actions .btn-line { border-color: rgba(255, 255, 255, .6); color: #FFFFFF; background: transparent; }
.hc-actions .btn-line:hover { background: #FFFFFF; color: #1A1A1A; border-color: #FFFFFF; }
.hc-arrow { background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .3); }
.hc-dot { border-color: rgba(255, 255, 255, .6); }
.hc-dot.active { background: #2C55A2; border-color: #2C55A2; }

/* —— 按钮体系：红主 / 黑次 / 灰线 —— */
.btn { box-shadow: none; border-radius: 6px; }
.btn-amber { background: #2C55A2; }
.btn-amber:hover { background: #1E3F7A; }
.btn-teal { background: #1A1A1A; }
.btn-teal:hover { background: #000000; }
.btn-line { color: #333333; border-color: #D0D0D0; background: #FFFFFF; }
.btn-line:hover { border-color: #2C55A2; color: #2C55A2; }

/* —— 分区标题 —— */
.eyebrow { color: #2C55A2; letter-spacing: .22em; text-transform: uppercase; }
.section-head h2 { color: #1A1A1A; }
.section-head .sh-note, .section-head p { color: #999999; }

/* —— 编目卡：无彩色顶边，悬停浮起 —— */
.cat-card, .cat-card:nth-child(even) { border: 1px solid #E5E5E5; box-shadow: none; }
.cat-card:hover { border-color: #E5E5E5; box-shadow: 0 14px 30px rgba(0, 0, 0, .12); transform: translateY(-4px); }
.cat-no, .cat-grid .cat-card:nth-child(n) .cat-no {
  background: transparent; color: #2C55A2; border: none; border-bottom: none;
  font-family: var(--sans); font-size: 26px; font-weight: 800;
  padding: 0; width: auto; height: auto; border-radius: 0; box-shadow: none;
}

/* —— 信息列表：白卡 + 悬停浮起 —— */
.dir-card { border: 1px solid #E5E5E5; border-left: 1px solid #E5E5E5; border-radius: 8px; box-shadow: none; }
.dir-card:hover { border-color: #E5E5E5; border-left-color: #2C55A2; box-shadow: 0 12px 28px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.is-rec { background: #E8EEF9; color: #2C55A2; }

/* —— 服务条：浅灰横带 —— */
.svc-strip { background: #FAFAFA; border-top: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5; }
.svc-item strong { color: #1A1A1A; }
.svc-item span { color: #6B6B6B; }
.svc-num { color: #2C55A2; font-family: var(--sans); }

/* —— 商品卡：白底细线 + 红价 —— */
.goods-card { border: 1px solid #E5E5E5; box-shadow: none; border-radius: 8px; }
.goods-card:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, .1); }
.g-media { background: #F7F7F7; }
.prod-price-line .p, .plan-price, .sum-line b, .price { color: #2C55A2; }
.plan-card.hot { border: 2px solid #2C55A2; }
.plan-badge { background: #2C55A2; }

/* —— 徽记 / 状态 —— */
.badge-ok { background: #EAF7EF; color: #1F7A3D; }
.badge-wait { background: #FFF4E5; color: #B25E00; }
.comment-stars, .gd-meta .stars { color: #FA9D00; }

/* —— 后台 / 侧栏 / 表单 —— */
.side-card h4::before { background: #2C55A2; }
.dash-side { background: #FFFFFF; border: 1px solid #E5E5E5; }
.side-nav a.on { background: #2C55A2; color: #FFFFFF; }
.gd-h, .dash-main h2 { border-left: 4px solid #2C55A2; }
.co-sec h3 { border-left: 4px solid #2C55A2; }
.filter-bar button.active { background: #2C55A2; }
.page-btn.is-current { background: #2C55A2; }
.m-step-num { background: #2C55A2; }
.opt-card.on { border-color: #2C55A2; background: #E8EEF9; }
.pay-pending { background: #F7F7F7; }
.announce { background: #FFF4E5; color: #B25E00; }

/* —— 商城 / 商家横幅：浅灰 —— */
.mall-banner, .page-head { background: #FAFAFA; color: #1A1A1A; border-bottom: 1px solid #E5E5E5; }
.mall-banner::after { display: none; }
.mall-banner h1, .page-head h1 { color: #1A1A1A; }
.mall-banner p, .page-head p { color: #6B6B6B; }
.mall-svc span { color: #6B6B6B; }

/* —— 页脚：浅灰 —— */
.site-footer { background: #F5F6F7; color: #6B6B6B; }
.footer-col h4 { color: #1A1A1A; }
.footer-brand { background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.copyright { border-top: 1px solid #E5E5E5; color: #999999; }
.copyright a { color: #999999; }
.tech-support { color: #999999; }

/* —— v6 修正：推荐行保白底红签、服务条白卡、标签红系 —— */
.dir-row.is-rec { background: #FFFFFF; border-left-color: #2C55A2; }
.svc-item { background: #FFFFFF; border: 1px solid #E5E5E5; }
.tag-rec { color: #2C55A2; background: #E8EEF9; }
.login-hint { color: #B25E00; }

/* —— v6 修正：顶栏文字统一浅灰 + 强制灰阶抗锯齿（消除暗底子像素彩边） —— */
.topbar, .topbar span { color: #C7C7C7; -webkit-font-smoothing: antialiased; }
.topbar a { color: #E5E5E5; }

/* —— v6 修正：评星保持琥珀语义色（勿随品牌红） —— */
.comment-stars, .gd-meta .stars { color: #FA9D00; }

/* ==========================================================================
   v7 商城展示级重设计层 —— 2026-10-29 仅 mall 页（.m7- 前缀隔离）
   展示级字体体系（重大字重/紧字距/数字专用栈）+ 斜切红块 HERO
   + 热卖横滑轨道 + 广告拼贴位 + 销量排行榜
   ========================================================================== */
:root {
  --display: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --num: "Segoe UI", "Helvetica Neue", "HarmonyOS Sans SC", Arial, sans-serif;
}
[data-page="mall"] .shell { width: min(1240px, calc(100% - 40px)); }
[data-page="mall"] main h1, [data-page="mall"] main h2, [data-page="mall"] main h3 {
  font-family: var(--display); letter-spacing: -0.5px;
}

/* —— 区块标题（红竖条 + 英文 kicker + 展示级大字） —— */
.m7-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.m7-head-left { padding-left: 18px; border-left: 6px solid #2C55A2; }
.m7-head-left .m7-kicker {
  margin: 0 0 6px; color: #2C55A2; font-family: var(--num);
  font-size: 12.5px; font-weight: 700; letter-spacing: .28em;
}
.m7-head-left h2 { font-size: 34px; font-weight: 900; line-height: 1.2; }
.m7-head-left .m7-sub { margin: 6px 0 0; color: #6B6B6B; font-size: 13.5px; }

/* —— HERO：深墨底 + 斜切红块 + 悬浮商品卡 —— */
.m7-hero { position: relative; background: #141414; color: #FFFFFF; overflow: hidden; }
.m7-hero::before {
  content: ""; position: absolute; right: -150px; top: -90px; width: 620px; height: 140%;
  background: linear-gradient(160deg, #2C55A2 0%, #1E3F7A 100%);
  transform: skewX(-13deg);
}
.m7-hero::after {
  content: ""; position: absolute; right: 470px; top: -60px; width: 74px; height: 140%;
  background: rgba(44, 85, 162, 0.35); transform: skewX(-13deg);
}
.m7-hero-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: 36px; align-items: center; padding: 66px 0 72px;
}
.m7-hero-kicker {
  margin: 0 0 18px; color: rgba(255, 255, 255, 0.6);
  font-family: var(--num); font-size: 13px; font-weight: 600; letter-spacing: .35em;
}
.m7-hero-title { font-size: clamp(44px, 5.4vw, 72px); font-weight: 900; line-height: 1.14; letter-spacing: -1px; }
.m7-hero-title em {
  font-style: normal; display: inline-block; margin-top: 10px;
  background: #2C55A2; color: #FFFFFF; padding: 2px 20px 4px;
}
.m7-hero-lead { margin: 22px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 15.5px; max-width: 460px; }
.m7-hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.m7-btn-lg { padding: 12px 30px; font-size: 15.5px; border-radius: 6px; }
.m7-btn-ghost-dark { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.55); color: #FFFFFF; }
.m7-btn-ghost-dark:hover { background: #FFFFFF; border-color: #FFFFFF; color: #141414; }
.m7-hero-svc { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.m7-hero-svc li { color: rgba(255, 255, 255, 0.78); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.m7-hero-svc i { font-style: normal; font-family: var(--num); font-size: 12px; font-weight: 800; color: #2C55A2; }
.m7-hero-stack { position: relative; min-height: 500px; }
.m7-float-card {
  position: absolute; width: 232px; display: block; background: #FFFFFF; color: #1A1A1A;
  border-radius: 12px; padding: 10px 10px 14px; box-shadow: 0 24px 54px rgba(0, 0, 0, 0.4);
  transition: transform .22s, box-shadow .22s;
}
.m7-fc-badge {
  position: absolute; top: -12px; left: 12px; z-index: 2;
  background: #2C55A2; color: #FFFFFF; font-family: var(--num); font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; letter-spacing: .04em;
}
.m7-fc-media { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #F7F7F7; }
.m7-fc-media img { width: 100%; height: 100%; object-fit: cover; }
.m7-fc-name {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  margin: 10px 2px 4px; font-size: 14px; font-weight: 600;
}
.m7-fc-price { margin: 0 2px; color: #2C55A2; font-family: var(--num); font-size: 18px; font-weight: 800; }
.m7-fc-1 { top: 0; right: 5%; transform: rotate(2.2deg); z-index: 3; }
.m7-fc-2 { top: 29%; right: 42%; transform: rotate(-2.4deg); z-index: 2; }
.m7-fc-3 { top: 58%; right: 8%; transform: rotate(1.4deg); z-index: 1; }
.m7-float-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 30px 60px rgba(44, 85, 162, 0.35); z-index: 5; }

/* —— 服务承诺条 —— */
.m7-pledge { background: #FAFAFA; border-bottom: 1px solid #E5E5E5; }
.m7-pledge-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.m7-pledge-item { display: flex; gap: 12px; align-items: flex-start; padding: 20px 18px 20px 0; }
.m7-pledge-item + .m7-pledge-item { border-left: 1px solid #E5E5E5; padding-left: 18px; }
.m7-pledge-item i { font-style: normal; font-family: var(--num); font-size: 20px; font-weight: 800; color: #2C55A2; line-height: 1.2; }
.m7-pledge-item strong { display: block; font-size: 14.5px; font-weight: 700; }
.m7-pledge-item span { display: block; margin-top: 2px; color: #6B6B6B; font-size: 12.5px; }

/* —— 热卖区：横滑轨道 —— */
.m7-hot { padding: 56px 0 10px; }
.m7-hot-nav { display: flex; gap: 10px; }
.m7-hot-nav button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #D0D0D0;
  background: #FFFFFF; color: #333333; font-size: 20px; line-height: 1; transition: all .15s;
}
.m7-hot-nav button:hover { border-color: #2C55A2; color: #2C55A2; }
.m7-hot-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 236px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 14px;
  scrollbar-width: none;
}
.m7-hot-track::-webkit-scrollbar { display: none; }
.m7-hot-card {
  position: relative; scroll-snap-align: start; display: block; background: #FFFFFF;
  border: 1px solid #E5E5E5; border-radius: 10px; overflow: hidden; transition: all .18s;
}
.m7-hot-card:hover { border-color: transparent; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12); transform: translateY(-4px); }
.m7-hot-flag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: #2C55A2; color: #FFFFFF; font-family: var(--num); font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 3px;
}
.m7-hot-media { display: block; aspect-ratio: 4 / 3; background: #F7F7F7; overflow: hidden; }
.m7-hot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.m7-hot-card:hover .m7-hot-media img { transform: scale(1.05); }
.m7-hot-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin: 12px 12px 6px; font-size: 14px; font-weight: 600; line-height: 1.5; min-height: 42px;
}
.m7-hot-foot { display: flex; align-items: baseline; justify-content: space-between; margin: 0 12px 14px; }
.m7-hot-price { font-style: normal; color: #2C55A2; font-family: var(--num); font-size: 18px; font-weight: 800; }
.m7-hot-foot i { font-style: normal; color: #999999; font-size: 12px; }

/* —— 广告区：拼贴位 —— */
.m7-ads { padding: 30px 0 54px; }
.m7-ads-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 198px); gap: 16px; }
.m7-ad { position: relative; display: flex; align-items: flex-end; border-radius: 12px; overflow: hidden; cursor: pointer; background: #1A1A1A; }
.m7-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.m7-ad:hover img { transform: scale(1.05); }
.m7-ad::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0.78) 100%); }
.m7-ad-lg { grid-row: 1 / 3; }
.m7-ad-mark {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(0, 0, 0, 0.45); color: rgba(255, 255, 255, 0.85);
  font-size: 11px; padding: 2px 8px; border-radius: 3px; letter-spacing: 2px;
}
.m7-ad-body { position: relative; z-index: 1; padding: 20px 24px; color: #FFFFFF; }
.m7-ad-kicker { display: block; font-style: normal; font-family: var(--num); font-size: 11.5px; font-weight: 600; letter-spacing: .25em; color: rgba(255, 255, 255, 0.72); }
.m7-ad-title { display: block; margin-top: 6px; font-size: 25px; font-weight: 900; font-family: var(--display); letter-spacing: -0.5px; }
.m7-ad-lg .m7-ad-title { font-size: 32px; }
.m7-ad-desc { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.78); font-size: 13.5px; }
.m7-ad-cta { display: inline-block; margin-top: 10px; color: #FFFFFF; font-size: 13.5px; font-weight: 600; transition: transform .15s, color .15s; }
.m7-ad:hover .m7-ad-cta { color: #3D5FA0; transform: translateX(4px); }

/* —— 排行榜 —— */
.m7-rank { padding: 10px 0 62px; }
.m7-rank-note { color: #999999; font-size: 12.5px; white-space: nowrap; }
.m7-rank-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 14px; }
.m7-pod {
  display: block; background: #FFFFFF; border: 1px solid #E5E5E5; border-radius: 12px;
  overflow: hidden; transition: all .18s;
}
.m7-pod:hover { border-color: transparent; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12); transform: translateY(-4px); }
.m7-pod-1 { border-top: 4px solid #2C55A2; }
.m7-pod-top { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px 10px; }
.m7-pod-no { font-family: var(--num); font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.m7-pod-1 .m7-pod-no { color: #2C55A2; }
.m7-pod-2 .m7-pod-no { color: #1A1A1A; }
.m7-pod-3 .m7-pod-no { color: #B9B9B9; }
.m7-pod-sold { color: #999999; font-size: 12.5px; }
.m7-pod-media { display: block; aspect-ratio: 16 / 9; background: #F7F7F7; overflow: hidden; }
.m7-pod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.m7-pod:hover .m7-pod-media img { transform: scale(1.04); }
.m7-pod-name {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  margin: 12px 16px 4px; font-size: 15px; font-weight: 700;
}
.m7-pod-meta {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  margin: 0 16px 10px; color: #999999; font-size: 12.5px;
}
.m7-pod-price { display: block; margin: 0 16px 16px; color: #2C55A2; font-family: var(--num); font-size: 20px; font-weight: 800; }
.m7-rank-rows { display: flex; flex-direction: column; gap: 8px; }
.m7-rank-row {
  display: grid; grid-template-columns: 44px 54px 1fr auto auto; gap: 14px; align-items: center;
  padding: 11px 18px 11px 12px; background: #FFFFFF; border: 1px solid #E5E5E5;
  border-radius: 10px; transition: all .15s;
}
.m7-rank-row:hover { border-color: #2C55A2; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); }
.m7-rr-no { font-family: var(--num); font-size: 21px; font-weight: 800; color: #1A1A1A; text-align: center; }
.m7-rr-thumb { width: 54px; height: 54px; border-radius: 8px; overflow: hidden; background: #F7F7F7; }
.m7-rr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m7-rr-name { min-width: 0; font-size: 14px; font-weight: 600; }
.m7-rr-name i { display: block; font-style: normal; margin-top: 2px; color: #999999; font-size: 12px; font-weight: 400; }
.m7-rr-sold { color: #999999; font-size: 12.5px; white-space: nowrap; }
.m7-rr-price { color: #2C55A2; font-family: var(--num); font-size: 16px; font-weight: 800; white-space: nowrap; }

/* —— 商品区衔接 —— */
.m7-goods-sec { padding: 8px 0 64px; scroll-margin-top: 92px; }
.m7-goods-sec .m7-head { margin-bottom: 20px; }
.m7-goods-sec .result-count { margin-bottom: 20px; }
[data-page="mall"] .ma-mall-cta { margin: 30px 0 34px; }

/* —— v7 响应式 —— */
@media (max-width: 1080px) {
  .m7-hero-title { font-size: 48px; }
  .m7-float-card { width: 200px; }
  .m7-head-left h2 { font-size: 28px; }
  .m7-ad-title { font-size: 21px; }
  .m7-ad-lg .m7-ad-title { font-size: 27px; }
}
@media (max-width: 920px) {
  .m7-hero-inner { grid-template-columns: 1fr; padding: 52px 0 56px; }
  .m7-hero-stack { display: none; }
  .m7-hero::before { width: 380px; right: -190px; opacity: .55; }
  .m7-hero::after { display: none; }
  .m7-pledge-grid { grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .m7-pledge-item:nth-child(3) { border-left: none; padding-left: 0; }
  .m7-ads-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 180px); }
  .m7-ad-lg { grid-row: auto; }
  .m7-hot-track { grid-auto-columns: 208px; }
}
@media (max-width: 640px) {
  .m7-pledge-grid { grid-template-columns: 1fr; }
  .m7-pledge-item + .m7-pledge-item { border-left: none; padding-left: 0; border-top: 1px solid #E5E5E5; }
  .m7-head { flex-direction: column; align-items: flex-start; }
  .m7-rank-podium { grid-template-columns: 1fr; }
  .m7-pod-media { aspect-ratio: 16 / 7; }
  .m7-rank-row { grid-template-columns: 34px 1fr auto; }
  .m7-rr-thumb, .m7-rr-sold { display: none; }
  .m7-hot-track { grid-auto-columns: 180px; }
  .m7-ad-body { padding: 16px 18px; }
  .m7-ad-title { font-size: 19px; }
}

/* ==========================================================================
   v7.1 首页信息区「编号档案 · 侧栏分类」—— 2026-10-29 仅 #infos（.d7- 前缀）
   左侧粘性分类导航（计数徽章 + 发布引导卡）+ 右侧编号档案列表
   ========================================================================== */
#infos .d7-head-left { padding-left: 18px; border-left: 6px solid #2C55A2; }
#infos .d7-kicker {
  margin: 0 0 6px; color: #2C55A2; font-family: var(--num);
  font-size: 12.5px; font-weight: 700; letter-spacing: .28em;
}
#infos .d7-head-left h2 { font-size: 34px; font-weight: 900; line-height: 1.2; letter-spacing: -0.5px; }
#infos .d7-sub { margin: 6px 0 0; color: #6B6B6B; font-size: 13.5px; max-width: none; }

/* —— 左右分栏 —— */
#infos .d7-layout { display: grid; grid-template-columns: 236px 1fr; gap: 28px; align-items: start; }

/* —— 侧栏：分类导航 —— */
#infos .d7-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
#infos .d7-rail-title { margin: 0; color: #999999; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; }
#infos .d7-rail-filter { display: flex; flex-direction: column; gap: 6px; }
#infos .d7-rail-filter button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left; padding: 11px 14px;
  background: #FFFFFF; border: 1px solid #E5E5E5; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #333333; transition: all .15s;
}
#infos .d7-rail-filter button em { font-style: normal; }
#infos .d7-rail-filter button i {
  font-style: normal; font-family: var(--num); font-size: 12px; font-weight: 700;
  color: #999999; background: #F2F2F2; border-radius: 10px; padding: 1px 8px; transition: all .15s;
}
#infos .d7-rail-filter button:hover { border-color: #2C55A2; color: #2C55A2; }
#infos .d7-rail-filter button.active { background: #2C55A2; border-color: #2C55A2; color: #FFFFFF; font-weight: 700; }
#infos .d7-rail-filter button.active i { background: rgba(255, 255, 255, 0.22); color: #FFFFFF; }
#infos .d7-rail-cta {
  display: block; background: #141414; color: #FFFFFF; border-radius: 10px; padding: 18px 16px 16px;
  transition: all .18s;
}
#infos .d7-rail-cta strong { display: block; font-size: 16px; font-weight: 800; }
#infos .d7-rail-cta span { display: block; margin-top: 5px; color: rgba(255, 255, 255, 0.62); font-size: 12.5px; }
#infos .d7-rail-cta i { display: block; margin-top: 12px; font-style: normal; color: #4A6FB5; font-size: 13px; font-weight: 700; transition: transform .15s; }
#infos .d7-rail-cta:hover { background: #2C55A2; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(44, 85, 162, 0.28); }
#infos .d7-rail-cta:hover i { color: #FFFFFF; transform: translateX(4px); }

/* —— 档案列表行：编号 | 内容 | 发布方 —— */
#infos .dir-list { display: flex; flex-direction: column; gap: 12px; }
#infos .dir-row {
  position: relative; display: grid; grid-template-columns: 64px 1fr 236px; gap: 18px; align-items: center;
  background: #FFFFFF; border: 1px solid #E5E5E5; border-radius: 10px;
  padding: 18px 22px 18px 10px; overflow: hidden; transition: all .16s;
}
#infos .dir-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: #2C55A2; transform: scaleY(0); transform-origin: top; transition: transform .18s;
}
#infos .dir-row:hover { border-color: #E5E5E5; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1); }
#infos .dir-row:hover::before { transform: scaleY(1); }
#infos .dir-no {
  font-family: var(--num); font-size: 27px; font-weight: 800; color: #D8D8D8;
  text-align: center; line-height: 1; letter-spacing: -1px; transition: color .16s;
}
#infos .dir-row:hover .dir-no { color: #2C55A2; }
#infos .dir-row.is-rec .dir-no { color: #2C55A2; }
#infos .dir-main { min-width: 0; }
#infos .dir-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
#infos .dir-row h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -0.2px; }
#infos .dir-row h3 a { transition: color .15s; }
#infos .dir-row h3 a:hover { color: #2C55A2; }
#infos .dir-summary { margin: 6px 0 0; color: #6B6B6B; font-size: 13.5px; }
#infos .dir-side {
  display: flex; flex-direction: column; gap: 3px; padding-left: 20px;
  border-left: 1px dashed #E0E0E0; min-width: 0;
}
#infos .dir-side strong {
  display: block; font-size: 14.5px; font-weight: 700; color: #1A1A1A;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
#infos .dir-side > span { color: #999999; font-size: 12.5px; }
#infos .dir-phone { color: #2C55A2; font-family: var(--num); font-size: 13.5px; font-weight: 700; }
#infos .dir-phone .login-hint { font-family: var(--sans); font-weight: 600; margin-left: 4px; }
#infos .dir-row.is-rec { background: #FFFFFF; }

/* —— v7.1 响应式 —— */
@media (max-width: 980px) {
  #infos .d7-layout { grid-template-columns: 1fr; gap: 18px; }
  #infos .d7-rail { position: static; }
  #infos .d7-rail-filter { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  #infos .d7-rail-filter::-webkit-scrollbar { display: none; }
  #infos .d7-rail-filter button { flex: none; width: auto; }
  #infos .d7-rail-cta { display: none; }
  #infos .dir-row { grid-template-columns: 48px 1fr; padding: 16px 18px 16px 8px; }
  #infos .dir-no { font-size: 21px; }
  #infos .dir-side { grid-column: 2; border-left: none; padding-left: 0; border-top: 1px dashed #E0E0E0; padding-top: 10px; margin-top: 4px; }
}
@media (max-width: 640px) {
  #infos .d7-head-left h2 { font-size: 26px; }
  #infos .dir-row { grid-template-columns: 38px 1fr; gap: 12px; }
  #infos .dir-no { font-size: 17px; }
  #infos .dir-row h3 { font-size: 16px; }
}

/* ==========================================================================
   v7.2 首屏大改「分屏 HERO · 斜切服务带 · 红色扫掠分类卡」—— 2026-10-29
   覆盖 hc- / svc- / cat- 类；页码指示器 01/03 + 线段进度点
   ========================================================================== */
/* —— HERO 分屏：左 54% 深墨文案 / 红色斜杠 / 右 46% 图片 —— */
.hero-carousel { background: #141414; }
.hc-slide { min-height: 540px; }
.hc-slide > img { left: 54%; width: 46%; }
.hc-slide::after {
  content: ""; position: absolute; left: 50.5%; top: -12px; bottom: -12px; width: 54px;
  background: #2C55A2; transform: skewX(-9deg); z-index: 1;
}
.hc-shade {
  left: 54%; width: 46%;
  background: linear-gradient(90deg, #141414 0%, rgba(20, 20, 20, 0.42) 34%, rgba(20, 20, 20, 0.12) 70%, rgba(20, 20, 20, 0.3) 100%);
}
.hc-content { max-width: 600px; padding: 64px 0 84px; }
.hc-eyebrow { color: #A9BEE0; }
.hc-content h2 {
  font-family: var(--display); font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 900; line-height: 1.16; letter-spacing: -1.5px; color: #FFFFFF;
}
.hc-content h2 em {
  font-style: normal; display: inline-block; margin-top: 10px;
  background: #2C55A2; color: #FFFFFF; padding: 0 16px 4px;
  -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #FFFFFF;
}
.hc-rule { display: none; }
.hc-lead { color: rgba(255, 255, 255, 0.62); font-size: 15px; margin: 18px 0 0; }
.hc-actions { margin-top: 26px; }
.hc-pager { position: relative; z-index: 2; margin-top: 40px; display: flex; align-items: baseline; gap: 8px; font-family: var(--num); }
.hc-pager b { font-size: 34px; font-weight: 800; color: #FFFFFF; line-height: 1; letter-spacing: -1px; }
.hc-pager i { font-style: normal; color: rgba(255, 255, 255, 0.35); font-size: 15px; }
.hc-pager span { color: rgba(255, 255, 255, 0.35); font-size: 14px; letter-spacing: 1px; }
.hc-dots { left: 27%; transform: translateX(-50%); bottom: 30px; gap: 8px; }
.hc-dot { width: 30px; height: 3px; border-radius: 0; background: rgba(255, 255, 255, 0.26); }
.hc-dot.active { width: 48px; background: #2C55A2; }

/* —— 服务保障：斜切深墨带 + 红序号块 —— */
.svc-strip { background: #FFFFFF; padding: 26px 0 0; }
.svc-grid { background: #141414; clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 30px 100%); }
.svc-item {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 24px 12px; background: transparent; border: none;
}
.svc-item i {
  font-style: normal; font-family: var(--num); font-size: 14px; font-weight: 800;
  color: #FFFFFF; background: #2C55A2; width: 34px; height: 34px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.svc-item strong {
  display: block; margin: 0; color: #FFFFFF;
  font-size: 15.5px; font-weight: 700; letter-spacing: 0.5px;
  -webkit-text-fill-color: #FFFFFF;
}
.svc-item + .svc-item { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.svc-item:hover i { background: #FFFFFF; color: #2C55A2; }

/* —— 分类导航：描边大数字 + hover 红色扫掠填充 —— */
.cat-grid { gap: 14px; }
.cat-grid .cat-sweep {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 178px; padding: 22px 22px 20px; border: 1px solid #E5E5E5; border-radius: 0;
  cursor: pointer;
}
.cat-grid .cat-sweep::before {
  content: ""; position: absolute; inset: 0; width: auto; height: auto; background: #2C55A2;
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.6, 0, .2, 1);
}
.cat-grid .cat-sweep:hover::before { transform: scaleX(1); }
.cat-grid .cat-sweep .cat-big {
  position: relative; z-index: 1; font-family: var(--num); font-size: 58px; font-weight: 800;
  line-height: 1; letter-spacing: -2px; color: transparent;
  -webkit-text-stroke: 1.5px #2C55A2; transition: all .2s;
}
.cat-grid .cat-sweep .cat-info { position: relative; z-index: 1; }
.cat-grid .cat-sweep h3 { font-size: 18px; font-weight: 900; letter-spacing: -0.3px; transition: color .2s; }
.cat-grid .cat-sweep p { margin: 7px 0 0; color: #6B6B6B; font-size: 13px; line-height: 1.6; transition: color .2s; }
.cat-grid .cat-sweep:hover .cat-big { color: #FFFFFF; -webkit-text-stroke-color: #FFFFFF; }
.cat-grid .cat-sweep:hover h3 { color: #FFFFFF; }
.cat-grid .cat-sweep:hover p { color: rgba(255, 255, 255, 0.82); }

/* —— v7.2 响应式 —— */
@media (max-width: 920px) {
  .hc-slide { min-height: 460px; }
  .hc-slide > img { left: 0; width: 100%; }
  .hc-slide::after { display: none; }
  .hc-shade { left: 0; width: 100%; background: linear-gradient(92deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.72) 55%, rgba(10, 10, 10, 0.5) 100%); }
  .hc-content { max-width: none; padding: 54px 0 78px; }
  .hc-dots { left: 50%; bottom: 24px; }
  .svc-grid { clip-path: none; }
  .svc-item + .svc-item { border-left: none; }
  .cat-grid .cat-sweep { min-height: 150px; }
  .cat-grid .cat-sweep .cat-big { font-size: 42px; }
}
@media (max-width: 640px) {
  .hc-content h2 { font-size: 34px; letter-spacing: -0.5px; }
  .hc-pager b { font-size: 26px; }
  .svc-grid { display: flex; flex-direction: column; }
  .svc-item { justify-content: flex-start; padding: 14px 20px; }
}


/* —— 主色换肤补充：危险/错误/必填保留红色语义 —— */
.btn-danger { color: #C0392B; }
.btn-danger:hover { background: #C0392B; color: #fff; }
.field-error, .required { color: #C0392B; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: #C0392B; }
