/* ==========================================================================
   东盟出海网 · 设计系统 (main.css)
   主色：北部湾深海蓝   强调：桂花金   辅助：东盟绿
   ========================================================================== */

:root {
  /* ---- 深海蓝（品牌主色） ---- */
  --navy-950: #04122A;
  --navy-900: #071C38;
  --navy-800: #0B2545;
  --navy-700: #123A6B;
  --navy-600: #1A5590;
  --blue-500: #1E7BC4;
  --blue-400: #3D9EE0;
  --blue-200: #BBDCF5;
  --blue-100: #E3F0FB;
  --blue-50: #F1F8FE;

  /* ---- 青蓝 ---- */
  --cyan-600: #0E8A9B;
  --cyan-500: #12A5B8;
  --cyan-400: #25C2D6;

  /* ---- 桂花金（广西 / 广西好物） ---- */
  --gold-700: #C2731A;
  --gold-600: #E08A1E;
  --gold-500: #F5A623;
  --gold-400: #FFBF57;
  --gold-100: #FFF3DE;

  /* ---- 东盟绿 ---- */
  --green-600: #0E9E76;
  --green-500: #12B886;
  --green-100: #DFF7EE;

  /* ---- 中性 ---- */
  --bg: #F3F7FC;
  --bg-soft: #F8FAFD;
  --surface: #FFFFFF;
  --line: #E4EBF5;
  --line-strong: #D2DEEE;
  --text-1: #0C1B2E;
  --text-2: #42556F;
  --text-3: #7A8CA3;
  --text-4: #A8B6C7;
  /* 导航默认字色：比 --text-2 深一档。#42556F 在 15px 中文上对比度仅 6.4:1，
     小字号低对比会被主观读成「发虚」，这里提到约 9:1；hover 仍走 --navy-700、
     当前项仍走 --navy-800，三级层级不丢。 */
  --text-nav: #33475F;

  /* ---- 圆角 ---- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ---- 阴影 ---- */
  --sh-xs: 0 1px 3px rgba(11, 37, 69, .06);
  --sh-sm: 0 2px 10px rgba(11, 37, 69, .07);
  --sh: 0 8px 28px rgba(11, 37, 69, .09);
  --sh-lg: 0 18px 48px rgba(11, 37, 69, .14);
  --sh-blue: 0 12px 30px rgba(30, 123, 196, .26);
  --sh-gold: 0 12px 30px rgba(245, 166, 35, .3);

  /* ---- 尺寸 ---- */
  /* 1240→1320：门户化重构（2026-10-14）加宽容器，首页信息密度与气度提升；
     .wrap 的左右 24px 内距不变，窄屏断点全部按 max-width 查询不受影响。 */
  --container: 1320px;
  --header-h: 74px;

  /* 中文优先 Noto Sans SC（网络字体，国内镜像），失败则按顺序回退本地优质字体 */
  --font: "Noto Sans SC", "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi 3.0",
    "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* 数字与拉丁：Manrope 字形更现代，Bahnschrift / DIN 为 Windows 本地近似字体 */
  --font-num: "Manrope", "Bahnschrift", "DIN Alternate", "Segoe UI Variable Display",
    "Oswald", "Segoe UI", var(--font);

  --ease: cubic-bezier(.4, .14, .3, 1);
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */
* { box-sizing: border-box; }

/* scroll-padding-top：导航固定后，锚点跳转要为它让出高度，否则标题被压在导航下面 */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.2px;
  line-height: 1.72;
  letter-spacing: .006em;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
/* 中文标题加粗一档，配合 Noto Sans SC 更立体 */
h1, h2 { font-weight: 800; }
h3 { font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

::selection { background: var(--blue-200); color: var(--navy-900); }

/* 内联图标容器：组件未单独指定尺寸时按字号自适应 */
[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex: none; }
[data-icon] > svg { width: 1.05em; height: 1.05em; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #C3D3E6; border-radius: 99px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-400); }

/* ==========================================================================
   布局
   ========================================================================== */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 54px 0; }
.section--tight { padding: 36px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #fff; }
.section--dark .sec-title { color: #fff; }
.section--dark .sec-sub { color: rgba(255, 255, 255, .62); }

.grid { display: grid; gap: 20px; }
/* minmax(0,1fr)：1fr 的隐式最小值是 auto（= min-content），
   会被宽内容（如 .board 长表格行）撑破导致整行溢出视口；
   minmax(0,1fr) 把最小值锁为 0，配合子项 ellipsis 才能真正等分。 */
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* 非等分的双列布局（文案 + 卡片、左右图文等）。
   这类布局以前写成 HTML 内联 style="grid-template-columns:1fr 1fr"，
   内联样式优先级高于样式表，会把窄屏断点全部顶掉（480px 下仍挤成两列）。
   改用具名类，断点才能生效；比例差异用 --split 变体表达。 */
.grid--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--split { grid-template-columns: 1.08fr .92fr; }
@media (max-width: 1080px) {
  .grid--split { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   区块标题
   ========================================================================== */
.sec-head { margin-bottom: 30px; }
.sec-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.sec-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--blue-500);
  background: var(--blue-100);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 16px;
}
.sec-tag--gold { color: var(--gold-700); background: var(--gold-100); }
.sec-tag--green { color: var(--green-600); background: var(--green-100); }
.sec-tag--dark { color: var(--navy-700); background: rgba(255, 255, 255, .1); }

.sec-title { font-size: 36px; letter-spacing: -.022em; }
.sec-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue-500), var(--cyan-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-title .hl-gold {
  background: linear-gradient(100deg, var(--gold-600), var(--gold-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-sub { margin-top: 12px; font-size: 15.5px; color: var(--text-2); max-width: 720px; }
.sec-head--center .sec-sub { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px;
  border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600;
  white-space: nowrap;
  transition: all .22s var(--ease);
  border: 1.5px solid transparent;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary { background: linear-gradient(135deg, var(--blue-500), var(--navy-600)); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(30, 123, 196, .38); }

.btn--gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; box-shadow: var(--sh-gold); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(245, 166, 35, .42); }

.btn--ghost { background: #fff; color: var(--navy-700); border-color: var(--line-strong); box-shadow: var(--sh-xs); }
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-500); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .34); }
.btn--line:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }

.btn--glass { background: rgba(255, 255, 255, .13); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .58); transform: translateY(-2px); }

.btn--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 34px; font-size: 16.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--blue-500);
  transition: gap .2s var(--ease);
}
.link-arrow:hover { gap: 11px; }
.link-arrow::after { content: "→"; }

/* ==========================================================================
   标签 / 徽标
   ========================================================================== */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 10px;
  border-radius: var(--r-xs);
  font-size: 12px; font-weight: 600;
  background: var(--bg); color: var(--text-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.chip--blue { background: var(--blue-100); color: var(--navy-600); border-color: #CCE4F7; }
.chip--gold { background: var(--gold-100); color: var(--gold-700); border-color: #FBE2B6; }
.chip--green { background: var(--green-100); color: var(--green-600); border-color: #C5EEDF; }
.chip--solid { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; border-color: transparent; }
.chip--navy { background: var(--navy-800); color: #fff; border-color: transparent; }

/* ==========================================================================
   头部导航
   ========================================================================== */
/* 关键：#siteHeader 不能生成盒子。
   否则它的高度恒等于 topbar + header（36+75px），成为 .header 的包含块，
   sticky 元素会被锁死在这 111px 之内 —— 没有任何可粘附的滚动空间，表现为「滚走就没了」。
   display:contents 让 .header 的包含块上溯到 body（全文档高度），sticky 才能正常固定。 */
#siteHeader { display: contents; }

.topbar {
  /* z-index 95 > .header 的 90：顶栏的二维码浮层要盖在 sticky 主导航之上。
     顶栏本身不 sticky，滚过 50px 后已离开视口，两者不会打架。 */
  position: relative; z-index: 95;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .74);
  font-size: 12.8px;
  height: 50px;
  display: flex; align-items: center;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__left { display: flex; align-items: center; gap: 18px; overflow: hidden; }
.topbar__left span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgba(18, 184, 134, .22); }
.topbar__right { display: flex; align-items: center; gap: 12px; flex: none; }
.topbar a:hover { color: #fff; }
.topbar__tel { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 600; color: rgba(255, 255, 255, .88); }
.topbar__tel-ico svg { width: 15px; height: 15px; display: block; }
.topbar__sep { width: 1px; height: 18px; flex: none; background: rgba(255, 255, 255, .16); }

/* ---- 顶栏快捷入口：业务合作 / 交流群 / 小程序 / 公众号 ----
   形态取自同行做法（图标在上、文字在下），放在顶栏右侧。
   放这里不放主导航行是实测结论：主导航 9 个入口在 1440 下净间隙只剩 23px，
   这 4 项（约 225px）进主导航行会与导航重叠 160px。 */
.hq { display: flex; align-items: center; gap: 2px; }
.hq__item { position: relative; }
.hq__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 58px; height: 44px; padding: 0; border: 0; border-radius: 8px;
  background: none; cursor: pointer; font-family: inherit; white-space: nowrap;
  color: rgba(255, 255, 255, .84); font-size: 12px; font-weight: 600; letter-spacing: -.01em;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.hq__item:hover .hq__btn, .hq__item.is-open .hq__btn { color: #fff; background: rgba(255, 255, 255, .13); }
.hq__ico svg { width: 20px; height: 20px; display: block; }
.hq__txt { display: block; line-height: 1; }
.hq__pop {
  position: absolute; right: 0; top: 100%; z-index: 120; margin-top: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.hq__item:hover .hq__pop, .hq__item:focus-within .hq__pop, .hq__item.is-open .hq__pop {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
/* 按钮与浮层之间的 8px 空隙用透明条接住，否则鼠标横穿会掉出 hover */
.hq__pop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; }

/* 二维码卡片：顶栏浮层与移动端抽屉共用一套 */
.qrcard {
  display: grid; justify-items: center; gap: 8px; width: 212px;
  padding: 16px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-lg);
}
.qrcard__t { font-size: 14.2px; font-weight: 700; color: var(--navy-800); }
.qrcard__img { width: 132px; height: 132px; border-radius: 10px; object-fit: cover; display: block; background: var(--bg-soft); }
.qrcard__img--ph {
  display: grid; place-items: center; gap: 1px;
  border: 1px dashed rgba(18, 58, 107, .28); color: var(--text-4);
  font-size: 12.6px; font-weight: 600; line-height: 1.35;
}
.qrcard__img--ph i { font-style: normal; font-size: 11px; font-weight: 500; }
.qrcard__d { font-style: normal; font-size: 12px; line-height: 1.55; color: var(--text-3); }
.qrcard__btn {
  width: 100%; height: 34px; border: 0; border-radius: var(--r-sm); cursor: pointer;
  background: var(--blue-50); color: var(--blue-500); font-family: inherit; font-size: 13px; font-weight: 700;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.qrcard__btn:hover { background: var(--blue-500); color: #fff; }

.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 26px rgba(11, 37, 69, .1); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 22px; }

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
/* LOGO 图形标：老板提供的「帆船/塔」品牌标（透明底 PNG，原图 782×557 比例 1.571）。
   浅色底（header / 移动抽屉）用彩色版 logo-asean.png，
   深色底（footer）用白色剪影版 logo-asean-light.png —— 三处标记见 app.js buildHeader/buildDrawer/buildFooter。
   注意：必须给 .logo__mark 显式宽度 —— 它是 flex 子项（flex:none），width:auto 会按 <img> 固有宽度
   471px 取 max-content，把整个头部撑宽 ~400px 导致导航下拉溢出。 */
.logo__mark { width: 66px; height: 42px; flex: none; display: grid; place-items: center; }
.logo__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name {
  display: block; font-size: 19.5px; font-weight: 800;
  letter-spacing: -.015em; color: var(--navy-800);
}
.logo__name b { color: var(--blue-500); }
.logo__slogan {
  display: block; font-size: 9.6px; letter-spacing: .2em;
  color: var(--text-4); font-weight: 700; margin-top: 2px;
}

/* ---- 主导航 ---- */
.nav {
  display: flex; align-items: center; gap: 1px;
  flex: 1 1 auto; min-width: 0;
}
.nav__item { position: relative; }
/* 悬停桥接：菜单与导航之间留有空隙，鼠标经过时不会中断 hover。
   高度需覆盖到弹层顶边（22px > 17px 间隙），否则快速划过会闪断。 */
.nav__item::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  /* 内距 13→10→7→6px：导航 9 个顶级入口 + 右上角会员入口（登录/注册）同时存在，
     按「先让内距、守住字号」的约定继续收，字号仍守 15px。 */
  height: 42px; padding: 0 6px;
  border-radius: var(--r-sm);
  /* letter-spacing 保持 normal：中文等宽字面本身是整数步进，加一个小数字距
     （原 .004em ≈ 0.06px）会把每个字的落点推到半像素上，整排字退化成
     「每个字都轻微发虚」——这是导航观感模糊的直接来源之一。 */
  font-size: 15px; font-weight: 600; letter-spacing: normal;
  color: var(--text-nav); white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__txt { display: block; }
.nav__link:hover, .nav__item:hover > .nav__link {
  color: var(--navy-700); background: var(--blue-50);
}
/* 门户化重构（2026-10-14）：hover 也出渐变下划线（与 is-active 同款、透明度减半），
   导航「可点、当前在哪」一眼可读；:not(.is-active) 避免与当前项的下划线打架。 */
.nav__link:not(.is-active):hover::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 5px;
  height: 2.5px; border-radius: 2px; opacity: .55;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
}
.nav__link.is-active { color: var(--navy-800); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 5px;
  height: 2.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
}
.nav__caret {
  /* 原 11px / opacity .42：在 1x 屏上子像素描边只有 1.74px 且被 58% 的白稀释，
     灰成一团、被读成「糊」。放大到 12px 并提到 .62，线宽由 SVG 侧同步加粗。 */
  width: 12px; height: 12px; opacity: .62; margin-top: 1px; flex: none;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav__item:hover .nav__caret { transform: rotate(180deg); opacity: 1; }

/* ---- 巨型菜单 ---- */
/* top 偏移 + 17px：展开后弹层顶边正好贴齐导航栏底边（不探进导航条内） */
.mega {
  position: absolute; top: calc(100% + 17px); left: 50%;
  transform: translate(-50%, 10px);
  z-index: 20;
  min-width: 460px; max-width: 780px;
  background: #fff;
  border: 1px solid rgba(11, 37, 69, .07);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(11, 37, 69, .16), 0 3px 10px rgba(11, 37, 69, .05);
  padding: 18px 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .22s var(--ease), visibility .2s;
}
.nav__item:hover .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
/* 首项左对齐、末两项右对齐，防止贴边裁切 */
.mega--left { left: 0; transform: translate(0, 10px); }
.nav__item:hover > .mega--left { transform: translate(0, 0); }
.mega--right { left: auto; right: 0; transform: translate(0, 10px); }
.nav__item:hover > .mega--right { transform: translate(0, 0); }
.mega--wide { min-width: 720px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px 10px; }
.mega__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega__col-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--text-4);
  padding: 0 12px 8px; grid-column: 1 / -1;
}
.mega__link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 12px; border-radius: 12px;
  transition: background .18s var(--ease);
}
.mega__link:hover { background: var(--blue-50); }
.mega__txt { display: block; min-width: 0; }
.mega__ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--navy-600);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.mega__link:hover .mega__ico { background: var(--blue-200); color: var(--navy-700); }
.mega__ico svg { width: 17px; height: 17px; }
.mega__ico--gold { background: var(--gold-100); color: var(--gold-700); }
.mega__ico--green { background: var(--green-100); color: var(--green-600); }
.mega__t {
  display: block; font-size: 14.4px; font-weight: 600; line-height: 1.35;
  color: var(--text-1); transition: color .18s var(--ease);
}
.mega__link:hover .mega__t { color: var(--navy-700); }
.mega__d { display: block; font-size: 12.4px; color: var(--text-3); line-height: 1.5; margin-top: 2px; }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* ---- 右上角会员入口：圆形头像 + 悬停面板 ----
   原先这里是「登录 | 注册」两个文字链（96px），统一收成一个圆形头像后宽度大降、
   主导航净间隙回到 23px（1440 实测）。按老板要求把头像放大并做精致化，
   并把「免费诊断」按钮挪到头像左侧（见 app.js buildHeader 的 header__actions 顺序）。
   未登录：浅蓝圆底 + 人形图标；已登录：蓝青渐变圆底 + 昵称首字，外环一圈白边把它
   从白色顶栏里「托」起来。悬停头像轻微放大，触屏点按由 initHeaderFloats() 开合。 */
.auth-area { display: flex; align-items: center; flex: none; }
.userbox { position: relative; }
.userbox__btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 0; border-radius: 50%; background: none; cursor: pointer; font-family: inherit;
  transition: background .18s var(--ease);
}
.userbox__btn:hover { background: var(--blue-50); }
.userbox__ava {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; line-height: 1;
  background: var(--blue-50); color: var(--navy-700);
  box-shadow: 0 0 0 3px #fff, inset 0 0 0 1px rgba(18, 58, 107, .16);
  font-size: 16px; font-weight: 800; letter-spacing: .01em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.userbox__ava svg { width: 24px; height: 24px; }
.userbox__ava--in {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff; box-shadow: 0 0 0 3px #fff, var(--sh-blue);
}
.userbox__btn:hover .userbox__ava,
.userbox__btn:focus-visible .userbox__ava {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(30, 123, 196, .16);
}
.userbox__panel {
  position: absolute; right: 0; top: 100%; z-index: 120; margin-top: 10px;
  width: 238px; padding: 14px; display: grid; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.userbox:hover .userbox__panel,
.userbox:focus-within .userbox__panel,
.userbox.is-open .userbox__panel { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
/* 头像与面板之间的 10px 空隙用透明条接住，鼠标横穿不会掉出 hover */
.userbox__panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 12px; }
.userbox__hd { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy-800); }
.userbox__sub { margin: 0 0 2px; font-size: 12.4px; line-height: 1.55; color: var(--text-3); }
.userbox__tip { margin: 2px 0 0; font-size: 11.6px; line-height: 1.5; color: var(--text-4); }
.userbox__me { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.userbox__me .userbox__ava { width: 44px; height: 44px; font-size: 16px; }
.userbox__me-t { display: flex; flex-direction: column; min-width: 0; }
.userbox__me-t b { font-size: 14.2px; color: var(--navy-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.userbox__me-t i { font-style: normal; font-size: 11.8px; color: var(--text-3); }
.userbox__link {
  display: flex; align-items: center; justify-content: space-between;
  height: 34px; padding: 0 8px; border: 0; border-radius: var(--r-sm);
  background: none; cursor: pointer; font-family: inherit; text-align: left;
  font-size: 13.8px; font-weight: 600; color: var(--text-nav);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.userbox__link:hover { color: var(--navy-700); background: var(--blue-50); }
.userbox__arrow { color: var(--text-4); font-size: 15px; }
.userbox__link--out { justify-content: flex-start; color: var(--text-3); }
.userbox__link--out:hover { color: #C0392B; background: rgba(192, 57, 43, .06); }
/* 移动端抽屉里的会员按钮 */
[data-auth-drawer] { display: grid; gap: 10px; }
/* 移动端抽屉里的快捷入口：点一下原地展开二维码卡 */
.drawer__quick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 26px; }
.drawer__qbtn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; cursor: pointer; font-family: inherit;
  font-size: 13.6px; font-weight: 600; color: var(--text-nav);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.drawer__qbtn svg { width: 18px; height: 18px; }
.drawer__qitem.is-open .drawer__qbtn { color: var(--blue-500); border-color: rgba(30, 123, 196, .42); }
/* 展开时占满整行，二维码卡才不至于挤在半个格子里 */
.drawer__qitem.is-open { grid-column: 1 / -1; }
.qrcard--drawer { display: none; width: auto; margin-top: 8px; box-shadow: none; }
.drawer__qitem.is-open .qrcard--drawer { display: grid; }
/* login.html 本身就是会员中心，页头再放一个会员头像纯属重复 */
body[data-page="login"] .auth-area { display: none; }

.burger { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); }
.burger span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--navy-800); }

/* 移动端抽屉 */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: #fff;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  overflow-y: auto; padding: 18px 20px 48px;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__close { width: 40px; height: 40px; border-radius: 10px; background: var(--bg); font-size: 20px; color: var(--text-2); }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-size: 16px; font-weight: 700; color: var(--text-1);
}
.drawer__sub { display: none; padding: 0 4px 14px; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { display: block; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14.5px; color: var(--text-2); }
.drawer__sub a:active { background: var(--blue-50); }

/* ==========================================================================
   通用卡片
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
  position: relative;
  overflow: hidden;
}
.card--hover:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: var(--blue-200); }
.card--flat { box-shadow: none; }
.card__ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, var(--blue-100), #F4FAFF);
  color: var(--blue-500);
}
.card__ico svg { width: 24px; height: 24px; }
.card__ico--gold { background: linear-gradient(140deg, var(--gold-100), #FFFBF3); color: var(--gold-600); }
.card__ico--green { background: linear-gradient(140deg, var(--green-100), #F4FDF9); color: var(--green-600); }
.card__ico--navy { background: linear-gradient(140deg, var(--navy-800), var(--navy-600)); color: #fff; }
.card__title { font-size: 18px; margin-bottom: 8px; }
.card__desc { font-size: 14.2px; color: var(--text-2); line-height: 1.7; }
.card__foot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__num {
  position: absolute; right: 18px; top: 12px;
  font-family: var(--font-num); font-size: 46px; font-weight: 800;
  color: var(--blue-100); line-height: 1; letter-spacing: -.04em;
}

/* 顶部描边卡（现代分层） */
.card--accent::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
}
.card--accent-gold::before { background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); }
.card--accent-green::before { background: linear-gradient(90deg, var(--green-500), var(--cyan-400)); }

/* ==========================================================================
   胶囊式 Tab（与系统内其他广场保持一致的交互语言）
   ========================================================================== */
.pills {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  flex-wrap: wrap;
}
.pills--soft { background: var(--bg); border-color: transparent; box-shadow: none; }
.pill {
  height: 40px; padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 7px;
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.pill:hover { color: var(--blue-500); background: var(--blue-50); }
.pill.is-active {
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 123, 196, .3);
}
/* 计数：不做「按钮里再套按钮」的实心角标，改为轻量数字后缀 ——
   等宽数字 + 次级灰 + 一根 1px 分发丝线，读数一目了然又不抢标签。 */
.pills__count {
  display: inline-flex; align-items: center; flex: none;
  min-height: 13px; margin-left: -1px; padding-left: 8px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-num);
  font-size: 12.2px; font-weight: 600; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: .01em;
  color: var(--text-3); background: none;
  transition: color .22s var(--ease), border-color .22s var(--ease);
}
.pill:hover .pills__count { color: var(--blue-500); border-color: var(--blue-200); }
.pill.is-active .pills__count { color: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .3); }

/* 胶囊前置图标：国旗走真图（emoji 国旗在 Windows 上会退化成 "US/GB" 两字母方块，糊且难看） */
.pill__flag {
  width: auto; height: 14px; flex: none;
  border-radius: 2.5px; object-fit: contain; background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 37, 69, .12);
}
.pill__ico { font-size: 15px; line-height: 1; flex: none; }

