/* ============================================================
   迪诺斯DOS 办公家具官网 - 全局样式
   风格: 简约现代商务风（复刻原站）
   ============================================================ */
:root {
  --c-text: rgb(15, 23, 41);
  --c-text-2: #4b5563;
  --c-text-3: #9ca3af;
  --c-bg: rgb(250, 250, 250);
  --c-white: #ffffff;
  --c-border: rgb(229, 231, 235);
  --c-border-2: #e5e7eb;
  --c-dark: #111827;
  --c-accent: #111827;
  --radius: 8px;
  --font: Inter, "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 15px;
  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 { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 14px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.site-main { min-height: 60vh; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 28px; border-radius: 6px;
  font-size: 14px; font-weight: 600; line-height: 1;
  transition: all .25s; cursor: pointer; white-space: nowrap;
}
.btn-dark { background: var(--c-dark); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(17,24,39,.18); }
.btn-light { background: #fff; color: #111827; }
.btn-light:hover { background: #f3f4f6; }
.btn-outline { background: transparent; color: #111827; border: 1px solid #111827; }
.btn-outline:hover { background: #111827; color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: #111827; }
.btn-white:hover { background: #f3f4f6; }

/* ===== 顶栏 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; flex-direction: column; line-height: 1.2; flex-shrink: 0; }
.logo-name { font-size: 19px; font-weight: 800; letter-spacing: .5px; color: #111827; }
.logo-name em { font-style: normal; font-weight: 800; color: #111827; }
.logo-slogan { font-size: 9px; letter-spacing: 1.6px; color: var(--c-text-3); font-weight: 500; margin-top: 2px; }
.main-nav { display: flex; gap: 4px; margin: 0 auto; }
.nav-link {
  padding: 8px 14px; font-size: 14px; color: var(--c-text-2);
  border-radius: 6px; transition: all .2s; font-weight: 500;
}
.nav-link:hover { color: #111827; background: #f3f4f6; }
.nav-link.active { color: #111827; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.icon-btn {
  position: relative; width: 38px; height: 38px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 8px;
  color: #374151; transition: all .2s;
}
.icon-btn:hover { background: #f3f4f6; color: #111827; }
.badge {
  position: absolute; top: 2px; right: 0;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: #ef4444; color: #fff; font-size: 10px; font-weight: 700;
  border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
}
.header-login { padding: 8px 12px; font-size: 14px; color: var(--c-text-2); font-weight: 500; }
.header-login:hover { color: #111827; }
.btn-quote { margin-left: 4px; }
.header-user { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; }
.header-user:hover { background: #f3f4f6; }
.avatar-mini {
  width: 28px; height: 28px; border-radius: 50%;
  background: #111827; color: #fff; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.header-user-name { font-size: 13px; color: var(--c-text-2); font-weight: 500; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 22px; height: 2px; background: #111827; border-radius: 2px; transition: all .3s; }

/* 搜索框 */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(255,255,255,.98);
  display: none; align-items: flex-start; justify-content: center;
  padding-top: 120px;
}
.search-overlay.open { display: flex; }
.search-box { width: min(620px, 90%); position: relative; }
.search-form { display: flex; border-bottom: 2px solid #111827; }
.search-form input {
  flex: 1; border: none; outline: none; font-size: 22px;
  padding: 14px 8px; background: transparent; color: #111827;
}
.search-form button { padding: 10px 12px; color: #111827; }
.search-close { position: absolute; top: -60px; right: 0; font-size: 30px; color: #6b7280; padding: 6px 10px; }
.search-close:hover { color: #111827; }

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section-bg { background: var(--c-bg); }
.section-white { background: #fff; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-eyebrow {
  font-size: 12px; letter-spacing: 3px; color: var(--c-text-3);
  text-transform: uppercase; font-weight: 600; margin-bottom: 10px;
}
.section-title { font-size: 32px; font-weight: 700; letter-spacing: -.5px; color: #111827; }
.section-sub { margin-top: 12px; color: var(--c-text-2); max-width: 640px; margin-left: auto; margin-right: auto; font-size: 15px; }

/* ===== Hero 轮播 ===== */
.hero { position: relative; height: 560px; overflow: hidden; background: #0f1729; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,15,30,.72) 0%, rgba(10,15,30,.35) 55%, rgba(10,15,30,.1) 100%);
}
.hero-content {
  position: relative; z-index: 3; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.hero-eyebrow { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 16px; font-weight: 600; }
.hero-title { font-size: 46px; font-weight: 800; line-height: 1.2; letter-spacing: -.5px; max-width: 640px; }
.hero-desc { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,.85); max-width: 480px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; }
.hero-dots {
  position: absolute; bottom: 28px; left: 0; right: 0; z-index: 4;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* ===== 空间方案卡片 ===== */
.space-solutions { display: flex; gap: 24px; align-items: stretch; }
.space-text { flex: 0 0 40%; display: flex; flex-direction: column; justify-content: center; }
.space-cards-wrap { flex: 1; position: relative; min-height: 420px; }
.space-card {
  position: absolute; inset: 0; display: none;
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--c-border);
}
.space-card.active { display: block; animation: fadeIn .5s ease; }
.space-card img { width: 100%; height: 260px; object-fit: cover; }
.space-card-body { padding: 24px; }
.space-card-en { font-size: 11px; letter-spacing: 2.5px; color: var(--c-text-3); text-transform: uppercase; font-weight: 600; }
.space-card-name { font-size: 22px; font-weight: 700; margin-top: 6px; }
.space-card-count { margin-top: 6px; color: var(--c-text-2); font-size: 14px; }
.space-card-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: #111827; font-weight: 600; font-size: 14px; }
.space-card-link:hover { gap: 10px; }
.space-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.space-tab {
  padding: 8px 16px; border-radius: 20px; font-size: 13px;
  background: #f3f4f6; color: var(--c-text-2); font-weight: 500; transition: all .2s;
}
.space-tab.active, .space-tab:hover { background: #111827; color: #fff; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ===== 产品卡片 ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--c-border); transition: all .3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(17,24,39,.1); }
.product-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f9fafb; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.product-tag {
  padding: 3px 10px; font-size: 11px; font-weight: 600; border-radius: 4px;
  background: #111827; color: #fff;
}
.product-tag.hot { background: #ef4444; }
.product-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-series { font-size: 11px; letter-spacing: 2px; color: var(--c-text-3); text-transform: uppercase; font-weight: 600; }
.product-name { font-size: 16px; font-weight: 600; margin-top: 6px; color: #111827; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.product-price-row { margin-top: auto; padding-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.price-symbol { font-size: 13px; font-weight: 700; color: #111827; }
.product-price { font-size: 20px; font-weight: 700; color: #111827; }
.price-text { font-size: 14px; color: var(--c-text-2); font-weight: 600; }
.product-actions { display: flex; gap: 8px; margin-top: 14px; }
.product-actions .btn { flex: 1; padding: 10px 0; font-size: 13px; }
.btn-cart { background: #f3f4f6; color: #111827; }
.btn-cart:hover { background: #e5e7eb; }
.btn-quote-2 { background: #111827; color: #fff; }
.btn-quote-2:hover { background: #000; }
.product-card .icon-fav { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; color: #6b7280; z-index: 2; transition: all .2s; }
.product-card .icon-fav:hover, .product-card .icon-fav.active { color: #ef4444; }

/* ===== 产品中心页 ===== */
.page-hero {
  background: #0f1729; color: #fff; padding: 84px 0 76px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .12;
  background-image: url('../images/static/aadkwhqvsugho.jpg'); background-size: cover; background-position: center;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-title { font-size: 40px; font-weight: 800; letter-spacing: -.5px; }
.page-hero-desc { margin-top: 14px; color: rgba(255,255,255,.8); font-size: 15px; max-width: 560px; }
.page-hero-stats { display: flex; gap: 48px; margin-top: 32px; }
.page-hero-stat-num { font-size: 32px; font-weight: 800; }
.page-hero-stat-label { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 2px; }

.series-bar { background: #fff; border-bottom: 1px solid var(--c-border); position: sticky; top: 68px; z-index: 50; }
.series-list { display: flex; gap: 4px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.series-list::-webkit-scrollbar { display: none; }
.series-item {
  padding: 8px 16px; border-radius: 8px; font-size: 13px; color: var(--c-text-2);
  white-space: nowrap; transition: all .2s; font-weight: 500;
}
.series-item:hover { background: #f3f4f6; color: #111827; }
.series-item.active { background: #111827; color: #fff; }
.series-item .count { font-size: 11px; opacity: .6; margin-left: 2px; }

.filter-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 24px; }
.filter-label { font-size: 13px; color: var(--c-text-3); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip { padding: 7px 16px; border-radius: 20px; font-size: 13px; background: #fff; border: 1px solid var(--c-border); color: var(--c-text-2); cursor: pointer; transition: all .2s; }
.filter-chip.active, .filter-chip:hover { background: #111827; color: #fff; border-color: #111827; }
.filter-clear { font-size: 13px; color: #6b7280; margin-left: auto; }
.filter-clear:hover { color: #ef4444; }
.filter-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-input {
  padding: 8px 16px; border: 1px solid var(--c-border); border-radius: 8px; outline: none;
  width: 200px; background: #fff; transition: border .2s;
}
.search-input:focus { border-color: #111827; }
.select-input { padding: 8px 14px; border: 1px solid var(--c-border); border-radius: 8px; background: #fff; outline: none; color: var(--c-text-2); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: 8px;
  background: #fff; border: 1px solid var(--c-border); color: var(--c-text-2);
  font-size: 14px; display: inline-flex; align-items: center; justify-content: center; transition: all .2s;
}
.page-btn:hover { border-color: #111827; color: #111827; }
.page-btn.active { background: #111827; color: #fff; border-color: #111827; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ===== 产品详情 ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; }
.pd-gallery { }
.pd-main-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border); background: #fff; aspect-ratio: 4/3; position: relative; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: .7; transition: all .2s; }
.pd-thumb.active { border-color: #111827; opacity: 1; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .pd-series { font-size: 12px; letter-spacing: 2.5px; color: var(--c-text-3); text-transform: uppercase; font-weight: 600; }
.pd-info h1 { font-size: 30px; font-weight: 700; margin-top: 8px; letter-spacing: -.5px; }
.pd-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.pd-price { font-size: 30px; font-weight: 800; }
.pd-stock { font-size: 13px; color: #059669; background: #ecfdf5; padding: 4px 10px; border-radius: 4px; font-weight: 600; }
.pd-spec { font-size: 13px; color: var(--c-text-3); margin-top: 10px; }
.pd-options { margin-top: 26px; }
.pd-opt-group { margin-bottom: 18px; }
.pd-opt-label { font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.pd-opt-label span { font-weight: 400; color: var(--c-text-3); font-size: 12px; }
.pd-opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-opt {
  padding: 8px 16px; border: 1px solid var(--c-border); border-radius: 6px;
  font-size: 13px; color: var(--c-text-2); cursor: pointer; transition: all .2s; background: #fff;
}
.pd-opt:hover { border-color: #111827; color: #111827; }
.pd-opt.active { border-color: #111827; background: #111827; color: #fff; font-weight: 600; }
.pd-opt.swatch { padding: 4px; width: 34px; height: 34px; border-radius: 50%; }
.pd-opt.swatch.active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111827; }
.pd-qty { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.pd-qty-label { font-size: 13px; font-weight: 600; color: #374151; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--c-border); border-radius: 6px; overflow: hidden; }
.qty-btn { width: 36px; height: 38px; font-size: 18px; color: #374151; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: #f3f4f6; }
.qty-input { width: 48px; height: 38px; border: none; text-align: center; font-size: 14px; font-weight: 600; outline: none; }
.pd-subtotal { margin-left: auto; font-size: 13px; color: var(--c-text-2); }
.pd-subtotal strong { font-size: 18px; color: #111827; margin-left: 6px; }
.pd-buttons { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pd-buttons .btn { flex: 1; min-width: 140px; padding: 14px 0; }
.pd-service { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.pd-service-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-text-2); }
.pd-service-item svg { color: #111827; flex-shrink: 0; }
.pd-detail-section { padding: 56px 0; border-top: 1px solid var(--c-border); }
.pd-detail-body { max-width: 860px; margin: 0 auto; }
.pd-detail-body h2 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.pd-detail-body p { margin-bottom: 16px; color: var(--c-text-2); font-size: 15px; }
.pd-detail-body img { margin: 24px auto; border-radius: 10px; }

/* ===== 案例 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border); transition: all .3s; display: flex; flex-direction: column; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(17,24,39,.1); }
.case-card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #f3f4f6; }
.case-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .case-card-media img { transform: scale(1.05); }
.case-card-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.case-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.case-card-industry { font-size: 12px; color: var(--c-text-3); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.case-card-title { font-size: 18px; font-weight: 700; margin-top: 6px; }
.case-card-meta { font-size: 13px; color: var(--c-text-2); margin-top: 6px; }
.case-card-desc { margin-top: 10px; font-size: 14px; color: var(--c-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.case-card-count { font-size: 13px; color: var(--c-text-3); }
.case-card-count strong { color: #111827; }
.case-card-link { font-size: 13px; font-weight: 600; color: #111827; display: inline-flex; align-items: center; gap: 4px; }
.case-card-link:hover { gap: 8px; }

/* 案例详情 */
.case-detail { max-width: 900px; margin: 0 auto; padding: 48px 0; }
.case-back { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text-2); font-size: 14px; margin-bottom: 24px; }
.case-back:hover { color: #111827; }
.case-detail-header { text-align: center; margin-bottom: 36px; }
.case-detail-title { font-size: 36px; font-weight: 800; letter-spacing: -.5px; }
.case-detail-tags { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.case-detail-desc { margin-top: 16px; color: var(--c-text-2); font-size: 15px; max-width: 680px; margin-left: auto; margin-right: auto; }
.case-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; }
.case-info-item { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 18px; text-align: center; }
.case-info-label { font-size: 12px; color: var(--c-text-3); }
.case-info-value { font-size: 16px; font-weight: 700; margin-top: 6px; }
.case-section-title { font-size: 24px; font-weight: 700; margin: 44px 0 20px; }
.case-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-highlight { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 24px; }
.case-highlight-num { font-size: 28px; font-weight: 800; color: #111827; opacity: .15; }
.case-highlight-title { font-size: 16px; font-weight: 700; margin-top: 10px; }
.case-highlight-desc { font-size: 14px; color: var(--c-text-2); margin-top: 8px; }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.case-gallery img { border-radius: 10px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case-review { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 28px; display: flex; gap: 16px; margin-top: 24px; }
.case-review img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.case-review-quote { font-size: 15px; color: var(--c-text-2); font-style: italic; }
.case-review-author { margin-top: 12px; font-size: 13px; font-weight: 600; }
.case-nav { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.case-nav a { font-size: 14px; color: var(--c-text-2); }
.case-nav a:hover { color: #111827; }

/* ===== 新闻 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--c-border); transition: all .3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(17,24,39,.1); }
.news-card-media { aspect-ratio: 16/9; overflow: hidden; background: #f3f4f6; position: relative; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; }
.news-card-cat { position: absolute; top: 12px; left: 12px; padding: 4px 12px; background: #111827; color: #fff; font-size: 11px; font-weight: 600; border-radius: 4px; }
.news-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-card-meta { display: flex; gap: 14px; font-size: 12px; color: var(--c-text-3); }
.news-card-title { font-size: 17px; font-weight: 700; margin-top: 10px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-title:hover { color: #374151; }
.news-card-summary { margin-top: 10px; font-size: 14px; color: var(--c-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--c-text-3); }
.news-card-read { color: #111827; font-weight: 600; font-size: 13px; }

/* 新闻详情 */
.news-detail { max-width: 760px; margin: 0 auto; padding: 48px 0; }
.news-detail .news-back { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text-2); font-size: 14px; margin-bottom: 24px; }
.news-detail h1 { font-size: 32px; font-weight: 800; line-height: 1.3; letter-spacing: -.5px; }
.news-detail-meta { display: flex; gap: 18px; margin-top: 16px; font-size: 13px; color: var(--c-text-3); flex-wrap: wrap; }
.news-detail-meta .cat { color: #111827; font-weight: 600; }
.news-detail-body { margin-top: 36px; font-size: 15.5px; color: #374151; line-height: 1.9; }
.news-detail-body h2 { font-size: 22px; font-weight: 700; color: #111827; margin: 32px 0 16px; }
.news-detail-body h3 { font-size: 18px; font-weight: 700; color: #111827; margin: 24px 0 12px; }
.news-detail-body p { margin-bottom: 18px; }
.news-detail-body ul, .news-detail-body ol { margin: 0 0 18px 22px; }
.news-detail-body li { margin-bottom: 8px; list-style: disc; }
.news-detail-body ol li { list-style: decimal; }
.news-detail-body strong { color: #111827; }

/* ===== 关于 ===== */
.about-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.about-stat { text-align: center; }
.about-stat-num { font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.about-stat-label { font-size: 13px; color: var(--c-text-3); margin-top: 4px; }
.about-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-border); margin-top: 44px; flex-wrap: wrap; }
.about-tab { padding: 14px 22px; font-size: 14px; color: var(--c-text-2); border-bottom: 2px solid transparent; font-weight: 500; cursor: pointer; transition: all .2s; }
.about-tab:hover { color: #111827; }
.about-tab.active { color: #111827; font-weight: 600; border-bottom-color: #111827; }
.about-panel { padding: 40px 0; }
.about-panel-body { max-width: 860px; margin: 0 auto; }
.about-panel-body p { margin-bottom: 16px; color: var(--c-text-2); font-size: 15px; line-height: 1.9; }
.about-panel-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 14px; color: #111827; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--c-border); }
.timeline-item { position: relative; padding: 0 0 28px 20px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #111827; border: 3px solid #fff; box-shadow: 0 0 0 1px #111827; }
.timeline-year { font-size: 15px; font-weight: 700; color: #111827; }
.timeline-text { font-size: 14px; color: var(--c-text-2); margin-top: 6px; }

/* ===== 联系 ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 32px 24px; text-align: center; transition: all .3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(17,24,39,.08); }
.contact-icon { width: 52px; height: 52px; border-radius: 50%; background: #f3f4f6; display: inline-flex; align-items: center; justify-content: center; color: #111827; }
.contact-card-title { font-size: 16px; font-weight: 700; margin-top: 16px; }
.contact-card-value { font-size: 20px; font-weight: 700; margin-top: 8px; color: #111827; }
.contact-card-sub { font-size: 13px; color: var(--c-text-3); margin-top: 6px; }
.contact-form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 36px; }
.contact-form-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.contact-form-card .sub { font-size: 13px; color: var(--c-text-3); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 8px; }
.form-group label .req { color: #ef4444; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-border);
  border-radius: 8px; outline: none; background: #fff; font-size: 14px; transition: border .2s;
}
.form-control:focus { border-color: #111827; }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-tip { font-size: 12px; color: #059669; margin-top: 10px; min-height: 18px; }
.form-tip.error { color: #ef4444; }
.branch-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.branch-card { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 24px; }
.branch-name { font-size: 15px; font-weight: 700; }
.branch-addr { font-size: 13px; color: var(--c-text-2); margin-top: 8px; }

/* ===== 登录页 ===== */
.login-page { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 68px); }
.login-left {
  background: #0f1729; color: #fff; padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.login-left::before { content: ''; position: absolute; inset: 0; opacity: .15; background-image: url('../images/static/aadkwhqvsugho.jpg'); background-size: cover; }
.login-left-content { position: relative; z-index: 2; }
.login-left h1 { font-size: 38px; font-weight: 800; line-height: 1.3; }
.login-left .points { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.login-point { display: flex; align-items: flex-start; gap: 14px; }
.login-point svg { flex-shrink: 0; margin-top: 3px; color: #fff; }
.login-point-text strong { display: block; font-size: 15px; }
.login-point-text p { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 3px; }
.login-copyright { position: absolute; left: 64px; bottom: 28px; z-index: 2; font-size: 12px; color: rgba(255,255,255,.45); }
.login-right { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--c-bg); }
.login-card { width: min(400px, 100%); }
.login-card h2 { font-size: 26px; font-weight: 800; text-align: center; }
.login-card .sub { text-align: center; font-size: 14px; color: var(--c-text-3); margin-top: 8px; margin-bottom: 32px; }
.login-options { display: flex; gap: 10px; margin-bottom: 22px; }
.login-option { flex: 1; text-align: center; padding: 10px; border: 1px solid var(--c-border); border-radius: 8px; font-size: 13px; color: var(--c-text-2); cursor: pointer; transition: all .2s; background: #fff; }
.login-option.active { border-color: #111827; color: #111827; font-weight: 600; }
.login-remember { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--c-text-2); margin-top: 4px; }
.login-remember label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.login-remember a { color: #6b7280; }
.login-remember a:hover { color: #111827; }
.login-submit { margin-top: 24px; }
.login-register { text-align: center; margin-top: 20px; font-size: 13px; color: var(--c-text-2); }
.login-register a { color: #111827; font-weight: 600; }
.login-social { margin-top: 28px; text-align: center; }
.login-social-label { font-size: 12px; color: var(--c-text-3); position: relative; }
.login-social-label::before, .login-social-label::after { content: ''; position: absolute; top: 50%; width: 60px; height: 1px; background: var(--c-border); }
.login-social-label::before { left: 24px; }
.login-social-label::after { right: 24px; }
.login-social-icons { display: flex; justify-content: center; gap: 16px; margin-top: 16px; }
.login-social-icons a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; color: #6b7280; transition: all .2s; background: #fff; }
.login-social-icons a:hover { border-color: #111827; color: #111827; }

/* ===== 报价工作台 ===== */
.quotation-page { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.quotation-head { text-align: center; margin-bottom: 36px; }
.quotation-head h1 { font-size: 30px; font-weight: 800; }
.quotation-head p { color: var(--c-text-2); margin-top: 8px; font-size: 14px; }
.quotation-table { width: 100%; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.quotation-table th { background: #f9fafb; font-size: 13px; color: var(--c-text-3); font-weight: 600; text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.quotation-table td { padding: 14px 16px; border-bottom: 1px solid var(--c-border); font-size: 14px; vertical-align: middle; }
.quotation-table tr:last-child td { border-bottom: none; }
.quotation-table .product-cell { display: flex; align-items: center; gap: 12px; }
.quotation-table .product-cell img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.qty-edit { display: inline-flex; align-items: center; border: 1px solid var(--c-border); border-radius: 6px; }
.qty-edit button { width: 28px; height: 30px; font-size: 15px; color: #374151; }
.qty-edit input { width: 36px; height: 30px; border: none; text-align: center; outline: none; font-size: 13px; }
.quotation-summary { margin-top: 24px; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.quotation-summary .total { font-size: 16px; }
.quotation-summary .total strong { font-size: 24px; font-weight: 800; }
.quotation-empty { text-align: center; padding: 80px 0; color: var(--c-text-3); }
.quotation-empty svg { margin: 0 auto 16px; color: #d1d5db; }

/* ===== 购物车 ===== */
.cart-page { max-width: 1000px; margin: 0 auto; padding: 48px 24px; }
.cart-empty { text-align: center; padding: 80px 0; }
.cart-empty h2 { font-size: 22px; font-weight: 700; color: #374151; margin-top: 16px; }
.cart-empty p { color: var(--c-text-3); margin-top: 8px; margin-bottom: 24px; }

/* ===== CTA 区块 ===== */
.cta-section {
  background: #0f1729; color: #fff; padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before { content: ''; position: absolute; inset: 0; opacity: .1; background-image: url('../images/static/aadkwdmbhamgg.jpg'); background-size: cover; background-position: center; }
.cta-section .container { position: relative; z-index: 2; }
.cta-eyebrow { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
.cta-title { font-size: 34px; font-weight: 800; margin-top: 14px; }
.cta-desc { margin-top: 14px; color: rgba(255,255,255,.75); font-size: 15px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }

/* ===== 页脚 ===== */
.site-footer { background: #0f1729; color: #9ca3af; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { font-size: 22px; font-weight: 800; color: #fff; }
.footer-logo em { font-style: normal; }
.footer-desc { margin-top: 14px; font-size: 13px; line-height: 1.8; color: #9ca3af; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: #9ca3af; transition: all .2s; }
.footer-social a:hover { background: #fff; color: #0f1729; border-color: #fff; }
.footer-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #9ca3af; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; line-height: 1.6; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: #6b7280; }
.footer-sub-desc { font-size: 13px; color: #9ca3af; margin-bottom: 14px; }
.subscribe-form { display: flex; gap: 8px; }
.subscribe-form input { flex: 1; padding: 11px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; outline: none; font-size: 13px; }
.subscribe-form input::placeholder { color: #6b7280; }
.subscribe-form input:focus { border-color: #fff; }
.subscribe-tip { margin-top: 10px; font-size: 12px; color: #34d399; min-height: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; font-size: 12px; color: #6b7280; flex-wrap: wrap; gap: 10px; }
.footer-bottom-links { display: flex; align-items: center; gap: 10px; }
.footer-bottom-links a:hover { color: #fff; }

/* ===== 悬浮按钮 ===== */
.float-actions { position: fixed; right: 24px; bottom: 24px; z-index: 150; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: all .25s;
}
.float-chat { background: #111827; }
.float-chat:hover { background: #000; transform: scale(1.05); }
.float-top { background: rgba(255,255,255,.92); color: #111827; border: 1px solid var(--c-border); opacity: 0; pointer-events: none; }
.float-top.show { opacity: 1; pointer-events: auto; }
.float-top:hover { background: #111827; color: #fff; }

/* 客服弹窗 */
.chat-popup {
  position: fixed; right: 24px; bottom: 84px; z-index: 150;
  width: 320px; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.16); border: 1px solid var(--c-border);
  display: none;
}
.chat-popup.open { display: block; animation: fadeIn .3s ease; }
.chat-popup-head { background: #111827; color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; }
.chat-popup-head button { color: #fff; font-size: 20px; }
.chat-popup-body { padding: 16px; font-size: 13px; color: var(--c-text-2); }
.chat-popup-body p { margin-bottom: 10px; }
.chat-lead-form input, .chat-lead-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 6px;
  outline: none; font-size: 13px; margin-bottom: 10px; background: #fff;
}
.chat-lead-form input:focus, .chat-lead-form textarea:focus { border-color: #111827; }
.chat-tip { font-size: 12px; color: #059669; min-height: 16px; margin-top: 6px; }

/* ===== 页脚 ===== */
/* 面包屑 */
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--c-text-3); padding: 18px 0; }
.breadcrumb a:hover { color: #111827; }

/* 统计条 */
.stats-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.stat-item-num { font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.stat-item-label { font-size: 13px; color: var(--c-text-3); margin-top: 4px; }

/* 为什么选择我们 */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 28px; transition: all .3s; }
.why-item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(17,24,39,.08); }
.why-icon { width: 48px; height: 48px; border-radius: 10px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; color: #111827; }
.why-title { font-size: 16px; font-weight: 700; margin-top: 16px; }
.why-desc { font-size: 14px; color: var(--c-text-2); margin-top: 8px; line-height: 1.7; }

/* 客户评价 */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 28px; }
.review-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
.review-content { margin-top: 14px; font-size: 14.5px; color: var(--c-text-2); line-height: 1.8; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-border); }
.review-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-author-name { font-size: 14px; font-weight: 600; }
.review-author-company { font-size: 12px; color: var(--c-text-3); }

/* 社区 */
.forum-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.forum-cat-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 24px; transition: all .3s; display: block; }
.forum-cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(17,24,39,.08); border-color: #111827; }
.forum-cat-name { font-size: 16px; font-weight: 700; }
.forum-cat-desc { font-size: 13px; color: var(--c-text-2); margin-top: 8px; }
.forum-cat-count { font-size: 12px; color: var(--c-text-3); margin-top: 12px; }
.forum-topic-row { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 18px 20px; margin-bottom: 12px; display: flex; align-items: center; gap: 16px; transition: all .2s; }
.forum-topic-row:hover { border-color: #111827; }
.forum-topic-title { font-size: 15px; font-weight: 600; flex: 1; }
.forum-topic-meta { font-size: 12px; color: var(--c-text-3); white-space: nowrap; }

/* 首页热门产品 tab */
.product-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; }
.product-tab { padding: 10px 24px; border-radius: 24px; font-size: 14px; font-weight: 500; background: #fff; border: 1px solid var(--c-border); color: var(--c-text-2); transition: all .2s; }
.product-tab.active, .product-tab:hover { background: #111827; color: #fff; border-color: #111827; }

/* 首页新闻 */
.news-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 动画 */
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: all .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Toast */
.toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-16px);
  background: #111827; color: #fff; padding: 12px 26px; border-radius: 8px;
  font-size: 14px; font-weight: 500; z-index: 300; opacity: 0;
  transition: all .3s; box-shadow: 0 8px 24px rgba(0,0,0,.2); pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-error { background: #dc2626; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 24px 20px; border-bottom: 1px solid var(--c-border); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .case-grid, .news-grid, .news-feature-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-title { font-size: 36px; }
  .space-solutions { flex-direction: column; }
  .space-text { flex: none; }
  .login-page { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .product-detail { grid-template-columns: 1fr; }
  .contact-form-wrap { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .case-grid, .news-grid, .news-feature-grid, .review-grid, .why-grid, .forum-cat-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; }
  .hero { height: 460px; }
  .hero-title { font-size: 28px; }
  .header-actions .btn-quote { display: none; }
  .header-user-name { display: none; }
  .filter-right { width: 100%; margin-left: 0; }
  .search-input { flex: 1; width: auto; }
  .case-info-grid, .case-highlights, .case-gallery { grid-template-columns: 1fr; }
  .contact-grid, .branch-list, .stats-bar { grid-template-columns: 1fr; }
  .pd-service { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== 首页：空间方案新布局 ===== */
.space-solutions-new-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.ssn-count { font-size: 18px; font-weight: 600; color: var(--c-text); }
.ssn-count strong { font-size: 30px; font-weight: 800; color: var(--c-primary, #b91c1c); margin-right: 4px; }
.space-cards-new { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.space-card-new { display: block; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .3s, transform .3s; }
.space-card-new:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-4px); }
.scn-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.scn-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.space-card-new:hover .scn-media img { transform: scale(1.05); }
.scn-body { padding: 18px 20px 20px; }
.scn-en { font-size: 11px; letter-spacing: 1.6px; color: var(--c-text-3); text-transform: uppercase; }
.scn-name { font-size: 20px; font-weight: 700; margin: 6px 0 4px; }
.scn-count { font-size: 13px; color: var(--c-text-2); margin-bottom: 12px; }
.scn-link { font-size: 14px; font-weight: 600; color: var(--c-primary, #b91c1c); }

/* ===== 首页：热门产品 tabs + 起售价 ===== */
.product-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; }
.ptab { display: inline-block; padding: 8px 26px; border: 1px solid var(--c-border); border-radius: 999px; font-size: 14px; color: var(--c-text-2); background: #fff; }
.ptab.active { background: var(--c-text, #111827); color: #fff; border-color: var(--c-text, #111827); }
.product-price-label { font-size: 12px; color: var(--c-text-3); margin-right: 2px; }

/* ===== 首页：案例卡片对齐原站 ===== */
.case-card-year { font-size: 13px; color: var(--c-text-3); margin: 4px 0 10px; }
.case-card-size { font-size: 14px; font-weight: 700; color: var(--c-text); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--c-border); }
.case-card-foot { justify-content: flex-end; }
.case-card-count { font-size: 13px; color: var(--c-text-3); }

/* ===== 产品详情：价格"起" + 图片计数 ===== */
.pd-price-suffix { font-size: 12px; font-weight: 400; color: var(--c-text-3); margin-left: 2px; font-style: normal; }
.pd-img-count { position: absolute; right: 14px; bottom: 14px; background: rgba(17,24,39,.65); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; z-index: 2; }
.pd-main-img { position: relative; }

/* ===== 报价系统顶栏 ===== */
.quote-topbar { background: #111827; color: #fff; }
.quote-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.qt-brand { font-size: 15px; color: #cbd5e1; }
.qt-brand b { color: #fff; }
.qt-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.qt-nav a { color: #cbd5e1; font-size: 14px; transition: color .2s; }
.qt-nav a:hover { color: #fff; }
.qt-nav a.active { color: #fff; font-weight: 600; }
.qt-user { font-size: 14px; color: #fff; background: rgba(255,255,255,.1); padding: 4px 12px; border-radius: 999px; }

/* ===== 我的报价单列表页 ===== */
.quotations-page { padding: 36px 0 60px; }
.quotations-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.quotations-head h1 { font-size: 26px; font-weight: 800; }
.quotations-head p { color: var(--c-text-2); margin-top: 6px; font-size: 14px; }
.quotations-filters { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.qf-form { display: flex; gap: 8px; }
.qf-form .form-control { width: 220px; }
.qf-count { font-size: 13px; color: var(--c-text-3); }
.quotations-table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; }
.quotations-table { width: 100%; border-collapse: collapse; }
.quotations-table th { background: #f8fafc; font-size: 13px; color: var(--c-text-2); padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-border); white-space: nowrap; }
.quotations-table td { padding: 14px; border-bottom: 1px solid #f1f5f9; font-size: 14px; vertical-align: middle; }
.quotations-table tr:last-child td { border-bottom: none; }
.qno { font-weight: 700; }
.qc-info strong { display: block; }
.qc-info span { font-size: 12px; color: var(--c-text-3); }
.qamount { font-weight: 700; color: var(--c-primary, #b91c1c); }
.qstatus { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.qs-draft { background: #f3f4f6; color: #6b7280; }
.qs-submitted { background: #fef3c7; color: #b45309; }
.qs-confirmed { background: #dcfce7; color: #15803d; }
.qops a { color: var(--c-text-2); font-size: 13px; margin-right: 10px; }
.qops a:hover { color: var(--c-primary, #b91c1c); }
.qops a.danger:hover { color: #dc2626; }

/* ===== 报价单预览 ===== */
.qv-toolbar { display: flex; gap: 8px; margin: 24px 0; flex-wrap: wrap; }
.qv-doc { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 44px 48px; margin-bottom: 60px; }
.qv-doc-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 20px; border-bottom: 2px solid #111827; margin-bottom: 20px; }
.qvd-logo { font-size: 26px; font-weight: 800; }
.qvd-logo em { font-style: normal; color: var(--c-primary, #b91c1c); font-size: 18px; margin-left: 6px; }
.qvd-brand p { font-size: 11px; letter-spacing: 2px; color: var(--c-text-3); margin-top: 4px; }
.qvd-title { text-align: right; }
.qvd-title h1 { font-size: 24px; font-weight: 800; }
.qvd-title p { font-size: 12px; letter-spacing: 2px; color: var(--c-text-3); }
.qv-doc-meta table { width: 100%; margin-bottom: 18px; font-size: 13px; color: var(--c-text-2); }
.qv-doc-meta td { padding: 5px 0; }
.qv-doc-meta td:nth-child(2) { text-align: right; }
.qv-doc-items { width: 100%; border-collapse: collapse; }
.qv-doc-items th { background: #f8fafc; font-size: 13px; padding: 10px 12px; border: 1px solid #e5e7eb; text-align: left; }
.qv-doc-items td { border: 1px solid #e5e7eb; padding: 10px 12px; font-size: 14px; }
.qv-num { text-align: right; }
.qv-doc-foot { display: flex; justify-content: space-between; gap: 30px; margin-top: 28px; font-size: 13px; color: var(--c-text-2); }
.qv-note { flex: 1; }
.qv-note p, .qv-seller p { margin-top: 6px; line-height: 1.7; }
.qv-seller { text-align: right; }

/* ===== 论坛 ===== */
.forum-hero { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); color: #fff; padding: 56px 0; }
.forum-hero-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.forum-hero h1 { font-size: 30px; font-weight: 800; }
.forum-hero h1 em { font-style: normal; color: #f59e0b; }
.forum-hero p { color: #cbd5e1; margin-top: 8px; font-size: 14px; }
.fh-actions { display: flex; gap: 10px; }
.forum-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -28px 0 36px; }
.fstat { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 18px; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.fstat b { display: block; font-size: 26px; font-weight: 800; }
.fstat span { font-size: 13px; color: var(--c-text-3); }
.forum-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
.fb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.fb-head h2 { font-size: 20px; font-weight: 800; }
.forum-boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.forum-board { display: block; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 20px; transition: box-shadow .25s, transform .25s; }
.forum-board:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.fb-name { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.fb-ico { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex: none; }
.fb-desc { font-size: 13px; color: var(--c-text-2); margin: 8px 0 12px; min-height: 36px; }
.fb-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-text-3); }
.fb-meta .new { color: var(--c-primary, #b91c1c); font-weight: 600; }
.forum-panel { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; margin-bottom: 28px; }
.forum-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f1f5f9; }
.forum-panel-head h2 { font-size: 17px; font-weight: 800; }
.forum-panel-head a { font-size: 13px; color: var(--c-text-3); }
.flist { padding: 0 20px; }
.fitem { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f8fafc; }
.fitem:last-child { border-bottom: none; }
.fitem-main { flex: 1; min-width: 0; }
.fitem-title { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fitem-title:hover { color: var(--c-primary, #b91c1c); }
.fitem-meta { font-size: 12px; color: var(--c-text-3); margin-top: 5px; display: flex; gap: 10px; flex-wrap: wrap; }
.ftag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 4px; font-weight: 600; }
.ftag.top { background: #fee2e2; color: #b91c1c; }
.ftag.essence { background: #fef3c7; color: #b45309; }
.fitem-stats { text-align: right; font-size: 12px; color: var(--c-text-3); flex: none; }
.fitem-stats b { font-size: 15px; color: var(--c-text); }
.fside-panel { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; margin-bottom: 18px; }
.fside-head { padding: 14px 18px; border-bottom: 1px solid #f1f5f9; font-weight: 700; font-size: 15px; }
.fside-body { padding: 12px 18px; }
.fuser { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.fuser-ava { width: 34px; height: 34px; border-radius: 50%; background: #eef2f7; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--c-primary, #b91c1c); flex: none; }
.fuser-name { font-size: 14px; font-weight: 600; }
.fuser-role { font-size: 12px; color: var(--c-text-3); }
.fboard-link { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 14px; }
.fboard-link .num { font-size: 12px; color: var(--c-text-3); }
.fnotice { font-size: 13px; color: var(--c-text-2); line-height: 1.8; padding: 4px 0; }
.fnotice b { color: var(--c-primary, #b91c1c); }

/* 板块页 tabs */
.fboard-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.fboard-tabs a { padding: 7px 18px; border: 1px solid var(--c-border); border-radius: 999px; font-size: 13px; color: var(--c-text-2); }
.fboard-tabs a.active { background: #111827; color: #fff; border-color: #111827; }

/* 帖子详情 */
.post-view { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 36px 0 60px; }
.post-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 28px; }
.post-card-head { padding-bottom: 18px; border-bottom: 1px solid #f1f5f9; }
.post-title { font-size: 24px; font-weight: 800; line-height: 1.4; }
.post-meta { display: flex; gap: 14px; font-size: 13px; color: var(--c-text-3); margin-top: 12px; flex-wrap: wrap; }
.post-author-card { display: flex; align-items: center; gap: 12px; background: #f8fafc; border-radius: 10px; padding: 12px 16px; margin-top: 16px; }
.pa-level { font-size: 11px; color: #fff; background: #f59e0b; padding: 1px 8px; border-radius: 999px; margin-left: 6px; }
.pa-follow { margin-left: auto; font-size: 12px; color: var(--c-primary, #b91c1c); border: 1px solid var(--c-primary, #b91c1c); padding: 4px 12px; border-radius: 999px; }
.post-body { font-size: 15px; line-height: 1.9; color: #374151; padding: 20px 0; white-space: pre-wrap; word-break: break-word; }
.post-actions { display: flex; gap: 20px; border-top: 1px solid #f1f5f9; padding-top: 16px; }
.post-action { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--c-text-2); cursor: pointer; background: none; border: none; }
.post-action:hover, .post-action.active { color: var(--c-primary, #b91c1c); }
.comment-form { margin-top: 24px; }
.comment-form textarea { min-height: 90px; }
.comments-list { margin-top: 20px; }
.comment-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f8fafc; }
.comment-item .fuser-ava { width: 38px; height: 38px; font-size: 14px; }
.comment-body { flex: 1; min-width: 0; }
.comment-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--c-text-3); }
.comment-top b { color: var(--c-text); font-size: 13px; }
.comment-text { font-size: 14px; line-height: 1.7; margin-top: 6px; color: #374151; }
.comment-ops { margin-top: 8px; font-size: 12px; color: var(--c-text-3); display: flex; gap: 12px; }
.comment-ops button { background: none; border: none; color: var(--c-text-3); font-size: 12px; cursor: pointer; }
.comment-ops button:hover { color: var(--c-primary, #b91c1c); }

/* 发帖页 */
.forum-new-wrap { padding: 36px 0 60px; max-width: 860px; }
.forum-new-wrap h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.forum-new-wrap .sub { color: var(--c-text-2); margin-bottom: 24px; }
.rule-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 14px 18px; font-size: 13px; color: #92400e; margin-top: 18px; line-height: 1.8; }

@media (max-width: 992px) {
  .space-cards-new { grid-template-columns: repeat(2, 1fr); }
  .forum-boards { grid-template-columns: repeat(2, 1fr); }
  .forum-layout, .post-view { grid-template-columns: 1fr; }
  .forum-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .space-cards-new, .forum-boards { grid-template-columns: 1fr; }
  .forum-stats { grid-template-columns: repeat(2, 1fr); }
  .qv-doc { padding: 20px; }
  .qv-doc-foot { flex-direction: column; }
  .quotations-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* ===== 论坛（forum.php / forum_board.php / forum_post.php / forum_new.php） ===== */
.forum-hero-title { font-size: 30px; font-weight: 800; }
.forum-hero-title em { color: #f59e0b; font-style: normal; }
.forum-hero-desc { font-size: 16px; color: #e5e7eb; margin-top: 6px !important; }
.forum-hero-sub { color: #cbd5e1; margin-top: 4px !important; }
.forum-hero-actions { display: flex; gap: 10px; margin-top: 22px; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.forum-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -28px 0 36px; }
.forum-stat { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 18px; text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.forum-stat strong { display: block; font-size: 26px; font-weight: 800; }
.forum-stat span { font-size: 13px; color: var(--c-text-3); }
.forum-section { margin-bottom: 36px; }
.forum-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.forum-section-head h2 { font-size: 20px; font-weight: 800; }
.forum-more { font-size: 13px; color: var(--c-text-3); }
.forum-more:hover { color: var(--c-primary, #b91c1c); }
.forum-board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.forum-board-card { display: flex; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 20px; transition: box-shadow .25s, transform .25s; }
.forum-board-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.forum-board-info h3 { font-size: 16px; font-weight: 700; }
.forum-board-info p { font-size: 13px; color: var(--c-text-2); margin-top: 8px; line-height: 1.6; }
.forum-board-counts { text-align: right; flex: none; font-size: 12px; color: var(--c-text-3); display: flex; flex-direction: column; gap: 6px; }
.fc-new { color: var(--c-primary, #b91c1c); font-weight: 600; }
.forum-post-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.forum-post-item { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #f8fafc; }
.forum-post-item:last-child { border-bottom: none; }
.forum-post-item:hover { background: #fafafa; }
.forum-post-main { flex: 1; min-width: 0; }
.forum-post-tags { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.fp-tag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 4px; font-weight: 600; }
.fp-tag-top { background: #fee2e2; color: #b91c1c; }
.fp-tag-essence { background: #fef3c7; color: #b45309; }
.fp-board { font-size: 12px; color: var(--c-text-3); }
.fp-title { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forum-post-item:hover .fp-title { color: var(--c-primary, #b91c1c); }
.fp-excerpt { font-size: 13px; color: var(--c-text-3); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-meta { display: flex; gap: 12px; font-size: 12px; color: var(--c-text-3); margin-top: 6px; flex-wrap: wrap; }
.fp-author { font-weight: 600; color: var(--c-text-2); }
.forum-post-nums { text-align: right; font-size: 12px; color: var(--c-text-3); flex: none; }
.fp-num { display: block; }
.fp-num strong { font-size: 15px; color: var(--c-text); }
.forum-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
.forum-hot-list { display: flex; flex-direction: column; gap: 2px; }
.forum-hot-item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 8px; }
.forum-hot-item:hover { background: #fafafa; }
.fh-rank { width: 24px; height: 24px; border-radius: 6px; background: #f3f4f6; color: var(--c-text-2); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.forum-hot-item:nth-child(-n+3) .fh-rank { background: var(--c-primary, #b91c1c); color: #fff; }
.fh-info h4 { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fh-info p { display: flex; gap: 10px; font-size: 12px; color: var(--c-text-3); margin-top: 4px; }
.forum-side-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; margin-bottom: 18px; padding: 18px; }
.forum-side-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.forum-user-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.fu-rank { width: 18px; font-size: 12px; color: var(--c-text-3); font-weight: 600; }
.fu-avatar { width: 34px; height: 34px; border-radius: 50%; background: #eef2f7; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--c-primary, #b91c1c); flex: none; }
.fu-info { flex: 1; min-width: 0; }
.fu-info strong { font-size: 14px; font-weight: 600; }
.fu-info p { font-size: 12px; color: var(--c-text-3); margin-top: 2px; }
.forum-hot-board { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed #f1f5f9; }
.forum-hot-board:last-child { border-bottom: none; }
.forum-hot-board strong { font-size: 12px; color: var(--c-text-3); font-weight: 400; }
.forum-announce ul { list-style: none; }
.forum-announce li { font-size: 13px; color: var(--c-text-2); line-height: 2.1; }

/* 板块页 */
.forum-board-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 28px 0 22px; flex-wrap: wrap; }
.forum-board-head h1 { font-size: 24px; font-weight: 800; }
.forum-board-head p { color: var(--c-text-2); margin-top: 6px; }
.forum-board-meta { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; color: var(--c-text-3); }
.forum-board-meta strong { color: var(--c-text); }
.forum-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.ftab { padding: 7px 18px; border: 1px solid var(--c-border); border-radius: 999px; font-size: 13px; color: var(--c-text-2); }
.ftab.active { background: #111827; color: #fff; border-color: #111827; }
.forum-empty { padding: 40px; text-align: center; color: var(--c-text-3); font-size: 14px; }

/* 帖子详情 */
.forum-post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 30px 0 60px; }
.forum-post-article { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 28px; }
.fpa-head { padding-bottom: 18px; border-bottom: 1px solid #f1f5f9; }
.fpa-tags { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; }
.fpa-head h1 { font-size: 24px; font-weight: 800; line-height: 1.4; }
.fpa-meta { display: flex; gap: 14px; font-size: 13px; color: var(--c-text-3); margin-top: 12px; flex-wrap: wrap; }
.fpa-actions { display: flex; gap: 12px; margin-top: 16px; }
.btn-like { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-text-2); background: #f8fafc; border: 1px solid var(--c-border); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.btn-like:hover { color: var(--c-primary, #b91c1c); border-color: var(--c-primary, #b91c1c); }
.fpa-content { font-size: 15px; line-height: 1.9; color: #374151; padding: 20px 0; white-space: pre-wrap; word-break: break-word; }
.forum-comments { margin-top: 28px; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 24px; }
.forum-comments h2 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.forum-login-tip { background: #f8fafc; border-radius: 8px; padding: 16px; font-size: 14px; color: var(--c-text-2); display: flex; align-items: center; justify-content: space-between; }
.comment-list { margin-top: 18px; }
.comment-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid #f8fafc; }
.comment-item:last-child { border-bottom: none; }
.comment-avatar { width: 38px; height: 38px; border-radius: 50%; background: #eef2f7; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--c-primary, #b91c1c); flex: none; }
.comment-head { display: flex; gap: 10px; align-items: baseline; font-size: 12px; color: var(--c-text-3); }
.comment-head strong { color: var(--c-text); font-size: 14px; }
.comment-content { font-size: 14px; line-height: 1.7; margin-top: 6px; color: #374151; }
.comment-actions { margin-top: 8px; font-size: 12px; color: var(--c-text-3); display: flex; gap: 14px; }
.comment-actions span { cursor: pointer; }
.comment-actions span:hover { color: var(--c-primary, #b91c1c); }
.forum-related { margin-top: 28px; }
.forum-related h2 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 16px 18px; }
.related-card h4 { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-card p { display: flex; gap: 10px; font-size: 12px; color: var(--c-text-3); margin-top: 8px; }
.forum-author-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 22px; text-align: center; margin-bottom: 18px; }
.fa-avatar { width: 56px; height: 56px; border-radius: 50%; background: #eef2f7; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: var(--c-primary, #b91c1c); margin: 0 auto 10px; }
.forum-author-card strong { font-size: 16px; }
.fa-level { display: inline-block; font-size: 11px; color: #fff; background: #f59e0b; padding: 2px 10px; border-radius: 999px; margin: 6px 0 8px; }
.forum-author-card p { font-size: 12px; color: var(--c-text-3); line-height: 1.7; }
.fa-stats { display: flex; justify-content: space-around; margin: 14px 0; }
.fa-stats span { font-size: 11px; color: var(--c-text-3); }
.fa-stats strong { display: block; font-size: 15px; color: var(--c-text); }

/* 发帖页 */
.forum-new-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 30px; }
.forum-new-card h1 { font-size: 24px; font-weight: 800; }
.forum-new-tip { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 14px 18px; font-size: 13px; color: #92400e; margin: 18px 0; line-height: 1.8; }
.form-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; }

/* ===== 报价工作台 ===== */
.quote-workbench { display: grid; grid-template-columns: 1fr 400px; gap: 24px; padding: 28px 0 60px; align-items: start; }
.qw-catalog { min-width: 0; }
.qw-catalog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.qw-catalog-head h1 { font-size: 24px; font-weight: 800; }
.qw-catalog-head p { color: var(--c-text-2); margin-top: 4px; font-size: 13px; }
.qw-catalog-filters { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.qwf-label { font-size: 14px; font-weight: 700; }
.qwf-count { font-size: 12px; color: var(--c-text-3); }
.qw-filter-row { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.qw-series-row { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.qwf-chip { padding: 6px 14px; border: 1px solid var(--c-border); border-radius: 999px; font-size: 13px; color: var(--c-text-2); background: #fff; }
.qwf-chip.active { background: #111827; color: #fff; border-color: #111827; }
.qwf-chip em { font-style: normal; font-size: 11px; color: var(--c-text-3); margin-left: 2px; }
.qwf-chip.active em { color: #cbd5e1; }
.qw-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.qw-product-card { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.qwp-media { position: relative; aspect-ratio: 4/3; background: #f3f4f6; }
.qwp-media img { width: 100%; height: 100%; object-fit: cover; }
.qwp-tag { position: absolute; top: 10px; left: 10px; background: rgba(185,28,28,.9); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.qwp-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.qwp-series { font-size: 11px; color: var(--c-text-3); text-transform: uppercase; letter-spacing: .5px; }
.qwp-slug { color: var(--c-text-3); }
.qwp-name { font-size: 15px; font-weight: 700; margin: 6px 0; }
.qwp-spec, .qwp-material { font-size: 12px; color: var(--c-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qwp-stock { font-size: 12px; color: var(--c-text-2); margin-top: 6px; }
.qwp-stock span { color: #15803d; }
.qwp-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.qwp-price { font-size: 16px; font-weight: 800; color: var(--c-primary, #b91c1c); }
.qwp-price em { font-style: normal; font-size: 11px; font-weight: 400; color: var(--c-text-3); }
.qwp-actions { display: flex; gap: 8px; align-items: center; }
.qwp-link { font-size: 12px; color: var(--c-text-2); }
.qwp-link:hover { color: var(--c-primary, #b91c1c); }
.qw-quote { position: sticky; top: 16px; }
.qw-quote-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.qw-quote-head h2 { font-size: 20px; font-weight: 800; }
.qw-saved { font-size: 12px; color: #15803d; background: #dcfce7; padding: 3px 10px; border-radius: 999px; }
.qw-quote-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 20px; }
.qwq-meta { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; margin-bottom: 14px; }
.qwq-no { font-size: 14px; color: var(--c-text-2); }
.qwq-no strong { color: var(--c-text); }
.qws-draft { display: inline-block; font-size: 12px; background: #f3f4f6; color: #6b7280; padding: 3px 10px; border-radius: 999px; }
.qwq-items { max-height: 380px; overflow-y: auto; }
.qwq-empty { text-align: center; color: var(--c-text-3); font-size: 13px; padding: 30px 10px; }
.qwq-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #f1f5f9; }
.qwqi-img { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: #f3f4f6; flex: none; }
.qwqi-img img { width: 100%; height: 100%; object-fit: cover; }
.qwqi-info { flex: 1; min-width: 0; }
.qwqi-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qwqi-spec { font-size: 11px; color: var(--c-text-3); margin-top: 3px; }
.qwqi-price { font-size: 12px; color: var(--c-text-2); margin-top: 4px; }
.qwqi-right { text-align: right; flex: none; }
.qwqi-sub { font-size: 13px; font-weight: 700; color: var(--c-primary, #b91c1c); display: block; }
.qwqi-del { font-size: 12px; color: var(--c-text-3); }
.qwqi-del:hover { color: #dc2626; }
.qwq-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #f1f5f9; margin-bottom: 14px; }
.qwq-total span { font-size: 13px; color: var(--c-text-2); }
.qwq-total strong { font-size: 22px; color: var(--c-primary, #b91c1c); }
.qwq-form .form-group { margin-bottom: 10px; }
.qwq-form label { font-size: 12px; color: var(--c-text-2); display: block; margin-bottom: 4px; }
.qwq-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

@media (max-width: 1200px) {
  .quote-workbench { grid-template-columns: 1fr; }
  .qw-quote { position: static; }
  .qw-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .forum-board-grid { grid-template-columns: repeat(2, 1fr); }
  .forum-layout, .forum-post-layout { grid-template-columns: 1fr; }
  .forum-stats { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .forum-board-grid { grid-template-columns: 1fr; }
  .forum-stats { grid-template-columns: repeat(2, 1fr); }
  .qw-product-grid { grid-template-columns: 1fr; }
  .forum-post-item { flex-direction: column; align-items: flex-start; }
  .forum-post-nums { display: flex; gap: 16px; }
}

/* ===== 报价工作台 选规格弹层 ===== */
.qw-spec-mask {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(12, 14, 18, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.qw-spec-modal {
  background: #fff; border-radius: 12px; width: 100%; max-width: 520px;
  max-height: 82vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  animation: qwFadeUp .22s ease;
}
@keyframes qwFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.qw-spec-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid #eee;
}
.qw-spec-head h3 { font-size: 16px; margin: 0; }
.qw-spec-close {
  border: 0; background: none; font-size: 22px; line-height: 1;
  color: #888; cursor: pointer; padding: 4px;
}
.qw-spec-close:hover { color: #111; }
.qw-spec-body { padding: 18px 20px; overflow-y: auto; }
.qw-spec-group { margin-bottom: 16px; }
.qw-spec-group label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px;
}
.qw-spec-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.qw-spec-opt {
  border: 1px solid #ddd; background: #fff; color: #333;
  padding: 7px 14px; border-radius: 8px; font-size: 13px; cursor: pointer;
  transition: all .15s;
}
.qw-spec-opt:hover { border-color: #111; }
.qw-spec-opt.active { border-color: #111; background: #111; color: #fff; }
.qw-spec-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 14px 20px; border-top: 1px solid #eee;
}
.qw-no { font-size: 12px; color: var(--c-text-2); font-weight: 500; }
.qwp-spec-btn {
  border: 1px solid #ddd; background: #fff; color: #333;
  padding: 5px 10px; border-radius: 6px; font-size: 12px; cursor: pointer;
}
.qwp-spec-btn:hover { border-color: #111; color: #111; }

/* ===== 报价系统 产品管理页 ===== */
.qpm-wrap { padding: 26px 0 60px; }
.qpm-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 18px;
}
.qpm-head h1 { font-size: 24px; margin: 0 0 4px; }
.qpm-head p { color: var(--c-text-2); margin: 0; font-size: 13px; }
.qpm-form { display: none; background: #f7f7f7; border: 1px solid #eee; border-radius: 12px; padding: 20px; margin-bottom: 18px; }
.qpm-form.open { display: block; }
.qpm-inner .form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.qpm-inner .form-group label { font-size: 12px; color: var(--c-text-2); display: block; margin-bottom: 4px; }
.qpm-form-actions { display: flex; align-items: flex-end; gap: 8px; }
.qpm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.qpm-filters .qwf-chip { padding: 6px 14px; }
.qpm-table-wrap { overflow-x: auto; border: 1px solid #eee; border-radius: 12px; }
.qpm-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.qpm-table th, .qpm-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid #f0f0f0;
  font-size: 13px; vertical-align: middle;
}
.qpm-table th { background: #fafafa; color: var(--c-text-2); font-weight: 600; white-space: nowrap; }
.qpm-table tr:last-child td { border-bottom: 0; }
.qpm-thumb { width: 56px; height: 44px; object-fit: cover; border-radius: 6px; background: #f3f3f3; }
.qpm-ops { white-space: nowrap; }
.qpm-link { color: var(--c-accent, #b08d57); text-decoration: none; margin-right: 10px; font-size: 13px; }
.qpm-link:hover { text-decoration: underline; }
.qpm-del { color: #d9534f; }
.qpm-empty { text-align: center; color: var(--c-text-2); padding: 40px 0 !important; }

@media (max-width: 900px) {
  .qpm-inner .form-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .qpm-inner .form-row { grid-template-columns: 1fr; }
  .qpm-head { flex-direction: column; gap: 12px; }
}

/* ===== 合作品牌墙 ===== */
.brand-wall {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; max-width: 900px; margin: 0 auto;
}
.brand-item {
  padding: 14px 30px; border: 1px solid #eee; border-radius: 10px;
  background: #fff; color: #333; font-size: 15px; font-weight: 600;
  letter-spacing: 1px; transition: all .2s;
}
.brand-item:hover { border-color: #111; color: #111; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }