/* ============================================================
   深圳市全采供应链有限公司 — 全站样式（暖白 / 浅橙 / 正红 / 深棕）
   ============================================================
   目录：
     1. 全局变量（改色只改这里）
     2. 基础重置与排版
     3. 通用组件
     4. 顶部导航
     5. 首屏轮播 Banner
     6. 供应品类（圆形图标）
     7. 产品中心
     8. 促销推荐 / 热销好物
     9. 核心优势
    10. 合作品牌
    11. 数据统计
    12. 客户评价
    13. 新闻资讯
    14. 关于我们
    15. 联系我们
    16. 页脚
    17. 弹窗 / 回到顶部 / 动效
    18. 响应式
   ============================================================ */

/* ---------- 1. 全局变量（暖白 + 浅橙 + 正红 + 深棕，全站统一色系） ---------- */
:root {
  --accent: #D32F2E;        /* 正红：全站唯一强调色 */
  --accent-dark: #B02827;   /* 深正红：悬停 */
  --red: #D32F2E;           /* 兼容旧变量名 → 正红 */
  --red-dark: #B02827;
  --red-soft: #D32F2E;      /* 角标：稍亮的橙红 */
  --nav-red: #D32F2E;       /* 顶部固定栏目条：正红（参考红色导航条，白字） */
  --nav-red-dark: #B02827;
  --wine: #2E1D12;          /* 深棕：页脚与深色块（原深酒红） */
  --gold: #D32F2E;          /* 细线点缀统一为正红（原香槟金） */
  --pink: #FFFFFF;          /* 交替区块背景：纯白（内容区统一 #FFFFFF，不出现米色/浅灰/杏橘） */
  --pink-strong: #FBE3E3;   /* 仅导航悬停等小面积点缀：浅橙 */
  --pink-text: #D32F2E;     /* 白底上的强调文字 → 正红 */
  --surface-soft: #FFFFFF;  /* 卡片内图片区/表头：纯白 */
  --white: #ffffff;
  --bg: #ffffff;            /* 默认区块：纯白（模块之间留白） */
  --text: #4A3F38;          /* 正文：暖深灰 */
  --text-dark: #2E1D12;     /* 标题：深棕 */
  --text-muted: #8A7E77;    /* 次要文字：暖灰 */
  --border: #EDE0D5;        /* 边框：暖色 */
  --container: 1200px;
  --container-wide: 1360px; /* 商品展示区专用宽度：铺满 PC 大屏，其他板块仍用 1200px */
  --header-h: 72px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 6px 22px rgba(46, 29, 18, 0.06);
  --shadow-hover: 0 16px 36px rgba(211, 47, 46, 0.12);
  --transition: 0.3s ease;
}