/* ==========================================================================
   标签式筛选条（pills--tag）
   版式参考「海外仓快发专区」：白色描边圆角块、常规字重、真国旗、无表情噪音，
   比默认胶囊更清淡、更清晰。用于 mall.html 的「发货仓 / 细分品类 / 产业带」。
   ========================================================================== */
.pills--tag { padding: 0; gap: 8px; background: transparent; }
.pills--tag .pill {
  height: 34px; padding: 0 13px; gap: 8px;
  border-radius: 9px; background: #fff;
  border: 1px solid var(--line); box-shadow: none;
  font-size: 13.6px; font-weight: 400; color: var(--text-2);
}
.pills--tag .pill:hover { color: var(--blue-500); background: var(--blue-50); border-color: var(--blue-200); }
.pills--tag .pill.is-active {
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: 0 4px 12px rgba(30, 123, 196, .24);
}
/* 计数后缀：标签式筛选条更紧凑 */
.pills--tag .pill .pills__count {
  font-size: 11.5px; font-weight: 600; min-height: 12px;
  padding-left: 7px; margin-left: -1px; border-left-color: var(--line-strong);
}
.pills--tag .pill:hover .pills__count { color: var(--blue-500); border-left-color: var(--blue-200); }
.pills--tag .pill.is-active .pills__count { color: rgba(255, 255, 255, .8); border-left-color: rgba(255, 255, 255, .32); }

