/* ============================================================
 * 鞋库展示站 · 潮牌杂志风（Editorial Streetwear）
 * ------------------------------------------------------------
 * 设计基调：纸感浅底 + 超大压缩体标题 + 方角 + 单一强调色
 * 默认浅色（data-theme="light"），可切到深色（pages 上有切换按钮）
 * 只改 --accent / --wx 两处即可换主色与微信按钮色
 * 零外部依赖：不引任何 CDN；唯一自托管字体 Anton（拉丁/数字，18KB woff2），
 * 中文全部走系统黑体（苹方/雅黑），离线可用
 * ============================================================ */

/* Anton：潮牌站标配的重磅压缩体，用于英文标题 / 数字 / 竖排装饰字 */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;

  /* ---- 纸感浅色 ---- */
  --bg: #f3f2ef;
  --surface: #ffffff;
  --surface-2: #ecebe7;
  --fg: #0c0c0e;
  --fg-soft: #4a4a52;
  --muted: #8a8a93;
  --line: #e2e1dc;
  --line-strong: #c6c5be;

  --accent: #ff3d00;
  --accent-fg: #0c0c0e;
  --accent-soft: rgba(255, 61, 0, .10);
  --wx: #07c160;
  --wx-fg: #06120b;

  --glass: rgba(243, 242, 239, .86);
  --watermark: rgba(0, 0, 0, .055);
  --stripe: rgba(0, 0, 0, .035);
  --scrim: rgba(0, 0, 0, .62);
  --upd-bg: #0c0c0e;
  --upd-fg: rgba(243, 242, 239, .72);
  --upd-fg-strong: #ffffff;
  --photo-bg: #ffffff;
  --fact-bg: #0c0c0e;
  --fact-fg: #f3f2ef;
  --fact-dim: rgba(243, 242, 239, .58);
  --fact-line: rgba(243, 242, 239, .14);
  --fact-panel: rgba(255, 255, 255, .035);

  /* ---- 字体栈 ---- */
  --font-display: "Anton", "Archivo Black", Impact, "Haettenschweiler",
                  "Arial Narrow Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --wrap: 1280px;
  --bar-h: 70px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0b0b0d;
  --surface: #15151a;
  --surface-2: #1d1d23;
  --fg: #f5f5f3;
  --fg-soft: #b4b4bc;
  --muted: #7d7d87;
  --line: #26262d;
  --line-strong: #3c3c46;

  --accent: #ff5a26;
  --accent-fg: #0b0b0d;
  --accent-soft: rgba(255, 90, 38, .14);

  --glass: rgba(11, 11, 13, .84);
  --watermark: rgba(255, 255, 255, .07);
  --stripe: rgba(255, 255, 255, .042);
  --scrim: rgba(0, 0, 0, .74);
  --upd-bg: #16161b;
  --upd-fg: rgba(245, 245, 243, .68);
  --upd-fg-strong: #fff;
  /* 实拍图本身是白底棚拍，深色下也用白底卡片，图片边缘才接得住 */
  --photo-bg: #f7f7f5;
  --fact-bg: #15151a;
  --fact-fg: #f7f7f5;
  --fact-dim: rgba(247, 247, 245, .6);
  --fact-line: rgba(255, 255, 255, .16);
  --fact-panel: rgba(255, 255, 255, .05);
}

/* ---------------- 基础 ---------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--accent); color: var(--accent-fg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 显示级字体：压缩、全大写、负字距 —— 潮牌排版的核心 */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .96;
}

