/* 心岸 · 全站样式 — 墨色 + 朱砂红 · 印章风 */
:root {
  --ink: #23272E;
  --ink-deep: #16181D;
  --ink-soft: #3A404A;
  --accent: #B54334;
  --accent-deep: #96352A;
  --accent-tint: #F7EBE8;
  --paper: #F7F5F1;
  --muted: #767268;
  --line: #E4E1D8;
  --card: #FFFFFF;
  --ok: #3D7A4E;
  --warn: #B54334;
  --radius: 6px;
  --shadow: 0 3px 14px rgba(35, 39, 46, .09);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: "Songti SC", "SimSun", serif; }

/* ===== 主导航（单行，无顶栏） ===== */
.header { background: #fff; border-bottom: 2px solid var(--ink-deep); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.header .wrap > *, .nav a, .head-actions .qa, .head-actions .user-chip, .head-actions button { white-space: nowrap; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-seal {
  width: 42px; height: 42px; background: var(--accent); color: #fff; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Songti SC", "SimSun", serif; font-size: 24px; font-weight: 700;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), inset 0 0 0 3.5px var(--accent);
}
.logo-text .cn { font-family: "Songti SC", "SimSun", serif; font-size: 26px; font-weight: 700; letter-spacing: 6px; color: var(--ink-deep); line-height: 1.1; }
.logo-text .en { font-size: 10.5px; color: var(--muted); letter-spacing: 3.5px; text-transform: uppercase; }
.nav { display: flex; gap: 6px; flex: none; justify-content: center; }
.nav a { position: relative; padding: 10px 12px; color: var(--ink); font-size: 15px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: transparent; transition: background .15s ease; }
.nav a:hover { color: var(--accent); }
.nav a.active { color: var(--accent-deep); font-weight: 600; }
.nav a.active::after { background: var(--accent); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-actions .qa { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 4px; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink); background: #fff; }
.head-actions .qa:hover { border-color: var(--accent); color: var(--accent-deep); }
.head-actions .qa svg { width: 15px; height: 15px; }
.cart-badge { background: var(--accent); color: #fff; border-radius: 999px; min-width: 17px; height: 17px; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.btn-login { padding: 8px 20px; border-radius: 4px; background: var(--ink-deep); color: #fff; border: none; font-size: 13.5px; }
.btn-reg { padding: 8px 20px; border-radius: 4px; background: #fff; color: var(--ink-deep); border: 1px solid var(--ink-deep); font-size: 13.5px; }
.btn-reg:hover, .btn-login:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 4px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; color: var(--ink); }
.user-chip .avatar { width: 24px; height: 24px; border-radius: 2px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* ===== 首页 Hero（浅色分栏 + 数据面板） ===== */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(35,39,46,.025) 0 1px, transparent 1px 90px); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 4px; color: var(--accent-deep); margin-bottom: 18px; }
.hero .kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.hero h1 { font-family: "Songti SC", "SimSun", serif; font-size: 40px; font-weight: 700; letter-spacing: 2px; line-height: 1.35; color: var(--ink-deep); }
.hero h1 .red { color: var(--accent); }
.hero p.lead { margin-top: 18px; max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero .hero-btns { margin-top: 30px; display: flex; gap: 14px; }
.hero .hero-btns a { padding: 12px 30px; border-radius: 4px; font-size: 15px; }
.hero-btn1 { background: var(--ink-deep); color: #fff; }
.hero-btn1:hover { background: var(--accent); }
.hero-btn2 { border: 1px solid var(--ink-deep); color: var(--ink-deep); background: transparent; }
.hero-btn2:hover { border-color: var(--accent); color: var(--accent-deep); }
.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px 30px 22px; position: relative; box-shadow: var(--shadow); }
.hero-panel::before { content: ""; position: absolute; top: -1px; left: -1px; width: 44px; height: 44px; border-top: 3px solid var(--accent); border-left: 3px solid var(--accent); border-radius: 8px 0 0 0; }
.hp-title { font-family: "Songti SC", "SimSun", serif; font-size: 17px; font-weight: 700; color: var(--ink-deep); letter-spacing: 2px; margin-bottom: 4px; }
.hp-sub { font-size: 12px; color: var(--muted); letter-spacing: 1px; margin-bottom: 18px; }
.hp-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 2px; border-top: 1px dashed var(--line); }
.hp-row .k { font-size: 13.5px; color: var(--muted); }
.hp-row .v { font-family: "Songti SC", "SimSun", serif; font-size: 24px; font-weight: 700; color: var(--ink-deep); font-variant-numeric: tabular-nums; }
.hp-row .v small { font-size: 12px; color: var(--muted); font-family: inherit; font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.hero-seal {
  position: absolute; right: 26px; top: -16px; width: 52px; height: 52px; background: var(--accent);
  color: #fff; border-radius: 4px; transform: rotate(6deg);
  display: flex; align-items: center; justify-content: center;
  font-family: "Songti SC", "SimSun", serif; font-size: 19px; font-weight: 700; letter-spacing: 1px; line-height: 1.15;
  text-align: center; box-shadow: 0 4px 12px rgba(181,67,52,.35);
}

/* ===== 双模块入口 ===== */
.module-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.module-card { position: relative; background: #fff; border-radius: 8px; padding: 30px 32px 26px; display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--line); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; overflow: hidden; }
.module-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ink-deep); transition: background .15s ease; }
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ink-soft); }
.module-card:hover::before { background: var(--accent); }
.module-icon { width: 58px; height: 58px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.module-icon svg { width: 32px; height: 32px; }
.module-card h3 { font-family: "Songti SC", "SimSun", serif; font-size: 19px; color: var(--ink-deep); margin-bottom: 8px; letter-spacing: 1px; }
.module-card .m-no { float: right; font-family: "Songti SC", "SimSun", serif; font-size: 26px; color: var(--line); font-weight: 700; line-height: 1; }
.module-card p { color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.module-card .go { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-deep); font-size: 13.5px; font-weight: 500; }

/* ===== 区块 ===== */
.section { padding: 46px 0 8px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-head h2 { font-family: "Songti SC", "SimSun", serif; font-size: 24px; color: var(--ink-deep); letter-spacing: 2px; display: flex; align-items: center; gap: 12px; }
.section-head h2::before { content: ""; width: 12px; height: 12px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.section-head .more { color: var(--muted); font-size: 13.5px; }
.section-head .more:hover { color: var(--accent-deep); }

/* ===== 商品卡 ===== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease; display: flex; flex-direction: column; }
.prod-card:hover { box-shadow: var(--shadow); border-color: var(--ink-soft); transform: translateY(-2px); }
.prod-thumb { position: relative; padding-top: 100%; background: #F1EFEA; overflow: hidden; }
.prod-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.prod-name { font-size: 13.5px; color: var(--ink); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.prod-seller { margin-top: 6px; font-size: 12px; color: var(--muted); }
.prod-price-row { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.price { color: var(--accent); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.price::before { content: "¥"; font-size: 12px; margin-right: 1px; }
.price-op { color: #ABA79D; font-size: 12px; text-decoration: line-through; }
.prod-actions { margin-top: 10px; display: flex; gap: 8px; }
.prod-actions button { flex: 1; padding: 7px 0; border-radius: 4px; font-size: 12.5px; white-space: nowrap; }
.pa-cart { background: #fff; border: 1px solid var(--ink-deep); color: var(--ink-deep); }
.pa-cart:hover { border-color: var(--accent); color: var(--accent-deep); }
.pa-buy { background: var(--accent); border: 1px solid var(--accent); color: #fff; }
.pa-buy:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.prod-thumb { display: block; }
a.prod-name { display: -webkit-box; }
a.prod-name:hover { color: var(--accent-deep); }

/* ===== 信息列表 ===== */
.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; gap: 18px; transition: box-shadow .15s ease, border-color .15s ease; }
.post-item:hover { box-shadow: var(--shadow); border-color: var(--ink-soft); }
.post-cover { width: 118px; height: 82px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.post-main { flex: 1; min-width: 0; }
.post-title { font-size: 16px; font-weight: 600; color: var(--ink); }
.post-item:hover .post-title { color: var(--accent-deep); }
.post-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); align-items: center; }
.post-meta .tag { background: var(--accent-tint); color: var(--accent-deep); padding: 2px 10px; border-radius: 3px; font-size: 12px; }
.phone-chip { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.post-side { text-align: right; flex-shrink: 0; color: var(--muted); font-size: 12.5px; }
.post-side .date { font-variant-numeric: tabular-nums; }

/* ===== 商家 ===== */
.seller-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.seller-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: box-shadow .15s ease; }
.seller-card:hover { box-shadow: var(--shadow); }
a.seller-card { color: inherit; text-decoration: none; display: block; }
.seller-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.seller-logo { width: 44px; height: 44px; border-radius: 4px; background: var(--ink-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Songti SC", "SimSun", serif; font-weight: 700; font-size: 18px; }
.seller-name { font-size: 15px; font-weight: 600; color: var(--ink-deep); line-height: 1.3; }
.seller-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 3px; background: var(--accent); color: #fff; font-size: 11px; vertical-align: 2px; font-weight: 400; }
.seller-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.seller-foot { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }
.realname { color: var(--ok); display: inline-flex; align-items: center; gap: 4px; }
.realname svg { width: 14px; height: 14px; }

/* ===== 优势区 ===== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: box-shadow .15s ease; }
.adv-card:hover { box-shadow: var(--shadow); }
.adv-card svg { width: 32px; height: 32px; margin-bottom: 12px; }
.adv-card h4 { font-size: 15.5px; color: var(--ink-deep); margin-bottom: 6px; font-family: "Songti SC", "SimSun", serif; letter-spacing: 1px; }
.adv-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ===== 关于/公司 ===== */
.about-band { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 34px 38px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; }
.about-band h3 { font-family: "Songti SC", "SimSun", serif; font-size: 20px; color: var(--ink-deep); margin-bottom: 14px; letter-spacing: 1px; }
.about-band p { font-size: 13.8px; color: var(--muted); line-height: 1.85; text-align: justify; }
.fact-list { display: flex; flex-direction: column; gap: 0; }
.fact-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.fact-row:last-child { border-bottom: none; }
.fact-row .k { color: var(--muted); }
.fact-row .v { color: var(--ink); font-weight: 500; text-align: right; }

/* ===== 页脚（四栏栅格） ===== */
.footer { margin-top: 56px; background: var(--ink-deep); color: rgba(255,255,255,.6); font-size: 13px; border-top: 3px solid var(--accent); }
.f-grid { display: grid; grid-template-columns: 1.35fr 1fr .8fr .8fr; gap: 40px; padding: 46px 20px 38px; }
.f-brand .f-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.f-brand .f-seal { width: 38px; height: 38px; background: var(--accent); color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: "Songti SC", "SimSun", serif; font-size: 21px; font-weight: 700; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), inset 0 0 0 3.5px var(--accent); }
.f-brand .f-name { font-family: "Songti SC", "SimSun", serif; font-size: 21px; font-weight: 700; letter-spacing: 5px; color: #fff; }
.f-brand p { line-height: 1.9; text-align: justify; }
.f-col h5 { color: #fff; font-size: 14.5px; margin-bottom: 16px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.f-col h5::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 1px; flex-shrink: 0; }
.f-col p { line-height: 2.05; }
.f-col a { display: block; line-height: 2.15; }
.f-col a:hover { color: #fff; }
.f-col .f-two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom .wrap { display: flex; justify-content: space-between; align-items: center; height: 54px; font-size: 12.5px; gap: 14px; flex-wrap: wrap; }
.footer-bottom .icp a { color: rgba(255,255,255,.55); }
.footer-bottom .icp a:hover { color: #fff; }
/* 兼容旧页脚结构（如有残留） */
.footer .wrap { padding: 0 20px; }
.footer h5 { color: #fff; font-size: 14.5px; margin-bottom: 14px; font-weight: 500; }
.footer p, .footer a { line-height: 2; }
.footer a:hover { color: #fff; }

/* ===== 列表页通用 ===== */
.page-head { background: #fff; border-bottom: 1px solid var(--line); }
.page-head .wrap { padding: 30px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.page-head h1 { font-family: "Songti SC", "SimSun", serif; font-size: 24px; letter-spacing: 2px; color: var(--ink-deep); display: flex; align-items: center; gap: 12px; }
.page-head h1::before { content: ""; width: 12px; height: 12px; background: var(--accent); border-radius: 2px; }
.page-head .sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.filter-bar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.chip { padding: 6px 16px; border-radius: 4px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; color: var(--ink); }
.chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.chip.active { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.chip .n { font-size: 11.5px; opacity: .75; margin-left: 4px; }
.search-box { margin-left: auto; display: flex; }
.search-box input { border: 1px solid var(--line); border-right: none; border-radius: 4px 0 0 4px; padding: 7px 14px; width: 220px; outline: none; background: #fff; }
.search-box input:focus { border-color: var(--ink-soft); }
.search-box button { border: none; background: var(--ink-deep); color: #fff; padding: 0 18px; border-radius: 0 4px 4px 0; }
.empty { text-align: center; color: var(--muted); padding: 70px 0; font-size: 14px; }

/* ===== 商品详情 ===== */
.detail-wrap { display: grid; grid-template-columns: 440px minmax(0, 1fr) 240px; gap: 26px; margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.detail-gallery .main-img { position: relative; width: 100%; height: 500px; border-radius: 6px; overflow-y: auto; scroll-snap-type: y mandatory; background: #F1EFEA; scrollbar-width: thin; scrollbar-color: #D8D2C6 transparent; }
.detail-gallery .main-img::-webkit-scrollbar { width: 5px; }
.detail-gallery .main-img::-webkit-scrollbar-thumb { background: #D8D2C6; border-radius: 3px; }
.detail-gallery .main-img img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.detail-thumbs img { width: 72px; height: 72px; border-radius: 4px; object-fit: cover; border: 2px solid transparent; cursor: pointer; }
.detail-thumbs img.active { border-color: var(--accent); }
.detail-info h1 { font-size: 21px; line-height: 1.5; color: var(--ink); }
.price-band { margin: 16px 0; padding: 16px 20px; background: var(--accent-tint); border-radius: 6px; display: flex; align-items: baseline; gap: 14px; }
.price-band .price { font-size: 28px; }
.price-band .price-op { font-size: 14px; }
.price-band .sales { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.seller-line { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.seller-line b { color: var(--ink-deep); font-weight: 600; }
.seller-link { color: inherit; text-decoration: none; }
.seller-link:hover b { color: var(--accent-deep); }
.detail-actions { margin-top: 20px; display: flex; gap: 12px; }
.btn-buy { padding: 12px 34px; border-radius: 4px; background: var(--accent); color: #fff; border: none; font-size: 15px; }
.btn-buy:hover { background: var(--accent-deep); }
.btn-cart { padding: 12px 34px; border-radius: 4px; background: #fff; color: var(--ink-deep); border: 1.5px solid var(--ink-deep); font-size: 15px; }
.btn-cart:hover { border-color: var(--accent); color: var(--accent-deep); }
.spec-table { margin-top: 24px; width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table caption { text-align: left; font-size: 16px; font-weight: 600; color: var(--ink-deep); padding-bottom: 10px; font-family: "Songti SC", "SimSun", serif; letter-spacing: 1px; }
.spec-table td { border: 1px solid var(--line); padding: 9px 14px; }
.spec-table td:first-child { width: 130px; background: #F5F3EE; color: var(--muted); }
.detail-brief { margin-top: 20px; font-size: 14px; color: var(--ink); line-height: 1.85; background: #F5F3EE; border-radius: 6px; padding: 16px 18px; }

/* 店铺卡片（商品详情右侧） */
.shop-card { align-self: start; position: sticky; top: 86px; background: #FDFCFA; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; padding: 20px 18px; }
.sc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sc-logo { flex: none; width: 44px; height: 44px; border-radius: 6px; background: var(--ink-deep); color: #E8C47C; display: flex; align-items: center; justify-content: center; font-size: 20px; font-family: "Songti SC", "SimSun", serif; font-weight: 700; }
.sc-name { font-size: 14px; font-weight: 600; color: var(--ink-deep); line-height: 1.4; }
.sc-rows { padding: 6px 0 2px; }
.sc-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 12.5px; color: var(--muted); border-bottom: 1px dashed var(--line); }
.sc-row:last-child { border-bottom: none; }
.sc-row b { color: var(--ink-deep); font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-score { color: var(--accent) !important; font-size: 14px; }
.sc-ok { color: var(--ok) !important; }
.sc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin: 10px 0 14px; }
.sc-enter { display: block; text-align: center; padding: 10px 0; border-radius: 4px; background: var(--ink-deep); color: #fff; font-size: 14px; letter-spacing: 2px; }
.sc-enter:hover { background: var(--accent); }
.sc-note { margin-top: 8px; font-size: 11.5px; color: var(--muted); text-align: center; }

/* 店铺页 */
.shop-hero { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; padding: 26px 30px; margin-top: 24px; }
.sh-left { display: flex; gap: 20px; align-items: flex-start; }
.sh-name { font-family: "Songti SC", "SimSun", serif; font-size: 20px; font-weight: 700; color: var(--ink-deep); display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.sh-name .realname { font-size: 12.5px; font-family: initial; font-weight: 500; }
.sh-desc { margin: 8px 0 12px; font-size: 13.5px; color: var(--muted); line-height: 1.8; max-width: 760px; }
.sh-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13px; color: var(--muted); }
.sh-meta b { color: var(--ink-deep); font-weight: 600; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* ===== 表单页 ===== */
.form-card { max-width: 520px; margin: 40px auto; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; padding: 34px 36px; }
.form-card.wide { max-width: 680px; }
.form-card h1 { font-family: "Songti SC", "SimSun", serif; font-size: 22px; color: var(--ink-deep); text-align: center; margin-bottom: 6px; letter-spacing: 2px; }
.form-card .sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--accent); margin-left: 3px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px; outline: none; background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink-soft); }
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.agree-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); margin: 18px 0; }
.agree-row input { margin-top: 3px; accent-color: var(--accent); }
.agree-row a { color: var(--accent-deep); text-decoration: underline; }
.btn-primary { width: 100%; padding: 12px; border-radius: 4px; background: var(--ink-deep); color: #fff; border: none; font-size: 15.5px; }
.btn-primary:hover { background: var(--accent); }
.btn-primary:disabled { opacity: .55; }
.form-foot { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.form-foot a { color: var(--accent-deep); }
.msg-tip { border-radius: 4px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px; display: none; }
.msg-tip.err { background: var(--accent-tint); color: var(--accent-deep); display: block; }
.msg-tip.ok { background: #E9F2EB; color: var(--ok); display: block; }

/* ===== 个人中心 ===== */
.uc-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 22px; margin-top: 24px; align-items: start; }
.uc-side { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.uc-id { background: var(--ink-deep); color: #fff; padding: 24px 22px; position: relative; }
.uc-id::after { content: ""; position: absolute; left: 0; bottom: 0; right: 0; height: 3px; background: var(--accent); }
.uc-id .row1 { display: flex; align-items: center; gap: 12px; }
.uc-id .avatar { width: 46px; height: 46px; border-radius: 4px; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; font-family: "Songti SC", "SimSun", serif; font-weight: 700; }
.uc-id .uname { font-size: 16px; font-weight: 600; }
.uc-id .uphone { font-size: 12.5px; color: rgba(255,255,255,.66); font-variant-numeric: tabular-nums; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 3px; font-size: 11px; margin-top: 8px; }
.badge.gold { background: rgba(181,67,52,.28); color: #F0B9AF; border: 1px solid rgba(181,67,52,.6); }
.badge.green { background: #E9F2EB; color: var(--ok); }
.badge.gray { background: #EFF1F3; color: var(--muted); }
.uc-coins { background: var(--card); padding: 14px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.uc-coins b { font-size: 20px; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.uc-menu { padding: 10px; }
.uc-menu a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 4px; font-size: 14px; color: var(--ink); }
.uc-menu a:hover { background: #F5F3EE; color: var(--ink-deep); }
.uc-menu a.active { background: var(--accent-tint); color: var(--accent-deep); font-weight: 600; }
.uc-menu a svg { width: 16px; height: 16px; }
.uc-menu a.warn { color: var(--accent-deep); }
.uc-main { min-width: 0; }
.uc-panel { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 26px 30px; margin-bottom: 20px; }
.uc-panel h2 { font-family: "Songti SC", "SimSun", serif; font-size: 18px; color: var(--ink-deep); margin-bottom: 18px; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.uc-panel h2::before { content: ""; width: 9px; height: 9px; background: var(--accent); border-radius: 1.5px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-cell { background: #F5F3EE; border: 1px solid var(--line); border-radius: 6px; padding: 18px; text-align: center; }
.stat-cell .num { font-size: 26px; font-weight: 700; color: var(--ink-deep); font-variant-numeric: tabular-nums; }
.stat-cell .lbl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.uc-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); gap: 14px; }
.uc-row:last-child { border-bottom: none; }
.uc-row .t { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.uc-row .t small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.uc-row .r { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.status-pill { padding: 3px 12px; border-radius: 3px; font-size: 12px; }
.status-pill.pending { background: #FBF3E4; color: #8A6A1F; }
.status-pill.approved { background: #E9F2EB; color: var(--ok); }
.status-pill.rejected { background: var(--accent-tint); color: var(--accent-deep); }
.btn-sm { padding: 6px 16px; border-radius: 4px; font-size: 13px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-sm:hover { border-color: var(--ink-deep); color: var(--ink-deep); }
.btn-sm.danger { color: var(--accent-deep); }
.btn-sm.danger:hover { border-color: var(--accent-deep); }
.btn-sm.solid { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.uc-note { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ===== 充值页 ===== */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pkg-card { border: 1.5px solid var(--line); border-radius: 8px; padding: 22px; background: #fff; position: relative; cursor: pointer; transition: border-color .15s ease; }
.pkg-card:hover { border-color: var(--ink-soft); }
.pkg-card.selected { border-color: var(--accent); background: #FDFAF9; }
.pkg-card .badge-float { position: absolute; top: -10px; right: 14px; background: var(--accent); color: #fff; font-size: 11.5px; padding: 2px 12px; border-radius: 999px; }
.pkg-name { font-size: 15.5px; font-weight: 600; color: var(--ink-deep); }
.pkg-price { margin: 10px 0 4px; font-size: 30px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.pkg-price::before { content: "¥"; font-size: 15px; margin-right: 2px; }
.pkg-desc { font-size: 12.5px; color: var(--muted); line-height: 1.7; min-height: 42px; }
.pay-methods { display: flex; gap: 12px; margin: 18px 0; }
.pay-methods .pm { flex: 1; border: 1.5px solid var(--line); border-radius: 6px; padding: 13px; text-align: center; font-size: 14px; cursor: pointer; background: #fff; }
.pay-methods .pm.selected { border-color: var(--accent); background: #FDFAF9; font-weight: 600; }
.notes-panel { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 26px 30px; margin-top: 22px; }
.notes-panel h2 { font-family: "Songti SC", "SimSun", serif; font-size: 18px; color: var(--ink-deep); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.notes-panel h2::before { content: ""; width: 9px; height: 9px; background: var(--accent); border-radius: 1.5px; }
.notes-panel ol { padding-left: 20px; color: var(--muted); font-size: 13.5px; line-height: 2; }
.notes-panel ol b { color: var(--ink); font-weight: 600; }

/* ===== 后台 ===== */
.admin-wrap { margin-top: 24px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-tabs .chip.active { background: var(--accent); border-color: var(--accent); }
.admin-panel { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 22px 26px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.table th { text-align: left; background: #F5F3EE; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 12px; border-bottom: 1px solid #EEECE6; vertical-align: middle; }
.table tr:hover td { background: #FAF9F6; }
.table .actions { display: flex; gap: 8px; }
.tt-title { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 详情页（信息） ===== */
.post-detail { max-width: 860px; margin: 26px auto; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; padding: 34px 40px; }
.post-detail h1 { font-family: "Songti SC", "SimSun", serif; font-size: 23px; color: var(--ink-deep); line-height: 1.45; letter-spacing: 1px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); align-items: center; }
.pd-cover { width: 100%; border-radius: 6px; margin-bottom: 20px; max-height: 420px; object-fit: cover; }
.pd-content { font-size: 15px; line-height: 1.9; color: var(--ink); white-space: pre-wrap; text-align: justify; }
.phone-callout { margin-top: 22px; background: #F5F3EE; border: 1px dashed var(--line); border-radius: 6px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.phone-callout .num { font-size: 19px; font-weight: 700; color: var(--accent-deep); font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.related h3 { font-family: "Songti SC", "SimSun", serif; font-size: 16px; color: var(--ink-deep); margin: 26px 0 12px; }

/* ===== 商家入驻 ===== */
.join-banner { display: flex; align-items: center; gap: 30px; background: linear-gradient(120deg, #23272E 0%, #343A44 100%); border-radius: 10px; padding: 30px 34px; margin: 24px 0 22px; color: #fff; }
.jb-left { flex: 1; min-width: 0; }
.jb-kicker { display: inline-block; font-size: 12px; letter-spacing: 3px; color: #E8C47C; border: 1px solid rgba(232,196,124,.5); border-radius: 3px; padding: 2px 10px; }
.join-banner h3 { font-family: "Songti SC", "SimSun", serif; font-size: 24px; letter-spacing: 2px; margin: 12px 0 8px; color: #fff; }
.join-banner p { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.9; }
.jb-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.jb-points li { font-size: 12.5px; color: rgba(255,255,255,.85); padding-left: 16px; position: relative; }
.jb-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 1px; background: #B54334; }
.jb-right { flex: none; display: flex; flex-direction: column; gap: 12px; }
.jb-btn { text-align: center; padding: 13px 40px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.jb-btn:hover { background: var(--accent-deep); }
.jb-btn2 { text-align: center; padding: 11px 40px; border-radius: 4px; border: 1px solid rgba(255,255,255,.4); color: rgba(255,255,255,.9); font-size: 13.5px; white-space: nowrap; }
.jb-btn2:hover { border-color: #E8C47C; color: #E8C47C; }
.seller-go { margin-left: auto; color: var(--accent-deep); font-size: 12.5px; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; margin-top: 24px; align-items: start; }
.join-side .notes-panel { margin-top: 0; }
.join-side .notes-panel + .notes-panel { margin-top: 20px; }
.cat-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ck { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 4px; padding: 11px 13px; cursor: pointer; }
.ck:hover { border-color: var(--ink-soft); }
.ck input { accent-color: var(--accent); }
.ck span { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.ck small { font-size: 11.5px; color: var(--muted); margin-left: auto; }
@media (max-width: 960px) {
  .join-grid { grid-template-columns: 1fr; }
  .join-banner { flex-direction: column; align-items: flex-start; }
  .jb-right { flex-direction: row; }
  .cat-checks { grid-template-columns: 1fr; }
}

/* ===== 工具类 ===== */
.subtle { color: var(--muted); }
.mt10 { margin-top: 10px; } .mt20 { margin-top: 20px; } .mb20 { margin-bottom: 20px; }
.flex { display: flex; } .between { justify-content: space-between; } .center { align-items: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

@media (max-width: 1240px) {
  .header .wrap { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .nav { order: 3; flex: none; width: 100%; overflow-x: auto; justify-content: flex-start; }
  .nav { gap: 2px; }
  .nav a { padding: 9px 9px; font-size: 14.5px; }
  .head-actions { gap: 7px; margin-left: auto; }
  .head-actions .qa { padding: 7px 10px; font-size: 13px; }
  .btn-login, .btn-reg { padding: 7px 14px; }
  .user-chip { padding: 6px 10px; }
  .logo-text .cn { font-size: 22px; letter-spacing: 3px; }
}

/* 管理员态导航与按钮更多，提前换行避免重叠 */
@media (max-width: 1450px) {
  .header.is-admin .wrap { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .header.is-admin .nav { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; gap: 2px; }
  .header.is-admin .nav a { padding: 9px; font-size: 14.5px; }
  .header.is-admin .head-actions { margin-left: auto; gap: 7px; }
  .header.is-admin .head-actions .qa { padding: 7px 10px; font-size: 13px; }
  .header.is-admin .user-chip { padding: 6px 10px; }
}
@media (max-width: 1080px) {
  .f-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero .wrap { gap: 36px; }
}
@media (max-width: 1180px) {
  .detail-wrap { grid-template-columns: 440px minmax(0, 1fr); }
  .shop-card { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: minmax(250px, auto) 1fr auto; align-items: center; gap: 10px 26px; padding: 18px 22px; }
  .shop-card .sc-head { border-bottom: none; padding-bottom: 0; }
  .shop-card .sc-head > div { min-width: 200px; }
  .shop-card .sc-enter { white-space: nowrap; }
  .shop-card .sc-rows { display: flex; flex-wrap: wrap; gap: 4px 26px; padding: 0; align-content: center; }
  .shop-card .sc-row { border-bottom: none; padding: 2px 0; gap: 6px; justify-content: flex-start; white-space: nowrap; }
  .shop-card .sc-desc, .shop-card .sc-note { display: none; }
  .shop-card .sc-enter { padding: 10px 26px; white-space: nowrap; }
}
@media (max-width: 960px) {
  .module-cards, .seller-grid, .pkg-grid { grid-template-columns: 1fr; }
  .prod-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-wrap { grid-template-columns: 1fr; }
  .shop-card { grid-template-columns: 1fr; }
  .shop-card .sc-rows { flex-direction: column; gap: 0; }
  .shop-card .sc-row { border-bottom: 1px dashed var(--line); padding: 7px 0; justify-content: space-between; }
  .shop-card .sc-desc { display: block; }
  .shop-card .sc-enter { padding: 10px 0; }
  .about-band { grid-template-columns: 1fr; }
  .uc-wrap { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
  .detail-gallery { max-width: 440px; }
}
@media (max-width: 680px) {
  .f-grid { grid-template-columns: 1fr; }
  .footer-bottom .wrap { flex-direction: column; height: auto; padding: 12px 20px; gap: 4px; }
}

/* ---------- 收货地址管理 ---------- */
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.addr-card { border: 1px solid var(--line); border-radius: 6px; padding: 16px 20px; margin-bottom: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.addr-card:hover { border-color: var(--ink-soft); box-shadow: 0 3px 14px rgba(22,24,29,.06); }
.addr-card.is-def { border-color: rgba(181,67,52,.5); background: linear-gradient(0deg, rgba(181,67,52,.03), rgba(181,67,52,.03)); }
.addr-card .hd { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.addr-card .who { font-size: 15px; color: var(--ink-deep); font-weight: 600; }
.addr-card .tel { font-size: 14px; color: var(--ink); letter-spacing: .5px; }
.addr-card .tag { font-size: 11.5px; padding: 2px 9px; border-radius: 3px; background: #EFF1F3; color: var(--muted); border: 1px solid var(--line); }
.addr-card .tag.def { background: var(--accent-tint); color: var(--accent-deep); border-color: rgba(181,67,52,.35); }
.addr-card .bd { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.addr-card .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line); gap: 12px; flex-wrap: wrap; }
.addr-card .tm { font-size: 12px; color: var(--muted); }
.addr-card .ops { display: flex; gap: 9px; }
@media (max-width: 680px) { .addr-grid { grid-template-columns: 1fr; } }

/* ---------- 图片查看弹窗 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(15,18,22,.82); align-items: center; justify-content: center; padding: 30px; }
.lb-inner { background: #fff; border-radius: 8px; padding: 18px; max-width: min(92vw, 940px); max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 30px; font-size: 15px; color: var(--ink-deep); font-weight: 600; margin-bottom: 14px; }
.lb-bar button { border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 5px 16px; font-size: 13px; color: var(--ink); cursor: pointer; }
.lb-bar button:hover { border-color: var(--accent); color: var(--accent-deep); }
.lb-inner img { display: block; max-width: 100%; max-height: 74vh; border: 1px solid var(--line); border-radius: 4px; }

/* ---------- 订单/后台表格：状态与操作不换行，窄屏可横向滚动 ---------- */
.status-pill { white-space: nowrap; display: inline-block; }
.table td .btn-sm { white-space: nowrap; }
.uc-panel .admin-panel { overflow-x: auto; }

/* ---------- 实名核验影像：正反面同屏展示 ---------- */
.lb-inner.lb-rn { max-width: min(92vw, 1080px); }
.lb-rn #lbBody { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.lb-face { flex: 1 1 420px; min-width: 320px; text-align: center; }
.lb-face-t { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; letter-spacing: 1px; }
.lb-face img { width: 100%; max-height: 66vh; object-fit: contain; }
@media (max-width: 680px) { .lb-rn #lbBody { gap: 12px; } .lb-face { min-width: 100%; } }