/* ==========================================================================
   列表分页条（配合 renderLists 的 data-page-rows）
   ========================================================================== */
/* grid-column 让它在 .grid 容器内独占一整行，落在商品卡下方 */
.pager {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin-top: 6px; padding-top: 24px;
  border-top: 1px dashed var(--line);
}
.pager__btn, .pager__num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 15px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; color: var(--navy-700);
  font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1;
  cursor: pointer; transition: all .18s var(--ease);
}
.pager__num { padding: 0; }
.pager__btn:hover:not(:disabled), .pager__num:hover {
  border-color: var(--blue-400); color: var(--blue-500);
  transform: translateY(-2px); box-shadow: var(--sh-xs);
}
.pager__num.is-active {
  background: linear-gradient(135deg, var(--blue-500), var(--navy-600));
  border-color: transparent; color: #fff; box-shadow: var(--sh-blue);
}
.pager__num.is-active:hover { transform: none; color: #fff; }
.pager__btn:disabled { opacity: .4; cursor: not-allowed; }
.pager__gap { min-width: 22px; text-align: center; font-weight: 700; color: var(--text-4); }
/* 页码下方独占一行的汇总说明 */
.pager__info { flex: 0 0 100%; order: 2; margin-top: 2px; text-align: center; font-size: 13px; color: var(--text-3); }

@media (max-width: 640px) {
  .pager { gap: 6px; padding-top: 18px; }
  .pager__btn, .pager__num { min-width: 36px; height: 36px; padding: 0 12px; font-size: 13.2px; }
  .pager__num { padding: 0; }
}

.tabbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .6); padding: 62px 0 26px; font-size: 13.6px; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; padding-bottom: 42px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__slogan { color: rgba(255, 255, 255, .38); }
.footer__intro { margin-top: 18px; line-height: 1.8; max-width: 320px; }
.footer__qr { margin-top: 20px; display: flex; gap: 14px; }
.footer__qr-box { text-align: center; }
.footer__qr-img {
  width: 96px; height: 96px; border-radius: 12px; background: #fff;
  display: grid; place-items: center; color: var(--navy-800); font-size: 11px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .16);
}
.footer__qr-box span { display: block; margin-top: 8px; font-size: 12px; }
.footer__col h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; transition: color .18s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.6px; color: rgba(255, 255, 255, .42); }
.footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* 悬浮工具 */
.floats { position: fixed; right: 22px; bottom: 26px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 52px; height: 52px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--sh); display: grid; place-items: center;
  color: var(--navy-700); transition: all .22s var(--ease); position: relative;
}
.float-btn svg { width: 21px; height: 21px; }
.float-btn:hover { transform: translateY(-3px); color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); border-color: transparent; }
.float-btn--gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; border-color: transparent; }
.float-btn__tip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  background: var(--navy-900); color: #fff; font-size: 12.5px; padding: 6px 12px;
  border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.float-btn:hover .float-btn__tip { opacity: 1; }

