/* 橙采网 — 浅灰色系 · 紧凑高信息密度 B2B 采购平台样式 */

:root {
  /* 60% 浅灰主画布 */
  --bg-canvas: #F1F3F6;
  --bg-canvas-deep: #E8ECF1;
  /* 30% 纯白与极浅灰结构表面 */
  --bg-card: #FFFFFF;
  --bg-surface-muted: #F7F8FA;
  --border-hairline: #E2E6ED;
  --border-subtle: #EDF0F5;
  /* 深灰文字阶梯 */
  --text-primary: #1A1E26;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  /* 10% 工业蓝交互强调色 */
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-soft: #EFF6FF;
  --price-color: #D9531E;
  --success: #059669;
  --success-soft: #ECFDF5;
  --danger: #DC2626;
  /* 圆角与紧凑容器 */
  --radius-lg: 10px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --container-max: 1320px;
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

main {
  flex: 1;
}

/* ========================
   顶部导航栏 (Strict 3-Zone Contract)
   ======================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 58px;
}

.brand-wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-wordmark span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 6px 0;
  transition: color 150ms var(--ease-settle);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms var(--ease-settle);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-hairline);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-panel {
  display: none;
  background: #FFFFFF;
  padding: 14px 20px 20px;
  border-bottom: 1px solid var(--border-hairline);
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========================
   紧凑按钮与表单控件
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 150ms var(--ease-settle), color 150ms var(--ease-settle), border-color 150ms var(--ease-settle);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-white {
  background-color: #FFFFFF;
  border-color: var(--border-hairline);
  color: var(--text-primary);
}

.btn-white:hover {
  background-color: var(--bg-surface-muted);
  border-color: #CBD5E1;
}

.btn-soft {
  background-color: var(--bg-surface-muted);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-soft:hover {
  background-color: var(--accent-soft);
  border-color: #BFDBFE;
  color: var(--accent-hover);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 11px 22px;
  font-size: 14px;
}

.input-field,
.select-field,
.textarea-field {
  border: 1px solid var(--border-hairline);
  background-color: #FFFFFF;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input-field:focus,
.select-field:focus,
.textarea-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
  outline: none;
}

.textarea-field {
  width: 100%;
  resize: vertical;
  min-height: 88px;
}

/* ========================
   顶部紧凑搜索条 (百度爱采购检索区)
   ======================== */
.b2b-search-band {
  padding: 12px 0;
}

.b2b-search-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.b2b-search-main {
  flex: 1;
  min-width: 300px;
}

.search-mode-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.search-mode-btn {
  border: none;
  background: transparent;
  padding: 0 0 3px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.search-mode-btn.is-active {
  color: var(--accent);
}

.search-mode-btn.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}

.search-input-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-hairline);
  padding: 4px 4px 4px 12px;
  border-radius: var(--radius-md);
}

.search-input-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--text-primary);
  min-width: 0;
  padding: 6px 0;
}

.search-input-box input:focus {
  outline: none;
}

.search-input-box input::placeholder {
  color: var(--text-muted);
}

.hot-keywords {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.hot-keywords a {
  color: var(--text-secondary);
}

.hot-keywords a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.b2b-search-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ========================
   首屏紧凑三栏交易核心
   ======================== */
.b2b-hero-grid {
  display: grid;
  grid-template-columns: 248px 1fr 276px;
  gap: 14px;
  align-items: stretch;
}

.cat-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cat-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 2px 8px 8px;
  margin: 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cat-menu-list {
  list-style: none;
  padding: 6px 0 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-menu-item {
  border-radius: var(--radius-sm);
  padding: 7px 8px;
  transition: background-color 140ms ease;
}

.cat-menu-item:hover,
.cat-menu-item.is-active {
  background-color: var(--bg-surface-muted);
}

.cat-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cat-menu-item.is-active .cat-menu-head,
.cat-menu-item:hover .cat-menu-head {
  color: var(--accent);
}

.cat-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.cat-sub-links a:hover {
  color: var(--accent);
}

/* 中栏：紧凑专场主图 + 4格行业直通条 */
.center-showcase-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.center-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-banner {
  position: relative;
  flex: 1;
  min-height: 235px;
  overflow: hidden;
  background: var(--bg-surface-muted);
}

.showcase-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.52) 55%, rgba(17, 24, 39, 0.14) 100%);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #FFFFFF;
}