/* ---------- 2. 基础重置与排版 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: var(--header-h);
}
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 3. 通用组件 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
/* 商品区宽容器：仅产品中心与商品推荐使用，不影响其他板块 */
.container-wide { max-width: var(--container-wide); }
.section { padding: 68px 0; }
.section-pink { background: var(--pink); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}
.section-head-row .section-head-text { flex: 1; }
.section-kicker {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 2px;
  background: transparent;
  color: var(--pink-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border-left: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}
.section-title { color: #2E1D12; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.35; }
.section-desc { color: var(--text-muted); margin-top: 12px; font-size: 15px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 26px; border: 1px solid transparent;
  border-radius: var(--radius); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
/* 全站按钮统一为 Banner 风格：主按钮正红，次按钮暖白渐变 + 深棕字 + 正红细线 */
.btn-primary { background: #D32F2E; color: #ffffff; }
.btn-primary:hover { background: #B02827; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(211,47,46,0.22); }
.btn-outline-light {
  border-color: rgba(211,47,46,0.45); color: #2E1D12;
  background: #FFFFFF;
}
.btn-outline-light:hover { background: #FBE3E3; border-color: #D32F2E; color: #2E1D12; }
.mobile-only { display: none; }
.desktop-only { display: inline-flex; }

.more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 1px solid rgba(211,47,46,0.45); border-radius: 6px;
  color: #2E1D12; font-size: 14px; font-weight: 600; white-space: nowrap;
  background: #FFFFFF;
  transition: all var(--transition);
}
.more-btn svg { width: 16px; height: 16px; }
.more-btn:hover { background: #D32F2E; border-color: #D32F2E; color: #ffffff; }
.text-link { color: #D32F2E; font-size: 14px; font-weight: 600; }

/* ---------- 4. 顶部导航 ---------- */
/* 顶部一条红色固定栏目条：原来的栏目全部汇总在这一排，下方才是轮播图 */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: var(--nav-red);
  border-bottom: none;
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,0.18); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 6px; background: #ffffff; color: var(--nav-red);
  font-size: 20px; font-weight: 700; line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { color: #ffffff; font-size: 19px; font-weight: 800; letter-spacing: 0.12em; }
.brand-text small { color: rgba(255,255,255,0.78); font-size: 10px; letter-spacing: 0.04em; margin-top: 1px; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  color: rgba(255,255,255,0.92); font-size: 14px; padding: 8px 11px; border-radius: 4px;
  transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover { color: #ffffff; background: rgba(0,0,0,0.16); }
.nav-link.active { color: #ffffff; background: rgba(0,0,0,0.34); font-weight: 600; }
.header-quote { margin-left: 8px; min-height: 40px; padding: 0 20px; font-size: 14px; }
/* 红底上的报价按钮改白底红字，避免与红条糊成一片 */
.site-header .header-quote.btn-primary { background: #ffffff; color: var(--nav-red); border-color: #ffffff; }
.site-header .header-quote.btn-primary:hover { background: rgba(255,255,255,0.88); color: var(--nav-red); box-shadow: none; }

/* 语言切换 */
.lang-switch {
  display: inline-flex; margin-left: 10px; border: 1px solid rgba(255,255,255,0.45);
  border-radius: 4px; overflow: hidden; flex: 0 0 auto;
}
.lang-btn {
  min-height: 32px; padding: 0 10px; border: none; background: transparent;
  color: rgba(255,255,255,0.86); font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all var(--transition);
}
.lang-btn + .lang-btn { border-left: 1px solid rgba(255,255,255,0.45); }
.lang-btn.is-active { background: rgba(0,0,0,0.34); color: #fff; }
.lang-btn:hover { color: #ffffff; background: rgba(0,0,0,0.12); }

.nav-toggle {
  display: none; width: 42px; height: 42px; margin-left: auto; padding: 10px;
  border: 1px solid rgba(255,255,255,0.5); border-radius: 6px; background: rgba(0,0,0,0.12); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: #ffffff; margin: 4px 0; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 4b. 多级下拉导航：产品中心 > 产品分类 > 下级产品 ---------- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret {
  width: 11px; height: 11px; flex: 0 0 auto;
  transition: transform 0.22s ease;
}
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
.nav-item.is-open > .nav-link { color: #ffffff; font-weight: 600; }
.nav-item:hover > .nav-link > .nav-caret,
.nav-item:focus-within > .nav-link > .nav-caret { transform: rotate(180deg); }
.nav-dd-toggle {
  display: none; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; place-items: center; border: none; background: transparent;
  color: var(--text-muted); cursor: pointer; border-radius: 6px;
}
.nav-dd-toggle .nav-caret { width: 14px; height: 14px; }
.nav-dd-toggle:hover { background: var(--pink-strong); color: var(--red); }
.nav-item.is-open .nav-dd-toggle .nav-caret { transform: rotate(180deg); }
/* 透明桥接：鼠标从一级项移到下拉面板时保持展开 */
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 130;
  background: #ffffff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 20px 50px rgba(46,29,18,0.15); padding: 18px 18px 16px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.is-open > .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown-products { width: 600px; }
.nav-dropdown-news { width: 370px; }
.dd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border);
}
.dd-head strong { font-size: 14px; color: var(--text-dark); letter-spacing: 0.04em; }
.dd-viewall { color: var(--red); font-size: 12px; font-weight: 600; white-space: nowrap; }
.dd-viewall:hover { text-decoration: underline; }
.dd-body { display: grid; grid-template-columns: 196px 1fr; gap: 16px; }
.dd-cats { display: flex; flex-direction: column; border-right: 1px solid var(--border); padding-right: 12px; }
.dd-cat {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 11px 10px; border: none; background: transparent;
  color: var(--text); font-size: 14px; text-align: left; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.dd-cat + .dd-cat { border-top: 1px solid #F4EDE7; border-radius: 0; }
.dd-cat:first-child { border-radius: 8px 8px 0 0; }
.dd-cat > span:first-child { flex: 1; }
.dd-cat-count { font-size: 11px; color: var(--text-muted); }
.dd-cat .nav-caret { width: 10px; height: 10px; color: #B9AFA8; transform: rotate(-90deg); }
.dd-cat:hover, .dd-cat.is-active { background: var(--pink-strong); color: var(--red); font-weight: 600; }
.dd-cat:hover .nav-caret, .dd-cat.is-active .nav-caret { color: var(--red); }
.dd-products { min-width: 0; }
.dd-products-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.dd-products-head strong { font-size: 14px; color: var(--text-dark); }
.dd-products-head > span { font-size: 11px; color: var(--text-muted); }
.dd-cat-enter { margin-left: auto; font-size: 12px; color: var(--red); font-weight: 600; white-space: nowrap; }
.dd-cat-enter:hover { text-decoration: underline; }
.dd-hint { font-size: 11px; color: var(--text-muted); margin: 0 0 8px; }
.dd-product-list {
  display: grid; grid-template-columns: 1fr; gap: 2px 0;
  max-height: 262px; overflow-y: auto; padding-right: 4px;
}
.dd-product { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 6px 7px; border-radius: 8px; color: inherit; }
.dd-product:hover { background: var(--surface-soft); }
.dd-product img {
  width: 38px; height: 38px; flex: 0 0 auto; object-fit: contain;
  border-radius: 7px; background: var(--pink); padding: 3px;
}
.dd-product-main { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.dd-product-main strong { font-size: 12.5px; color: var(--text-dark); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-product-main small { font-size: 10.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-product-price { font-size: 12px; font-weight: 700; color: var(--red); white-space: nowrap; }
.dd-empty { grid-column: 1 / -1; font-size: 12px; color: var(--text-muted); padding: 16px 4px; }
.dd-news { display: block; padding: 10px 2px; border-top: 1px solid #F4EDE7; color: inherit; }
.dd-news:first-of-type { border-top: none; }
.dd-news-date { font-size: 11px; color: var(--red); font-weight: 600; }
.dd-news strong { display: block; font-size: 13.5px; color: var(--text-dark); margin: 2px 0; font-weight: 600; }
.dd-news small { display: block; font-size: 11.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-news:hover strong { color: var(--red); }

/* ---------- 5. 首屏轮播 Banner ---------- */
/* 背景：桔黄渐变（截图取色 #FF8E00 → #FFC600）；大标题改白色 + 柔和阴影，其余文字保持深棕形成层次 */
.hero { position: relative; height: 500px; overflow: hidden; background: #FF8E00; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: heroZoom 8s ease-in-out infinite alternate;
}
/* 背景图保持干净通透：无暗色遮罩、无文字水印，仅同色系曲面与金箔点缀 */
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
/* 轮播文字：参考图版式 —— 仅「白色主标题 + 竖线卖点一行 + 两颗按钮」，全部水平/垂直居中 */
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-content { max-width: 860px; margin: 0 auto; text-align: center; color: #ffffff; }
/* 眉标与副标题整行去掉；display:none 同时兜底旧缓存里残留的 DOM */
.hero-eyebrow, .hero-subtitle { display: none !important; }
.hero-title {
  font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; line-height: 1.2;
  letter-spacing: 0.02em; color: #ffffff;
  text-shadow: 0 2px 14px rgba(126,58,0,0.34), 0 1px 2px rgba(126,58,0,0.22);
}
/* 四个卖点：白色一行居中，用竖线间隔，不再用圆点 */
.hero-tags {
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: 0; margin: 24px auto 0; list-style: none;
}
.hero-tags li {
  font-size: 15px; font-weight: 500; color: #ffffff; white-space: nowrap;
  padding: 0 18px; text-shadow: 0 1px 6px rgba(126,58,0,0.30);
}
.hero-tags li + li { border-left: 1px solid rgba(255,255,255,0.80); }
.hero-tags li::before { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
/* 参考图按钮：两颗等宽、小圆角、约 3.5:1 的扁平比例；主按钮取色 #D32F2E */
.hero-actions .btn {
  width: 168px; min-height: 46px; padding: 0 10px;
  font-size: 14px; font-weight: 600; border-radius: 3px;
}
.hero-actions .btn-primary {
  background: #D32F2E; color: #ffffff; border-color: #D32F2E; box-shadow: none;
}
.hero-actions .btn-primary::after { content: "\2192"; margin-left: 8px; font-size: 15px; font-weight: 700; }
.hero-actions .btn-primary:hover {
  background: #B02827; border-color: #B02827;
  box-shadow: 0 6px 18px rgba(46,29,18,0.18);
}
.hero-actions .btn-outline-light {
  background: transparent; border: 1px solid rgba(255,255,255,0.88); color: #ffffff;
}
.hero-actions .btn-outline-light:hover {
  background: rgba(255,255,255,0.16); border-color: #ffffff; color: #ffffff;
}

.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dot { width: 8px; height: 8px; border: none; border-radius: 999px; background: rgba(255,255,255,0.55); cursor: pointer; transition: all var(--transition); }
.hero-dot.is-active { width: 22px; background: #ffffff; box-shadow: none; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border: 1px solid rgba(46,29,18,0.10); border-radius: 50%;
  background: rgba(255,255,255,0.78); color: #2E1D12; font-size: 28px; line-height: 1;
  box-shadow: 0 4px 14px rgba(46,29,18,0.06);
  cursor: pointer; transition: all var(--transition);
}
.hero-arrow:hover { background: #2E1D12; color: #ffffff; border-color: #2E1D12; }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* 英文 Hero 文案较长：同样正中居中，卖点行压紧避免换行 */
.lang-en .hero-inner { align-items: center; justify-content: center; padding-top: 0; }
.lang-en .hero-title { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.16; }
.lang-en .hero-tags { margin-top: 20px; }
.lang-en .hero-tags li { font-size: 12px; padding: 0 12px; }
.lang-en .hero-actions { margin-top: 30px; }
/* 英文版 Hero 文案较长：顶部对齐避让导航；搜索卡已不跨幅，无需额外偏移 */
.lang-en .search-dock { margin-top: 0; }

/* ---------- 6. 选购控制台：全站搜索 + 紧凑分类条 ---------- */
/* 搜索白卡完整置于 Hero 下方白色区域（不再与轮播画面重叠），分类为一条横向导航，整体紧凑不散 */
/* 搜索白卡紧贴首屏下方；分类条关闭后，产品中心直接上移贴紧搜索区 */
#site-search { padding: 22px 0 16px; background: #FFFFFF; }
#categories { padding: 10px 0 20px; background: #FFFFFF; }
#categories .section-head { display: none; }
#categories .category-strip { margin-top: 0; }
[hidden] { display: none !important; }

/* 搜索卡：去掉顶部细线条，改更圆润的白卡；内部输入条做成胶囊形并填充淡红，更显眼 */
.search-dock {
  position: relative; z-index: 6; margin-top: 0;
  background: #FFFFFF;
  border: 1px solid rgba(211,47,46,0.16); border-radius: 30px;
  padding: 14px 18px;
  box-shadow: 0 16px 40px rgba(46,29,18,0.14), 0 0 0 4px rgba(46,29,18,0.035);
}
.search-box {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(211,47,46,0.16); border-radius: 999px;
  background: #FDEDED; padding: 6px 6px 6px 20px;
}
.search-box-ico { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; color: #D32F2E; }
.search-box-ico svg { width: 22px; height: 22px; }
.search-input {
  flex: 1 1 auto; min-width: 0; height: 52px; border: 0; outline: 0;
  background: transparent; font-family: inherit; font-size: 18px; color: #2E1D12;
}
.search-input::placeholder { color: #8A7868; }
.search-clear {
  flex: 0 0 auto; width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%;
  background: #FFFFFF; color: #6B625C; font-size: 18px; line-height: 1; cursor: pointer;
}
.search-clear:hover { background: #D32F2E; color: #ffffff; }
.search-submit {
  flex: 0 0 auto; height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: #D32F2E; color: #ffffff;
  font-family: inherit; font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(211,47,46,0.28);
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
}
.search-submit svg { width: 18px; height: 18px; }
.search-submit:hover { background: #B02827; box-shadow: 0 8px 20px rgba(211,47,46,0.24); }

.search-hot {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 10px; padding: 12px 4px 2px; border-top: 1px solid var(--border);
}
.search-hot-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; margin-right: 4px; }
.search-hot-chip {
  border: 1px solid var(--border); background: #FFFFFF; color: #6B625C;
  border-radius: 999px; padding: 5px 14px; font-family: inherit; font-size: 12px; cursor: pointer;
  transition: all var(--transition);
}
.search-hot-chip:hover { border-color: #D32F2E; color: #D32F2E; background: #ffffff; }

.search-suggest {
  position: absolute; left: 14px; right: 14px; top: calc(100% - 6px); z-index: 20;
  background: #ffffff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 22px 50px rgba(46,29,18,0.18);
  overflow-x: hidden; overflow-y: auto; max-height: min(420px, calc(100vh - 260px));
  overscroll-behavior: contain; padding: 8px;
}
.suggest-head {
  display: flex; justify-content: space-between; padding: 6px 10px 10px; margin-bottom: 4px;
  border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-muted);
}
.suggest-item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px;
  border: 0; border-radius: 10px; background: transparent; text-align: left;
  font-family: inherit; cursor: pointer;
}
.suggest-item:hover, .suggest-item.is-active { background: #FFFFFF; }
.suggest-thumb {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 8px;
  background: var(--surface-soft); display: grid; place-items: center; overflow: hidden;
}
.suggest-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.suggest-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.suggest-main strong { font-size: 14px; color: #2E1D12; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-main small { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-price { flex: 0 0 auto; color: #D32F2E; font-weight: 700; font-size: 14px; }
.suggest-all {
  width: 100%; margin-top: 4px; padding: 10px; border: 0; border-radius: 10px;
  background: #FFFFFF; color: #D32F2E; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}

.category-strip {
  display: flex; align-items: center; gap: 26px; margin-top: 26px;
  padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.category-strip-label { flex: 0 0 200px; }
.category-strip-label p { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: #D32F2E; }
.category-strip-label strong { display: block; font-size: 18px; color: #2E1D12; }
.category-strip-label small { display: block; margin-top: 4px; font-size: 12px; color: var(--text-muted); }
.category-row { display: flex; flex: 1 1 auto; min-width: 0; }
.category-item {
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 12px;
  padding: 6px 16px; border-right: 1px solid var(--border);
  text-decoration: none; transition: background var(--transition);
}
.category-item:last-child { border-right: 0; }
.category-item:hover { background: #FFFFFF; }
.category-icon {
  flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 14px; background: #FFFFFF; border: 1px solid var(--border);
  color: #2E1D12; transition: all var(--transition);
}
.category-icon svg { width: 26px; height: 26px; }
.category-item:hover .category-icon { background: #D32F2E; color: #ffffff; }
.category-meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.category-meta strong { font-size: 14px; color: #2E1D12; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.category-meta small { font-size: 12px; color: var(--text-muted); }

/* ---------- 7. 产品中心 ---------- */
#products { padding: 20px 0 56px; }
#products .section-head { max-width: none; margin-bottom: 24px; }
#products .section-kicker, #products .section-desc { display: none; }
#products .section-title {
  font-size: 21px; font-weight: 700; letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
#products .section-title::before, #products .section-title::after {
  content: ""; height: 1px; flex: 1 1 auto; max-width: 340px; background: rgba(46,29,18,0.20);
}

/* 筛选标签与搜索结果状态合并为一行工具条，紧凑不散 */
.product-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px; padding: 14px 16px;
  background: #FAF4EE; border: 1px solid #E7D8CC; border-radius: 14px;
  box-shadow: 0 4px 18px rgba(46,29,18,0.035);
}
.product-tabs { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.result-bar { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.result-text { font-size: 13px; color: var(--text-muted); }
.result-clear {
  border: 1px solid var(--border); background: #ffffff; color: #D32F2E;
  border-radius: 999px; padding: 6px 14px; font-family: inherit; font-size: 12px; cursor: pointer;
}
.result-clear:hover { border-color: #D32F2E; }
.product-tab {
  padding: 9px 20px; border: 1px solid var(--border); border-radius: 999px;
  background: #ffffff; color: var(--text-muted); font-size: 14px; cursor: pointer;
  transition: all var(--transition);
}
.product-tab:hover { border-color: #D32F2E; color: #D32F2E; }
.product-tab.is-active { background: #D32F2E; border-color: #D32F2E; color: #ffffff; box-shadow: 0 6px 14px rgba(211,47,46,0.2); }

/* 商品网格：宽屏 5 列、横向与纵向间距均 20px；中屏降列见响应式 */
.product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.product-card {
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 4px 18px rgba(46,29,18,0.07);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

/* 图片区固定 4:3，contain 居中填充：不变形、不拉伸、不裁切 */
.product-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-soft); }
.product-image-wrap img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  padding: 8px; transition: transform 0.5s ease;
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 8px; left: 8px; padding: 3px 8px;
  border-radius: 4px; background: var(--red); color: #ffffff; font-size: 11px;
}

/* 卡片信息区：顶部 12px、底部 12px，内部行距压缩，价格与购物车贴底 */
.product-info { padding: 12px 14px; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.product-brand { color: var(--text-muted); font-size: 12px; line-height: 1.3; }
.product-name {
  color: #2E1D12; font-size: 15px; font-weight: 600; line-height: 1.35;
  margin: 7px 0 0; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-model {
  color: var(--text-muted); font-size: 12px; line-height: 1.3;
  margin: 7px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 6px; border-top: 1px solid var(--border);
}
.product-price { color: var(--red); font-size: 20px; font-weight: 800; line-height: 1; }
.product-price small { font-size: 13px; margin-right: 2px; }
.cart-btn { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--border); color: #2E1D12; transition: all var(--transition); }
.cart-btn svg { width: 17px; height: 17px; }
.cart-btn:hover { background: #D32F2E; color: #ffffff; }
.product-empty { padding: 32px 0; text-align: center; color: var(--text-muted); }

/* 品牌分类：独立浅底卡片区块，与纯白产品区拉开层次，白色品牌格浮在浅底上 */
.brand-section {
  margin-top: 44px;
  padding: 32px 32px 36px;
  border: 1px solid rgba(211,47,46,0.08); border-radius: 18px;
  background: #FDF4F2;   /* 极淡暖红白：与全站正红同色相，非米色/浅灰/杏橘/粉红 */
}
.brand-section-head { text-align: center; margin-bottom: 24px; }
.brand-section-head h3 { color: #2E1D12; font-size: 22px; font-weight: 700; }
.brand-section-head p { color: var(--text-muted); font-size: 14px; margin-top: 6px; }
/* 品牌分类：单格宽度减半，6 列 × 2 排共 12 个，两端仍与产品卡片左右对齐 */
.brand-chips {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px; width: 100%; max-width: none; margin: 0;
}
.brand-chip {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 12px; min-height: 96px;
  border: 1px solid rgba(211,47,46,0.10); border-radius: 4px; background: #ffffff;
  color: #2E1D12; font-size: 14px; font-weight: 600; cursor: pointer;
  white-space: nowrap; overflow: hidden; transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(46,29,18,0.055);
}
.brand-chip:hover { border-color: #D32F2E; color: #D32F2E; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(46,29,18,0.10); }
/* 合作品牌（暂无在售型号）的角标用淡红区分 */
.brand-chip.is-partner .brand-chip-count { background: #FDEDED; color: #D32F2E; }
/* 品牌筛选按钮内的小 LOGO：格子减半后同步收紧 */
.brand-chip-logo { height: 24px; max-width: 56px; object-fit: contain; display: block; flex: 0 0 auto; }
.brand-chip-mark {
  width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 4px;
  background: #D32F2E; color: #ffffff; font-size: 11px; font-weight: 700;
}
.brand-chip-count { padding: 2px 6px; border-radius: 4px; background: var(--surface-soft); color: var(--text-muted); font-size: 11px; font-weight: 400; flex: 0 0 auto; }

/* ---------- 8. 促销推荐 / 热销好物 ---------- */
/* 与产品中心保持同一宽度与间距，4 条数据维持 4 列 */
.deal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.deal-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.deal-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.deal-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-soft); }
.deal-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 8px; transition: transform 0.5s ease; }
.deal-card:hover .deal-image img { transform: scale(1.05); }
.deal-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 4px; background: var(--red); color: #ffffff; font-size: 11px; font-weight: 600; }
.deal-info { padding: 12px 14px; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.deal-brand { color: var(--text-muted); font-size: 12px; line-height: 1.3; }
.deal-info h3 { color: #2E1D12; font-size: 15px; font-weight: 600; line-height: 1.35; margin: 7px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.deal-price { color: var(--red); font-size: 20px; font-weight: 800; line-height: 1; }
.deal-price small { font-size: 13px; }

/* ---------- 9. 核心优势 ---------- */
.advantage-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 26px; transition: transform var(--transition), box-shadow var(--transition); }
.advantage-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.advantage-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: var(--pink-strong); color: var(--red); margin-bottom: 20px; }
.advantage-icon svg { width: 30px; height: 30px; }
.advantage-card h3 { color: #2E1D12; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.advantage-card p { color: var(--text-muted); font-size: 14px; }

/* ---------- 10. 合作品牌 ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.brand-logo {
  min-height: 88px; display: grid; place-items: center; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #ffffff; color: #8A7E77; font-size: 15px; font-weight: 600; letter-spacing: 0.06em;
  transition: all var(--transition);
}
/* LOGO 统一规格：画布 200×80，卡片内等比展示，最大高度 56px */
.brand-logo img { width: 100%; max-width: 160px; height: 56px; object-fit: contain; display: block; }
.brand-logo.is-placeholder img { opacity: 0.9; }
.brand-logo:hover { border-color: #D32F2E; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(211,47,46,0.10); }
.brand-logo:hover img { transform: scale(1.03); transition: transform var(--transition); }

/* ---------- 11. 数据统计 ---------- */
.stats-band { padding: 60px 0; background: #ffffff; color: #2E1D12; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { gap: 20px; }
.stat-item { text-align: center; border-right: 1px solid rgba(46,29,18,0.12); }
.stat-item:last-child { border-right: none; }
.stat-number { color: #D32F2E; font-size: clamp(38px, 5vw, 54px); font-weight: 800; line-height: 1.1; }
.stat-item p { margin-top: 8px; color: #6B5D52; font-size: 15px; }

/* ---------- 12. 客户评价 ---------- */
.testimonial-card { position: relative; background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 28px 28px; transition: transform var(--transition), box-shadow var(--transition); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.quote-mark { position: absolute; top: 8px; left: 24px; color: var(--pink-strong); font-family: Georgia, serif; font-size: 68px; line-height: 1; }
.testimonial-card blockquote { position: relative; z-index: 1; font-size: 15px; line-height: 1.85; min-height: 108px; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.avatar { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #ffffff; font-weight: 600; }
.testimonial-card figcaption strong { display: block; color: #2E1D12; font-size: 15px; }
.testimonial-card figcaption small { display: block; color: var(--text-muted); font-size: 12px; }

/* ---------- 13. 新闻资讯 ---------- */
.news-card { background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-thumb { height: 168px; overflow: hidden; background: #2E1D12; border-bottom: 1px solid rgba(46,29,18,0.10); }
.news-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.news-thumb-1, .news-thumb-2, .news-thumb-3 { background: #2E1D12; }
.news-body { padding: 24px; }
.news-body time { color: var(--text-muted); font-size: 13px; }
.news-body h3 { color: #2E1D12; font-size: 18px; font-weight: 600; line-height: 1.5; margin: 10px 0; }
.news-body p { color: var(--text-muted); font-size: 14px; min-height: 48px; }
.news-body .text-link { display: inline-block; margin-top: 14px; }

/* ---------- 14. 关于我们 ---------- */
.about-inner { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.about-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 400px; background: var(--surface-soft); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
/* 新版标题文案较长：略收字号，桌面保证一行完整显示，避免「合作伙伴」被拆到下一行 */
.about-content .section-title { text-align: left; margin-bottom: 20px; font-size: clamp(22px, 2.3vw, 30px); }
.about-text { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; }
.about-points { margin: 22px 0 30px; display: grid; gap: 10px; }
.about-points li { position: relative; padding-left: 22px; font-size: 15px; }
.about-points li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ---------- 15. 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 26px; padding-top: 8px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 8px; background: var(--pink-strong); color: var(--red); }
.contact-icon svg { width: 22px; height: 22px; }
.contact-item h3 { color: #2E1D12; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); font-size: 14px; }
.contact-form { background: #ffffff; border: 1px solid var(--border); border-top: 3px solid var(--red); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; color: #2E1D12; margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: #FFFFFF; font-size: 14px; outline: none; transition: all var(--transition);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--red); background: #ffffff; box-shadow: 0 0 0 3px rgba(211,47,46,0.10); }
.form-field input.is-error, .form-field textarea.is-error { border-color: #D32F2E; }
.form-submit { width: 100%; min-height: 48px; font-size: 16px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); text-align: center; }
.form-note.is-success { color: #2e7d52; }
.form-note.is-error { color: #D32F2E; }

/* ---------- 16. 页脚 ---------- */
.site-footer { background: #2E1D12; color: rgba(255,255,255,0.72); border-top: 3px solid #D32F2E; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 0.9fr; gap: 40px; padding: 66px 0 54px; }
.footer-brand { display: inline-block; color: #ffffff; font-size: 22px; font-weight: 800; letter-spacing: 0.14em; margin-bottom: 14px; }
.footer-about p { font-size: 14px; line-height: 1.85; max-width: 340px; }
.footer-legal-name { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.02em; }
.footer-links h3, .footer-contact h3 { color: #ffffff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: #E8A68C; }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-qr { text-align: center; }
.qr-placeholder { width: 104px; height: 104px; margin: 0 auto 10px; padding: 8px; background: #ffffff; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.qr-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.footer-qr p { font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: 20px 0; font-size: 13px; text-align: center; color: rgba(255,255,255,0.6); }

/* ---------- 17. 弹窗 / 回到顶部 / 动效 ---------- */
.brand-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.brand-modal.is-open { display: block; }
.brand-modal-overlay { position: absolute; inset: 0; background: rgba(46,29,18,0.55); backdrop-filter: blur(2px); }
.brand-modal-dialog {
  position: relative; width: calc(100% - 40px); max-width: 760px; max-height: 84vh;
  margin: 8vh auto; display: flex; flex-direction: column; background: #ffffff;
  border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  animation: modalIn 0.25s ease; overflow: hidden;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.brand-modal-close { position: absolute; top: 14px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; border: none; border-radius: 50%; background: var(--surface-soft); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.brand-modal-close:hover { background: #D32F2E; color: #ffffff; }
.brand-modal-head { padding: 28px 32px 20px; border-bottom: 1px solid var(--border); }
.brand-modal-head .section-kicker { margin-bottom: 6px; }
.brand-modal-head h3 { color: #2E1D12; font-size: 24px; font-weight: 700; }
.brand-modal-head p:last-child { color: var(--text-muted); font-size: 14px; margin-top: 6px; }
.brand-modal-body { padding: 8px 32px 28px; overflow-y: auto; }
.brand-modal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.brand-modal-table th, .brand-modal-table td { padding: 13px 8px; text-align: left; border-bottom: 1px solid var(--border); }
.brand-modal-table th { color: #2E1D12; font-weight: 600; background: var(--surface-soft); white-space: nowrap; }
.brand-modal-table .model-code { color: var(--text-muted); font-size: 13px; }
.brand-modal-table .table-price { color: var(--red); font-weight: 700; white-space: nowrap; }
.brand-modal-table tr:last-child td { border-bottom: none; }
/* 合作品牌无在售型号时的空态：说明 + 询盘入口，避免出现空表格 */
.brand-modal-empty { text-align: center; padding: 26px 12px 14px; }
.brand-modal-empty p { color: var(--text-muted); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.brand-modal-empty .btn { min-height: 42px; }
body.modal-open { overflow: hidden; }

.back-to-top { position: fixed; right: 24px; bottom: 92px; z-index: 90; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #D32F2E; color: #ffffff; font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition); box-shadow: 0 6px 18px rgba(211,47,46,0.3); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #B02827; }

/* ---------- 17b. 在线客服悬浮窗口 ---------- */
.chat-widget { position: fixed; right: 24px; bottom: 28px; z-index: 120; font-family: inherit; }
.chat-fab {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  height: 52px; padding: 0 20px 0 16px; border: 1px solid #D32F2E; border-radius: 999px;
  background: #D32F2E; color: #ffffff; font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 24px rgba(211,47,46,0.32); transition: all var(--transition);
}
.chat-fab:hover { background: #B02827; border-color: #B02827; transform: translateY(-2px); }
.chat-fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; }
.chat-fab-icon { width: 24px; height: 24px; flex: 0 0 24px; }
.chat-fab-dot { position: absolute; top: 8px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: #FFD9A8; border: 2px solid #D32F2E; }

.chat-panel {
  position: absolute; right: 0; bottom: 64px; width: 340px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 92px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #FFFCF8; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(46,29,18,0.18);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.98);
  transform-origin: bottom right; transition: all 0.28s ease;
}
.chat-panel.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px;
  background: linear-gradient(135deg, #D32F2E, #B02827); color: #ffffff;
}
.chat-head-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.18); }
.chat-head-icon svg { width: 24px; height: 24px; }
.chat-head-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; flex: 1; }
.chat-head-text strong { font-size: 16px; font-weight: 700; }
.chat-head-text span { font-size: 11px; opacity: 0.9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-close { width: 28px; height: 28px; flex: 0 0 28px; border: none; border-radius: 50%; background: rgba(255,255,255,0.18); color: #ffffff; font-size: 20px; line-height: 1; cursor: pointer; transition: background var(--transition); }
.chat-close:hover { background: rgba(255,255,255,0.32); }

.chat-body { flex: 1; min-height: 180px; max-height: 300px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #FBF7F2; }
.chat-msg { display: flex; }
.chat-msg-bot { justify-content: flex-start; }
.chat-msg-me { justify-content: flex-end; }
.chat-bubble { max-width: 86%; padding: 10px 13px; border-radius: 12px; font-size: 13px; line-height: 1.6; word-break: break-word; }
.chat-msg-bot .chat-bubble { background: #ffffff; color: #4A3F38; border: 1px solid var(--border); border-top-left-radius: 3px; }
.chat-msg-me .chat-bubble { background: #D32F2E; color: #ffffff; border-top-right-radius: 3px; }

.chat-quick-wrap { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 14px 4px; background: #FFFCF8; }
.chat-quick { padding: 6px 11px; border: 1px solid #E8CBB8; border-radius: 999px; background: #FFFFFF; color: #2E1D12; font-size: 12px; cursor: pointer; transition: all var(--transition); }
.chat-quick:hover { background: #D32F2E; border-color: #D32F2E; color: #ffffff; }
.chat-contact { display: flex; gap: 8px; padding: 8px 14px 4px; background: #FFFCF8; }
.chat-contact-btn { flex: 1; text-align: center; padding: 8px 6px; border: 1px solid rgba(211,47,46,0.4); border-radius: 7px; background: #ffffff; color: #D32F2E; font-size: 12px; font-weight: 600; transition: all var(--transition); }
.chat-contact-btn:hover { background: #D32F2E; color: #ffffff; border-color: #D32F2E; }
.chat-form { display: flex; gap: 8px; padding: 10px 14px 6px; background: #FFFCF8; }
.chat-input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; background: #ffffff; color: #4A3F38; font-size: 13px; outline: none; transition: border-color var(--transition); }
.chat-input:focus { border-color: #D32F2E; }
.chat-send { padding: 0 16px; border: none; border-radius: 8px; background: #D32F2E; color: #ffffff; font-size: 13px; font-weight: 600; cursor: pointer; transition: background var(--transition); }
.chat-send:hover { background: #B02827; }
.chat-hint { margin: 0; padding: 4px 14px 12px; background: #FFFCF8; color: #9A8B80; font-size: 11px; line-height: 1.5; text-align: center; }

/* 未读角标 */
.chat-fab-badge {
  position: absolute; top: -5px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  display: none; place-items: center; border-radius: 999px; background: #2E1D12; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1; border: 2px solid #FFFCF8;
}
.chat-fab-badge.is-visible { display: grid; }

/* 定时新消息气泡 */
.chat-toast {
  position: fixed; left: 20px; bottom: 24px; width: 264px; max-width: calc(100vw - 40px);
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: #FFFCF8; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(46,29,18,0.16); text-align: left; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease;
}
.chat-toast.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-toast:hover { border-color: #D32F2E; }
.chat-toast-avatar { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; background: #D32F2E; color: #fff; }
.chat-toast-avatar svg { width: 20px; height: 20px; }
.chat-toast-content { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.chat-toast-content strong { font-size: 12px; color: #2E1D12; font-weight: 700; }
.chat-toast-content em { font-size: 12px; color: #8A7E77; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-toast-badge { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border-radius: 50%; background: #D32F2E; color: #fff; font-size: 11px; font-weight: 700; }

/* 会话接入按钮（转人工 / 微信咨询） */
.chat-actions { display: flex; gap: 8px; padding: 8px 14px 2px; background: #FFFCF8; }
.chat-action { flex: 1; padding: 9px 8px; border-radius: 8px; font-size: 12px; font-weight: 600; text-align: center; cursor: pointer; transition: all var(--transition); }
.chat-action-primary { background: #D32F2E; color: #ffffff; border: 1px solid #D32F2E; }
.chat-action-primary:hover { background: #B02827; border-color: #B02827; }
.chat-action:not(.chat-action-primary) { background: #FFFFFF; color: #2E1D12; border: 1px solid #E8CBB8; }
.chat-action:not(.chat-action-primary):hover { border-color: #D32F2E; color: #D32F2E; }

/* 微信二维码弹层（覆盖面板内容） */
.chat-qr-layer {
  position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center;
  padding: 16px 20px 22px; background: #FFFCF8; text-align: center;
}
.chat-qr-layer.is-open { display: flex; }
.chat-qr-back { align-self: flex-start; margin-bottom: 8px; padding: 4px 8px; border: none; background: transparent; color: #D32F2E; font-size: 13px; font-weight: 600; cursor: pointer; }
.chat-qr-layer h4 { margin: 4px 0 14px; font-size: 15px; color: #2E1D12; font-weight: 700; }
.chat-qr-img { width: 148px; height: 148px; object-fit: contain; padding: 8px; background: #ffffff; border: 1px solid var(--border); border-radius: 10px; }
.chat-qr-id { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 10px 7px 14px; border: 1px solid var(--border); border-radius: 8px; background: #FBF7F2; }
.chat-qr-id span { font-size: 13px; color: #2E1D12; font-weight: 600; letter-spacing: 0.04em; }
.chat-qr-copy { padding: 5px 10px; border: none; border-radius: 6px; background: #D32F2E; color: #fff; font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chat-qr-copy:hover { background: #B02827; }
.chat-qr-layer p { margin: 12px 0 0; font-size: 11px; line-height: 1.6; color: #8A7E77; }

/* ---------- 双向翻译工作台 ---------- */
.chat-tabs { display: flex; border-bottom: 1px solid var(--border); background: #ffffff; }
.chat-tab { flex: 1; padding: 10px 6px; border: none; border-bottom: 2px solid transparent; background: transparent; color: #8A7E77; font-size: 12px; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.chat-tab:hover { color: #D32F2E; }
.chat-tab.is-active { color: #D32F2E; border-bottom-color: #D32F2E; background: #FFFFFF; }
.chat-view { display: flex; flex-direction: column; }
.chat-view.is-hidden { display: none; }
.chat-msg { flex-wrap: wrap; }
.chat-msg-trans { width: 100%; margin-top: 5px; font-size: 11px; line-height: 1.55; color: #8A7E77; }
.chat-msg-me .chat-msg-trans { text-align: right; }
.chat-msg-bot .chat-msg-trans { padding-left: 2px; }
.chat-translate { background: #FFFCF8; }
.chat-tr-head { padding: 14px 14px 9px; background: #FFFFFF; border-bottom: 1px solid var(--border); }
.chat-tr-head strong { display: block; font-size: 13px; font-weight: 700; color: #2E1D12; }
.chat-tr-head p { margin: 4px 0 0; font-size: 11px; line-height: 1.5; color: #6B5D52; }
.chat-tr-scroll { padding: 10px 14px 12px; max-height: min(500px, calc(100vh - 250px)); overflow-y: auto; }
.chat-tr-label { display: block; margin: 8px 0 5px; font-size: 11px; font-weight: 700; color: #2E1D12; }
.chat-tr-label:first-child { margin-top: 0; }
.chat-tr-area { display: block; width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; background: #ffffff; color: #4A3F38; font-size: 12px; line-height: 1.55; font-family: inherit; resize: vertical; outline: none; transition: border-color var(--transition); }
.chat-tr-area:focus { border-color: #D32F2E; }
.chat-tr-demo { margin-top: 6px; padding: 5px 10px; border: 1px dashed #E8CBB8; border-radius: 6px; background: #FFFFFF; color: #D32F2E; font-size: 11px; font-weight: 600; cursor: pointer; }
.chat-tr-demo:hover { border-color: #D32F2E; }
.chat-tr-out, .chat-tr-result { padding: 9px 11px; border-radius: 8px; font-size: 12px; line-height: 1.6; word-break: break-word; min-height: 34px; }
.chat-tr-out { background: #FBF7F2; border: 1px solid var(--border); color: #2E1D12; }
.chat-tr-result { background: #ffffff; border: 1px dashed #E8CBB8; color: #4A3F38; }
.chat-tr-btns { display: flex; gap: 8px; margin-top: 10px; }
.chat-tr-send { flex: 1; padding: 9px 6px; border: none; border-radius: 8px; background: #D32F2E; color: #ffffff; font-size: 12px; font-weight: 600; cursor: pointer; }
.chat-tr-send:hover { background: #B02827; }
.chat-tr-copy { padding: 9px 12px; border: 1px solid rgba(211,47,46,0.4); border-radius: 8px; background: #ffffff; color: #D32F2E; font-size: 12px; font-weight: 600; cursor: pointer; }
.chat-tr-copy:hover { background: #FFFFFF; }
.chat-tr-note { margin: 8px 0 0; min-height: 14px; font-size: 10px; line-height: 1.5; color: #9A8B80; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.3,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[style*="--delay"] { transition-delay: var(--delay); }

/* ---------- 18. 响应式 ---------- */
/* 中等屏幕（1025–1280px）：产品网格降为 4 列 */
@media (max-width: 1280px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .section { padding: 60px 0; }
  .nav-link { padding: 8px 6px; font-size: 13px; }
  .nav-dropdown-products { width: 560px; }
  .nav-dropdown-news { width: 330px; }
  .brand-text strong { font-size: 13px; }
  .brand-text small { font-size: 8px; }
  .header-quote { padding: 0 12px; font-size: 13px; }
  .category-strip { gap: 16px; }
  .category-strip-label { flex-basis: 150px; }
  .category-item { padding: 6px 10px; gap: 8px; }
  .product-grid, .deal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-inner { gap: 36px; }
  .contact-grid { gap: 32px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 30px; }
  .footer-qr { grid-column: 3; }
  /* 中等屏幕：12 个品牌改 4 列 × 3 排，格子仍保持横向矩形 */
  .brand-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .container { padding: 0 18px; }
  .section { padding: 34px 0; }
  #site-search { padding: 10px 0 6px; }
  #categories { padding: 4px 0 8px; }
  #products { padding: 8px 0 28px; }
  .section-head { margin-bottom: 18px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }

  .nav-toggle { display: block; }
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex; }
  .brand-text strong { font-size: 13px; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; }

  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; margin: 0; padding: 10px 18px 18px;
    background: #ffffff; border-top: 1px solid var(--border); box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .main-nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; opacity: 1; visibility: visible; }
  /* 移动端展开面板是白底，文字回深色，保证红条下的白色导航菜单可读 */
  .nav-link { padding: 12px 8px; font-size: 15px; border-bottom: 1px solid var(--border); border-radius: 0; color: var(--text-dark); }
  .main-nav .nav-link:hover,
  .main-nav .nav-item:hover > .nav-link,
  .main-nav .nav-item:focus-within > .nav-link,
  .main-nav .nav-item.is-open > .nav-link,
  .main-nav .nav-link.active { color: var(--red); background: var(--pink-strong); }
  .main-nav .nav-quote { margin-top: 16px; width: 100%; }
  .nav-item { display: block; position: relative; }
  .nav-item > .nav-link { display: block; padding-right: 44px; }
  .nav-item > .nav-link > .nav-caret { display: none; }
  /* 展开按钮固定在标题行内，避免子菜单撑高后箭头跑到下拉中部 */
  .nav-dd-toggle { display: grid; top: 0; transform: none; height: 45px; }
  .has-dropdown::after { display: none; }
  .nav-dropdown {
    position: static; width: auto !important; box-shadow: none; border: none;
    border-top: 1px solid var(--border); border-radius: 0; padding: 12px 0 6px 12px;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav-item.is-open > .nav-dropdown { display: block; }
  .dd-body { grid-template-columns: 1fr; gap: 10px; }
  .dd-cats { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 6px; }
  .dd-cat { padding: 9px 6px; }
  .dd-product-list { grid-template-columns: 1fr; max-height: none; }

  /* 手机端首屏按桌面 Banner 的宽高比收矮，减少滚动空占位 */
  .hero { height: 228px; }
  .lang-en .hero { height: 264px; }
  .hero-inner { padding-top: var(--header-h); align-items: center; justify-content: center; }
  .lang-en .hero-inner { padding-top: var(--header-h); align-items: center; justify-content: center; }
  .hero-title { font-size: clamp(26px, 7.2vw, 32px); line-height: 1.15; letter-spacing: 0.015em; }
  .lang-en .hero-title { font-size: clamp(23px, 6.4vw, 30px); line-height: 1.12; }
  .hero-tags { gap: 0; margin-top: 11px; }
  .lang-en .hero-tags { margin-top: 10px; }
  .hero-tags li { font-size: 10px; padding: 0 6px; }
  .lang-en .hero-tags li { font-size: 9px; padding: 0 5px; }
  .hero-actions { flex-wrap: nowrap; gap: 7px; margin-top: 13px; }
  .lang-en .hero-actions { margin-top: 13px; }
  .hero-actions .btn { flex: 0 1 auto; width: auto; max-width: 102px; min-width: 0; min-height: 28px; padding: 0 8px; font-size: 10.5px; border-radius: 3px; justify-content: center; }
  .hero-actions .btn-primary::after { margin-left: 3px; font-size: 10.5px; }
  .hero-dots { bottom: 10px; gap: 6px; }
  .hero-dot { width: 5px; height: 5px; }
  .hero-dot.is-active { width: 16px; }
  /* 手机端隐藏左右箭头，避免压住 Banner 文字；轮播圆点仍可切换 */
  .hero-arrow { display: none; }
  .hero-prev { left: 8px; } .hero-next { right: 8px; }

  .search-dock { margin-top: 0; padding: 9px; border-radius: 22px; border: 1px solid rgba(211,47,46,.18); box-shadow: 0 8px 22px rgba(46,29,18,.12), 0 0 0 3px rgba(46,29,18,.03); }
  .search-box { gap: 7px; padding: 4px 4px 4px 12px; }
  .search-input { height: 40px; font-size: 14px; }
  .search-submit { width: 40px; height: 40px; padding: 0; font-size: 0; gap: 0; border-radius: 999px; justify-content: center; }
  .search-submit svg { display: block; width: 17px; height: 17px; }
  .search-hot {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 5px; padding: 6px 0 4px;
  }
  .search-hot::-webkit-scrollbar { display: none; }
  .search-hot-label { flex: 0 0 auto; position: sticky; left: 0; z-index: 1; background: #FFFFFF; padding-right: 5px; }
  .search-hot-chip { flex: 0 0 auto; white-space: nowrap; padding: 2px 8px; font-size: 9.5px; }
  .category-strip { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 14px; padding: 10px 0; }
  .category-strip-label { flex: none; }
  .category-strip-label small { display: none; }
  .category-row { overflow-x: auto; scrollbar-width: none; }
  .category-row::-webkit-scrollbar { display: none; }
  .category-item { flex: 0 0 180px; padding: 4px 10px; }
  .category-icon { width: 40px; height: 40px; }
  .category-icon svg { width: 22px; height: 22px; }
  .category-meta strong { font-size: 12px; }
  .product-toolbar { gap: 10px; margin-bottom: 14px; padding: 10px; border-radius: 12px; }
  .result-bar { width: 100%; justify-content: space-between; padding: 0 2px; }

  .product-grid, .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  /* 手机端 6 个产品分类完整显示：固定 3 列 × 2 排，自适应不横向滚动 */
  .product-tabs {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%; gap: 8px; overflow: visible; padding: 0; margin-bottom: 0;
  }
  .product-tab {
    width: 100%; min-width: 0; padding: 7px 4px; font-size: 11.5px; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .lang-en .product-tab { font-size: 10.5px; letter-spacing: -0.01em; }
  .product-info, .deal-info { padding: 10px; }
  .product-image-wrap img, .deal-image img { padding: 4px; }
  .product-name, .deal-info h3 { font-size: 13px; }
  .product-price, .deal-price { font-size: 16px; }
  .brand-section { margin-top: 20px; padding: 18px 12px; border-radius: 14px; }
  /* 手机端 4 列 × 3 排，卡片内改为纵向排列，避免品牌名与数量被挤断 */
  .brand-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: none; }
  .brand-chip { flex-direction: column; gap: 4px; padding: 9px 4px; min-height: 78px; font-size: 12px; white-space: normal; }
  .brand-chip-logo { height: 20px; max-width: 44px; }
  .brand-chip-mark { width: 20px; height: 20px; font-size: 10px; }
  .brand-chip-count { font-size: 10px; padding: 0 4px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }

  .stats-band { padding: 32px 0; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-number { font-size: 34px; }

  .about-inner { grid-template-columns: 1fr; gap: 20px; }
  .about-visual, .about-visual img { min-height: 200px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-about, .footer-qr { grid-column: 1 / -1; }

  .brand-modal-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border-radius: 0; }
  .brand-modal-head { padding: 24px 18px 16px; }
  .brand-modal-head h3 { font-size: 20px; }
  .brand-modal-body { padding: 4px 18px 24px; }
  .brand-modal-table { font-size: 13px; }
  .brand-modal-table th, .brand-modal-table td { padding: 11px 6px; }
  .back-to-top { right: 16px; bottom: 80px; width: 40px; height: 40px; }
  .chat-widget { right: 14px; bottom: 16px; }
  /* 手机端只保留下角小圆钮与未读角标，关闭大气泡，避免重复提示和遮挡 */
  .chat-toast { display: none !important; }
  .chat-fab { height: 44px; width: 44px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: 0 6px 18px rgba(46,29,18,.18); }
  .chat-fab-text { display: none; }
  .chat-fab-icon { width: 22px; height: 22px; flex: 0 0 22px; }
  .chat-fab-dot { top: 6px; right: 6px; }
  .chat-panel { right: 0; bottom: 60px; width: min(340px, calc(100vw - 32px)); }
}

@media (max-width: 420px) {
  .brand-text small { display: none; }
  .brand-text strong { font-size: 12px; }
  .hero-tags li { font-size: 10px; }
  .hero-actions .btn { width: auto; }
  .section-title { font-size: 22px; }
  .stat-number { font-size: 30px; }
  .product-grid, .deal-grid { gap: 12px; }
  .brand-modal-table th:nth-child(3), .brand-modal-table td:nth-child(3) { display: none; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-qr { grid-column: 1; }
}
