:root {
  --primary: #2f9e6e;
  --primary-dark: #1f7d56;
  --primary-light: #e8f6ef;
  --ink: #1f2a30;
  --muted: #6b7a82;
  --line: #e6ebee;
  --bg: #f5f7f8;
  --card: #ffffff;
  --danger: #d9534f;
  --shadow: 0 2px 12px rgba(31, 42, 48, 0.06);
  --radius: 12px;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 64px; gap: 26px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; max-width: 280px; }
.logo img { width: 34px; height: 34px; border-radius: 50%; }
.logo small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; line-height: 1.4; }
.nav { display: flex; gap: 6px; flex: 1; }
.nav a {
  padding: 8px 14px; border-radius: 8px; color: var(--ink); font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { background: var(--primary-light); color: var(--primary-dark); }
.nav a.active { background: var(--primary); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.cart-btn:hover { border-color: var(--primary); }
.cart-count {
  position: absolute; top: -7px; right: -7px; background: var(--primary); color: #fff;
  font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 9px; padding: 0 4px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: 14px;
  background: var(--primary); color: #fff; transition: background 0.15s, opacity 0.15s;
}
.btn:hover { background: var(--primary-dark); }
.btn.ghost { background: #fff; color: var(--primary-dark); border-color: var(--primary); }
.btn.ghost:hover { background: var(--primary-light); }
.btn.block { width: 100%; }
.btn.lg { padding: 12px 24px; font-size: 15px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.user-menu { position: relative; }
.user-trigger { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.dropdown { position: absolute; right: 0; top: 46px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); min-width: 160px; overflow: hidden; display: none; }
.dropdown.open { display: block; }
.dropdown a, .dropdown button { display: block; width: 100%; text-align: left; padding: 10px 14px; background: none; border: none; font-size: 14px; color: var(--ink); }
.dropdown a:hover, .dropdown button:hover { background: var(--primary-light); }

/* hero */
.hero { background: linear-gradient(135deg, #e8f6ef 0%, #f5f7f8 60%); padding: 46px 0; }
.hero h1 { font-size: 30px; margin: 0 0 10px; }
.hero p { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.module-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 10px; transition: transform 0.18s, box-shadow 0.18s;
}
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.module-card .tag { font-size: 12px; color: var(--primary-dark); background: var(--primary-light); padding: 3px 10px; border-radius: 20px; align-self: flex-start; }
.module-card h3 { margin: 4px 0 0; font-size: 20px; }
.module-card p { color: var(--muted); margin: 0; flex: 1; }

/* sections */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; margin: 0; }
.section-head a { color: var(--primary-dark); font-weight: 500; }
.section-head .sub { color: var(--muted); font-size: 13px; }

/* product grid */
.grid { display: grid; gap: 18px; }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s; cursor: pointer;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 1 / 1; background: #eef2f3; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 16px; }
.card .name { font-weight: 600; font-size: 14px; line-height: 1.4; height: 39px; overflow: hidden; }
.card .meta { color: var(--muted); font-size: 12px; margin-top: 6px; }
.card .price { color: var(--primary-dark); font-weight: 700; font-size: 17px; margin-top: 8px; }
.card .price .ori { color: var(--muted); font-weight: 400; font-size: 12px; text-decoration: line-through; margin-left: 6px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.filters select, .filters input {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; color: var(--ink);
}
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-size: 13px; color: var(--muted); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* product detail */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.gallery .main-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; background: #eef2f3; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.thumbs img.active { border-color: var(--primary); }
.buy-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.buy-box h1 { font-size: 22px; margin: 0 0 10px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 12px 0; }
.price-row .now { color: var(--primary-dark); font-size: 26px; font-weight: 700; }
.price-row .ori { color: var(--muted); text-decoration: line-through; }
.price-row .unit { color: var(--muted); font-size: 13px; }
.kv { display: flex; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 13px; }
.kv .k { color: var(--muted); width: 64px; flex-shrink: 0; }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 8px; width: fit-content; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: none; background: #f3f6f7; font-size: 18px; color: var(--ink); }
.qty input { width: 46px; height: 34px; text-align: center; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.actions { display: flex; gap: 12px; margin-top: 18px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.spec-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-table td:first-child { color: var(--muted); width: 90px; }
.block-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 18px; }
.block-box h3 { margin: 0 0 10px; font-size: 17px; }

/* merchant info card on product detail */
.merchant-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 16px; }
.merchant-card .head { display: flex; align-items: center; gap: 14px; }
.merchant-card .logo { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-soft, #e8f3ec); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.merchant-card .logo svg { width: 30px; height: 30px; }
.merchant-card .name { font-size: 17px; font-weight: 700; }
.merchant-card .desc { font-size: 13px; color: var(--muted); margin-top: 3px; }
.merchant-card .stats { display: flex; gap: 24px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.merchant-card .stats > div { flex: 1; }
.merchant-card .stats .v { font-size: 18px; font-weight: 700; color: var(--ink); }
.merchant-card .stats .l { font-size: 12px; color: var(--muted); margin-top: 2px; }
.merchant-card .intro { font-size: 13px; color: var(--ink); line-height: 1.7; margin-top: 12px; padding: 12px; background: #f7fafa; border-radius: 10px; }
.merchant-card .actions { display: flex; gap: 10px; margin-top: 14px; }
.merchant-card .badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--primary-soft, #e8f3ec); color: var(--primary); }
.merchant-card .badge .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }

/* info list */
.info-grid { grid-template-columns: repeat(3, 1fr); }
.info-card .thumb { aspect-ratio: 16/10; background: #eef2f3; overflow: hidden; }
.info-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.info-card .body { padding: 14px; }
.info-card .cat { font-size: 12px; color: var(--primary-dark); background: var(--primary-light); padding: 2px 9px; border-radius: 20px; }
.info-card .title { font-weight: 600; margin: 8px 0 6px; font-size: 15px; }
.info-card .line { color: var(--muted); font-size: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.badge-row { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.merchant-line { color: var(--muted); font-size: 12px; }

/* info detail */
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; max-width: 820px; margin: 0 auto; }
.article .cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.article h1 { font-size: 24px; margin: 0 0 10px; }
.article .info-meta { color: var(--muted); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.article .content { font-size: 15px; line-height: 1.9; color: #2c3a40; white-space: pre-wrap; }
.contact-box { margin-top: 22px; background: var(--primary-light); border-radius: var(--radius); padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.contact-box .ph { font-size: 20px; font-weight: 700; color: var(--primary-dark); }
.contact-box .hint { font-size: 13px; color: var(--muted); }

/* forms */
.form-wrap { max-width: 460px; margin: 30px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-wrap h2 { margin: 0 0 6px; font-size: 22px; }
.form-wrap .lead { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.agree { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted); margin: 6px 0 20px; }
.agree input { margin-top: 3px; }
.agree a { color: var(--primary-dark); }
.form-error { color: var(--danger); font-size: 13px; min-height: 18px; margin-bottom: 8px; }
.form-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 14px; }
.form-foot a { color: var(--primary-dark); font-weight: 600; }

/* publish */
.publish-wrap { max-width: 720px; margin: 30px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.publish-wrap h2 { margin: 0 0 4px; }
.publish-wrap .lead { color: var(--muted); margin: 0 0 22px; }

/* cart */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.cart-table th { background: #fafcfb; color: var(--muted); font-weight: 600; font-size: 13px; }
.cart-prod { display: flex; gap: 12px; align-items: center; }
.cart-prod img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.cart-summary { margin-top: 18px; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.cart-summary .total { font-size: 18px; font-weight: 700; }
.cart-summary .total b { color: var(--primary-dark); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .big { font-size: 17px; color: var(--ink); margin-bottom: 8px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.about-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.about-box h3 { margin-top: 0; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.info-list li .k { color: var(--muted); width: 76px; flex-shrink: 0; }

/* about 页区块（hero / 特色 / 资质 / 联系 / 协议） */
.section-soft { background: linear-gradient(180deg, #f7faf9 0%, #ffffff 100%); }
.block-title { font-size: 24px; font-weight: 700; color: var(--ink); margin: 0 0 6px; position: relative; padding-left: 12px; }
.block-title::before { content: ""; position: absolute; left: 0; top: 6px; width: 4px; height: 18px; border-radius: 2px; background: var(--primary); }
.block-sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; padding-left: 12px; }

/* hero */
.about-hero { background: linear-gradient(135deg, #e8f6ef 0%, #f5f7f8 70%); padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.about-hero .badge-pill { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 4px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 14px; border: 1px solid #cfe7d9; }
.about-title { font-size: 32px; margin: 0 0 14px; color: var(--ink); font-weight: 700; }
.about-lead { font-size: 15px; line-height: 1.85; color: #3b474d; margin: 0; max-width: 820px; }

/* 数据条 stat */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; max-width: 980px; }
.stat-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.stat-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31,42,48,.08); }
.stat-value { font-size: 28px; font-weight: 700; color: var(--primary); display: flex; align-items: baseline; gap: 4px; line-height: 1.1; }
.stat-value .unit { font-size: 14px; color: var(--muted); font-weight: 500; }
.stat-label { color: var(--muted); font-size: 13px; margin-top: 6px; }
.stat-bar { margin-top: 12px; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.stat-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), #5fbe8b); border-radius: 2px; }

/* 核心特色三卡 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(31,42,48,.1); border-color: #cfe7d9; }
.feature-card h3 { margin: 16px 0 10px; font-size: 17px; color: var(--ink); }
.feature-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.75; color: #48545a; flex: 1; }
.feature-card .btn { align-self: flex-start; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light); display: inline-flex; align-items: center; justify-content: center; color: var(--primary); border: 1px solid #cfe7d9; }
.feature-icon svg { width: 28px; height: 28px; }
.btn.is-static { cursor: default; opacity: .7; pointer-events: none; }

/* 资质与合规 */
.qualify-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qualify-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; box-shadow: var(--shadow); text-align: center; transition: transform .2s; }
.qualify-item:hover { transform: translateY(-3px); }
.qualify-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), #f6fbf8); display: flex; align-items: center; justify-content: center; color: var(--primary); border: 1px solid #d4ebe0; }
.qualify-icon svg { width: 30px; height: 30px; }
.qualify-name { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.qualify-desc { font-size: 13px; line-height: 1.7; color: var(--muted); }

/* 联系咨询 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; transition: border-color .2s, box-shadow .2s; }
.contact-card:hover { border-color: #cfe7d9; box-shadow: 0 6px 18px rgba(31,42,48,.08); }
.contact-card-wide { grid-column: 1 / -1; }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; border: 1px solid #d4ebe0; }
.contact-icon svg { width: 26px; height: 26px; }
.contact-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.contact-value { font-size: 15px; color: var(--ink); font-weight: 500; line-height: 1.5; word-break: break-all; }

/* 协议政策 */
.about-policy { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; box-shadow: var(--shadow); }
.policy-content p { margin: 0 0 12px; font-size: 14px; line-height: 1.85; color: #3b474d; }
.policy-content p:last-child { margin-bottom: 0; }

/* 响应式 */
@media (max-width: 900px) {
  .about-hero { padding: 36px 0 40px; }
  .about-title { font-size: 24px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .qualify-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .qualify-grid { grid-template-columns: 1fr; }
}

/* footer */
.footer { background: #1f2a30; color: #c5d0d4; margin-top: 50px; padding: 36px 0 24px; font-size: 13px; }
.footer a { color: #c5d0d4; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.footer .muted { color: #8b9aa0; }
.footer-bottom { border-top: 1px solid #2c3a40; margin-top: 24px; padding-top: 16px; color: #8b9aa0; text-align: center; font-size: 12px; }
.footer-bottom .beian { color: #8b9aa0; text-decoration: none; }
.footer-bottom .beian:hover { color: #c5d0d4; text-decoration: underline; }
.footer-bottom .beian-sep { color: #8b9aa0; margin-left: 4px; }

.toast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); background: rgba(31,42,48,.94); color: #fff; padding: 11px 20px; border-radius: 8px; font-size: 14px; z-index: 200; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }

.loading { text-align: center; padding: 60px; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt { margin-top: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.tag-line { color: var(--muted); font-size: 13px; }

/* 状态徽章 */
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.badge.ok { background: #e6f6ec; color: #1f8c4d; border: 1px solid #bfe6cd; }
.badge.no { background: #fdeaea; color: #c0392b; border: 1px solid #f6c9c4; }
.badge.wait { background: #fff5e0; color: #b7791f; border: 1px solid #f3e0b0; }

/* 我的发布 / 后台审核列表 */
.myinfo-list { display: flex; flex-direction: column; gap: 14px; }
.myinfo-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); }
.myinfo-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.myinfo-cat { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.myinfo-title { font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; display: block; margin-bottom: 6px; }
.myinfo-title:hover { color: var(--primary); }
.myinfo-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.myinfo-content { font-size: 14px; line-height: 1.7; color: #48545a; margin-bottom: 10px; white-space: pre-wrap; }
.myinfo-reason { font-size: 13px; color: #c0392b; background: #fdf0ef; border: 1px solid #f6c9c4; border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }
.myinfo-foot { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.sm { padding: 7px 16px; font-size: 13px; }
.btn.approve { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.btn.approve:hover { background: var(--primary-dark); }
.btn.reject { color: #c0392b; border: 1px solid #f6c9c4; }

/* 后台审核台 */
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 16px; flex-wrap: wrap; }
.admin-head h2 { margin: 0; font-size: 22px; }
.admin-filter { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.admin-filter .chip { background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 7px 16px; border-radius: 999px; cursor: pointer; font-size: 13px; transition: all .15s; }
.admin-filter .chip:hover { border-color: var(--primary); color: var(--primary); }
.admin-filter .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

@media (max-width: 700px) {
  .stat-grid, .feature-grid, .qualify-grid { grid-template-columns: 1fr; }
  .admin-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .nav { display: none; }
  .merchant-card .stats { gap: 12px; }
}

/* product detail - scrollable long page */
.pdetail .detail { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.pdetail .sticky-col { position: sticky; top: 14px; }
.anchor-nav {
  display: flex; gap: 6px; margin-top: 20px; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  position: sticky; top: 12px; z-index: 20; box-shadow: var(--shadow);
  overflow-x: auto;
}
.anchor-nav a {
  flex: 1; min-width: fit-content; padding: 9px 16px; text-align: center;
  font-size: 14px; color: var(--muted); border-radius: 999px;
  white-space: nowrap; text-decoration: none; transition: background .15s, color .15s;
}
.anchor-nav a:hover { color: var(--ink); background: var(--primary-light); }
.anchor-nav a.active { background: var(--primary); color: #fff; }
.detail-body { display: block; margin-top: 10px; line-height: 1.85; }
.detail-p { margin: 8px 0; color: var(--ink); font-size: 14px; }
.tag-list { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.tag-chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--primary-light); color: var(--primary-dark); }
.block-box .lead { font-size: 15px; color: var(--ink); margin-top: 8px; line-height: 1.7; }
.block-box .sub { font-size: 13px; margin: 4px 0 12px; }
.photo-stream { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.big-photo { width: 100%; border-radius: 10px; display: block; background: #eef2f3; }
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px;
}
.srv {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 12px; background: #f7fafa; border-radius: 10px;
}
.srv .ico {
  width: 40px; height: 40px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0;
  border: 1px solid var(--line);
}
.srv .ico svg { width: 22px; height: 22px; }
.srv .t { font-size: 14px; font-weight: 700; color: var(--ink); }
.srv .d { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px;
}
.related-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .15s, border-color .15s;
  text-decoration: none; color: inherit;
}
.related-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.related-card .cover { aspect-ratio: 1/1; background: #eef2f3; overflow: hidden; }
.related-card .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-card .title { padding: 10px 12px 4px; font-size: 13px; line-height: 1.4; min-height: 36px; }
.related-card .meta { padding: 4px 12px 12px; }
.related-card .price { color: var(--primary-dark); font-weight: 700; font-size: 15px; }
.related-card .sales { font-size: 12px; color: var(--muted); }
.related-card .row.meta { display: flex; justify-content: space-between; align-items: baseline; }

@media (max-width: 900px) {
  .pdetail .detail { grid-template-columns: 1fr; }
  .pdetail .sticky-col { position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