.showcase-kicker {
  font-size: 12px;
  font-weight: 600;
  color: #93C5FD;
  margin: 0 0 6px 0;
}

.showcase-title {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px 0;
  max-width: 22ch;
  text-wrap: balance;
}

.showcase-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 18px 0;
  max-width: 42ch;
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-hairline);
  background: #FFFFFF;
}

.showcase-tab-btn {
  border: none;
  border-right: 1px solid var(--border-subtle);
  background: transparent;
  padding: 11px 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.showcase-tab-btn:last-child {
  border-right: none;
}

.showcase-tab-btn:hover {
  background: var(--bg-surface-muted);
}

.showcase-tab-btn.is-active {
  background: var(--accent-soft);
}

.showcase-tab-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.showcase-tab-btn.is-active .showcase-tab-title {
  color: var(--accent);
}

.showcase-tab-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* 中栏底部 4 格行业速选卡 */
.quick-channel-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.quick-channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.quick-channel-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.quick-channel-card strong {
  font-size: 13px;
  color: var(--text-primary);
}

.quick-channel-card span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* 右栏：买家卖家紧凑工作台 */
.workbench-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.wb-greeting {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px 0;
}

.wb-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.wb-metrics {
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wb-metric-item .val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.wb-metric-item .lbl {
  font-size: 11.5px;
  color: var(--text-muted);
}

.wb-action-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wb-activity-box {
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}

.wb-activity-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 6px 0;
}

.wb-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.wb-activity-list li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========================
   紧凑数据汇总条 & 区块标题
   ======================== */
.section-space {
  padding-top: 18px;
  padding-bottom: 18px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 2px 0;
}

.section-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
}

.section-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 3px 0 0 0;
}

.trust-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  border-right: 1px solid var(--border-subtle);
  padding-right: 14px;
}

.trust-item:last-child {
  border-right: none;
  padding-right: 0;
}

.trust-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========================
   紧凑求购大厅 (3列高密度卡片)
   ======================== */
.rfq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rfq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 150ms ease;
}

.rfq-card:hover {
  border-color: #BFDBFE;
}

.rfq-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rfq-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rfq-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

/* ========================
   4列紧凑产品网格 (高信息密度)
   ======================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms ease, transform 150ms ease;
}

.product-card:hover {
  border-color: #93C5FD;
  transform: translateY(-2px);
}

.product-thumb-wrap {
  aspect-ratio: 4 / 3;
  background-color: var(--bg-surface-muted);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms var(--ease-settle);
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.03);
}

.product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: var(--accent);
}

.product-spec-summary {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.price-block .price-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--price-color);
  line-height: 1.1;
}

.price-block .price-unit {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ========================
   4列实力供应商名录 + 区域产业带
   ======================== */
.supplier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.supplier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 150ms ease;
}

.supplier-card:hover {
  border-color: #93C5FD;
}

.supplier-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.supplier-scope {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* ========================
   列表页：紧凑横向供应条目 & 筛选栏
   ======================== */
.page-banner {
  padding: 20px 0 14px;
}

.page-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px 0;
  color: var(--text-primary);
}

.page-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.filter-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.segmented-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 140ms ease, color 140ms ease;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.is-active {
  background: #FFFFFF;
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.filter-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.filter-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.result-count-text {
  font-size: 12.5px;
  color: var(--text-muted);
}

.product-list-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.supply-row-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 185px 1fr 220px;
  gap: 20px;
  align-items: center;
  transition: border-color 150ms ease;
}

.supply-row-card:hover {
  border-color: #93C5FD;
}

.supply-row-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-subtle);
}

.supply-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.supply-row-mid h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--text-primary);
}

.supply-row-mid h2 a:hover {
  color: var(--accent);
}

.supply-row-mid p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 10px 0;
  max-width: 72ch;
}

.supply-row-vendor {
  font-size: 12.5px;
  color: var(--text-muted);
}

.supply-row-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-left: 20px;
  border-left: 1px solid var(--border-subtle);
}

