/* 企采通 B2B · 仿百度爱采购高密度工业商务样式系统 */
:root {
  --blue: #d92d20;
  --blue-dark: #b42318;
  --blue-soft: #fef2f2;
  --navy: #0f172a;
  --amber: #f59e0b;
  --orange: #ea580c;
  --green: #16a34a;
  --bg: #f3f5f9;
  --card: #ffffff;
  --border: #e5eaf3;
  --text: #0f172a;
  --muted: #64748b;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* 顶部工具条 */
.b2b-topbar { background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-size: 12px; color: #475569; }
.b2b-topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 12px; flex-wrap: wrap; padding: 4px 0; }
.b2b-topbar-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.b2b-topbar-links a:hover { color: var(--blue); }
.b2b-topbar-links .hl { color: var(--orange); font-weight: 700; }

/* 头部大搜索区（爱采购核心视觉） */
.b2b-header { background: #fff; padding: 18px 0 14px; border-bottom: 1px solid #e5eaf3; }
.b2b-header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.b2b-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.b2b-logo-mark { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, #d92d20, #991b1b); color: #fff; font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(217,45,32,.28); }
.b2b-logo-title { font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: -.5px; line-height: 1.1; }
.b2b-logo-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

.b2b-search-wrap { flex: 1; max-width: 650px; }
.b2b-search-tabs { display: flex; gap: 4px; margin-bottom: 6px; }
.b2b-search-tab { padding: 4px 12px; border-radius: 6px 6px 0 0; font-size: 13px; font-weight: 600; color: #475569; cursor: pointer; border: none; background: transparent; }
.b2b-search-tab.active { background: var(--blue); color: #fff; }
.b2b-search-box { display: flex; border: 2px solid var(--blue); border-radius: 0 8px 8px 8px; overflow: hidden; background: #fff; height: 42px; }
.b2b-search-box input { flex: 1; border: none; padding: 0 14px; font-size: 14px; outline: none; min-width: 0; }
.b2b-search-box button { background: var(--blue); color: #fff; border: none; padding: 0 26px; font-size: 15px; font-weight: 700; cursor: pointer; flex-shrink: 0; }
.b2b-search-box button:hover { background: var(--blue-dark); }
.b2b-hot-kw { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.b2b-hot-kw a { color: #475569; }
.b2b-hot-kw a:hover { color: var(--blue); }

.b2b-header-cta { display: flex; gap: 10px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: all .15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-amber { background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; box-shadow: 0 3px 10px rgba(234,88,12,.22); }
.btn-amber:hover { filter: brightness(.95); }
.btn-outline { background: #fff; color: var(--blue); border-color: #fecaca; }
.btn-outline:hover { background: var(--blue-soft); }
.btn-ghost { background: #f1f5f9; color: #334155; border-color: #e2e8f0; }
.btn-ghost:hover { background: #e2e8f0; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 6px; }

/* 主导航条 */
.b2b-nav { background: linear-gradient(90deg, #7f1d1d, #b91c1c); color: #fff; }
.b2b-nav-in { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.b2b-nav-in::-webkit-scrollbar { display: none; }
.b2b-nav-all { background: #d92d20; color: #fff; font-weight: 800; padding: 11px 18px; width: 230px; flex-shrink: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.b2b-nav a.nav-link { padding: 11px 18px; font-size: 14px; font-weight: 600; color: #e2e8f0; white-space: nowrap; border-bottom: 3px solid transparent; }
.b2b-nav a.nav-link:hover, .b2b-nav a.nav-link.active { color: #fff; background: rgba(255,255,255,.1); border-bottom-color: #fbbf24; }
.b2b-nav-badge { background: #ef4444; color: #fff; font-size: 10px; padding: 1px 5px; border-radius: 4px; margin-left: 4px; vertical-align: top; }

/* 首屏黄金三栏 */
.hero-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr) 256px; gap: 14px; margin-top: 14px; }
.hero-grid > *, .twin-grid > *, .panel, .floor, .cat-item, .cat-item > div { min-width: 0; max-width: 100%; }
.cat-sidebar { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px 0; }
.cat-item { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; font-size: 13px; color: #1e293b; border-left: 3px solid transparent; transition: all .12s; }
.cat-item:hover { background: var(--blue-soft); color: var(--blue); border-left-color: var(--blue); }
.cat-item-main { font-weight: 700; display: block; }
.cat-item-sub { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.hero-center { display: flex; flex-direction: column; gap: 10px; min-width: 0; height: 100%; }
.hero-live-panel { flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.hero-live-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; border-bottom: 1px dashed #e2e8f0; padding-bottom: 6px; }
.hero-live-hd strong { color: var(--navy); font-size: 13px; }
.hero-live-list { display: flex; flex-direction: column; gap: 5px; }
.hero-live-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.hero-live-row a { color: #1e293b; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.hero-live-row a:hover { color: var(--blue); }
.hero-live-meta { color: var(--orange); font-size: 11.5px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.hero-belt-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid #f1f5f9; font-size: 11.5px; color: var(--muted); }
.hero-belt-bar a { padding: 2px 8px; border-radius: 4px; background: #f1f5f9; color: #334155; font-weight: 600; }
.hero-belt-bar a:hover { background: var(--blue-soft); color: var(--blue); }
.hero-carousel { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 840 / 320; width: 100%; background: #7f1d1d; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 4; }
.hero-dot { width: 22px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.4); border: none; cursor: pointer; padding: 0; }
.hero-dot.active { background: #fbbf24; width: 32px; }

.quick-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.quick-tile { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 11px 12px; display: flex; flex-direction: column; gap: 3px; transition: all .15s; }
.quick-tile:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,23,42,.06); }
.quick-tile strong { font-size: 13px; color: var(--navy); }
.quick-tile span { font-size: 11px; color: var(--muted); }

.hero-right { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.hero-right-head { text-align: center; padding-bottom: 10px; border-bottom: 1px dashed #e2e8f0; }
.hero-right-head .tag { display: inline-block; background: #fef2f2; color: var(--blue); font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 99px; margin-bottom: 6px; }
.hero-right-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--navy); }
.hero-right-head p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.kpi-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi-mini-box { background: #f8fafc; border-radius: 8px; padding: 9px 10px; text-align: center; }
.kpi-mini-box .num { font-size: 18px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.kpi-mini-box .lbl { font-size: 11px; color: var(--muted); }
.hero-right-btns { display: flex; flex-direction: column; gap: 8px; }

/* 通用楼层标题 */
.floor { margin-top: 24px; }
.floor-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.floor-title { display: flex; align-items: center; gap: 10px; }
.floor-title h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--navy); }
.floor-title .bar { width: 5px; height: 22px; background: var(--blue); border-radius: 4px; }
.floor-title .sub { font-size: 13px; color: var(--muted); }
.floor-more { font-size: 13px; font-weight: 600; color: var(--blue); }
.floor-more:hover { text-decoration: underline; }

/* 实力工厂卡片网格 */
.factory-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.company-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.factory-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; transition: all .15s; }
.factory-card:hover { border-color: var(--blue); box-shadow: 0 8px 20px rgba(217,45,32,.09); transform: translateY(-2px); }
.badge-v { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-blue { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-red { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.factory-name { font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; }
.factory-meta { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.factory-prod { font-size: 12px; color: #334155; background: #f8fafc; padding: 7px 9px; border-radius: 6px; line-height: 1.5; }
.factory-prod-txt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.factory-foot { display: flex; gap: 6px; }
.factory-foot .btn { flex: 1; padding: 6px 8px; font-size: 12px; }

/* 货源供应高密度网格（爱采购商品卡） */
.supply-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.supply-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: all .15s; }
.supply-card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(15,23,42,.08); transform: translateY(-2px); }
.supply-thumb { position: relative; aspect-ratio: 44/30; overflow: hidden; background: #0f172a; }
.supply-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.supply-card:hover .supply-thumb img { transform: scale(1.03); }
.supply-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.supply-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.supply-price { font-size: 18px; font-weight: 900; color: var(--orange); }
.supply-moq { font-size: 12px; color: var(--muted); }
.supply-title { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.supply-title:hover { color: var(--blue); }
.supply-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-chip { font-size: 11px; padding: 2px 7px; border-radius: 4px; background: #f1f5f9; color: #475569; }
.supply-company { font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px dashed #e2e8f0; padding-top: 8px; margin-top: auto; }
.supply-company a { color: #334155; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.supply-company a:hover { color: var(--blue); }
.supply-actions { display: flex; gap: 8px; margin-top: 4px; }
.supply-actions .btn { flex: 1; }

/* 双栏楼层（采购求购 + 榜单问答） */
.twin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #eef2f7; margin-bottom: 12px; }
.panel-head h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--navy); }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #e2e8f0; }
.buy-row:last-child { border-bottom: none; }
.buy-title { font-weight: 700; color: var(--navy); font-size: 14px; display: block; margin-bottom: 4px; }
.buy-title:hover { color: var(--blue); }
.buy-meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.news-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #e2e8f0; }
.news-row:last-child { border-bottom: none; }
.rank-num { width: 22px; height: 22px; border-radius: 6px; background: #e2e8f0; color: #334155; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.rank-num.top { background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff; }

/* 筛选条与面包屑 */
.crumb { padding: 14px 0 10px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.crumb a:hover { color: var(--blue); }
.filter-box { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.filter-lbl { font-weight: 700; color: #475569; min-width: 68px; }
.filter-pill { padding: 4px 12px; border-radius: 6px; color: #334155; background: #f8fafc; border: 1px solid #e2e8f0; }
.filter-pill.active, .filter-pill:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* 详情页（产品/厂铺/资讯/问答） */
.detail-top { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px; display: grid; grid-template-columns: 400px minmax(0, 1fr) 270px; gap: 22px; margin-bottom: 18px; align-items: start; }
.detail-media { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #0f172a; aspect-ratio: 44 / 30; }
.detail-media img { width: 100%; height: 100%; object-fit: contain; }
.detail-info h1 { margin: 0 0 12px; font-size: 21px; line-height: 1.38; color: var(--navy); }
.detail-price-box { background: linear-gradient(90deg, #fff7ed, #fffbeb); border: 1px solid #fed7aa; border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.detail-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; margin-bottom: 16px; }
.detail-kv div span { color: var(--muted); }
.shop-card { background: #f8fafc; border: 1px solid #fecaca; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.detail-body-grid { display: grid; grid-template-columns: 1fr 310px; gap: 18px; align-items: start; }
.article-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.article-box h2, .article-box h3 { color: var(--navy); margin: 18px 0 10px; }
.article-box p { color: #334155; line-height: 1.8; margin: 10px 0; }
.b2b-spec-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
.b2b-spec-table th, .b2b-spec-table td { border: 1px solid #dbe2ee; padding: 10px 14px; text-align: left; }
.b2b-spec-table th { background: #fef2f2; color: #991b1b; font-weight: 700; white-space: nowrap; }
.b2b-spec-table tr:nth-child(even) td { background: #f8fafc; }
.article-content p { margin: 0 0 14px; line-height: 1.85; color: #1e293b; font-size: 15px; }
.article-content h3 { margin: 20px 0 10px; font-size: 17px; color: #0f172a; border-left: 3px solid #d92d20; padding-left: 10px; }
.article-content figure.art-fig { margin: 18px 0; text-align: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px; }
.article-content figure.art-fig img { max-width: 100%; max-height: 460px; width: auto; height: auto; border-radius: 6px; display: block; margin: 0 auto; object-fit: contain; }
.art-list-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid #eef2f7; }
.art-list-thumb { width: 176px; height: 118px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #f1f5f9; border: 1px solid #e2e8f0; display: block; }
.art-list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .art-list-row { flex-direction: column; } .art-list-thumb { width: 100%; height: 180px; } }

/* 企业厂铺云官网横幅 */
.shop-hero { background: linear-gradient(120deg, #450a0a, #991b1b 60%, #d92d20); color: #fff; border-radius: 12px; padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.shop-hero h1 { margin: 0 0 8px; font-size: 24px; font-weight: 900; }
.shop-hero-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #cbd5e1; }

/* 页脚 */
.b2b-footer { background: #0f172a; color: #94a3b8; margin-top: 40px; padding: 34px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid #1e293b; }
.footer-grid h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
.footer-grid a { display: block; color: #94a3b8; font-size: 13px; padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; font-size: 12px; flex-wrap: wrap; gap: 8px; }

/* 弹窗 */
.b2b-modal-mask { position: fixed; inset: 0; background: rgba(15,23,42,.58); z-index: 999; display: none; align-items: center; justify-content: center; padding: 16px; }
.b2b-modal-mask.open { display: flex; }
.b2b-modal { background: #fff; border-radius: 14px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.b2b-modal-hd { padding: 16px 20px; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; }
.b2b-modal-hd h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--navy); }
.b2b-modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: #64748b; line-height: 1; padding: 4px; }
.b2b-modal-bd { padding: 18px 20px; }
.b2b-field { margin-bottom: 12px; }
.b2b-field label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 4px; }
.b2b-field input, .b2b-field select, .b2b-field textarea { width: 100%; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; font-family: inherit; }
.b2b-field input:focus, .b2b-field select:focus, .b2b-field textarea:focus { outline: none; border-color: var(--blue); }
.b2b-toast { padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; margin-bottom: 12px; display: none; }
.b2b-toast.ok { display: block; background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.b2b-toast.err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* 移动端完整自适应 (390×844) */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cat-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 8px; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .supply-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-top { grid-template-columns: 1fr; }
  .detail-body-grid { grid-template-columns: 1fr; }
  .twin-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .b2b-header-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .b2b-header-cta { justify-content: space-between; }
  .b2b-header-cta .btn { flex: 1; }
  .b2b-nav-all { display: none; }
  .b2b-nav-in { flex-wrap: wrap; overflow-x: visible; gap: 0; }
  .b2b-nav a.nav-link { padding: 8px 11px; font-size: 13px; }
  .cat-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-item { padding: 8px 10px; }
  .hero-carousel { height: auto; aspect-ratio: 840 / 320; }
  .quick-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factory-grid { grid-template-columns: 1fr; }
  .company-list-grid { grid-template-columns: 1fr; }
  .supply-grid { grid-template-columns: 1fr; }
  .panel { padding: 14px; }
  .panel-head { flex-wrap: wrap; gap: 8px; }
  .buy-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* === SEO/GEO 高密度蜘蛛分发中枢扩展模块 === */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .b2b-spec-table { min-width: 680px; margin: 0; }
.compare-index-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat-floor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat-floor-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 15px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.cat-floor-card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(217,45,32,.08); }
.cat-floor-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #eef2f7; }
.cat-floor-hd h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--navy); }
.cat-floor-hd a { font-size: 12px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.cat-floor-list { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.cat-floor-list a { color: #334155; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-floor-list a:hover { color: var(--blue); text-decoration: underline; }
.cat-floor-foot { display: flex; gap: 8px; padding-top: 8px; border-top: 1px dashed #e2e8f0; font-size: 12px; }
.cat-floor-foot a { flex: 1; text-align: center; padding: 5px 6px; border-radius: 6px; background: #f8fafc; border: 1px solid #e2e8f0; color: #334155; font-weight: 600; }
.cat-floor-foot a:hover { background: var(--blue-soft); color: var(--blue); border-color: #fecaca; }
.area-chip-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.area-chip { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 12.5px; color: #1e293b; font-weight: 600; transition: all .12s; }
.area-chip:hover { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.area-chip small { color: var(--muted); font-weight: 500; font-size: 11px; flex-shrink: 0; }
.pillar-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pillar-mini-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 9px 8px; text-align: center; }
.pillar-mini-box strong { display: block; font-size: 13px; color: var(--navy); line-height: 1.3; }
.pillar-mini-box span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.factory-phone-pill { font-size: 11.5px; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 5px; padding: 3px 7px; margin-top: 6px; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1024px) {
  .compare-index-grid, .cat-floor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-chip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .compare-index-grid, .cat-floor-grid { grid-template-columns: 1fr; }
  .area-chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.b2b-pager { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 24px 0 8px; }
.b2b-pager a, .b2b-pager span { min-width: 34px; height: 34px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 13px; font-weight: 600; border: 1px solid #dbe2ee; background: #fff; color: #334155; }
.b2b-pager a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.b2b-pager .is-cur { background: var(--blue); border-color: var(--blue); color: #fff; }
.b2b-pager .is-info { background: transparent; border-color: transparent; color: var(--muted); font-weight: 500; }

/* === 独立企业官网 / 旺铺模式（去平台大通栏 · 极简顶条 + 全屏企业店招 + 全屏企业导航 + 专属页脚） === */
.shop-mini-topbar {
  background: #f1f5f9; border-bottom: 1px solid #e2e8f0;
  font-size: 12px; color: #64748b; line-height: 1;
}
.shop-mini-topbar-in {
  min-height: 34px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap;
}
.shop-mini-left, .shop-mini-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shop-mini-topbar a { color: #475569; font-weight: 500; transition: color .12s; }
.shop-mini-topbar a:hover { color: var(--blue); }
.shop-mini-brand { font-weight: 800 !important; color: var(--navy) !important; display: inline-flex; align-items: center; gap: 5px; }
.shop-mini-dot {
  width: 17px; height: 17px; border-radius: 4px; background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900;
}
.shop-mini-sep { color: #cbd5e1; user-select: none; }
.shop-mini-hl { color: #d97706 !important; font-weight: 700 !important; }

/* 全屏通栏企业招牌（白底企业官网标准门面） */
.shop-signboard {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf9 100%);
  border-bottom: 1px solid #e2e8f0;
}
.shop-signboard-in {
  padding-top: 22px; padding-bottom: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.shop-sign-left { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1; }
.shop-emblem {
  width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, #881313 0%, #d92d20 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: #fff;
  box-shadow: 0 8px 22px rgba(217, 45, 32, .22);
}
.shop-sign-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-banner-title { margin: 0; font-size: 25px; font-weight: 900; line-height: 1.25; color: #0f172a; letter-spacing: -.2px; }
.shop-banner-badges { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-top: 7px; }
.shop-pill-soft {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 600;
}
.shop-pill-gray {
  background: #f1f5f9; border: 1px solid #e2e8f0; color: #334155;
  padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 600;
}
.shop-sign-sub {
  margin-top: 7px; font-size: 12.5px; color: #64748b;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 680px;
}
.shop-sign-right {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
  background: #fff; border: 1px solid #dbe2ee; border-radius: 12px;
  padding: 12px 18px; box-shadow: 0 4px 14px rgba(15,23,42,.04);
}
.shop-hotline-lbl { font-size: 11px; color: #64748b; font-weight: 600; }
.shop-hotline-val { font-size: 20px; font-weight: 900; color: #d92d20; line-height: 1.2; margin-top: 2px; letter-spacing: .2px; }

/* 100% 全屏通栏企业官网主导航条 */
.shop-nav-bar {
  background: linear-gradient(90deg, #7f1d1d 0%, #b91c1c 55%, #d92d20 100%);
  box-shadow: 0 3px 12px rgba(127, 29, 29, .16);
}
.shop-nav-in {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.shop-nav-links { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.shop-nav-links a {
  padding: 13px 18px; font-size: 14.5px; font-weight: 700; color: rgba(255,255,255,.88);
  white-space: nowrap; transition: background .14s, color .14s; position: relative;
}
.shop-nav-links a:hover, .shop-nav-links a.active {
  background: rgba(255,255,255,.14); color: #fff;
}
.shop-nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: #fbbf24; border-radius: 3px 3px 0 0;
}
.shop-nav-search {
  display: flex; align-items: center; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.26); border-radius: 999px;
  padding: 2px 3px 2px 12px; width: 230px; max-width: 100%;
}
.shop-nav-search input {
  border: 0; background: transparent; color: #fff; font-size: 12.5px;
  width: 100%; min-width: 0; outline: none;
}
.shop-nav-search input::placeholder { color: rgba(255,255,255,.72); }
.shop-nav-search button {
  border: 0; background: #fbbf24; color: #0f172a; font-size: 12px; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.shop-nav-search button:hover { background: #f59e0b; }

.shop-layout { display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: 18px; align-items: start; }
.shop-sidebar { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.shop-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.shop-side-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.shop-side-hd {
  padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid #eef2f7;
  font-size: 14px; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
}
.shop-side-bd { padding: 14px 16px; }
.shop-kv-list { display: flex; flex-direction: column; gap: 9px; font-size: 13px; margin: 0; padding: 0; list-style: none; }
.shop-kv-list li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed #f1f5f9; padding-bottom: 7px; }
.shop-kv-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.shop-kv-list span { color: var(--muted); flex-shrink: 0; }
.shop-kv-list strong { color: var(--navy); text-align: right; font-weight: 600; word-break: break-all; }
.shop-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #eef2f7; }
.shop-trust-item { background: #f0fdf4; border: 1px solid #dcfce7; color: #166534; font-size: 11.5px; font-weight: 700; padding: 5px 7px; border-radius: 6px; text-align: center; }

.shop-supply-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shop-cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.shop-cat-box {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 15px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; transition: all .15s;
}
.shop-cat-box:hover { background: #fff; border-color: var(--blue); box-shadow: 0 6px 16px rgba(217,45,32,.09); }
.shop-cat-box h3 { margin: 0; font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.35; }
.shop-cat-box p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.shop-guarantees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.shop-g-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; text-align: center; }
.shop-g-item strong { display: block; font-size: 13px; color: var(--navy); }
.shop-g-item span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.shop-peer-list { display: flex; flex-direction: column; gap: 9px; }
.shop-peer-item { display: block; padding-bottom: 9px; border-bottom: 1px dashed #e2e8f0; }
.shop-peer-item:last-child { border-bottom: 0; padding-bottom: 0; }
.shop-peer-item strong { display: block; font-size: 13px; color: var(--navy); line-height: 1.4; }
.shop-peer-item:hover strong { color: var(--blue); }
.shop-peer-item small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.shop-inline-form .b2b-field { margin-bottom: 9px; }
.shop-inline-form input, .shop-inline-form textarea { width: 100%; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 7px; font-size: 13px; font-family: inherit; }

/* 企业动态文章列表 & 独立详情页 */
.shop-news-tabs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #eef2f7;
}
.shop-news-tabs a {
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; transition: all .12s;
}
.shop-news-tabs a:hover, .shop-news-tabs a.active {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.shop-news-kw-chip {
  padding: 4px 10px; border-radius: 999px; font-size: 12px; background: #fffbeb;
  border: 1px solid #fde68a; color: #92400e; font-weight: 600;
}
.shop-news-kw-chip a { background: transparent !important; border: 0 !important; color: #b45309 !important; padding: 0 0 0 4px !important; }
.shop-news-list { display: flex; flex-direction: column; }
.shop-news-item { padding: 13px 4px; border-bottom: 1px dashed #e2e8f0; transition: background .12s; }
.shop-news-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.shop-news-item:hover { background: #f8fafc; border-radius: 8px; padding-left: 10px; padding-right: 10px; margin-left: -6px; margin-right: -6px; }
.shop-news-item-top { display: flex; align-items: baseline; gap: 10px; }
.shop-news-tag {
  flex-shrink: 0; display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 11.5px; font-weight: 700; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca;
}
.shop-news-title {
  flex: 1; min-width: 0; font-size: 15px; font-weight: 700; color: #0f172a; line-height: 1.45;
}
.shop-news-title:hover { color: var(--blue); }
.shop-news-date { flex-shrink: 0; font-size: 12px; color: #94a3b8; font-variant-numeric: tabular-nums; }
.shop-news-summary {
  margin: 6px 0 0; font-size: 13px; color: #64748b; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-article-hd { padding-bottom: 16px; border-bottom: 1px solid #eef2f7; }
.shop-article-cta {
  margin-top: 24px; padding: 16px 20px; border-radius: 10px;
  background: linear-gradient(90deg, #fef2f2 0%, #fffaf9 100%);
  border: 1px solid #fecaca; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.shop-article-cta strong { font-size: 15px; color: #0f172a; }
.shop-article-nav {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid #eef2f7;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; color: #64748b;
}
.shop-article-nav a { color: #1e293b; font-weight: 600; }
.shop-article-nav a:hover { color: var(--blue); text-decoration: underline; }

@media (max-width: 640px) {
  .shop-news-item-top { flex-wrap: wrap; gap: 6px; }
  .shop-news-date { width: 100%; }
  .shop-article-nav { grid-template-columns: 1fr; }
}

/* 企业专属官网页脚 */
.shop-footer {
  margin-top: 36px; background: #0f172a; color: #cbd5e1; padding: 30px 0 20px;
  border-top: 3px solid #d92d20;
}
.shop-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 24px;
  padding-bottom: 20px; border-bottom: 1px solid #1e293b;
}
.shop-footer h4 { margin: 0 0 10px; font-size: 15px; color: #fff; font-weight: 800; }
.shop-footer p { margin: 0 0 6px; font-size: 13px; line-height: 1.7; color: #94a3b8; }
.shop-footer-nav a { display: block; padding: 3px 0; font-size: 13px; color: #94a3b8; }
.shop-footer-nav a:hover { color: #fff; }
.shop-footer-bottom {
  padding-top: 14px; display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap; font-size: 12px; color: #64748b;
}
.shop-footer-bottom a { color: #94a3b8; }
.shop-footer-bottom a:hover { color: #fff; }

@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { order: 2; }
  .shop-main { order: 1; }
  .shop-supply-grid, .shop-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .shop-mini-hide-sm { display: none !important; }
  .shop-signboard-in { padding-top: 16px; padding-bottom: 16px; gap: 14px; }
  .shop-emblem { width: 52px; height: 52px; font-size: 22px; border-radius: 12px; }
  .shop-banner-title { font-size: 19px; }
  .shop-sign-sub { white-space: normal; }
  .shop-sign-right { width: 100%; justify-content: space-between; padding: 10px 14px; }
  .shop-nav-in { padding-bottom: 10px; gap: 8px; }
  .shop-nav-links { width: 100%; }
  .shop-nav-links a { padding: 11px 12px; font-size: 13.5px; }
  .shop-nav-search { width: 100%; }
  .shop-supply-grid, .shop-cat-grid { grid-template-columns: 1fr; }
  .shop-footer-grid { grid-template-columns: 1fr; }
}