/* ---------------- 顶部跑马灯 ---------------- */
.ticker {
  background: var(--fg);
  color: var(--bg);
  overflow: hidden;
  user-select: none;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.ticker-track > span {
  flex: none;
  padding: 9px 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ticker-track > span::after { content: "◆"; margin: 0 20px; color: var(--accent); font-size: 9px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { height: var(--bar-h); display: flex; align-items: center; gap: 26px; }

/* 品牌标：超大压缩黑体 + 斜切 + 菱形色块 + 等宽副标（潮牌吊牌式 lockup） */
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px; flex: none;
  box-sizing: border-box; padding: 5px;
  background: var(--fg);
  border-radius: 9px;
  fill: var(--accent);
  box-shadow: 0 3px 8px rgba(12, 12, 14, .16);
  transition: transform .45s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(180deg); }

.brand-txt { display: flex; flex-direction: column; gap: 3px; }

.brand-name {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 33px; line-height: .9;
  letter-spacing: .055em;
  transform: skewX(-9deg); transform-origin: left bottom;
  -webkit-text-stroke: .6px var(--fg);
  paint-order: stroke fill;
  color: var(--fg);
  transition: filter .18s var(--ease);
}
/* 「鞋库」做成橙底白字贴纸块——潮牌 logo 常用的 badge 语言 */
.brand-name .bn-b {
  display: inline-block;
  margin-left: 5px; padding: 2px 8px 3px;
  background: var(--accent); color: var(--accent-fg);
  -webkit-text-stroke: 0;
  border-radius: 2px;
  box-shadow: 2px 2px 0 var(--fg);
}
.brand:hover .brand-name { filter: brightness(1.08); }
.brand:hover .bn-b { box-shadow: 2px 2px 0 var(--accent); }
.brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px; letter-spacing: .3em; line-height: 1;
  text-transform: uppercase; color: var(--muted);
  padding-left: 2px;
}

.search { flex: 1; max-width: 340px; position: relative; }
.search input {
  width: 100%; height: 40px; padding: 0 12px 0 30px;
  font-size: 14px; color: var(--fg);
  background: transparent; border: 0;
  border-bottom: 1.5px solid var(--line-strong); border-radius: 0;
  outline: none; transition: border-color .2s var(--ease);
}
.search input:focus { border-color: var(--accent); }
.search input::placeholder { color: var(--muted); }
.search::before {
  content: "⌕"; position: absolute; left: 5px; top: 50%; transform: translateY(-52%);
  color: var(--muted); font-size: 17px; pointer-events: none;
}

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-link {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); text-decoration: none; padding: 6px 2px;
  border-bottom: 1px solid transparent; transition: color .18s, border-color .18s;
}
.nav-link:hover { color: var(--fg); border-color: var(--accent); }

/* ---------------- 按钮：方角，潮牌感 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 0;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  transition: transform .14s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-wx { background: var(--wx); color: var(--wx-fg); }
.btn-wx:hover { filter: brightness(.94); }
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { filter: brightness(.93); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.btn-block { width: 100%; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }

.icon-btn {
  width: 40px; height: 40px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--line-strong); color: var(--fg);
  font-size: 15px; transition: border-color .18s, background .18s, color .18s;
}
.icon-btn:hover { border-color: var(--fg); }
html[data-theme="dark"] .icon-btn .i-sun { display: none; }
html:not([data-theme="dark"]) .icon-btn .i-moon { display: none; }

/* ---------------- 顶部承诺条（首页 / 详情页开头那一行介绍） ---------------- */
.promise {
  background: var(--accent);
  color: var(--accent-fg);
  border-bottom: 1px solid rgba(0, 0, 0, .16);
}
.promise-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 30px;
  min-height: 40px; padding-top: 9px; padding-bottom: 9px;
  text-align: center;
}
.promise-inner p {
  margin: 0;
  font-size: 13.5px; font-weight: 600; letter-spacing: .03em; line-height: 1.5;
}
.promise-inner b { font-weight: 800; }
.promise-sep {
  width: 4px; height: 4px; flex: none;
  background: currentColor; opacity: .45;
  transform: rotate(45deg);
}