/* ========================
   详情页：紧凑左图右买
   ======================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 16px 0 12px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.vendor-top-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
}

.pdp-gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: sticky;
  top: 74px;
}

.pdp-main-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-muted);
  margin-bottom: 10px;
}

.pdp-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pdp-thumb-btn {
  border: 1px solid var(--border-subtle);
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-surface-muted);
  cursor: pointer;
  opacity: 0.7;
}

.pdp-thumb-btn.is-active,
.pdp-thumb-btn:hover {
  opacity: 1;
}

.pdp-thumb-btn.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pdp-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.pdp-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.pdp-summary {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
}

.tier-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.tier-item {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

.tier-item.is-current-tier {
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
}

.tier-item .tier-qty {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.tier-item .tier-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--price-color);
}

.variant-group {
  margin-bottom: 16px;
}

.variant-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-btn {
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface-muted);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

.variant-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-hover);
  font-weight: 600;
}

.qty-buy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.qty-stepper button {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

.qty-stepper button:hover {
  background: #FFFFFF;
}

.qty-stepper input {
  width: 54px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.supplier-strip {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 18px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table th,
.spec-table td {
  padding: 11px 10px;
  text-align: left;
  font-size: 13.5px;
}

.spec-table th {
  width: 220px;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-table td {
  color: var(--text-primary);
  font-weight: 500;
}

/* ========================
   表单与入驻/发布工作台页面
   ======================== */
.split-workspace {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: start;
}

.info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item {
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.step-item:first-child {
  padding-top: 0;
  border-top: none;
}

.step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 2px;
}

.step-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--danger);
  margin-left: 3px;
}

.form-group .input-field,
.form-group .select-field {
  width: 100%;
}

.form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
  display: none;
}

.image-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.image-choice {
  border: 1px solid var(--border-hairline);
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg-surface-muted);
  opacity: 0.7;
}

.image-choice.is-selected {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.image-choice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.success-state-box {
  display: none;
  background: var(--success-soft);
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 16px;
}

.success-state-box h4 {
  margin: 0 0 6px 0;
  font-size: 15.5px;
  color: var(--success);
}

.success-state-box p {
  margin: 0 0 12px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========================
   登录注册页
   ======================== */
.auth-section {
  padding: 28px 0 48px;
}

.auth-shell {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.auth-editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.auth-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}

/* ========================
   抽屉与弹窗
   ======================== */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.35);
  z-index: 90;
  display: none;
}

.drawer-backdrop.is-open,
.modal-backdrop.is-open {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border-left: 1px solid var(--border-hairline);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 200ms var(--ease-settle);
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: calc(100% - 32px);
  max-width: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
  z-index: 110;
  display: none;
}

.modal-dialog.is-open {
  display: block;
}

.drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.drawer-close {
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface-muted);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text-primary);
  cursor: pointer;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 68px;
  height: 51px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-surface-muted);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 8px 0;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-footer {
  padding: 16px 20px 20px;
  background: var(--bg-surface-muted);
  border-top: 1px solid var(--border-subtle);
}

.drawer-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: var(--text-primary);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast-notice.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 12px;
  text-align: center;
}

/* ========================
   页脚
   ======================== */
.site-footer {
  margin-top: 28px;
  padding: 28px 0 24px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-hairline);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 340px;
}

.footer-links {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}

.footer-col a {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}

.empty-state {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 44px 24px;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 6px 0;
  font-size: 17px;
}

.empty-state p {
  margin: 0 0 18px 0;
  color: var(--text-secondary);
  font-size: 13.5px;
}

/* ========================
   响应式适配
   ======================== */
@media (max-width: 1180px) {
  .b2b-hero-grid {
    grid-template-columns: 220px 1fr;
  }

  .workbench-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .b2b-hero-grid,
  .pdp-grid,
  .split-workspace,
  .auth-shell,
  .supply-row-card,
  .workbench-card {
    grid-template-columns: 1fr;
  }

  .supply-row-right {
    border-left: none;
    padding-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    align-items: flex-start;
    text-align: left;
  }

  .product-grid,
  .rfq-grid,
  .supplier-grid,
  .trust-strip,
  .quick-channel-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-right: none;
    padding-right: 0;
  }

  .pdp-gallery-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .product-grid,
  .rfq-grid,
  .supplier-grid,
  .form-grid-2,
  .tier-price-grid,
  .showcase-tabs,
  .trust-strip,
  .quick-channel-strip {
    grid-template-columns: 1fr;
  }

  .image-picker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