/* ==========================================================================
   滚动进场
   只服务「滚动到才出现」的内容。
   首屏元素在 boot 时会被打上 .reveal--instant（见 app.js initReveal(true)），
   立刻以终态呈现 —— 不排队、不做动画，消除"打开首页一块块往外跳"。
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--instant { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
/* 导航共 9 个顶级入口（新增「广告运营」）：1240 容器下完整显示，窄屏逐级压缩内距（字号只降一档）。
   原先 ≤1360 就把字号压到 14.4px、≤1220 压到 13.9px，而 1280/1366 是最常见的
   笔电宽度 —— 也就是说大多数访客看到的是被缩小过的中文，这是「糊」的主要来源。
   现在改为：先把内距让掉，字号尽量守住 15px / 14.5px。 */
@media (max-width: 1360px) {
  .header__inner { gap: 16px; }
  .nav__link { padding: 0 5px; font-size: 15px; }
}
@media (max-width: 1220px) {
  .nav__link { padding: 0 4px; font-size: 14.5px; }
  .header__actions .btn--sm { padding: 0 12px; }
  .mega { min-width: 420px; }
  .mega--wide { min-width: 660px; }
}
@media (max-width: 1160px) {
  .nav { display: none; }
  .burger { display: block; }
  /* 导航收进抽屉后，头像按钮不再贴 header 右缘（实测 375 下 x=179），
     238px 的下拉面板若仍 right:0 对齐按钮，左缘会冲出视口（-11px 被裁）。
     改为相对视口右侧固定定位：任何窄屏展开都完整可见。 */
  .userbox__panel {
    position: fixed; right: 12px; top: 65px; left: auto;
    width: min(238px, calc(100vw - 24px)); margin-top: 0;
  }
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g6, .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .section { padding: 40px 0; }
  .section--tight { padding: 28px 0; }
  .sec-title { font-size: 26px; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 内联 1fr 1fr 会顶掉断点，这里用带断点的工具类替代（见 .grid--2col / --split） */
  .grid--2col, .grid--split { grid-template-columns: minmax(0, 1fr); }
  .header__actions .btn--ghost { display: none; }
}
/* 顶栏让位顺序（先砍文案，再砍图标文字，最后整条顶栏收进抽屉）：
   ≤1100 只留第一条标语 → ≤900 藏电话 → ≤820 只留第一条标语 → ≤720 快捷入口只留图标。
   顶栏在 ≤640 整条隐藏，快捷入口改由抽屉承接（见 .drawer__quick）。 */
@media (max-width: 1100px) {
  .topbar .topbar__left span:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
  .topbar__tel, .topbar__sep { display: none; }
}
@media (max-width: 820px) {
  .topbar .topbar__left span:nth-child(n+2) { display: none; }
}
@media (max-width: 720px) {
  .hq__btn { width: 38px; height: 40px; }
  .hq__txt { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  /* 手机宽度：让掉主导航里的「免费诊断」（右下角悬浮按钮与抽屉里都还在），
     把位置留给圆形头像 —— 会员入口在手机上更该常在。 */
  .header__actions .btn--primary { display: none; }
  .g3, .g4, .g5, .g6, .g2 { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .topbar { display: none; }
  .sec-title { font-size: 23px; }
  .logo__slogan { display: none; }
  .logo__mark { width: 57px; height: 36px; }
  .floats { right: 12px; bottom: 14px; }
  /* 按钮默认 nowrap + 固定高度，长文案（如「12 大品类 · 3,200+ 在仓 SKU…」）
     在 480px 下会顶出视口。窄屏改为可换行、高度自适应。 */
  .btn { white-space: normal; height: auto; min-height: 46px; padding: 11px 22px; text-align: center; max-width: 100%; }
  .btn--lg { min-height: 54px; padding: 13px 26px; }
}


/* ======================================================================
   右侧悬浮服务栏 sidedock（后台「站点配置 · 侧边悬浮栏」可编辑）
   ====================================================================== */
.sidedock { position: fixed; right: 20px; bottom: 128px; z-index: 82; display: flex; flex-direction: column; align-items: center; }
.sidedock__mascot { width: 96px; margin-bottom: -10px; position: relative; z-index: 1; filter: drop-shadow(0 6px 14px rgba(15,23,42,.25)); }
.sidedock__mascot img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; background: #fff; }
.sidedock__bar { display: flex; flex-direction: column; align-items: stretch; background: #17181c; color: #fff; border-radius: 18px; padding: 10px 6px; width: 84px; box-shadow: 0 14px 34px rgba(15,23,42,.35); }
.sidedock__item { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 2px; color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit; }
.sidedock__item:hover { color: #ffd166; }
.sidedock__ico { width: 24px; height: 24px; }
.sidedock__ico svg { width: 100%; height: 100%; }
.sidedock__t { font-size: 12.5px; letter-spacing: .04em; }
.sidedock__sep { height: 1px; margin: 2px 10px; background: rgba(255,255,255,.14); }
.sidedock__top { position: fixed; right: 20px; bottom: 40px; z-index: 82; width: 60px; height: 58px; border: 0; border-radius: 16px; background: #17181c; color: #fff; cursor: pointer; box-shadow: 0 14px 34px rgba(15,23,42,.35); display: flex; align-items: center; justify-content: center; }
.sidedock__top svg { width: 22px; height: 22px; }
.sidedock__top:hover { color: #ffd166; }
body.has-sidedock .floats { display: none; }
/* 微信咨询二维码弹层（配置了 site.side_qr 才会出现） */
.sidedock__wxmask { position: fixed; inset: 0; z-index: 95; background: rgba(15,23,42,.55); display: flex; align-items: center; justify-content: center; }
.sidedock__wxbox { background: #fff; border-radius: 16px; padding: 26px 30px; text-align: center; box-shadow: 0 24px 60px rgba(15,23,42,.35); max-width: 320px; }
.sidedock__wxt { display: block; font-size: 17px; margin-bottom: 14px; color: var(--navy-800, #0f172a); }
.sidedock__wxbox img { width: 220px; height: 220px; object-fit: contain; border-radius: 10px; background: #f6f7f9; }
.sidedock__wxbox p { margin: 12px 0 16px; font-size: 13.5px; color: var(--text-4, #64748b); }
.sidedock__wxclose { border: 1px solid #e2e8f0; background: #fff; color: var(--text-2, #334155); border-radius: 999px; padding: 8px 26px; cursor: pointer; font: inherit; font-size: 13.5px; }
.sidedock__wxclose:hover { border-color: var(--navy-800, #0f172a); color: var(--navy-800, #0f172a); }
@media (max-width: 900px) {
  .sidedock, .sidedock__top { display: none; }
}
/* 矮视口保险：悬浮栏整体高度约 470px，视口过矮时收起吉祥物避免顶部裁切 */
@media (max-height: 700px) {
  .sidedock { bottom: 24px; }
  .sidedock__mascot { display: none; }
}

/* ===== [xffbb] 海外仓货源角标（多品牌：迅蜂=蜂） ===== */
.prod__brand{
  position:absolute; top:10px; left:10px; z-index:2;
  min-width:22px; height:22px; padding:0 8px; border-radius:11px;
  background:linear-gradient(135deg,#ff8a3d,#f43f2d);
  color:#fff; font-size:12px; font-weight:700; line-height:22px; text-align:center;
  letter-spacing:.5px; box-shadow:0 2px 6px rgba(244,63,45,.35);
}
.prod__media{ position:relative; }
.srcbadge{
  display:inline-block; margin:0 2px; padding:0 8px; border-radius:9px;
  background:linear-gradient(135deg,#ff8a3d,#f43f2d);
  color:#fff; font-size:12px; font-weight:700; line-height:20px;
}

/* [xffbb] 详情页按需图集 */
.pdp__gal2{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.pdp__gal2 img{ width:100%; border-radius:10px; background:#fff; border:1px solid #eef0f4; display:block; }

/* [xffbb] 参考运费：小号浅色，不抢售价视觉 */
.prod__freight{ font-size:12px !important; font-weight:400 !important; color:#8a93a3 !important; }
.pdp__freight{ font-size:14px !important; font-weight:400 !important; color:#8a93a3 !important; }

/* [xffbb] 分页跳页输入框 */
.pager__jump{ width:64px; height:34px; margin:0 6px; padding:0 8px; border:1px solid #d7dde8; border-radius:17px; text-align:center; font-size:13px; color:#334; outline:none; -moz-appearance:textfield; }
.pager__jump::-webkit-outer-spin-button,.pager__jump::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.pager__jump:focus{ border-color:#3b82f6; box-shadow:0 0 0 2px rgba(59,130,246,.15); }