/* ---------------- 首屏 Hero：全幅暗调 campaign 大片（潮牌/奢侈品网站式） ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: #0c0c0e;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 58%;
  display: block; filter: brightness(.94) saturate(1.06);
}
/* 底部整片压暗托住标题，顶部轻压保 kicker 可读；两侧留出照片主体 */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(12,12,14,.5) 0%,
    rgba(12,12,14,.08) 30%,
    rgba(12,12,14,.1) 46%,
    rgba(12,12,14,.86) 86%,
    rgba(12,12,14,.95) 100%);
}
/* 右缘竖排品牌字：奢侈品类目常见的边缘细节 */
.hero-vert {
  position: absolute; top: 50%; right: 30px; z-index: 2;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: .42em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  user-select: none; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  min-height: clamp(520px, 76vh, 700px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 96px; padding-bottom: 54px;
  color: #fff;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .78);
}
.hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.hero-kicker .hk-en {
  font-family: var(--font-body); font-weight: 800; font-size: 11.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.hero-kicker .hk-cn { color: rgba(255, 255, 255, .68); }

.hero-title {
  margin: 0;
  font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; letter-spacing: -.04em; line-height: .88;
  font-size: clamp(64px, 11vw, 148px);
  color: #fff;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub {
  max-width: 44ch; margin: 20px 0 0;
  font-size: 15.5px; color: rgba(255, 255, 255, .78);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* 暗底上的幽灵按钮反白 */
.hero .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: #fff; color: #0c0c0e; }

/* 数据带：紧贴 hero 下方的统计条 */
.hero-stats-band {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-stats {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 30px;
  padding-top: 20px; padding-bottom: 22px;
}
.stat b {
  display: block;
  font-family: var(--font-display); font-weight: 900;
  font-size: 32px; letter-spacing: -.03em; line-height: 1; font-style: normal;
}
.stat span {
  display: block; margin-top: 6px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* 桌面端：拉高画面，照片主体完整呈现，文案收在左下 */
@media (min-width: 1001px) {
  .hero-inner { min-height: clamp(560px, 80vh, 740px); padding-bottom: 60px; }
  .hero-media img { object-position: 42% 62%; }
}
/* 暗色主题下首屏本身就是暗调，无需降级处理 */

/* ---------------- 相册实时更新条 ---------------- */
.updbar {
  background: var(--upd-bg); color: var(--upd-fg);
  border-bottom: 1px solid var(--line);
}
.updbar[hidden] { display: none; }
.updbar-inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  min-height: 38px; padding-top: 8px; padding-bottom: 8px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--upd-fg);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  flex: none; animation: livePulse 2.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 61, 0, .55); }
  50% { box-shadow: 0 0 0 5px rgba(255, 61, 0, 0); }
}
.upd-item b { color: var(--upd-fg-strong); font-weight: 700; letter-spacing: .02em; }
.upd-sep { opacity: .28; }
.upd-thin { opacity: .62; }
.upd-thin b { color: var(--upd-fg); font-weight: 600; }

/* ---------------- 分类导航 ---------------- */
.catbar { background: var(--surface); border-bottom: 1px solid var(--line); }

.cats { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; height: 54px; padding: 0 18px;
  background: transparent; border: 0; border-bottom: 2px solid transparent;
  color: var(--fg-soft); white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.cat:hover { color: var(--fg); }
.cat[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
.cat .n {
  margin-left: 7px; vertical-align: super;
  font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--muted);
}
.cat[aria-selected="true"] .n { color: var(--accent); }

/* 品牌条溢出提示：两端渐隐 + 翻页箭头（触屏仍可直接横滑，箭头仅桌面显示） */
.cats-wrap { position: relative; }
.cats-wrap::before, .cats-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity .2s var(--ease);
}
.cats-wrap::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.cats-wrap::after { right: 0; background: linear-gradient(to left, var(--surface), transparent); }
.cats-wrap:not(.is-start)::before { opacity: 1; }
.cats-wrap:not(.is-end)::after { opacity: 1; }
.cats-nav {
  position: absolute; top: 0; bottom: 0; z-index: 2; width: 36px;
  display: none; align-items: center; justify-content: center;
  background: var(--surface); border: 0; cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--fg-soft);
  transition: color .15s var(--ease);
}
.cats-nav:hover { color: var(--accent); }
.cats-nav.prev { left: 0; box-shadow: 1px 0 0 var(--line); }
.cats-nav.next { right: 0; box-shadow: -1px 0 0 var(--line); }
@media (min-width: 861px) {
  .cats-wrap.can-scroll .cats-nav { display: flex; }
  .cats-wrap.is-start .cats-nav.prev { display: none; }
  .cats-wrap.is-end .cats-nav.next { display: none; }
}

