/* =========================================================
   seekchinasupply.com — 极简风格供应商分类展示站
   ========================================================= */
:root {
  --ink: #0f172a;
  --muted: #5f6b7a;
  --line: #e5e9ef;
  --page: #f7f8fa;
  --card: #ffffff;
  --accent: #ff6a00;
  --accent-deep: #e85d00;
  --accent-soft: #fff3ea;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 12px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 32px rgba(15, 23, 42, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; color: var(--ink); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部细条 ---------- */
.topbar {
  background: #fbfbfd;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a:hover { color: var(--accent); }
.topbar-links { display: flex; gap: 20px; }

/* ---------- 页头 ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 66px; gap: 34px; }
.brand { font-size: 21px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); white-space: nowrap; }
.brand em { font-style: normal; color: var(--accent); }
.brand i { font-style: normal; font-weight: 600; font-size: 15px; color: #a3adb9; letter-spacing: 0; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-link { color: var(--muted); transition: color .15s; }
.nav-link:hover { color: var(--ink); }
.nav-link.on { color: var(--ink); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; padding-left: 24px; border-left: 1px solid var(--line); }

/* ---------- 按钮 / 输入 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; transition: all .15s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 6px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; }

.input {
  height: 40px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; outline: none; width: 100%;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 0, .12); }
.select {
  height: 36px; padding: 0 30px 0 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; outline: none; font-size: 13px;
  color: var(--ink); cursor: pointer;
}
.select:focus { border-color: var(--accent); }

/* ---------- 首屏 Hero ---------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 300px at 15% -10%, rgba(255, 106, 0, .06), transparent),
    linear-gradient(180deg, #ffffff, #f7f9fc);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.hero h1 { font-size: 42px; line-height: 1.2; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.sub { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 15px; }

.search-wrap {
  margin-top: 30px; display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 6px; box-shadow: var(--shadow-md);
}
.search-wrap input { flex: 1; height: 44px; border: 0; outline: 0; padding: 0 16px; font-size: 15px; min-width: 0; }
.search-wrap .btn { height: 44px; padding: 0 26px; border-radius: 8px; }

.hot-words { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hot-words b { font-weight: 600; }
.hot-words a { color: var(--muted); padding: 2px 10px; border-radius: 999px; transition: all .15s; }
.hot-words a:hover { color: var(--accent); background: var(--accent-soft); }

/* ---------- 数据条 ---------- */
.stats { border-bottom: 1px solid var(--line); background: #fff; padding: 22px 0; }
.stats .container { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.stat span { font-size: 12px; color: var(--muted); }

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
.section.page-bg { background: var(--page); 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: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: 26px; }
.section-head .sub-title { color: var(--muted); font-size: 14px; margin-top: 4px; }
.link-more { font-size: 14px; color: var(--muted); white-space: nowrap; }
.link-more:hover { color: var(--accent); }
.link-more::after { content: "→"; margin-left: 6px; }

/* ---------- 分类宫格 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; transition: all .18s; display: block;
}
.cat-tile:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-tile h3 { font-size: 18px; margin-bottom: 2px; }
.cat-tile .en { font-size: 12px; color: #9aa5b1; letter-spacing: .4px; text-transform: uppercase; }
.cat-tile .cnt { display: inline-flex; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.cat-tile:hover .cnt { color: var(--accent); border-color: rgba(255, 106, 0, .4); background: var(--accent-soft); }

/* ---------- Tab 切换 ---------- */
.tabs { display: inline-flex; background: var(--page); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.tabs button { padding: 7px 18px; border-radius: 999px; font-size: 14px; color: var(--muted); font-weight: 600; transition: all .15s; }
.tabs button.on { background: var(--ink); color: #fff; }

/* ---------- 供应商卡片（首页宫格） ---------- */
.sup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sup-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: all .18s; position: relative;
}
.sup-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sup-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.logo {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px; color: #fff;
  font-size: 20px; font-weight: 800; letter-spacing: -.5px;
}
.sup-name { font-size: 15px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sup-meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.sup-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sup-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 12px; }
.stars { position: relative; color: #dfe4ea; font-size: 12px; letter-spacing: 2px; }
.stars .fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--accent); }
.sup-bottom .rate { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sup-bottom .rate b { color: var(--accent); font-size: 14px; font-weight: 800; margin-right: 2px; }
.view-link { font-size: 13px; font-weight: 700; color: var(--ink); }
.view-link::after { content: "→"; margin-left: 5px; color: var(--accent); }

/* ---------- 标签徽章 ---------- */
.chip {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: 999px; font-size: 11px; font-weight: 600;
  background: #eef1f5; color: #45505e; white-space: nowrap;
}
.chip.factory { background: var(--ink); color: #fff; }
.chip.trader { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.chip.verified { background: var(--accent-soft); color: var(--accent-deep); }
.chip.verified::before { content: "✓ "; font-weight: 800; }

/* ---------- 价值主张 ---------- */
.band-dark { background: var(--ink); color: #fff; padding: 56px 0; }
.band-dark .section-head h2 { color: #fff; }
.band-dark .sub-title, .band-dark .section-head .sub-title { color: rgba(255, 255, 255, .55); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 24px; transition: all .18s;
}
.feat:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.feat .no { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--accent); }
.feat h3 { color: #fff; font-size: 17px; margin: 8px 0 6px; }
.feat p { color: rgba(255, 255, 255, .6); font-size: 14px; }

.cta-band { background: linear-gradient(120deg, var(--accent), #ff9648); padding: 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 44px 0; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: 28px; }
.cta-inner p { color: rgba(255, 255, 255, .92); margin-top: 6px; font-size: 15px; }
.cta-inner .btn-dark { background: #fff; color: var(--accent-deep); }
.cta-inner .btn-dark:hover { background: #fff5ec; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: #fbfbfd; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1.15fr 1fr 1fr 1fr 1.2fr; gap: 28px; padding: 48px 0 36px; }
.foot-about { font-size: 13px; color: var(--muted); line-height: 1.9; margin-bottom: 10px; }
.foot-more { font-size: 13px; font-weight: 700; color: var(--ink); }
.foot-more:hover { color: var(--accent); }
.foot-more::after { content: "→"; margin-left: 5px; color: var(--accent); }
.foot-contact li { margin-bottom: 8px; color: var(--muted); font-size: 13px; }

/* ---------- About / Contact 页面 ---------- */
.text-block { max-width: 880px; margin: 0 auto; text-align: center; }
.text-block .lead { color: var(--muted); font-size: 15px; line-height: 2; margin-top: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.m-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: left; transition: all .18s; }
.m-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.m-card .no { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.m-card h3 { font-size: 16px; margin: 8px 0 6px; }
.m-card p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.page-cta { margin-top: 30px; }
.footer .brand { font-size: 19px; }
.footer-tagline { color: var(--muted); font-size: 13px; max-width: 300px; margin-top: 12px; line-height: 1.8; }
.foot-col h4 { font-size: 14px; margin-bottom: 14px; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: 13px; color: var(--muted); }
.foot-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #9aa5b1; flex-wrap: wrap; }

/* ---------- 列表页：页头 ---------- */
.page-head { padding: 36px 0 30px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f7f9fc); }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumb a:hover { color: var(--accent); }
.page-head h1 { font-size: 30px; }
.page-head p.desc { color: var(--muted); font-size: 14px; margin-top: 8px; }
.head-search { max-width: 560px; margin-top: 18px; display: flex; gap: 8px; }

/* ---------- 列表页布局 ---------- */
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; padding: 28px 0 60px; align-items: start; }
.aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 84px; }
.aside + .aside { margin-top: 16px; }
.aside-title { font-size: 15px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.aside-title span { font-size: 12px; color: #9aa5b1; font-weight: 500; }
.flist { margin: 8px 0; }
.flist li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; font-size: 14px; color: var(--muted); border-radius: 6px; transition: all .12s;
}
.flist li a:hover { color: var(--ink); background: var(--page); }
.flist li a.on { color: var(--accent-deep); font-weight: 700; background: var(--accent-soft); }
.flist li a .num { font-size: 12px; color: #a3adb9; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 13px; color: var(--muted); background: #fff; transition: all .12s;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.aside .btn { width: 100%; margin-top: 14px; }
.field-label { font-size: 13px; color: var(--muted); margin: 14px 0 8px; font-weight: 600; }
.field-label:first-of-type { margin-top: 0; }

/* ---------- 结果工具条 + 列表 ---------- */
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.result-bar .count { font-size: 14px; color: var(--muted); }
.result-bar .count b { color: var(--ink); font-size: 16px; }
.result-bar .controls { display: flex; gap: 10px; align-items: center; }
.row-list { display: flex; flex-direction: column; gap: 16px; }
.company-row {
  display: flex; align-items: center; gap: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  transition: all .18s;
}
.company-row:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.company-row .logo { width: 76px; height: 76px; font-size: 30px; border-radius: 14px; flex: none; }
.row-main { flex: 1; min-width: 0; }
.row-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row-title h3 { font-size: 18px; }
.row-title h3:hover { color: var(--accent); }
.row-desc {
  margin-top: 8px; color: var(--muted); font-size: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.7;
}
.row-foot { margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-side { flex: none; text-align: right; min-width: 130px; }
.row-side .geo { font-size: 12px; color: var(--muted); }
.row-side .founded { font-size: 12px; color: #9aa5b1; margin-top: 2px; }
.row-side .btn { margin-top: 10px; }
.row-side .stars { display: inline-block; font-size: 11px; margin-top: 8px; }

/* ---------- 空状态 ---------- */
.empty { background: #fff; border: 1px dashed #d6dce3; border-radius: var(--radius); padding: 64px 20px; text-align: center; }
.empty b { display: block; font-size: 16px; margin-bottom: 6px; }
.empty p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* ---------- 公司详情 ---------- */
.company-profile {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow-sm); margin-top: 28px;
}
.profile-top { display: flex; gap: 24px; align-items: flex-start; }
.profile-top .logo { width: 92px; height: 92px; font-size: 36px; border-radius: 18px; flex: none; }
.profile-info { flex: 1; min-width: 0; }
.profile-info h1 { font-size: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.profile-chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.profile-meta { color: var(--muted); font-size: 13px; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.profile-actions { display: flex; flex-direction: column; gap: 10px; flex: none; }
.profile-actions .btn { min-width: 150px; }
.profile-stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  border-top: 1px solid var(--line); margin-top: 24px; padding-top: 22px;
}
.profile-stats .p-stat { text-align: center; }
.profile-stats b { display: block; font-size: 20px; font-weight: 800; }
.profile-stats span { font-size: 12px; color: var(--muted); }

.body-grid { display: grid; grid-template-columns: 1fr 330px; gap: 22px; padding: 24px 0 64px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card + .card { margin-top: 18px; }
.card h2 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.card h2::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 34px; height: 3px; background: var(--accent); border-radius: 2px; }
.card p.body-text { color: var(--muted); font-size: 14px; line-height: 2; }

.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p-item { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: all .15s; }
.p-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.p-thumb {
  height: 118px; display: flex; align-items: flex-end; padding: 14px;
  color: #fff; font-size: 15px; font-weight: 700; position: relative;
}
.p-thumb .idx { position: absolute; top: 12px; right: 14px; font-size: 11px; font-weight: 600; opacity: .75; letter-spacing: 1px; }
.p-item .p-moq { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: 12px; color: var(--muted); background: #fff; }
.p-item .p-moq b { color: var(--accent-deep); font-weight: 700; }

.cert-list li {
  display: flex; align-items: center; gap: 10px; padding: 11px 0;
  border-bottom: 1px dashed var(--line); font-size: 14px;
}
.cert-list li:last-child { border-bottom: none; }
.cert-list .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.cert-list .cert-name { flex: 1; font-weight: 600; }

.info-list li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.info-list li:last-child { border-bottom: none; }
.info-list .k { color: var(--muted); flex: none; }
.info-list .v { text-align: right; font-weight: 600; color: var(--ink); word-break: break-all; }

.contact-card { background: var(--accent-soft); border-color: rgba(255, 106, 0, .25); }
.contact-card h2::before { background: var(--ink); }
.contact-card p { font-size: 13px; color: #8a4a12; margin-bottom: 16px; }
.contact-card .btn { width: 100%; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; font-size: 13px; padding: 12px 20px;
  border-radius: 8px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 99;
  box-shadow: var(--shadow-md); max-width: 90%;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 登录 / 注册页 ---------- */
.auth-page { background: var(--page); min-height: 100vh; display: flex; flex-direction: column; }
.auth-header { background: #fff; border-bottom: 1px solid var(--line); }
.auth-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.auth-back { font-size: 13px; color: var(--muted); font-weight: 600; }
.auth-back:hover { color: var(--accent); }
.auth-back::before { content: "← "; }

.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.auth-card {
  width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 34px; box-shadow: var(--shadow-md);
}
.auth-kicker { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.auth-card h1 { font-size: 26px; margin: 6px 0 4px; }
.auth-card p.sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

.auth-note {
  background: var(--accent-soft); border: 1px dashed rgba(255, 106, 0, .4);
  padding: 10px 12px; border-radius: 8px; font-size: 12px; line-height: 1.7;
  color: #8a4a12; margin-bottom: 18px;
}

.field { display: block; margin-bottom: 14px; }
.field > span { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .forgot { font-size: 12px; font-weight: 600; color: var(--accent-deep); }
.auth-card .input { height: 44px; }

.pass-wrap { position: relative; }
.pass-wrap .input { padding-right: 64px; }
.toggle-pw {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  padding: 5px 9px; font-size: 12px; font-weight: 600; color: var(--muted);
  border-radius: 6px; transition: all .12s;
}
.toggle-pw:hover { color: var(--accent); background: var(--accent-soft); }

.row-opt { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 2px 0 18px; }
.check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 14px; height: 14px; margin: 0; }

.auth-submit { width: 100%; height: 46px; font-size: 15px; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 46px; font-size: 15px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03); transition: all .15s;
}
.btn-google:hover { border-color: #c4cbd5; background: #fafbfc; box-shadow: var(--shadow-sm); }
.btn-google:active { background: #f1f3f5; }

/* 注册页左右分栏（宽卡） */
.auth-card-wide {
  max-width: 960px; padding: 0; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
}
.auth-visual { position: relative; min-height: 100%; background: var(--ink); }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-visual .veil { position: absolute; inset: 0; background: linear-gradient(195deg, rgba(9, 14, 26, .08) 38%, rgba(9, 14, 26, .66) 100%); }
.auth-visual .v-inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; color: #fff; }
.auth-visual .v-inner .v-mini { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.auth-visual .v-inner h3 { color: #fff; font-size: 22px; line-height: 1.35; margin-top: 8px; }
.auth-visual .v-inner p { color: rgba(255, 255, 255, .8); font-size: 13px; margin-top: 8px; line-height: 1.7; }
.v-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.v-tags span { border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.auth-form-side { padding: 38px 40px; min-width: 0; }
@media (max-width: 860px) {
  .auth-card-wide { grid-template-columns: 1fr; }
  .auth-visual { min-height: 230px; }
}
.divider { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #9aa5b1; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-switch { text-align: center; font-size: 13px; color: var(--muted); }
.auth-switch b { color: var(--accent-deep); font-weight: 700; cursor: pointer; }
.auth-switch b:hover { text-decoration: underline; }

.auth-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.role-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.role-row > span { display: block; width: 100%; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.role-chip { position: relative; flex: 1; min-width: calc(50% - 4px); }
.role-chip input { position: absolute; opacity: 0; pointer-events: none; }
.role-chip span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  height: 42px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 13px; color: var(--muted); cursor: pointer; transition: all .12s;
}
.role-chip span:hover { border-color: var(--ink); color: var(--ink); }
.role-chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; }
.term { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.term input { accent-color: var(--accent); margin-top: 3px; width: 14px; height: 14px; flex: none; }
.term a { color: var(--accent-deep); font-weight: 600; }
.term a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .auth-card { padding: 26px 20px; }
  .auth-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cat-grid, .sup-grid { grid-template-columns: repeat(3, 1fr); }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .body-grid { grid-template-columns: 1fr; }
  .profile-stats { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .profile-top { flex-wrap: wrap; }
  .profile-actions { flex-direction: row; width: 100%; }
  .profile-actions .btn { flex: 1; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .header-actions { margin-left: 0; padding-left: 0; border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cat-grid, .sup-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .container { gap: 32px; }
  .company-row { flex-wrap: wrap; }
  .company-row .row-side { text-align: left; min-width: 0; width: 100%; }
  .result-bar { flex-wrap: wrap; }
  .p-grid { grid-template-columns: 1fr; }
}

/* ---------- 首页 About ---------- */
.about-band { padding: 64px 0; background: #fff; }
.about-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.about-kicker { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.about-inner h2 { font-size: 28px; line-height: 1.3; margin-top: 14px; }
.about-inner p { color: var(--muted); font-size: 15px; margin-top: 16px; line-height: 2; }
.about-tags { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.about-tags span { border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.about-tags span:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---------- 登录 / 注册页页脚 ---------- */
.auth-footer { border-top: 1px solid var(--line); background: #fff; }
.auth-footer .container { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; padding: 18px 20px; font-size: 12px; color: #9aa5b1; }
.auth-links { display: flex; gap: 18px; }
.auth-footer a { color: #9aa5b1; }
.auth-footer a:hover { color: var(--accent); }

/* ---------- Help Center ---------- */
textarea.input { height: auto; min-height: 120px; padding: 10px 12px; resize: vertical; line-height: 1.7; }
.help-wrap { max-width: 900px; margin: 0 auto; padding: 44px 20px 76px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.faq-item.open { border-color: rgba(255, 106, 0, .45); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 16px 18px; font-size: 15px; font-weight: 600; color: var(--ink); }
.faq-item.open .faq-q { color: var(--accent-deep); }
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--page); transition: all .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--muted); border-radius: 2px; }
.faq-icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.5px; height: 10px; transform: translate(-50%, -50%); transition: transform .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent-soft); border-color: rgba(255, 106, 0, .5); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item.open .faq-icon::before { background: var(--accent-deep); }
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--accent-deep); font-weight: 600; }
.faq-a a:hover { text-decoration: underline; }

.help-contact { display: grid; grid-template-columns: 300px 1fr; gap: 30px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin-top: 44px; box-shadow: var(--shadow-sm); }
.contact-info h3 { font-size: 15px; margin-bottom: 6px; }
.contact-info > p { color: var(--muted); font-size: 13px; margin-bottom: 16px; line-height: 1.8; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-of-type { border-bottom: none; }
.contact-item .ic { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-deep); font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.contact-item b { display: block; font-size: 14px; }
.contact-item span { display: block; color: var(--muted); font-size: 13px; word-break: break-all; }
.help-form h3 { font-size: 19px; margin-bottom: 4px; }
.help-form > p { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.help-form .btn { width: 100%; height: 46px; margin-top: 4px; }
@media (max-width: 760px) {
  .help-contact { grid-template-columns: 1fr; }
}

/* ---------- Sourcing Guide ---------- */
.guide-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 34px 20px 72px; align-items: start; }
.guide-nav {
  position: sticky; top: 84px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm);
}
.guide-nav-title { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.guide-toc li + li { margin-top: 2px; }
.guide-toc a {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px;
  font-size: 13px; color: var(--muted); border-radius: 7px; transition: all .12s;
}
.guide-toc a span { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--page); color: #9aa5b1; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.guide-toc a:hover { color: var(--ink); background: var(--page); }
.guide-toc a:hover span { background: var(--accent-soft); color: var(--accent-deep); }

.guide-main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.g-section { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; scroll-margin-top: 84px; }
.g-section .g-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-deep); font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.g-section h2 { font-size: 22px; }
.g-section .g-lead { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 8px 0 18px; }
.g-section .g-sub { font-size: 16px; margin: 22px 0 12px; }

.steps { counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.steps li::before {
  content: counter(step); counter-increment: step; flex: none;
  width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.steps li b { display: block; font-size: 14px; }
.steps li span { display: block; color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 2px; }

.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; transition: all .15s; }
.cmp-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.cmp-card .cmp-tag { display: inline-flex; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 700; align-items: center; margin-bottom: 10px; }
.cmp-tag.factory { background: var(--ink); color: #fff; }
.cmp-tag.trader { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.cmp-card h3 { font-size: 16px; margin-bottom: 10px; }

.tick-list { display: flex; flex-direction: column; gap: 9px; }
.tick-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tick-list li b { color: var(--ink); font-weight: 700; }

.g-tip { display: flex; gap: 10px; margin-top: 18px; padding: 12px 14px; background: var(--accent-soft); border: 1px dashed rgba(255, 106, 0, .4); border-radius: 9px; font-size: 13px; color: #8a4a12; line-height: 1.7; }
.g-tip b { font-weight: 700; }
.g-tip .chip { flex: none; height: 18px; font-size: 10px; }

.gloss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gloss-grid.three { grid-template-columns: repeat(3, 1fr); }
.gloss { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #fff; transition: all .15s; }
.gloss:hover { border-color: var(--accent); }
.gloss b { display: block; font-size: 14px; font-weight: 800; color: var(--ink); }
.gloss span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.7; margin-top: 4px; }

@media (max-width: 860px) {
  .guide-wrap { grid-template-columns: 1fr; }
  .guide-nav { position: static; }
  .guide-toc { display: flex; flex-wrap: wrap; gap: 4px; }
  .guide-toc a { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; }
  .guide-toc a span { display: none; }
  .cmp { grid-template-columns: 1fr; }
  .gloss-grid, .gloss-grid.three { grid-template-columns: 1fr; }
}

/* ---------- M4 账号：验证码行 / 登录态 header ---------- */
.code-wrap { display: flex; gap: 8px; align-items: stretch; }
.code-wrap .input { flex: 1; min-width: 0; }
.btn-code {
  flex: none; height: 44px; padding: 0 16px; font-size: 13px; font-weight: 700;
  color: var(--accent-deep); background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 0, .35); border-radius: 8px; cursor: pointer;
  white-space: nowrap; transition: all .15s;
}
.btn-code:hover:not(:disabled) { border-color: var(--accent); }
.btn-code:disabled { opacity: .6; cursor: not-allowed; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.auth-slot { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.auth-slot .nav-link { white-space: nowrap; }
.auth-slot .nav-user {
  font-size: 13px; font-weight: 700; color: var(--ink);
  max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auth-slot .nav-user + .nav-link { margin-left: 6px; }