.subcats { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px 0 17px; }
.subcats:empty { display: none; padding: 0; }
.chip {
  height: 32px; padding: 0 14px; border-radius: 0;
  background: transparent; border: 1.5px solid var(--line); color: var(--fg-soft);
  font-size: 13px; transition: all .16s var(--ease);
}
.chip:hover { border-color: var(--fg-soft); color: var(--fg); }
.chip[aria-selected="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip .n { opacity: .55; margin-left: 5px; font-family: var(--font-mono); font-size: 11px; }

/* ---------------- 区块标题 ---------------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 40px 0 18px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sh-left { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.sh-num { font-family: var(--font-body); font-weight: 800; font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.section-head h1,
.section-head h2 {
  margin: 0;
  font-family: var(--font-body); font-weight: 700;
  letter-spacing: .015em; line-height: 1.1;
  font-size: clamp(24px, 3.2vw, 36px);
}
/* 标题旁的英文小注：小字号用系统黑体加粗（Anton 小字发虚） */
.sh-en {
  font-family: var(--font-body); font-weight: 800;
  font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase;
  color: color-mix(in srgb, var(--fg) 38%, transparent);
}
.count { flex: none; font-family: var(--font-body); font-size: 12.5px; letter-spacing: .03em; color: var(--muted); }

/* ---------------- 商品网格 ---------------- */
.grid {
  display: grid; gap: 22px 16px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  padding-bottom: 44px;
  scroll-margin-top: calc(var(--bar-h) + 80px);
}

.card { display: flex; flex-direction: column; transition: transform .24s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card-img {
  position: relative; aspect-ratio: 1 / 1;
  background: var(--photo-bg); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .22s var(--ease);
}
.card:hover .card-img { border-color: var(--fg); }
/* contain：相册里的图有 3:4 / 1:1 / 3:2 三种比例，cover 会把鞋头鞋跟裁掉 */
.card-img img {
  width: 100%; height: 100%; padding: 3%;
  object-fit: contain; object-position: center;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.card:hover .card-img img { transform: scale(1.045); }
/* 次图交叉淡入：盖住主图后主图的放大动效即不可见，次图自身不缩放 */
.card-img-alt {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 3%;
  object-fit: contain; object-position: center;
  background: var(--photo-bg);
  opacity: 0; pointer-events: none;
  transform: none !important;
  transition: opacity .28s var(--ease);
}
.card:hover .card-img-alt { opacity: 1; }
/* 触屏设备无 hover，次图永不显示，不占交互 */

.card-idx {
  position: absolute; left: 9px; top: 9px; padding: 2px 6px;
  background: var(--glass); color: var(--muted);
  font-family: var(--font-body); font-weight: 700; font-size: 10px; letter-spacing: .1em;
}
.badge-new {
  position: absolute; right: 0; top: 0; padding: 5px 9px;
  background: var(--accent); color: var(--accent-fg);
  font-family: var(--font-body); font-size: 10px; letter-spacing: .18em; font-weight: 800;
}
.imgcount {
  position: absolute; right: 8px; bottom: 8px; padding: 3px 7px;
  background: var(--scrim); color: #fff;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 500; letter-spacing: .05em;
}
.card-go {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 13px;
  text-align: center; background: var(--fg); color: var(--bg);
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  transform: translateY(101%); transition: transform .28s var(--ease);
}
.card:hover .card-go { transform: translateY(0); }

.card-body { padding: 13px 0 0; }
.card-title {
  margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5;
  letter-spacing: .01em; min-height: 42px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.card-sku {
  min-width: 0; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .06em;
  color: var(--muted); text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-cat {
  flex: none; margin-left: auto; max-width: 52%; padding: 1px 6px; border: 1px solid var(--line); color: var(--muted);
  font-family: var(--font-body); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-tags { display: flex; gap: 6px; margin-top: 8px; overflow: hidden; }
.card-tags span {
  flex: none; padding: 2px 7px; border: 1px solid var(--line); color: var(--fg-soft);
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
}

/* 占位图：斜纹纸袋质感 */
.ph {
  width: 100%; height: 100%; padding: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  background:
    repeating-linear-gradient(135deg, transparent 0 9px, var(--stripe) 9px 18px),
    var(--surface-2);
  color: var(--muted); font-size: 12px; text-align: center;
}
.ph b { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; color: var(--fg-soft); }

.empty {
  padding: 90px 20px; text-align: center;
  color: var(--muted); font-size: 14.5px;
  border: 1px dashed var(--line-strong);
}
.grid[hidden], .empty[hidden] { display: none; }
.similar .empty { padding: 56px 20px; }

/* ---------------- 详情页 ---------------- */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
  padding: 22px 0 6px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: .02em; color: var(--muted);
}
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 6px; }

.detail {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px; padding: 16px 0 58px; align-items: start;
}

.gallery-wrap { position: relative; }
.gallery-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; background: var(--fg); color: var(--bg);
  font-family: var(--font-display); font-size: 10.5px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
}
.gallery-badge i { width: 6px; height: 6px; flex: none; background: var(--accent); }
.gallery-main {
  position: relative; aspect-ratio: 1 / 1;
  border: 1px solid var(--line); background: var(--photo-bg);
  overflow: hidden; cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; padding: 2%; object-fit: contain; }
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px; margin-top: 10px;
}
.thumb {
  position: relative; aspect-ratio: 1 / 1; padding: 0; border-radius: 0;
  border: 1px solid var(--line); background: var(--photo-bg); overflow: hidden;
  transition: border-color .16s var(--ease), transform .16s var(--ease);
}
.thumb:hover { border-color: var(--fg-soft); transform: translateY(-2px); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb[aria-current="true"] { border-color: var(--accent); border-width: 2px; }

/* 主图下方：购买须知 2×2 服务格 */
.service-grid { margin-top: 14px; border: 1px solid var(--line); background: var(--surface); }
.sg-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px 12px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; font-weight: 800;
}
.sg-head::before { content: ""; width: 18px; height: 3px; flex: none; background: var(--accent); }
.sg-head span {
  font-family: var(--font-body); font-weight: 800;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.service-grid ul { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.service-grid li { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; }
.service-grid li:nth-child(odd) { border-right: 1px solid var(--line); }
.service-grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
.service-grid .n {
  font-family: var(--font-body); font-weight: 800;
  font-size: 11.5px; letter-spacing: .14em; color: var(--accent);
}
.service-grid .n::after { content: ""; display: block; width: 14px; height: 2px; margin-top: 4px; background: var(--accent); }
.service-grid .t { font-size: 14.5px; font-weight: 800; }
.service-grid li span { font-size: 12px; color: var(--muted); line-height: 1.55; }
.service-note {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 0 0; font-size: 11.5px; color: var(--muted); letter-spacing: .02em;
}
.service-note::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--accent); }

.info h1 {
  margin: 0;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.025em; line-height: 1.04;
  font-size: clamp(26px, 3.2vw, 40px);
}
.sku-row { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; flex-wrap: wrap; }
.sku {
  padding: 5px 11px; background: var(--accent-soft); border: 1px solid var(--accent);
  color: var(--fg);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em;
}
.copy-mini {
  padding: 0; background: none; border: 0;
  color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.copy-mini:hover { text-decoration: underline; }

.meta-list { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.meta-list li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.meta-list .k {
  flex: none; width: 52px; padding-top: 3px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.meta-list .v { color: var(--fg); min-width: 0; }
.meta-list .v.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; }

/* 尺码胶囊 */
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes span {
  padding: 4px 9px; border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-mono); font-size: 12.5px;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.sizes span:hover { border-color: var(--accent); color: var(--accent); cursor: default; }

/* 加微信 CTA 卡 */
.wx-card {
  display: flex; gap: 18px; align-items: center;
  margin-top: 30px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}
.wx-card .txt { flex: 1; min-width: 0; }
.wx-card .hk {
  display: block; margin-bottom: 7px;
  font-family: var(--font-display); font-size: 11px; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
}
.wx-card .t1 {
  margin: 0;
  font-family: var(--font-body); font-weight: 800; letter-spacing: 0;
  font-size: 19px; color: var(--fg);
}
.wx-card .t2 { margin: 8px 0 16px; font-size: 12.5px; color: var(--muted); }
.wx-row { display: flex; gap: 10px; align-items: stretch; }
.wx-row .btn { flex: 1; }
.wx-id {
  display: flex; align-items: center; padding: 0 16px;
  background: var(--accent-soft); border: 1px dashed var(--accent); color: var(--fg);
  font-family: var(--font-mono); font-size: 15px; letter-spacing: .06em;
  user-select: all;
}
.wx-qr {
  flex: none; width: 104px; height: 104px;
  border: 1px solid var(--line); background: var(--bg); overflow: hidden;
}
.wx-qr img { width: 100%; height: 100%; object-fit: cover; }

/* 信任文案：编号列表 */
.trust { margin-top: 34px; }
.trust h2 {
  display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px;
  font-family: var(--font-body); font-size: 13px; font-weight: 800;
  letter-spacing: .08em; color: var(--fg-soft);
}
.trust h2::before {
  content: ""; align-self: center; width: 22px; height: 2px; background: var(--accent);
}
.trust h2 span {
  font-family: var(--font-display); font-size: 11px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.trust ol { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.trust li {
  position: relative; counter-increment: t;
  padding: 0 0 18px 44px; font-size: 13.5px; color: var(--fg-soft);
}
.trust li::before {
  content: counter(t, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: var(--font-display); font-size: 13px; letter-spacing: .04em; color: var(--accent);
}
.trust li b {
  display: block; margin-bottom: 4px;
  font-size: 14.5px; font-weight: 800; color: var(--fg); letter-spacing: .02em;
}
.trust li span { display: block; line-height: 1.7; }

.similar { padding-bottom: 58px; }
.similar .section-head { padding-top: 26px; }
.similar .count:hover { color: var(--accent); }

/* ---------------- 大图查看 ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; padding: 24px;
  background: rgba(0, 0, 0, .94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .close {
  position: absolute; top: 18px; right: 20px; width: 42px; height: 42px;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 20px;
}
.lightbox .close:hover { background: rgba(255, 255, 255, .26); }
.lightbox .nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border: 0; background: rgba(255, 255, 255, .14);
  color: #fff; font-size: 20px;
}
.lightbox .nav:hover { background: rgba(255, 255, 255, .26); }
.lightbox .prev { left: 16px; }
.lightbox .next { right: 16px; }
.lightbox .idx {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em;
}

/* ---------------- 底部常驻微信条：反色，抓眼球 ---------------- */
.wxbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: block;
  background: var(--fg); color: var(--bg);
  border-top: 3px solid var(--accent);
  padding: 9px 0 calc(9px + env(safe-area-inset-bottom));
  transform: translateY(105%);
  transition: transform .3s var(--ease);
  pointer-events: none;
}
.wxbar.is-on { transform: translateY(0); pointer-events: auto; }
.wxbar-inner { display: flex; align-items: center; gap: 14px; }
.wxbar .wx-star { color: var(--accent); font-size: 14px; flex: none; }
.wxbar .wx-main { display: flex; align-items: baseline; gap: 10px; }
.wxbar .label {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; color: var(--muted);
}
.wxbar .id {
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: .05em; color: var(--bg); line-height: 1;
}
.wxbar .wx-hook {
  margin-left: 6px; font-size: 12px; font-weight: 600;
  letter-spacing: .02em; color: var(--muted);
}
.wxbar .btn { margin-left: auto; }

/* ---------------- 工厂介绍 ---------------- */
.factory {
  margin-top: 0;
  background: var(--fact-bg); color: var(--fact-fg);
  scroll-margin-top: calc(var(--bar-h) + 8px);
}
/* 街头风跑马灯分割带：黑白区块之间的设计化过渡 */
.ticker {
  overflow: hidden;
  background: var(--fact-bg);
  padding: 15px 0;
  border-top: 1px solid var(--fact-line);
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker-group {
  display: flex; align-items: center; gap: 30px; padding-right: 30px;
  white-space: nowrap;
}
.ticker-group span {
  font-family: var(--font-body); font-weight: 800;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  opacity: .92;
}
.ticker-group i {
  font-style: normal; color: var(--accent); font-size: 12px;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.factory .wrap { padding-top: 62px; }
/* 有常驻微信条时：让位空间并入本区块底色，避免露出 body 白底 */
body.has-wxbar .factory .wrap { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body.has-wxbar .footer { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
.factory-head { border-bottom: 1px solid var(--fact-line); padding-bottom: 30px; }
.factory-kicker {
  display: inline-block; margin-bottom: 18px;
  font-family: var(--font-body); font-size: 11.5px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fact-dim);
}
.factory-title {
  margin: 0 0 18px; max-width: 16em;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.02em; line-height: 1.02;
  font-size: clamp(28px, 4.4vw, 54px);
}
.factory-title em { font-style: normal; color: var(--accent); }
.factory-lead {
  margin: 0; max-width: 54ch;
  font-size: 14.5px; line-height: 1.75; color: var(--fact-dim);
}

.factory-body {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 48px; padding: 34px 0 40px;
}
.factory-list { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.factory-list li {
  counter-increment: f;
  position: relative;
  padding: 24px 0 26px 72px;
}
.factory-list li + li { border-top: 1px solid var(--fact-line); }
.factory-list li::before {
  content: counter(f, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 30px; line-height: 1; letter-spacing: -.02em;
  color: var(--accent);
}
.factory-list h3 {
  margin: 0 0 8px; font-size: 17px; font-weight: 800; letter-spacing: .01em;
}
.factory-list p { margin: 0; max-width: 46ch; font-size: 13.5px; line-height: 1.8; color: var(--fact-dim); }

/* 数据墙：2×2「参数表」块——潮牌网站规格面板的典型语言，
   数字压左上、标签沉底带橙色短横，四格咬合成一整块 */
.factory-facts {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  align-self: stretch;   /* 撑满右列高度，不留黑底空档 */
  border-top: 2px solid var(--fact-fg);
}
.factory-facts li {
  display: flex; flex-direction: column; justify-content: center;
  gap: 10px; padding: 30px 28px 32px;
  border-bottom: 1px solid var(--fact-line);
  border-right: 1px solid var(--fact-line);
}
.factory-facts li:nth-child(2n) { border-right: 0; }
.factory-facts li:nth-last-child(-n+2) { border-bottom: 0; }
.factory-facts .en {
  font-family: var(--font-body); font-weight: 800;
  font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--fact-dim); opacity: .85;
}
.factory-facts b {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(42px, 4.6vw, 66px); line-height: .92;
  letter-spacing: -.03em;
}
.factory-facts .u {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700; letter-spacing: .02em;
  margin-left: 8px; color: var(--accent);
}
.factory-facts .k {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: .05em;
  color: var(--fact-dim); text-align: left;
}

.factory-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0 30px; border-top: 1px solid var(--fact-line);
}
.factory-note { font-size: 13px; color: var(--fact-dim); }

.footer-link { color: inherit; border-bottom: 1px solid var(--line-strong); }

/* ---------------- 页脚：深色大字收尾（呼应工厂区，橙色顶线 + 橙色跑马灯） ---------------- */
.footer {
  margin-top: 0; padding: 44px 0 52px;
  background: var(--fg); color: var(--bg);
}
/* 页脚品牌跑马灯：橙底黑字 Anton，与工厂区黑白跑马灯呼应 */
.foot-ticker {
  background: var(--accent); color: #131313;
  padding: 11px 0; border: 0;
  margin-bottom: 44px;
}
.foot-ticker .ticker-group span { color: #131313; font-size: 12px; }
.foot-ticker .ticker-group i { color: #131313; opacity: .55; }
.foot-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 22px; flex-wrap: wrap;
}
.foot-kicker {
  margin: 0 0 12px;
  font-family: var(--font-body); font-weight: 800;
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent);
}
.footer-mark {
  margin: 0;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.04em; line-height: .9;
  font-size: clamp(40px, 9.5vw, 118px);
  color: var(--bg);
  user-select: none;
}
/* 巨字双色：前段实心 + 后段描边空心 */
.footer-mark .fm-b {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--bg);
  paint-order: stroke;
}
@supports not (-webkit-text-stroke: 1px #000) {
  .footer-mark .fm-b { color: var(--accent); }
}
/* Back to top：加大成方块按钮，右侧大箭头 */
.foot-top-btn {
  flex: none; display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 22px; margin-bottom: 6px;
  background: transparent; border: 1px solid color-mix(in srgb, var(--bg) 45%, transparent);
  color: var(--bg); cursor: pointer;
  font-family: var(--font-body); font-weight: 800;
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.foot-top-btn .ftb-arrow {
  display: inline-flex; color: var(--accent);
  transition: transform .18s var(--ease), color .18s var(--ease);
}
.foot-top-btn:hover { background: var(--accent); border-color: var(--accent); color: #131313; }
.foot-top-btn:hover .ftb-arrow { transform: translateY(-3px); color: #131313; }
/* 页脚快捷导航：中文正文 + Anton 英文小注 */
.foot-links {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  margin-top: 36px;
}
.foot-links a {
  display: inline-flex; align-items: baseline; gap: 8px;
  color: var(--bg); text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: color .16s var(--ease);
}
.foot-links a i {
  font-family: var(--font-body); font-style: normal; font-weight: 700;
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 42%, transparent);
  transition: color .16s var(--ease);
}
.foot-links a:hover { color: var(--accent); }
.foot-links a:hover i { color: var(--accent); }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid; opacity: .78;
  font-size: 12.5px;
}
.footer-meta .sep { opacity: .4; }
.footer a:hover, .footer .copy-mini:hover { color: var(--accent); }
.footer .beian { color: inherit; text-decoration: none; }

/* 手机端页脚：跑马灯收薄、按钮和间距压缩 */
@media (max-width: 600px) {
  .foot-ticker { padding: 8px 0; margin-bottom: 32px; }
  .foot-ticker .ticker-group span { font-size: 11.5px; }
  .footer { padding: 32px 0 42px; }
  .foot-top-btn { padding: 14px 16px; gap: 10px; }
  .foot-top-btn .ftb-arrow svg { width: 18px; height: 18px; }
  .footer-mark .fm-b { -webkit-text-stroke-width: 1.6px; }
  .foot-links { gap: 8px 20px; margin-top: 26px; }
  .foot-links a { font-size: 13px; }
}

/* ---------------- 回到顶部：橙色方块，滚过 600px 出现 ---------------- */
.to-top {
  position: fixed; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 60;
  width: 48px; height: 48px;
  background: var(--accent); color: #131313;
  border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  box-shadow: 0 10px 24px rgba(255, 61, 0, .3);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease),
    box-shadow .22s var(--ease), background .18s var(--ease);
}
.to-top.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top.is-on:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(255, 61, 0, .42); }
.to-top svg { display: block; transition: transform .18s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }

/* ---------------- 轻提示 ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 88px; z-index: 95;
  transform: translate(-50%, 14px);
  padding: 11px 20px; background: var(--fg); color: var(--bg);
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */
@media (min-width: 861px) {
  .catbar { position: sticky; top: var(--bar-h); z-index: 35; }
  .info { position: sticky; top: calc(var(--bar-h) + 22px); }
}

@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; gap: 28px; }
  .service-grid li { padding: 12px 14px; gap: 2px; }
  .service-grid .t { font-size: 13.5px; }
  .service-grid li span { font-size: 11.5px; }
  .gallery-badge { top: 10px; left: 10px; padding: 5px 8px; font-size: 9.5px; }
  /* 顶栏两行：上行 = 品牌 + 按钮，下行 = 通栏搜索框，右侧不再挤爆 */
  .topbar-inner {
    flex-wrap: wrap; height: auto; row-gap: 2px;
    padding: 12px 0 10px;
  }
  .brand { order: 1; }
  .topbar-right { order: 2; }
  .search { order: 3; flex: 1 1 100%; max-width: none; margin-top: 4px; }
  .search input { height: 38px; }
  .topbar-inner:has(.search) .btn-wx { display: none; }
  .promise-inner { gap: 2px 10px; padding-top: 5px; padding-bottom: 5px; }
  /* 文案已缩短，手机端单行排布，横幅更薄 */
  .promise-inner p { width: auto; font-size: 11.5px; line-height: 1.4; }
  .promise-sep { display: none; }
  /* 顶部跑马灯同步收薄 */
  .ticker-track > span { padding: 6px 0; font-size: 11px; letter-spacing: .12em; }
  .ticker-track > span::after { margin: 0 14px; }
  .brand { gap: 9px; }
  .brand-mark { width: 30px; height: 30px; padding: 4px; border-radius: 8px; }
  .brand-name { font-size: 24px; -webkit-text-stroke: .45px var(--fg); letter-spacing: .045em; }
  .brand-name .bn-b { margin-left: 4px; padding: 1px 5px 2px; box-shadow: 1.5px 1.5px 0 var(--fg); }
  .brand-tag { font-size: 7px; letter-spacing: .22em; }
  /* 手机端暗调大片：取景偏下露鞋身，压缩首屏高度 */
  .hero-inner { padding-top: 60px; padding-bottom: 36px; min-height: clamp(430px, 62vh, 540px); }
  .hero-media img { object-position: 46% 60%; }
  .hero-vert { display: none; }
  /* kicker 信息与顶栏重复，手机端整行去掉，给首屏减负 */
  .hero-kicker { display: none; }
  .hero-sub { margin-top: 14px; }
  .hero-actions { margin-top: 18px; }
  /* 手机端 4 项统计等分一行，避免换行失衡 */
  .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 16px; padding-bottom: 18px; }
  .stat b { font-size: 24px; }
  /* 更新条：手机端 2×2 网格，两列对齐、行距均匀 */
  .updbar-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5px 14px; padding-top: 10px; padding-bottom: 10px;
  }
  .updbar-inner .live-dot, .updbar-inner .upd-sep { display: none; }
  .updbar-inner .upd-item { margin-right: 0; }
  .section-head { padding: 32px 0 16px; }
  .factory .wrap { padding-top: 44px; }
  .factory-body { grid-template-columns: 1fr; gap: 26px; padding: 26px 0 30px; }
  .factory-facts li { padding: 15px 13px 17px; gap: 6px; }
  .factory-facts .en { font-size: 9px; letter-spacing: .22em; }
  .factory-facts b { font-size: 32px; }
  .factory-facts .u { font-size: 15px; }
  .factory-facts .k { font-size: 11px; }
  .factory-foot { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  /* 注意：.wrap 常与 promise/hero/updbar 的 inner 同元素，padding 必须单写左右，
     简写会把窄屏下设置的上下 padding 清零 */
  .wrap { padding-left: 14px; padding-right: 14px; }
  .brand-name { font-size: 23px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .card-title { font-size: 13px; min-height: 37px; }
  .card-go { display: none; }
  .card-body { padding-top: 10px; }
  .card-foot { margin-top: 8px; }
  /* 手机上优先露品牌（分类就是品牌），货号让位 */
  .card-sku { display: none; }
  .card-cat { max-width: 100%; }
  .wxbar .label { display: none; }
  .wxbar .wx-hook { display: none; }
  .wxbar .id { font-size: 16px; }
  .hero-title { font-size: clamp(52px, 17vw, 76px); }
  .stat b { font-size: 21px; }
  .stat span { font-size: 9.5px; letter-spacing: .1em; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1; min-width: 0; padding: 0 14px; }
  .wx-card { flex-direction: column; align-items: stretch; gap: 14px; }
  .wx-qr { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .trust li { padding-left: 36px; }
  .detail { padding-bottom: 40px; }
  .gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .nav-link { display: none; }
  .factory { margin-top: 16px; }
  .factory .wrap { padding-top: 36px; }
  /* 手机端工厂列表：序号与标题同行，正文通栏——不再让序号列挤窄正文 */
  .factory-list li { padding: 18px 0 20px; }
  .factory-list li::before { font-size: 24px; top: 20px; }
  .factory-list h3 { padding-left: 46px; font-size: 16px; }
  .factory-list p { font-size: 13px; line-height: 1.7; }
  .factory-foot { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 26px; }
  .factory-foot .btn { width: 100%; }
}

/* 尊重系统的「减少动态效果」 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ticker-track { animation: none; }
}
