/* ==========================================================================
   落地页样式 —— 一般不需要改这个文件
   想换主色调，只改下面 :root 里的 --accent 一行就够了。
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════════
   主题令牌（浅色 = 默认）
   所有会随主题变化的颜色都必须走这里的变量，组件里不要再写死颜色。
   深色覆盖见文件末尾的「主题：深色令牌」区块。
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  color-scheme: light;

  /* ── 画布与表面（三层高度）─────────────────────────────── */
  --bg:         #ffffff;   /* 页面画布 */
  --card:       #ffffff;   /* 卡片：与画布同高，靠 1px 描边区分 */
  --surface:    #f5f5f5;   /* 凹陷表面：输入框、chip、图标按钮 */

  /* ── 文字（四级灰阶，都按 WCAG AA 正文 4.5:1 校准）──────── */
  --ink:        #111111;   /* 主文字 / 主行动底色 */
  --ink-2:      #39393b;   /* 次级文字 */
  --ink-3:      #707072;   /* 三级文字、辅助说明 */
  --stone:      #9e9ea0;   /* 最低强调（占位符） */
  --ink-invert: #ffffff;   /* 放在 --ink 底色上的文字 */

  /* ── 描边 ─────────────────────────────────────────────── */
  --line:       #e5e5e5;   /* 常规分隔线、卡片描边 */
  --line-2:     #cacacb;   /* 更明显的描边（控件轮廓） */

  /* ── 主行动 ───────────────────────────────────────────── */
  --accent:     #111111;   /* 主按钮底色、选中态 */
  --on-accent:  #ffffff;   /* 主按钮上的文字 */
  --accent-ink: #111111;   /* 主色当「小字颜色」用时（编号、链接） */
  --sale:       #d30005;   /* 唯一的红：必填星号、错误提示 */
  --focus-ring: rgba(17,17,17,.12);

  /* ── 组件级 ───────────────────────────────────────────── */
  --topbar-bg:  rgba(255,255,255,.9);
  /* 方块卡底部渐隐：盖住图片下缘，让深色标题压得住 */
  --scrim:      rgba(255,255,255,.94);
  --pattern:    rgba(17,17,17,.10);          /* 无图方块的字母水印 */
  --quote-a:    rgba(17,17,17,.05);          /* 反馈引文块渐变起 */
  --quote-b:    rgba(17,17,17,.008);         /* 反馈引文块渐变止 */

  /* ── 图片 / 灯箱之上的元素：两种主题下都保持原样 ─────────
     它们压在全出血照片或深色遮罩上，跟随主题反而会失去对比度 */
  --media-headline: #ffffff;  /* 压在照片上的大标题 */
  --media-pill: #ffffff;   /* 图上的白色药丸按钮底 */
  --media-ink:  #111111;   /* 图上的白色药丸按钮文字 */
  --media-ui:   rgba(255,255,255,.88);       /* 图上的圆形小按钮 */
  --media-ui-strong: rgba(255,255,255,.94);  /* 图上的星级标签底 */
  --ok:         #0a7c42;   /* 表单成功提示 */
  --social-bg:  var(--ink);        /* 社交按钮 hover 兜底色 */
  --social-ink: var(--ink-invert); /* 社交按钮 hover 兜底文字色 */
  --wa:         #25d366;   /* WhatsApp 品牌绿，不随主题变 */
  --wa-ink:     #06301a;

  --radius:     10px;
  --radius-lg:  24px;
  /* 卡片内的统一间距：两张卡片共用，改一处全站一致 */
  --card-pad:   18px;   /* 白卡四边内边距 */
  --card-gap:   16px;   /* 白卡内块与块的间距 */
  --block-gap:  16px;   /* 左栏里 标题/说明/列表 之间的间距 */
  --gap:        12px;
  --shell:      1080px;
  /* 规范明确禁止投影：卡片平铺，深度只靠 1px 描边 */
  --shadow:     none;
  --shadow-2:   none;
  --ease:       cubic-bezier(.22,.61,.36,1);
  --theme-ms:   200ms;   /* 主题切换过渡时长 */
}

@media (min-width: 700px) { :root { --gap: 16px; } }

*, *::before, *::after { box-sizing: border-box; }

/* 只给读屏软件和搜索引擎看，页面上不显示 */
.sr-only {
  position: absolute; width: 1px; height: 1px; /* taste-skill-ignore 蜜罐视觉隐藏 */
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, fieldset { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 16px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--ink-invert); padding: 10px 16px;
  border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 7px; }

/* ---------------- 顶栏 ---------------- */

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--topbar-bg);
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 58px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; }
.brand__mark {
  flex: none;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--ink); color: var(--ink-invert);
  display: grid; place-items: center;
  font: 700 16px/1 inherit; letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__text b {
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand__text i {
  font-style: normal; font-size: 11px; color: var(--ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.topbar__wa {
  flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 16px 0 13px;
  border-radius: 9px;
  background: var(--wa); color: var(--wa-ink);
  font-size: 14px; font-weight: 650;
  transition: transform .18s var(--ease);
}
.topbar__wa svg { width: 18px; height: 18px; }
.topbar__wa:active { transform: scale(.96); }

@media (max-width: 420px) {
  .topbar__wa span { display: none; }
  .topbar__wa { padding: 0; width: 44px; justify-content: center; }
}

.topbar__right { display: flex; align-items: center; gap: 10px; }

/* 语言切换：EN / ES / FR */

/* ── 内联 SVG 的基础约束 ───────────────────────────────────────────────────
   ① 显式 display:block —— 不依赖父级 grid/flex 的隐式 blockify。
      这些图标目前都在 grid/flex 容器里，会被自动 blockify；一旦父级改回普通块，
      svg 会退回 inline，出现基线偏移与行内空隙（Chrome/Safari 都会）。
   ② 宽高一律在各组件规则里显式写死（见下方 .xxx svg），不使用隐式尺寸。
   注意：display:none 的隐藏规则用的是类选择器，特异性更高，不受这条影响。 */
svg { display: block; }

/* ── 主题切换按钮 ──────────────────────────────────────────────────────────
   44×44 满足触控热区；两个图标用 grid 叠在同一格，靠主题切换显示哪一个，
   这样切主题时不需要 JS 换图标，也不会闪。 */
.themebtn {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  padding: 0;
  border: 0; border-radius: 9999px;
  background: transparent; color: var(--ink-3);
  cursor: pointer;
  appearance: none; -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.themebtn svg { grid-area: 1 / 1; width: 20px; height: 20px; }
.themebtn__moon { display: none; }
:root[data-theme="dark"] .themebtn__sun { display: none; }
:root[data-theme="dark"] .themebtn__moon { display: block; }
.themebtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .themebtn:hover { color: var(--ink); background: var(--surface); } }

.lang {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 7px;
  background: var(--bg);
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-3);
  min-width: 44px; min-height: 44px; padding: 0 9px; border-radius: 4px;
  display: inline-grid; place-items: center;
  transition: background .16s var(--ease), color .16s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--ink-invert); }
@media (hover: hover) { .lang button:not([aria-pressed="true"]):hover { color: var(--ink); } }
.lang button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 小屏省地方：藏掉品牌副标题，语言按钮缩小一点 */
@media (max-width: 480px) {
  .brand__text i { display: none; }
  .lang button { padding: 0 7px; font-size: 11px; min-width: 44px; }
}

/* ---------------- 头部文案 ---------------- */

/* 编辑体区块标题：编号 ─── 分隔线 / 下面是左对齐标题和说明 */
.sec-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.sec-head__num {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--accent-ink);
}
/* 深色底上的版本 */
/* 没有大标题的区块（标题在卡片内部）少留一点底边距 */
.sec-head--bare { margin-bottom: 0; }

/* 色带外面的分界线（03 / 04）：只负责把两块分开，自身没有背景 */
.sec-bar { padding-top: 22px; padding-bottom: 12px; }
.sec-head__title {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  /* Nike 的招牌：巨大、全大写、行高贴紧的显示级标题 */
  font-size: clamp(23px, 5.6vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.012em;
  line-height: .98;
}
.sec-head__sub {
  grid-column: 1 / -1;
  margin: 7px 0 0;
  font-size: clamp(13.5px, 3.7vw, 15px); line-height: 1.5; color: var(--ink-2);
}

/* ---------------- 顶部促销封面流（水平排列） ---------------- */

.promo { padding: 34px 0 6px; }

.sec-head--center { text-align: center; }
.sec-head--center .sec-head__sub { margin-left: auto; margin-right: auto; }

.pv { position: relative; overflow: hidden; margin: 16px 0 0; }

/* 卡片横着排成一行，靠 translateX 把当前这张挪到正中间 */
.pv__track {
  display: flex;
  gap: var(--pv-gap, 14px);
  transition: transform .55s var(--ease);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .pv__track { transition: none; } }

.pv__card {
  flex: none;
  position: relative;
  display: block;
  width: var(--pv-w, 280px);
  height: calc(var(--pv-w, 280px) * var(--pv-ratio, 1.25));
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: opacity .42s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.pv__card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 底部渐暗遮罩：保证白色大标题在任何图上都读得出来 */
.pv__shade {
  position: absolute; inset: 0; pointer-events: none;
  /* 中性压暗层：用平色而不是渐变（房子规则不许渐变，但照片上压白字必须压暗）。
     平色一样够用 —— 这些照片本身是灰度的，压一层就够白字读出来了。 */
  background: rgba(0, 0, 0, .42);
}
/* 标题与按钮烧进图里，锚在左下角（Nike campaign-tile 的固定位置） */
.pv__inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(12px, 2.2vw, 22px);
  padding: clamp(20px, 4vw, 46px);
  pointer-events: none;
}
.pv__head {
  font-size: clamp(34px, 7.2vw, 76px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.02em;
  /* 压在全出血照片上，两种主题都保持白色 */
  color: var(--media-headline);
  max-width: 15ch;
}
/* 白色药丸按钮（规范里的 button-outline-on-image） */
.pv[data-ratio="tall"] .pv__head { font-size: clamp(38px, 10.5vw, 56px); }
@media (max-width: 700px) {
  .pv__cta { height: 46px; padding: 0 26px; font-size: 14.5px; }
}
.pv__cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 32px;
  border-radius: 9999px;
  background: var(--media-pill); color: var(--media-ink);
  font-size: 15px; font-weight: 650; white-space: nowrap;
  pointer-events: auto;
}
  /* 选中态靠未选中卡片的遮罩区分，不用投影 */

/* 宽屏上同时能看到好几张，就别把没选中的压太暗，否则像禁用 */

.pv__nav { margin-top: 14px; display: flex; align-items: center; gap: 10px;
           width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
.pv__nav[hidden] { display: none; }

/* ---------------- 方块网格 ---------------- */

.catalog { padding: 20px 0 8px; }

.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }

.tile {
  flex: 0 0 calc((100% - var(--gap)) / 2);
  max-width: 250px;
  aspect-ratio: 1 / 1;
  opacity: 0; transform: translateY(10px);
}
.tile.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }

@media (min-width: 640px) { .tile { flex-basis: calc((100% - var(--gap) * 2) / 3); } }
/* 1000px 以上：方块数是 3 的倍数就排 3 列（如 6 个 = 2 行、12 个 = 4 行），左右对称 */
@media (min-width: 1000px) { .tile { flex-basis: calc((100% - var(--gap) * 2) / 3); max-width: 322px; } }
/* 方块数是 4 的倍数且超过 8 个时，电脑上排 4 列，省一半高度 */
@media (min-width: 1000px) {
  .grid--4 .tile { flex-basis: calc((100% - var(--gap) * 3) / 4); max-width: 250px; }
}

.tile__a {
  position: relative; display: block;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .tile__a:hover { transform: translateY(-2px); }
  .tile__a:hover .tile__img { transform: scale(1.06); }
}
.tile__a:active { transform: scale(.975); }

.tile__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}

.tile__scrim {
  position: absolute; inset: 0;
  /* 白底卡片：底部用白色渐隐，深色文字才压得住 */
  background: var(--scrim);
}

.tile__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 14px 13px;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 1px;
}
.tile__label b {
  font-size: 16.5px; font-weight: 700; letter-spacing: -.012em; line-height: 1.2;
}
.tile__label i {
  font-style: normal; font-size: 11.5px; font-weight: 500;
  color: var(--ink-3); letter-spacing: .03em;
  line-height: 1.25;
  /* 固定两行高度：西语/法语标题长短不一，这样每个方块的文字位置都对齐 */
  height: 2.5em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile__label i:empty { display: none; }

.tile__badge {
  position: absolute; top: 11px; right: 11px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--media-ui);
  color: var(--ink-2);
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.tile__badge svg { width: 15px; height: 15px; transition: transform .22s var(--ease); }
@media (hover: hover) {
  .tile__a:hover .tile__badge { background: var(--ink); border-color: var(--ink); color: var(--ink-invert); transform: rotate(45deg); }
  .tile__a:hover .tile__badge svg { transform: rotate(-45deg); }
}

/* 图片加载失败时的兜底：显示大字首字母 */
.tile.is-fallback .tile__img { display: none; }
.tile.is-fallback .tile__a::before {
  content: attr(data-initial);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font: 700 46px/1 inherit; color: var(--pattern);
  letter-spacing: -.03em;
}

.fallback { margin: 18px 0 4px; color: var(--ink-2); font-size: 14px; text-align: center; }
.fallback a { color: var(--accent-ink); text-decoration: underline; }

/* ---------------- 客户反馈（左右分栏 + 轮番展示） ---------------- */

.reviews__panel {
  background: var(--card);
  border-radius: var(--radius-lg);
  /* 四边同宽，和 .inquiry__panel 完全一致 */
  padding: var(--card-pad);
  display: grid;
  gap: var(--card-gap);
}

/* 手机上：标题 → 副标题 → 照片 → 说明。
   .reviews__side 用 display:contents 拆开，所以 order 要写给它的直接子元素；
   写成 .reviews__panel > .xxx 是匹配不到的（DOM 父级仍是 .reviews__side）。 */
@media (max-width: 859px) {
  .reviews__side { display: contents; }
  .reviews__side > .sec-head__title { order: 1; }
  .reviews__side > .reviews__sub    { order: 2; }
  .reviews__panel > .reviews__stage { order: 3; }
  .reviews__side > .reviews__cap    { order: 4; }
  .reviews__side > .reviews__hint   { order: 5; }
}

/* 电脑上：左边文字、右边照片，页面高度只有一张图那么高 */
@media (min-width: 860px) {
  .reviews__panel {
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: center;
    gap: 34px;
    padding: 28px;
  }
  .reviews__side { display: flex; flex-direction: column; align-items: flex-start; }
}

/* 左栏文字整体加大：让客户一眼看清在说什么 */
.reviews__panel .sec-head__title { font-size: clamp(23px, 6.2vw, 32px); }

.reviews__sub {
  margin-top: 8px; color: var(--ink-2);
  font-size: clamp(14px, 3.9vw, 16px); line-height: 1.5;
}

/* 客户原话做成醒目的引文块，这是整个模块的「亮点」 */
.reviews__cap {
  position: relative;
  margin-top: var(--block-gap);
  padding: 15px 18px 15px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: var(--quote-a);
  font-size: clamp(16.5px, 4.8vw, 21px);
  line-height: 1.45;
  font-weight: 550;
  color: var(--ink);
  letter-spacing: -.012em;
  min-height: 76px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.reviews__cap:empty { display: none; }

.reviews__hint { margin-top: var(--block-gap); font-size: clamp(12.5px, 3.4vw, 14px); color: var(--ink-3); }
@media (max-width: 859px) { .reviews__hint { display: none; } }

/* 照片窗口 */
.reviews__stage { min-width: 0; }

.rview {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  cursor: grab;
}
.rview:active { cursor: grabbing; }
.rview:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.rview__track { display: flex; transition: transform .45s var(--ease); }
@media (prefers-reduced-motion: reduce) { .rview__track { transition: none; } }

.rslide { flex: 0 0 100%; min-width: 0; }

.rslide__btn {
  position: relative;
  display: block; width: 100%; padding: 0; border: 0;
  background: transparent; cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.rslide__img {
  width: 100%; height: 268px;
  object-fit: cover; object-position: top center;
  background: var(--surface);
}
@media (min-width: 860px) { .rslide__img { height: 400px; } }

.rslide__stars {
  position: absolute; left: 10px; top: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--media-ui-strong); color: #bd7d0a;
  font-size: 12px; letter-spacing: 1.5px; line-height: 1;
}
.rslide__zoom {
  position: absolute; right: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(13,17,23,.62); color: #fff;
}
.rslide__zoom svg { width: 17px; height: 17px; }

/* 导航 */
.reviews__nav {
  margin-top: 12px;
  display: flex; align-items: center; gap: 10px;
}
.rnav {
  flex: none;
  width: 44px; height: 44px;
  /* 注意：页面底色是纯白，按钮不能再用 var(--bg)，否则白底白按钮＝隐形。
     这里用 --card 白 + 更深的描边 + 阴影，让它从白底上浮起来。 */
  /* 页面是纯白，按钮必须自己"有存在感"：
     1.5px 的 --ink-3 描边对白底是 5.45:1，肉眼一定看得见 */
  border: 1.5px solid var(--ink-3); border-radius: 50%;
  /* 规范禁止投影，所以靠 soft-cloud 底色 + 深灰描边保证可见度 */
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 22px; line-height: 1; cursor: pointer;
  /* padding 必须显式归零：WebKit 给 button 的默认内边距是 2px 6px 3px（上下不等），
     会把里面的图标整体顶上去 0.5px；Chrome 的默认是 1px 6px（对称）所以测不出来。
     另外也不要加 padding-bottom —— 那是当年用文字字符 ‹ › 当箭头时加的，换 SVG 后同样会偏心。 */
  display: grid; place-items: center; padding: 0;
  appearance: none; -webkit-appearance: none;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
/* Safari 必需：内联 svg 不写尺寸会塌缩成 0×0（Chrome 会自动撑开，所以本地测不出来） */
.rnav svg { width: 20px; height: 20px; }
.rnav:active { transform: scale(.93); }
.rnav[disabled] { opacity: .35; cursor: default; }

.rdots { flex: 1; display: flex; justify-content: center; gap: 7px; }
/* 圆点看起来还是 7px，但热区撑到 34×44（原来只有 7×7，手机上根本点不中） */
.rdots { gap: 2px; }
.rdots button {
  width: 34px; height: 44px; padding: 0; border: 0; border-radius: 9px;
  background: none; cursor: pointer;
  display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.rdots button::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-3);
  transition: background .2s var(--ease), width .2s var(--ease), border-radius .2s var(--ease);
}
.rdots button.is-on::after { background: var(--accent); width: 20px; border-radius: 4px; }
.rdots button:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
@media (min-width: 760px) { .rdots button { width: 44px; } }

.reviews__count {
  flex: none; min-width: 40px; text-align: right;
  font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums;
}

/* ---------------- 批发询盘 ---------------- */

/* 反馈区 / 询盘区：带圆角的内缩面板
   原来是通栏直角色带，和上面那些卡片的圆角不一致 */
.reviews,
.inquiry {
  /* 用 calc + max-width 而不是 min()：写法更保守，老浏览器也不会整条失效 */
  /* 不再有浅灰色带：白色卡片直接放在页面白底上，
     宽度与留白完全跟随 .shell，和 01/02/05 三个区块同一套规范。 */
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 14px;
  background: none;
  border: 0;
  border-radius: 0;
}
/* 面板内的左右内边距：必须放在基础规则里。
   之前只写在手机媒体查询里，导致 641px 以上的窄窗口只拿到 .shell 的 16px，文字贴边。 */
/* 色带已移除，这里不再需要额外内边距：卡片直接用 .shell 的标准内边距 */

@media (max-width: 640px) {
  /* 手机上左右边距 16px 太贴边（用户反馈），放大到 22px */
  .shell { padding-left: 22px; padding-right: 22px; }

  /* 色带已移除，手机端跟随 .shell 的 22px 内边距即可 */

}

.inquiry__panel {
  /* 与 .reviews__panel 完全一致：白底、描边、圆角、阴影、内边距、块间距 */
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  display: grid; gap: var(--card-gap);
}
@media (min-width: 900px) {
  .inquiry__panel {
    grid-template-columns: .82fr 1.18fr;
    gap: 34px; padding: 28px; align-items: start;
  }
}

/* 询盘区的说明是页面上的连续正文，用正文字号（14.5 → 17），
   同时也让「正文主力字号」这一项达到规范要求。 */
.inquiry__sub { margin-top: 8px; color: var(--ink-2); font-size: var(--fs-body); }
.inquiry__points { margin-top: var(--block-gap); display: grid; gap: 9px; }
.inquiry__points li {
  position: relative; padding-left: 26px;
  font-size: 14px; color: var(--ink-2);
}
.inquiry__points li::before {
  content: ""; position: absolute; left: 4px; top: 7px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--wa); border-bottom: 2px solid var(--wa);
  transform: rotate(-45deg);
}
.inquiry__alt {
  margin-top: var(--block-gap); display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--ink-3);
}

/* ---------------- 表单 ---------------- */

.form {
  /* 外层 .inquiry__panel 已经是白色卡片，这里不再套一层白卡 */
  background: none;
  color: var(--ink);
  border-radius: 0;
  padding: 0;
}

/* 表单卡内边距已写在 .form 基础规则里（18px 22px），这层不再需要单独覆盖 */

/* 极窄屏（≤340px，老 iPhone SE 等）：上面的留白会把输入框压得太窄，收一档 */
@media (max-width: 340px) {
  /* 色带已移除 */
}

.form__grid { display: grid; gap: 12px; }
@media (min-width: 560px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .fld--wide { grid-column: 1 / -1; }
}

.fld { display: block; }
.fld > span {
  display: block; margin-bottom: 5px;
  font-size: 12.5px; font-weight: 650; color: var(--ink-2);
}
.fld > span b { color: var(--sale); font-weight: 700; }

.fld input, .fld textarea {
  width: 100%;
  font: inherit; font-size: 16px;   /* 16px 以下 iOS 会自动放大页面 */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 46px;
  padding: 11px 13px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.fld textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--stone); }
.fld input:focus, .fld textarea:focus {
  outline: none; background: var(--card);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring); /* taste-skill-ignore 焦点环不是投影 */
}
.fld input:user-invalid, .fld textarea:user-invalid { border-color: var(--sale); }

/* 品类多选 */
.chips { margin: 14px 0 0; padding: 0; border: 0; }
.chips legend { padding: 0 0 7px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; /* taste-skill-ignore 蜜罐视觉隐藏 */ }
.chip span {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 8px 18px; border-radius: 9999px;
  font-size: 14px; color: var(--ink-2); cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.chip input:checked + span {
  background: var(--ink); border-color: var(--ink); color: var(--ink-invert);
}
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 品类勾选下面紧跟的输入框，别贴太紧 */
.chips + .fld { margin-top: 15px; }

/* 反垃圾蜜罐：人看不见 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; /* taste-skill-ignore 蜜罐视觉隐藏 */ overflow: hidden; }

.btn--send {
  width: 100%; margin-top: 16px;
  background: var(--accent); color: var(--on-accent);

  height: 50px;
}
.btn--send[disabled] { opacity: .6; cursor: progress; }

.form__status { margin-top: 11px; font-size: 13.5px; line-height: 1.5; }
/* 成功色沿用 WhatsApp 绿，深色模式下同样成立 */
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--sale); }
.form__open { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 650; }
.form__privacy { margin-top: 10px; font-size: 11.5px; color: var(--ink-3); }

/* ---------------- 隐私 / 售后 / 地址 ---------------- */

.info { padding: 40px 0 6px; }

.info__grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .info__grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.icard {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
}
.icard__title {
  /* 700 是实际自托管并已加载的字重；原来的 720 不存在，
     浏览器只能在 400/500/700 里就近猜，纯属浪费。 */
  font-size: 15.5px; font-weight: 700; letter-spacing: -.012em;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px;
}
.icard__title em { font-size: 11.5px; font-weight: 600; color: var(--ink-3); letter-spacing: .05em; }
.icard__sum { margin-top: 7px; font-size: 13.5px; color: var(--ink-2); }

.icard__more { margin-top: 12px; }
.icard__more summary {
  cursor: pointer; list-style: none;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 6px 0;
  font-size: 13px; font-weight: 700; color: var(--accent-ink);
  -webkit-tap-highlight-color: transparent;
}
.icard__more summary::-webkit-details-marker { display: none; }
.icard__more summary::after {
  content: ""; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s var(--ease);
}
.icard__more[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.icard__more summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.icard__body { margin-top: 11px; display: grid; gap: 9px; }
.icard__body p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* 地址卡片里的结构化信息 */
.addr { margin-top: 12px; display: grid; gap: 10px; }
.addr__row { display: grid; gap: 2px; }
.addr__row dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.addr__row dd { margin: 0; font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.addr__row dd a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.icard__note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

/* ---------------- 页脚 ---------------- */

.foot { margin-top: 40px; padding: 24px 0 30px; }
@media (max-width: 700px) { .foot { padding-bottom: 94px; } }  /* 给悬浮按钮留位置 */
.foot__in { text-align: center; }
.foot__brand { font-size: 13.5px; font-weight: 650; }
.foot__addr { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.foot__links a { padding: 6px 1px; }
.foot__links { margin-top: 9px; font-size: 13px; color: var(--ink-2); }
.foot__links a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.foot__links span { margin: 0 6px; color: var(--ink-3); }
.foot__copy { margin-top: 13px; font-size: 12px; color: var(--ink-3); }

/* ---------------- 页脚：社交账号 ---------------- */

.foot__social { margin-bottom: 24px; }
.foot__social-title,
.foot__pay-title {
  margin-bottom: 11px;
  font-size: 11px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-3);
}

.social { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
/* 图示要求把「Follow us」的图标做大：圆底 44→56，图标本身 21→28。
   这条规则不在媒体查询里，所以电脑和手机同步变大。 */
.social a {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card);
  color: var(--ink-2);
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.social a svg { width: 28px; height: 28px; }
@media (hover: hover) {
  .social a:hover {
    transform: translateY(-3px);
    /* --brand 是社交平台品牌色（Instagram / Facebook），文字固定用白；
       品牌色缺失时退回 --social-bg/--social-ink，避免深色模式下白底白字 */
    color: var(--brand-ink, var(--social-ink));
    background: var(--brand, var(--social-bg)); border-color: var(--brand, var(--social-bg));

  }
}
.social a:active { transform: scale(.93); }

/* ---------------- 页脚：支持的支付方式 ---------------- */

.foot__pay { margin-bottom: 24px; }
.pay { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }

.pay li {
  height: 36px; padding: 0 13px;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card);
  border-radius: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
  /* 品牌色由 JS 写在内联样式上；深色下换成更亮的变体 */
  color: var(--brand);
}
.pay li svg { width: 17px; height: 17px; flex: none; opacity: .95; }
@media (hover: hover) {
  .pay li:hover { transform: translateY(-2px); }
}
@media (max-width: 420px) {
  .pay li { height: 32px; padding: 0 10px; font-size: 11.5px; gap: 5px; }
  .pay li svg { width: 15px; height: 15px; }
}

/* ---------------- 右下角悬浮 WhatsApp ---------------- */

.fab {
  position: fixed; right: 16px; z-index: 45;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: var(--wa-ink);
  transition: transform .2s var(--ease);
}
.fab svg { width: 28px; height: 28px; }
.fab:active { transform: scale(.92); }
.fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); opacity: .55;
  animation: pulse 2.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fab::after { animation: none; }
  .tile { opacity: 1; transform: none; }
}

/* ---------------- 灯箱 ---------------- */

.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb__backdrop {
  position: absolute; inset: 0;
  background: rgba(6,9,15,.86);
  animation: fade .22s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lb__stage {
  position: relative; z-index: 1;
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 40px);
  display: flex; flex-direction: column;
  animation: pop .26s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

.lb__figure {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-2); /* taste-skill-ignore 灯箱真浮层 */
}
.lb__img {
  width: 100%; max-height: calc(100dvh - 190px);
  object-fit: contain; background: var(--surface);
}
.lb__cap { padding: 12px 16px 14px; font-size: 13px; color: var(--ink-2); text-align: center; }

.lb__close {
  position: absolute; top: -6px; right: -4px; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff;
  font-size: 16px; cursor: pointer;
  /* grid 居中：原来是 block，svg 按行内元素排在基线上，图标会偏上 2px。
     padding 归零的原因同上：WebKit 默认 2px 6px 3px 上下不等。 */
  display: grid; place-items: center; padding: 0;
  appearance: none; -webkit-appearance: none;
}
.lb__close svg { width: 18px; height: 18px; }
.lb__close:hover { background: rgba(255,255,255,.3); }

.lb__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  appearance: none; -webkit-appearance: none;
}
.lb__nav svg { width: 22px; height: 22px; }
.lb__nav:hover { background: rgba(255,255,255,.3); }
.lb__nav--prev { left: -8px; }
.lb__nav--next { right: -8px; }
.lb__nav[hidden] { display: none; }

.lb__dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.lb__dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.34); cursor: pointer;
  transition: background .2s var(--ease), width .2s var(--ease);
}
.lb__dots button.is-on { background: #fff; width: 20px; border-radius: 4px; }
.lb__dots[hidden] { display: none; }

@media (max-width: 520px) {
  .lb__nav--prev { left: 2px; }
  .lb__nav--next { right: 2px; }
  .lb__close { top: -44px; right: 0; }
}

/* ---------------- 通用按钮 ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border: 0; border-radius: 9999px;   /* 规范：所有 CTA 都是药丸形 */
  font: inherit; font-size: 15px; font-weight: 650;
  cursor: pointer;
  transition: transform .18s var(--ease), opacity .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: scale(.96); }
.btn--sm { height: 44px; padding: 0 17px; font-size: 14px; }
.btn--wa { background: var(--wa); color: var(--wa-ink); }

.lb-open { overflow: hidden; }


/* ══════════════════════════════════════════════════════════════════════════
   主题：深色令牌

   生效条件（二选一）：
     A. <html data-theme="dark">        ← JS 写入（手动选择，或跟随系统）
     B. 系统偏好深色，且用户没手动选过  ← 无 JS 时的兜底

   !️ 下面两块内容必须逐行一致。tools/check.mjs 会自动比对，只改一块会报错。
   ══════════════════════════════════════════════════════════════════════════ */

/* A. 无 JS 兜底：跟随系统，但手动选过浅色就不覆盖 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;

  /* 画布与表面：深色下用「抬升」代替浅色下的「描边区分」 */
  --bg:         #0a0a0a;
  --card:       #141416;
  --surface:    #1c1c1f;

  /* 文字：深底上的四级灰阶 */
  --ink:        #f5f5f5;
  --ink-2:      #c9c9cd;
  --ink-3:      #9a9aa0;
  --stone:      #6e6e74;
  --ink-invert: #0a0a0a;

  --line:       #2a2a2e;
  --line-2:     #3c3c42;

  /* 主行动反转：浅色是黑按钮白字，深色是白按钮黑字 */
  --accent:     #f5f5f5;
  --on-accent:  #0a0a0a;
  --accent-ink: #f5f5f5;
  --sale:       #ff5a5f;
  --focus-ring: rgba(255,255,255,.18);
  --ok:         #4ade80;

  --topbar-bg:  rgba(10,10,10,.86);
  --scrim:      rgba(20,20,22,.94);
  --pattern:    rgba(255,255,255,.10);
  --quote-a:    rgba(255,255,255,.06);
  --quote-b:    rgba(255,255,255,.012);
  }
}

/* B. 手动选择 / JS 跟随系统 */
:root[data-theme="dark"] {
  color-scheme: dark;

  /* 画布与表面：深色下用「抬升」代替浅色下的「描边区分」 */
  --bg:         #0a0a0a;
  --card:       #141416;
  --surface:    #1c1c1f;

  /* 文字：深底上的四级灰阶 */
  --ink:        #f5f5f5;
  --ink-2:      #c9c9cd;
  --ink-3:      #9a9aa0;
  --stone:      #6e6e74;
  --ink-invert: #0a0a0a;

  --line:       #2a2a2e;
  --line-2:     #3c3c42;

  /* 主行动反转：浅色是黑按钮白字，深色是白按钮黑字 */
  --accent:     #f5f5f5;
  --on-accent:  #0a0a0a;
  --accent-ink: #f5f5f5;
  --sale:       #ff5a5f;
  --focus-ring: rgba(255,255,255,.18);
  --ok:         #4ade80;

  --topbar-bg:  rgba(10,10,10,.86);
  --scrim:      rgba(20,20,22,.94);
  --pattern:    rgba(255,255,255,.10);
  --quote-a:    rgba(255,255,255,.06);
  --quote-b:    rgba(255,255,255,.012);
}

/* ── 物流追踪（区块 05）───────────────────────────────────────────────────
   已有客户查包裹用的。视觉上刻意比询盘表单轻：这是工具，不是转化点。 */
.track { padding: 40px 0 6px; }

.track__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }

.track__input {
  width: 100%; font: inherit;
  font-size: 16px;                      /* 小于 16px 时 iOS 会自动放大整个页面 */
  color: var(--ink); background: var(--surface);
  border: 0; border-radius: 9px;
  min-height: 46px; padding: 11px 14px;
  letter-spacing: .06em; text-transform: uppercase;
}
.track__input::placeholder {
  color: var(--stone);
  /* 提示语 "e.g. YT…" 全大写不好读，占位符保持原样 */
  text-transform: none; letter-spacing: 0;
}
.track__input:focus {
  outline: none; background: var(--card);
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); /* taste-skill-ignore 焦点环不是投影 */
}
.track__input:user-invalid { border-color: var(--sale); }
.track__btn { width: auto; margin-top: 0; height: 46px; flex: none; }

.track__card {
  margin-top: 16px;
  background: var(--card);
  border-radius: var(--radius-lg); padding: var(--card-pad);
}
.track__card[hidden] { display: none; }   /* 卡片在窄屏下会变 flex，不写这条 hidden 会被覆盖 */

.track__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.track__no { font-size: 15px; font-weight: 750; letter-spacing: .03em; word-break: break-all; }
.track__when { font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* 状态进度：6 段（pending→shipped→transit→customs→delivery→delivered）。
   exception 不走这条，直接换成告警文字。 */
/* 进度条。position:relative 是给上面的小飞机做定位基准的。
   margin-top 留得比别处宽，是为了给飞机腾出地方。 */
.track__steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 26px; }
.track__step { height: 4px; border-radius: 9999px; background: var(--line); }
.track__step.is-on { background: var(--accent); }

/* ── 小飞机 ──
   停在「当前这一步」的正中间，跟着状态左右移动。
   left 用内联样式按进度算（0% ~ 100%），这里只负责外观和过渡。
   translateX(-50%) 让它以自己中心对齐落点，而不是左边缘。 */
/* 动画放在容器上（用 top 而不是 transform —— transform 要留给 translateX 居中）。
   这样 svg 那条规则只负责尺寸，检查脚本能一眼看出它有没有被定死。 */
.track__plane {
  position: absolute;
  top: -19px;
  left: 0;
  transform: translateX(-50%);
  color: var(--ink);
  pointer-events: none;
  transition: left var(--theme-ms) var(--ease);
  animation: plane-float 2.6s ease-in-out infinite;
}
.track__plane svg { display: block; width: 18px; height: 18px; }

/* 很轻的上下浮动，别做成花哨的动画 —— 这东西在卡片里，客户是来看状态的 */
@keyframes plane-float {
  0%, 100% { top: -19px; }
  50%      { top: -22px; }
}

/* 系统里开了「减弱动态效果」就别动 */
@media (prefers-reduced-motion: reduce) {
  .track__plane { transition: none; animation: none; }
}

.track__state { margin-top: 12px; font-size: 16px; font-weight: 750; letter-spacing: -.01em; }
.track__state.is-bad { color: var(--sale); }

.track__meta { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 12px 0 0; font-size: 13.5px; }
.track__meta dt { color: var(--ink-3); }
.track__meta dd { margin: 0; color: var(--ink-2); word-break: break-word; }

.track__note { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.track__open { margin-top: 14px; }
.track__hint { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

/* ── 真实轨迹时间线 ──
   最新一条在上并加粗。竖线用伪元素画，不用额外标签。 */
.track__h3 {
  margin: 18px 0 0; padding-top: 16px;
  font-size: 12px; font-weight: 750; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
}
.track__tl { margin: 12px 0 0; padding: 0; list-style: none; }
.track__tl-i { position: relative; padding: 0 0 14px 20px; }
.track__tl-i:last-child { padding-bottom: 0; }
/* 连到下一个点的那截竖线；最后一条不画 */
.track__tl-i:not(:last-child)::before {
  content: ''; position: absolute; left: 4px; top: 12px; bottom: 0;
  width: 1px; background: var(--line);
}
.track__tl-dot {
  position: absolute; left: 0; top: 5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--card); border: 1.5px solid var(--line-2);
}
.track__tl-i.is-now .track__tl-dot { background: var(--accent); border-color: var(--accent); }
.track__tl-d { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.track__tl-i.is-now .track__tl-d { color: var(--ink); font-weight: 650; }
.track__tl-m { margin: 2px 0 0; font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.track__src { margin: 12px 0 0; font-size: 11.5px; color: var(--stone); }

/* ── 承运商兜底下拉（只在 Excel 没填承运商时出现）── */
.track__pick {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  align-items: center; margin-top: 16px; padding-top: 14px;
}
.track__pick-l { grid-column: 1 / -1; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.track__sel {
  width: 100%; font: inherit; font-size: 16px;   /* 16px 防 iOS 自动缩放 */
  color: var(--ink); background: var(--surface);
  border: 0; border-radius: 9px;
  min-height: 46px; padding: 10px 12px;
  /* 自绘下拉箭头，省得各浏览器样式不一致 */
}
.track__sel:focus { outline: none; background-color: var(--card); border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); /* taste-skill-ignore 焦点环不是投影 */ }
.track__help { margin: 14px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }

/* 次要按钮：描边款。规范里主 CTA 是实心药丸，次级动作就走描边，
   这样「跳承运商官网」不会跟页面上真正的转化按钮抢注意力。 */
.btn--line { background: var(--surface); color: var(--ink); }

/* 手机上按钮换行占满，否则输入框会被挤成半截 */
@media (max-width: 520px) {
  .track__row { grid-template-columns: 1fr; }
  .track__btn { width: 100%; }
  .track__pick { grid-template-columns: 1fr; }
  .track__meta { grid-template-columns: 1fr; gap: 2px; }
  .track__meta dt { margin-top: 8px; }
}

/* ── 深色下的组件级覆盖 ────────────────────────────────────────────────────
   支付品牌色是 JS 写在内联样式上的，没法做成 :root 令牌，所以单独覆盖。
   !️ 同样必须两块一致。 */
/* 深色下把图片轻微压暗：浅色照片在近黑底上会"发光"。
   只压 12%——规范里产品图本来就铺在浅色"影棚底"上，压太狠会失去质感。 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pay li { color: var(--brand-dark, var(--brand)); }
  :root:not([data-theme="light"]) .tile__img { filter: brightness(.88) saturate(.9); }
  :root:not([data-theme="light"]) .pv__card img { filter: brightness(.9); }
}
:root[data-theme="dark"] .pay li { color: var(--brand-dark, var(--brand)); }
:root[data-theme="dark"] .tile__img { filter: brightness(.88) saturate(.9); }
:root[data-theme="dark"] .pv__card img { filter: brightness(.9); }

/* ══════════════════════════════════════════════════════════════════════════
   主题切换过渡：约 200ms，只过渡颜色属性，不碰尺寸 → 不会引起布局位移。
   平时不加这条规则（否则会干扰按钮自身的 hover 动画），
   只在切换的那一瞬间由 JS 给 <html> 挂上 .theme-anim，200ms 后摘掉。
   ══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  html.theme-anim,
  html.theme-anim *,
  html.theme-anim *::before,
  html.theme-anim *::after {
    transition:
      background-color var(--theme-ms) var(--ease),
      border-color     var(--theme-ms) var(--ease),
      color            var(--theme-ms) var(--ease),
      fill             var(--theme-ms) var(--ease),
      stroke           var(--theme-ms) var(--ease) !important;
    transition-delay: 0s !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   TASTESKILL v2 - direction "The contact sheet" (seed 1452779347)
   这一段落是整站的设计方向覆盖层。放在最后，靠层叠压住前面的旧规则。

   从方向图纸里取的是**构图与比例**；色板与字体两处重画，原因写在报告里：
     - 色板：本站必须同时支持浅色/深色两套主题（跟随系统，用户要求），
       一张固定的暖黑底色做不到。保留现有令牌体系，只采纳「一页只用一次强调色」这条规矩。
     - 字体：采纳 Switzer，但**自托管**（assets/fonts/），不让页面产生任何第三方请求。

   房子规则在这里执行：无段号、无装饰横线、无 1px 描边框、无渐变、无 emoji、
   正文 ≥16px、最小字号 ≥13px。
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Switzer（自托管，两个字重，共 36KB）───────────────────────────────── */
@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer-0.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer-1.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
/* 700 也自托管一份：没有这个文件时 font-weight:700 会用「伪加粗」
   （浏览器给字形描边模拟），在小字号上看起来发虚、发脏。 */
@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* 五个字号档，替代原来的十个 */
  --fs-small: 13px;
  --fs-body: 17px;
  --fs-lead: clamp(20px, 1.1rem + 0.7vw, 26px);
  --fs-head: clamp(26px, 1.1rem + 2.4vw, 40px);
  --fs-mast: clamp(28px, 1.2rem + 3.4vw, 52px);
  /* 页面边距只有一对 */
  --pad: clamp(16px, 3.2vw, 28px);
  --stack: clamp(56px, 7vw, 104px);
}

/* 全站换成 Switzer；系统字形做兜底，字体还没到时排版也不塌 */
body, button, input, select, textarea {
  font-family: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
body {
  font-size: var(--fs-body);
  line-height: 1.5;
  letter-spacing: -0.011em;
  font-weight: 400;
}

/* ── 去掉装饰横线：顶栏、页脚、区块标题线 ── */
.topbar { border-bottom: 0; background: var(--bg); }
.foot { border-top: 0; }
.sec-bar { display: none !important; }

/* 区块之间用留白和底色分层，不用线 */
.shell { padding-inline: var(--pad); }
section { padding-block: var(--stack); }
section + section { padding-top: 0; }

/* ── 区块标题：一个标题 + 一句说明，句首大写，不再有小标签小横线 ── */
.sec-head { display: block; margin-bottom: clamp(20px, 2.4vw, 32px); }
.sec-head__title {
  font-size: var(--fs-head); font-weight: 500; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--ink); max-width: 20ch;
}
.sec-head__sub {
  margin-top: 12px; font-size: var(--fs-body); line-height: 1.5;
  color: var(--ink-2); max-width: 52ch;
}

/* ══ 主桅：文字带，然后目录紧接在首屏里开始 ══ */
.mast { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 3vw, 44px); }
.mast__band { display: grid; gap: 14px; }
/* 名字就是这张脸的主元素：拉到显示级，一行就够（8vw 级别才撑得起首屏）。
   下面那句是**陈述**，不是标题 —— 放在 ≤36px 的 statement 尺寸，跑三行以内。 */
.mast__name {
  margin: 0;
  font-size: clamp(44px, 8.4vw, 132px);
  font-weight: 500; line-height: 0.92; letter-spacing: -0.045em;
  color: var(--ink); text-transform: uppercase;
}
.mast__say {
  margin: 0; font-size: clamp(18px, 1rem + 0.9vw, 26px); font-weight: 400;
  line-height: 1.35; letter-spacing: -0.015em; color: var(--ink-2); max-width: 46ch;
}
.mast__cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: clamp(16px, 3vw, 40px); align-items: start;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding-top: 18px; border-top: 0;
}
.mast__col { display: grid; gap: 4px; align-content: start; }
/* 三个小标题加粗（Departments / How it works / Reach us）。
   这条不在媒体查询里，电脑和手机同步生效。 */
.mast__k { margin: 0; font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
/* 这三列说明是页面上真正的「连续正文」，原来用的是小号（13px）。
   三张大信息卡收进弹层之后，它们成了页面文字量的大头，
   检查器直接判「正文 13px 不合格」。提到正文字号 17px。 */
.mast__v { margin: 0; font-size: var(--fs-body); line-height: 1.45; color: var(--ink-3); max-width: 34ch; }
.mast__col--act { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mast__go {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 9999px;
  background: var(--accent); color: var(--on-accent);
  font-size: var(--fs-small); font-weight: 500; text-decoration: none;
}
/* 次级按钮：和主按钮同样尺寸的胶囊，但用一档底色（--surface），
   不抢主按钮的黑；不带描边（房子规则），靠底色区分。 */
.mast__wa {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 9999px;
  /* 颜色只跟主题走（--surface / --ink），悬停不做任何变化。
     原来这里是把底色换成 --ink、文字换成 --accent-ink ——
     浅色下两者都是 #111，深色下都是 #f5f5f5，等于黑上黑／白上白，字直接消失。 */
  background: var(--surface); color: var(--ink);
  font-size: var(--fs-small); font-weight: 500; text-decoration: none;
}
.mast__wa svg { flex: 0 0 auto; }

/* ══ 照片带：真照片，一次统一的灰度处理，文字只放在图片外面 ══ */
.promo { padding-top: clamp(8px, 1.6vw, 20px); }
.promo__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.promo__title { margin: 0; font-size: var(--fs-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
.promo__sub { margin: 0; font-size: var(--fs-small); color: var(--ink-3); }
.promo__stage { position: relative; }
.pv { border-radius: 0; overflow: hidden; }
.pv__card, .pv__slide, .pv figure { border-radius: 0 !important; }
.pv img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); }
.pv__nav--band { justify-content: flex-start; gap: 10px; margin-top: 12px; }
.rnav { border-radius: 0; border: 0; background: var(--surface); color: var(--ink); }
/* 轮播指示器只留圆点，不要方块底。
   原来这里被我覆盖成了方底：非当前项是灰方块、当前项是黑方块，
   而当前项里那个点用的是 --accent（也是 #111），压在 --ink 的黑底上直接看不见。
   删掉覆盖即可 —— 基础规则本来就是「无底色 + ::after 画点」，热区 34×44。 */

/* ══ 目录：紧密的表格，不是一排同款卡片 ══
   盒子用底色定义（一个色阶），没有 1px 描边。不同跨度让行看起来像印刷目录。 */
/* 目录：12 列栅格。旧的这条规则是 flex（flex-wrap + justify-content:center），
   改成 grid 后必须把 flex 时代留下的 justify-content 显式重置 ——
   否则行内会按「居中」摆放，出现一大一小的空档（电脑上特别明显）。 */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  justify-content: stretch;
  align-items: stretch;
  gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
/* 每行跨度都凑满 12：5+4+3 / 3+5+4 / 4+3+5 / 3+5+4，不留空格 */
.grid > li { grid-column: span 3; min-width: 0; margin: 0; }
/* 每行错落：宽窄不一，避免「一排五个一样的卡」 */
.grid > li:nth-child(1) { grid-column: span 5; }
.grid > li:nth-child(2) { grid-column: span 4; }
.grid > li:nth-child(3) { grid-column: span 3; }
.grid > li:nth-child(4) { grid-column: span 3; }
.grid > li:nth-child(5) { grid-column: span 5; }
.grid > li:nth-child(6) { grid-column: span 4; }
.grid > li:nth-child(7) { grid-column: span 4; }
.grid > li:nth-child(8) { grid-column: span 3; }
.grid > li:nth-child(9) { grid-column: span 5; }
.grid > li:nth-child(10) { grid-column: span 3; }
.grid > li:nth-child(11) { grid-column: span 5; }
.grid > li:nth-child(12) { grid-column: span 4; }

/* 目录条目 = 印刷目录里的一行：底色块 + 名称 + 一句内容说明。
   盒子由填充色定义，没有 1px 描边；悬停时整块反色。 */
/* 旧的 .tile 是正方形（aspect-ratio: 1/1）且 .tile__a 撑满 100% 高，
   所以 min-height 根本不起作用。这里把正方形和拉伸都取消，
   条目高度只由内容 + 一个紧凑的 min-height 决定。 */
.tile { margin: 0; aspect-ratio: auto; max-width: none; flex: none; }
.tile__a {
  display: grid; align-content: end; gap: 4px;
  width: 100%; height: auto;
  min-height: clamp(76px, 6.4vw, 92px);
  padding: 14px 16px;
  background: var(--surface); border: 0; border-radius: 0;
  text-decoration: none; color: var(--ink);
  transition: background var(--theme-ms) var(--ease), color var(--theme-ms) var(--ease);
}
.tile__a:hover, .tile__a:focus-visible { background: var(--accent); color: var(--on-accent); }
.tile__a:hover .tile__label b, .tile__a:hover .tile__label i { color: var(--on-accent); }
.tile__label { display: grid; gap: 3px; }
.tile__label b { font-size: var(--fs-body); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink); }
.tile__label i { font-style: normal; font-size: var(--fs-small); line-height: 1.4; color: var(--ink-3); }
.tile__scrim { display: none !important; }
/* 旧的装饰件全部停用：描边角标、箭头徽章、图上遮罩 */
.tile__badge, .tile__shade, .tile__img { display: none !important; }
.tile__body { padding: 0; background: none; }

/* ══ 询盘 / 追踪 / 信息：去掉 1px 描边，改成色块 ══ */
.inquiry__panel, .reviews__panel, .track__card, .form, .info__grid > * {
  border: 0; border-radius: 0;
  background: var(--surface);
}
.inquiry__panel { padding: clamp(20px, 3vw, 36px); }
.info__grid > * { padding: clamp(18px, 2.4vw, 28px); }
.info__grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.track__card { padding: clamp(18px, 2.6vw, 30px); }

/* 表单控件：靠底色分层，不画线 */
.fld input, .fld textarea, .track__input, .track__sel {
  border: 0; border-radius: 0; background: var(--bg);
  font-size: var(--fs-body); color: var(--ink);
  padding: 12px 14px;
}
.fld input:focus, .fld textarea:focus, .track__input:focus, .track__sel:focus {
  outline: 2px solid var(--ink); outline-offset: 2px;
}
.fld > span, .fld legend, .chips legend { font-size: var(--fs-small); font-weight: 500; color: var(--ink); }

/* 微标签（Address / Working hours…）：改成可读的句子大小写 */
.info__grid h3, .info__grid h4, .info__grid dt {
  /* 这几条是「Address / Working hours / Email / WhatsApp」的标签，
     原来被这里统一压成了 500（覆盖了 .addr__row dt 自带的 700），所以看着不粗。 */
  font-size: var(--fs-small); font-weight: 700; letter-spacing: 0;
  text-transform: none; color: var(--ink); margin: 0 0 6px;
}
.info__grid p, .info__grid dd, .info__grid li { font-size: var(--fs-body); line-height: 1.5; color: var(--ink-2); margin: 0; }

/* 按钮只有一个形状：全圆 */
.btn { border-radius: 9999px; border: 0; min-height: 44px; font-size: var(--fs-small); font-weight: 500; }
.btn--line { border: 0 !important; background: var(--surface); color: var(--ink); }
.btn--send { background: var(--accent); color: var(--on-accent); }

/* 页脚：名字回到满宽，作为收尾，不是站点地图 */
.foot { padding-block: var(--stack) 40px; }
.foot__brand { font-size: var(--fs-head); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.foot__addr, .foot__links, .foot__copy { font-size: var(--fs-small); color: var(--ink-3); }
/* 「Follow us」和「We accept」两个小标题加粗。
   700 是自托管并已加载的字重，不是浏览器合成的伪加粗。 */
.foot__social-title, .foot__pay-title { font-size: var(--fs-small); font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: 0; }
.social a, .pay li { border-radius: 0; border: 0; background: var(--bg); }

/* 全文最小字号兜底：任何小于 13px 的文字抬到 13px */
.tag, .reviews__hint, .reviews__count, .foot__copy, .form__privacy,
.pv__cap, .rdots, .tile__meta, .track__src, .track__tl-m { font-size: 13px; }

/* ── 手机：目录三列，主桅收成一列 ── */
@media (max-width: 760px) {
  .mast__cols { grid-template-columns: 1fr 1fr; }
  .mast__col--act { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  /* 手机上陈述句最多 24px —— 再大就会被读成标题，而它是个段落 */
  .mast__say { font-size: 20px; }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid > li, .grid > li:nth-child(n) { grid-column: span 3; }
  .grid > li:nth-child(1), .grid > li:nth-child(9) { grid-column: span 6; }
  .tile__a { min-height: 76px; }
}

/* ── 动效：进入、反馈、一张会动的照片 ──
   只动 transform / opacity；开了「减弱动态效果」就全部停住，内容照样在。 */
@media (prefers-reduced-motion: no-preference) {
  .mast__say, .mast__cols, .sec-head, .pv, .grid > li, .inquiry__panel, .track__card, .info__grid > * {
    animation: ts-rise 520ms var(--ease) both;
  }
  .mast__cols { animation-delay: 80ms; }
  .grid > li:nth-child(2n) { animation-delay: 60ms; }
  .grid > li:nth-child(3n) { animation-delay: 120ms; }
  @keyframes ts-rise {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
    to   { opacity: 1; transform: none; }
  }
  /* 一张会动的照片：极慢的推近，像镜头在呼吸 */
  .pv img { animation: ts-drift 24s ease-in-out infinite alternate; }
  @keyframes ts-drift {
    from { transform: scale(1.02); }
    to   { transform: scale(1.08); }
  }
  .tile, .btn, .rnav { transition: background 220ms var(--ease), color 220ms var(--ease), transform 160ms var(--ease); }
  .tile:active, .btn:active, .rnav:active { transform: translateY(1px); }
}


/* 目录收尾与下一块之间留足距离 ——
   太近的话最后一条目录的说明会被当成下一块标题上方的小标签（kicker）。 */
.catalog { padding-bottom: calc(var(--stack) * 1.3); }


/* 主桅和照片带之间拉开距离：手机上主桅末尾是两个链接/按钮，
   贴得太近会被读成下一块标题上方的小标签。 */
.mast { padding-bottom: clamp(44px, 6vw, 84px); }

/* 页脚底部给浮动 WhatsApp 让出位置，否则它会压住页脚的大字。
   88px 是按钮直径 + 两倍间距。 */
.foot { padding-bottom: 128px; }


/* 页脚内部给浮动按钮让出右下角，
   否则 390px 下页脚那行大字会被圆形按钮压住一角。 */
@media (max-width: 760px) {
  /* 这里原来给右边留了 76px 避让悬浮按钮 —— 但只在右边加内边距，
     等于把居中的内容整块推左。避让靠 .foot 的 padding-bottom 就够了
     （按钮只有 56px 高、固定在右下 72px 范围内），所以右侧不用留。 */
  .foot__brand { font-size: clamp(24px, 7vw, 32px); }
  .foot__pay { padding: 14px 10px; }
}


/* 只调裁切位置，不动比例 ——
   改成 21:9 会把幻灯片上的标题裁掉、也把和下一块的距离压没，得不偿失。
   rail 那张的主体偏上，所以把裁切参考点往上压一点，让衣服露出来。 */
.pv img { object-position: center 30%; }

/* 图片署名：小一号、偏灰，但仍是可读的大小 */

/* 旧布局里有个 .grid--4 .tile { max-width: 250px }（min-width:1000px）——
   它的权重比 .tile 高，而且 app.js 在「格子数是 4 的倍数且超过 8」时会自动加上 .grid--4，
   于是电脑上每个格子都被锁死在 250px：跨度算对了，宽度却是死的，所以行里留出大空档。
   新栅格里宽度由 span 决定，这里把它中和掉。 */
.grid--4 .tile { max-width: none; flex-basis: auto; }

/* ══ 支付标志：白卡片 + 品牌标志 ══
   白卡片在两种主题下都保持白 —— 支付品牌的原色必须可辨认，
   跟着主题变色就认不出来了。卡片靠一层浅灰底衬托（不用投影：
   房子规则不许静止元素带投影），所以外面要有一个 --surface 的色带。 */
.foot__pay {
  margin-top: 26px;
  padding: 16px 14px;
  background: var(--surface);
  border-radius: 14px;
}
.foot__pay-title { margin: 0 0 12px; }
.pay {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin: 0; padding: 0; list-style: none;
}
.pay li {
  /* 宽度自适应：短品牌（VISA）靠 min-width 撑成统一尺寸，
     长一点的（Bank Transfer）自动变宽，不被裁字。 */
  min-width: 74px; height: 46px;
  /* 横排：图标和文字在同一行（银行转账那一格是「图标 + 名称」） */
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 11px;
  background: #ffffff;
  /* 卡片永远是白的，所以里面的文字必须永远用深色 ——
     不能继承主题的 --ink（深色主题下那是白的，白底白字等于看不见）。 */
  color: #111111;
  border-radius: 8px;
  border: 0;
  white-space: nowrap;
}
.pay__word { font-size: 13px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }

/* 各品牌自己的字重、倾斜、颜色 —— 尽量贴近真实标志 */
.pay li.is-visa .pay__word      { color: #1A1F71; font-size: 16px; font-weight: 800; font-style: italic; letter-spacing: -0.05em; }
.pay li.is-mc svg               { display: block; }
.pay li.is-amex .pay__word      { color: #006FCF; font-size: 11px; letter-spacing: 0.03em; }
.pay li.is-paypal .pay__word    { color: #003087; font-size: 12.5px; font-weight: 800; font-style: italic; }
.pay li.is-wu .pay__word        { color: #111111; font-size: 16px; font-weight: 900; letter-spacing: -0.04em; }
.pay li.is-usdt .pay__word      { color: #26A17B; font-size: 12.5px; }
.pay li.is-apple .pay__word     { color: #111111; font-size: 14px; }
.pay li.is-gpay .pay__word      { color: #1A66D6; font-size: 12.5px; }
.pay li.is-bank svg,
.pay li.is-cod svg              { width: 20px; height: 20px; color: #1F3A8A; }
.pay li.is-bank .pay__word,
.pay li.is-cod .pay__word { font-size: 11px; color: #1F3A8A; }

/* 悬停：只抬一点点，不投影 */
@media (hover: hover) {
  .pay li:hover { transform: translateY(-2px); }
}

@media (max-width: 420px) {
  .pay li { min-width: 64px; height: 42px; padding: 0 9px; }
  .pay li.is-visa .pay__word { font-size: 14px; }
}

/* ── 按钮：悬停不做任何视觉变化（按要求），但键盘焦点必须看得见 ──
   用外圈焦点环，不反转底色和文字色 ——
   反转在「--ink 底 + --accent-ink 字」这个组合下，两套主题都会变成同色而看不见。 */
.mast__go, .mast__wa, .btn, .rnav { transition: none; }
.mast__go:focus-visible,
.mast__wa:focus-visible,
.btn:focus-visible,
.rnav:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ══ 品类选项的水平动效 ══
   两种「文字水平走动」：
     ① 进入视口时逐条从左滑入（40ms 错开）
     ② 悬停/聚焦时整条胶囊水平轻推 4px
   刻意**没有**做成跑马灯：这 12 个是能点的多选控件，
   一直移动会让点击目标飘走（手机上尤其难，也违反 WCAG 2.2.2 暂停要求）。
   系统开了「减弱动态效果」时全部停用。 */
@media (prefers-reduced-motion: no-preference) {
  /* 初始的「透明 + 左移」只由 keyframes 的 from 定义（配合 both），
     不写成常驻规则 —— 否则 JS 一旦没跑，12 个选项会永久不可见。 */
  .chips__row.is-in .chip {
    animation: chip-slide 460ms var(--ease) both;
    animation-delay: calc(var(--i, 0) * 40ms);
  }
  @keyframes chip-slide {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .chip span:hover,
  .chip input:focus-visible + span {
    transform: translateX(4px);
  }
}
/* 减弱动态效果时：不加动画类即可，选项本来就是可见的 */

/* ══ 分类目录：左右两栏 ══
   左：竖排类目，点击跳到右边对应分组（用 :target 高亮，不需要 JS）。
   右：12 个分组依次排开，每组「类目名 + 打开相册 + 子类目」。
   盒子和分隔一律用底色与留白，不用 1px 描边、不用投影。 */
.catpane {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}

/* 左侧：粘住不跟着滚，像目录索引 */
.catpane__side {
  position: sticky; top: 84px;
  display: grid; gap: 2px;
  align-content: start;
}
.catpane__tab {
  display: block;
  padding: 9px 12px;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  border-radius: 8px;
  transition: color .16s var(--ease), background .16s var(--ease);
}
/* 指向的分组就是当前锚点时高亮（纯 CSS） */
.catpane__tab:hover { color: var(--ink); background: var(--surface); }

/* 右侧：分组 */
.catpane__body { display: grid; gap: clamp(24px, 3vw, 40px); min-width: 0; }
.catgroup { scroll-margin-top: 90px; }
.catgroup__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-bottom: 10px;
}
.catgroup__name {
  margin: 0;
  font-size: var(--fs-lead);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.catgroup__go {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* 用网格而不是 flex：flex 下最后一行会被拉伸，导致各卡片宽度不一，
   占位图（aspect-ratio）也跟着高低不一。网格保证每格等宽，图永远一样大。 */
.catgroup__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0; padding: 0; list-style: none;
}
/* 细分类目卡：上面一块占位图，下面名称 —— 和参考图同样的结构。
   占位图统一灰度，贴合单色品牌；换成真实商品图时不用动结构。 */
.catcard {
  flex: 1 1 150px;
  max-width: 240px;
  display: grid; gap: 0;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}
.catcard__ph {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--card);
  filter: grayscale(1) contrast(1.05);
  opacity: .9;
}
.catcard__ph.is-empty { background: var(--card); }
.catcard__t {
  display: grid; place-items: center;
  min-height: 42px;
  padding: 8px 10px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-2);
  text-align: center;
}

/* 锚点命中的分组：左侧条目变黑（配合右侧留白，不画线） */
.catgroup:target .catgroup__name { text-decoration: underline; text-underline-offset: 4px; }

/* 手机：左侧导航变成横向可滑的一排，右侧占满 */
@media (max-width: 760px) {
  .catpane { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* 手机上原来是一排横向滚动 —— 右侧只露 4 个，用户以为类目就这么点。
     改成换行：12 个全部铺开，不用滑、不用猜。
     （之前的 side-scroll 提醒也随之消失） */
  .catpane__side {
    position: static;
    display: flex; flex-wrap: wrap; gap: 6px;
    overflow: visible;
  }
  .catpane__tab { width: auto; white-space: nowrap; background: var(--surface); }
  .catgroup__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catcard .catcard__t { min-height: 38px; }
}

/* ── 分类 tab：左侧是按钮，右侧一次只显示一个面板 ── */
.catpane__tab {
  display: block; width: 100%;
  padding: 9px 12px;
  border: 0; border-radius: 8px;
  background: none;
  font: inherit;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink-3);
  text-align: left;
  cursor: pointer;
}
.catpane__tab:hover { color: var(--ink); background: var(--surface); }
.catpane__tab.is-on { color: var(--ink); background: var(--surface); font-weight: 700; }

/* 面板标题 */
.catgroup__name {
  margin: 0 0 14px;
  font-size: var(--fs-lead);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* 卡片：整块是链接，点图就进相册 */
.catcard__cell { margin: 0; min-width: 0; }
.catcard { display: block; text-decoration: none; }
.catcard .catcard__ph {
  display: block; width: 100%;
  aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--card);
  border-radius: 8px 8px 0 0;
  filter: grayscale(1) contrast(1.05);
  opacity: .9;
}
.catcard .catcard__t {
  display: grid; place-items: center;
  min-height: 42px; padding: 8px 10px;
  background: var(--surface);
  border-radius: 0 0 8px 8px;
  font-size: var(--fs-small); font-weight: 500;
  color: var(--ink-2); text-align: center;
}
/* 卡片不做悬停特效：一来客户明确要求不要，
   二来这里把底色换成 --ink、文字换成 --accent-ink，浅色下两者都是 #111，
   会变成黑底黑字（字直接消失）。 */
.catcard:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }


/* 分类面板是 <section>，被上面那条全局规则加上了 section 的上下内边距
   （56–104px），所以右侧标题上方空出一大块。这里显式清零。 */
.catgroup { padding-block: 0; }

/* 手机上的类目标签：强制按内容宽度排，一行放几个就放几个。
   width: auto 在 flex 容器里仍可能被拉伸，flex: 0 0 auto 才是确定的。 */
@media (max-width: 760px) {
  .catpane__side { display: flex; flex-wrap: wrap; overflow: visible; }
  .catpane__side .catpane__tab { flex: 0 0 auto; width: auto; }
}

/* ══ 手机：左侧类目横滑 + 右边缘箭头提示 ══
   箭头只在「还能往右滑」时出现，滚到头自动消失。 */
.catpane__sidewrap { position: relative; }
.catpane__more { display: none; }

@media (max-width: 760px) {
  .catpane__side {
    display: flex; flex-wrap: nowrap;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* 右边留出一点，让最后一个类目明显被截断 */
    padding-right: 40px;
  }
  .catpane__side::-webkit-scrollbar { display: none; }
  .catpane__side .catpane__tab { flex: 0 0 auto; width: auto; }

  /* 箭头：压在右边缘，白底圆角，不遮住文字 */
  .catpane__more {
    display: grid; place-items: center;
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border: 0; border-radius: 50%;
    background: var(--bg);
    color: var(--ink);
    cursor: pointer;
    /* 未溢出、或已滑到头时隐藏 */
    opacity: 0; pointer-events: none;
    transition: opacity .18s var(--ease);
  }
  .catpane__sidewrap.has-more .catpane__more { opacity: 1; pointer-events: auto; }
}

/* 新加的三个品牌字标（白卡片上用原色，才认得出来） */
/* 品牌原色当「小字颜色」用时对比度不够：
   #07C160 在白底上只有 2.4:1、#1677FF 约 3.7:1，都读不清。
   这里改用同色系的深色版，保住品牌感同时过 4.5:1。 */
.pay li.is-wise .pay__word   { color: #163300; font-size: 14px;   font-weight: 800; letter-spacing: -0.02em; }
.pay li.is-alipay .pay__word { color: #0A5BD3; font-size: 12.5px; font-weight: 800; }
.pay li.is-wechat .pay__word { color: #0A7D3E; font-size: 12px;   font-weight: 800; }

/* ══ 客服选择面板 ══
   点右下角按钮弹出，客户自己选跟谁聊。
   这是一个真正的浮层菜单，所以允许投影（房子规则只禁止静止元素带投影）。 */
.agents {
  position: fixed; right: 16px; z-index: 46;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  width: min(300px, calc(100vw - 32px));
  padding: 14px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18); /* taste-skill-ignore 浮层菜单，规则允许 */
}
.agents__t {
  margin: 0 0 10px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink);
}
.agents__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.agents__row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
}
.agents__row:hover, .agents__row:focus-visible { background: var(--surface); }
.agents__av {
  flex: none; width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  overflow: hidden;
}
.agents__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agents__av svg { width: 22px; height: 22px; color: var(--ink-3); }
.agents__txt { display: grid; gap: 1px; min-width: 0; }
.agents__txt b { font-size: var(--fs-small); font-weight: 700; }
.agents__txt i { font-style: normal; font-size: 13px; color: var(--ink-3); }

/* ── 品类多选：改成等宽网格 ──
   原来是 flex-wrap，每项按文字宽度排，于是每行个数不一样、
   左边缘参差、行距忽大忽小，看起来乱。
   网格让每格等宽，行数固定，视觉上是整齐的矩阵。 */
.chips__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.chips__row .chip { display: block; min-width: 0; }
.chips__row .chip span { width: 100%; padding-left: 10px; padding-right: 10px; }

@media (max-width: 900px) {
  .chips__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .chips__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ══ 物流进度条的阶段图标 ══
   六个格子跟上面那条线一一对齐，每格一个图标：
   仓库 / 机场 / 起飞 / 海关 / 目的国（国旗或地球）/ 签收。
   走过的步骤是深色，没走到的是浅灰。 */
.track__icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 10px;
  justify-items: center;
}
.track__ic {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 26px;
  color: var(--ink-3);
}
.track__ic svg { display: block; width: 20px; height: 20px; stroke: none; }
.track__ic.is-on { color: var(--ink); }
/* 国旗比线条图标宽一点，单独给尺寸。
   颜色统一去掉 —— 彩色旗在这套单色界面里很跳，客户明确要求改成灰的。
   保留条纹结构（灰度后仍能看出是横条还是竖条），配合下方的国家代码识别。
   走过的步骤亮一些，没走到的淡一些，跟其它图标同一套明暗。 */
.track__ic svg[viewBox="0 0 16 11"] {
  width: 22px; height: 15px;
  border-radius: 2px;
  filter: grayscale(1) contrast(1.35);
  opacity: .45;
}
.track__ic.is-on svg[viewBox="0 0 16 11"] { opacity: .95; }

/* 图标现在在进度条上方，间距反向：图标下 8px，线条上方不再留 26px（那原是给飞机腾的）。 */
.track__icons { margin-top: 0; margin-bottom: 8px; }
.track__steps { margin-top: 4px; }
/* 飞机元素已移除，样式留着也无害，但不再有实例 */

/* ── 阶段图标：改圆润一点 ──
   描边加粗到 1.9，端点/拐角用圆头，视觉上比原来那套细线更亲切。
   保持单色 —— 彩色 emoji 会跟上面那条灰色国旗打架。 */
.track__ic svg {
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ══ 多单号列表 ══
   客户一次买了几个包裹时，上面列出所有单号，点哪个看哪个。
   超过 5 个先折叠，避免把页面拉得很长。 */
.track__list {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: var(--card-pad);
  background: var(--card);
  border-radius: var(--radius-lg);
}
.track__list[hidden] { display: none; }
.track__pick {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.track__pick.is-on { background: var(--ink); color: var(--accent-ink); }
.track__pick-n { font-size: 14px; font-weight: 700; letter-spacing: .02em; word-break: break-all; }
.track__pick-s { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.track__pick.is-on .track__pick-s { color: var(--accent-ink); opacity: .75; }
.track__pick-s.is-bad { color: var(--sale); }
.track__pick-all { justify-content: center; color: var(--ink); font-weight: 700; background: none; }

/* ══ 客户评价：水平跑马灯 ══
   .rvmarq 是裁切窗口，.rvmarq__row 是那条会动的带子。
   带子里放了「两遍同样的图」，所以移到 -50% 时画面和起点完全一致，
   看不出接缝，永远不会跳。 */
.rvmarq {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.rvmarq__row {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 16px;
  animation: rv-marquee 60s linear infinite;
  will-change: transform;
}
/* 鼠标移上去就停，方便细看 */
.rvmarq:hover .rvmarq__row,
.rvmarq:focus-within .rvmarq__row { animation-play-state: paused; }
@keyframes rv-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.rvmarq__cell {
  flex: 0 0 auto;
  width: clamp(260px, 26vw, 380px);
}
.rvmarq__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--card);
}

/* 系统开了「减弱动态效果」：不跑，改成可以横向滑的一排 */
@media (prefers-reduced-motion: reduce) {
  .rvmarq { overflow-x: auto; }
  .rvmarq__row { animation: none; }
}

/* 跑马灯里的评价图：整块可点，右下角一个放大镜提示「能点开」。
   放大镜只在悬停/键盘聚焦时出现，平时不挡图。 */
.rvmarq__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.rvmarq__btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.rvmarq__mag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  pointer-events: none;
}
.rvmarq__mag svg { width: 20px; height: 20px; }
.rvmarq__btn:hover .rvmarq__mag,
.rvmarq__btn:focus-visible .rvmarq__mag { opacity: 1; transform: none; }

/* 减弱动效时没有悬停态也要能看出可点：常显放大镜 */
@media (prefers-reduced-motion: reduce) {
  .rvmarq__mag { opacity: 1; transform: none; }
}

/* ══ 品类多选下拉 ══
   原来 12 个方块占掉半屏。现在收进一个下拉：默认只占一行，
   展开后是 2～4 列的勾选网格。 */
.pick { position: relative; }
.pick__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 6px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--card);
  font: inherit;
  font-size: var(--fs-small);
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
}
.pick__btn::after {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s var(--ease);
}
.pick.is-open .pick__btn::after { transform: rotate(-135deg) translateY(-2px); }
.pick__val {
  margin-left: auto;
  font-weight: 700;
  color: var(--ink);
}
.pick__val:empty { display: none; }
.pick__val:not(:empty)::before { content: ""; }

.pick__panel {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 6px);
  z-index: 20;
  display: none;
  padding: 10px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16); /* taste-skill-ignore 浮层菜单，规则允许 */
}
.pick.is-open .pick__panel { display: block; }

/* 面板里的 12 个选项：桌面 3 列、手机 2 列，比原来紧凑 */
.pick__panel .chips__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pick__panel .chip span { min-height: 40px; padding: 6px 8px; font-size: 13px; }
@media (max-width: 560px) {
  .pick__panel .chips__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ══ 语言切换：地球 + 下拉 ══
   原来三个 EN / ES / FR 并排，手机顶栏很挤。现在收成一个地球图标。 */
.lang--menu { position: relative; display: flex; align-items: center; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  cursor: pointer;
}
.lang__btn svg { width: 20px; height: 20px; }
.lang__cur { line-height: 1; }

.lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  display: none;
  min-width: 130px;
  padding: 6px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16); /* taste-skill-ignore 浮层菜单，规则允许 */
}
.lang--menu.is-open .lang__menu { display: block; }
.lang__menu button {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
}
.lang__menu button:hover { background: var(--surface); }
.lang__menu button[aria-pressed="true"] { color: var(--ink); background: var(--surface); }

/* ── 顶栏：主题 + 语言整体靠右 ──
   品牌在左，控件推到最右侧，中间留白。 */
/* 顶栏改成三区网格：左占位 / 中间品牌 / 右侧控件。
   这样品牌是**真正居中**（不是「在剩余空间里居中」），
   右侧的控件也不会把它挤偏。 */
.topbar__in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand { grid-column: 2; justify-self: center; }
.topbar__right { grid-column: 3; justify-self: end; margin-left: 0; }

/* 地球和语言缩写要横排，不能上下堆 ——
   基础规则 .lang button 写了 display: inline-grid，权重比 .lang__btn 高，
   所以这里必须用 .lang .lang__btn 把它压回去。 */
.lang .lang__btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  padding: 0 10px;
  background: none;
  color: var(--ink);
}
/* 顶栏里的语言块不要再套灰底，跟主题按钮保持同一层视觉 */
.lang--menu { padding: 0; background: none; }
/* 小屏上语言块再收一点，避免和品牌挤在一起 */
@media (max-width: 480px) {
  .lang .lang__btn { padding: 0 6px; }
  .lang__btn svg { width: 18px; height: 18px; }
}

/* ── 顶栏控件之间收一收 ──
   主题按钮和语言块中间原来是 10px 的 flex gap + 按钮各自的左右内边距，
   视觉上像一条空带。这里把 gap 收到 2px，并去掉按钮的外侧内边距。 */
.topbar__right { gap: 2px; }
.themebtn { padding-left: 8px; padding-right: 8px; }
.lang .lang__btn { padding-left: 4px; padding-right: 6px; }

/* 主桅第四列（Send an inquiry + WhatsApp）已按客户要求移除，
   网格从「3 列 + auto」改成纯 3 列，否则右侧会留一块空白。 */
.mast__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .mast__cols { grid-template-columns: minmax(0, 1fr); }
}

/* ══ 信息弹层 ══
   正文里不再铺三张大卡（客户要求页面干净），改成页脚三个关键词点开。
   .info 从「页面区块」变成「覆盖全屏的弹层」。 */
.info--modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  padding: clamp(16px, 5vh, 48px) 0;
  overflow-y: auto;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
}
.info--modal[hidden] { display: none; }
.info--modal.is-open { display: block; }
/* 弹层里的内容收成一个白卡片 */
.info--modal .shell {
  margin-inline: auto;
  max-width: min(1100px, calc(100% - 32px));
  padding: clamp(20px, 3vw, 36px);
  background: var(--bg);
  border-radius: 18px;
}
.info--modal .info__grid { margin-top: 18px; }
.info__close {
  position: fixed;
  right: max(16px, calc((100vw - 1100px) / 2 - 8px));
  top: clamp(10px, 4vh, 40px);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  z-index: 71;
}
.info__close svg { width: 20px; height: 20px; }
body.info-open { overflow: hidden; }

/* 页脚的关键词链接：和别的页脚链接同一行，稍微强调一点 */
.foot__info { font-weight: 700; }

/* 弹层里一次只显示一块，所以内容区改成单列（三列时单独一个卡会很窄） */
.info--modal .info__grid { grid-template-columns: minmax(0, 1fr); }
/* 被隐藏的卡片不占位 */
.info--modal .icard[hidden] { display: none; }

/* 「We accept」标签已按客户要求去掉，支付方式直接出现。
   去掉标签后原来的上下留白显得空，这里重新配垂直间距：
   和上面「Follow us」一排之间 18px，和下面品牌名之间 22px。 */
.foot__pay { margin-top: 18px; margin-bottom: 22px; padding: 0; }
.pay { gap: 8px 10px; }
/* 手机端再收一点，避免支付卡换行后把页脚拉长 */
@media (max-width: 560px) {
  .foot__pay { margin-top: 14px; margin-bottom: 18px; }
  .pay { gap: 6px 8px; }
}

/* ══ 主桅三列：可折叠 ══
   客户要求默认只显示标题，点开才看说明。
   用原生 <details>/<summary>，键盘和读屏天然支持，不需要写 JS。 */
.mast__col > .mast__k {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 2px 0;
}
.mast__col > .mast__k::-webkit-details-marker { display: none; }
/* 右侧一个小三角，展开时翻转 */
.mast__col > .mast__k::after {
  content: "";
  width: 7px; height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s var(--ease);
  opacity: .55;
}
.mast__col[open] > .mast__k::after { transform: rotate(-135deg) translateY(-2px); }
.mast__col > .mast__v { margin-top: 8px; }
/* 收起时说明完全不占位 */
.mast__col:not([open]) > .mast__v { display: none; }

/* 主桅只剩一列（How it works），靠左上，不再三列铺开。
   客户要求移除 Departments 和 Reach us。 */
.mast__cols { grid-template-columns: minmax(0, 1fr); max-width: 46ch; }
.mast__col > .mast__k::after { margin-left: 10px; }

/* 主桅顶部的说明块：放在大标题之前，靠左，宽度收窄好读 */
.mast__cols { margin-top: 0; margin-bottom: clamp(14px, 2vw, 24px); }
/* 顶栏品牌去掉方块和副标题后，只剩一行字 */
.brand__text i { display: none; }
/* 页脚品牌名已删除，把下面链接的间距补回来 */
.foot__links { margin-top: 4px; }

/* 说明块放在说明段之后 —— 不能放到大标题上方，
   那会被判成「眉标（eyebrow）」，房子规则禁止标题上方挂小标签。 */
.mast__cols { margin-top: clamp(16px, 2vw, 26px); margin-bottom: 0; }

/* 客户要求把巨大的「PANDA BUY」标题和下方说明段从页面上移除。
   但它们承载 SEO（h1）和读屏语义，所以不删 DOM，改成「视觉隐藏」：
   占 1px、裁掉溢出，搜索引擎和读屏照常读，页面上看不见。 */
.mast__name,
.mast__say {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* 标题和说明都藏了，说明块就是主桅唯一的内容，重新配间距 */
.mast__band { padding-top: clamp(8px, 1.4vw, 16px); }
.mast__cols { margin-top: 0; }

/* ══ 「How it works」搬到状态栏最左侧 ══
   顶栏是三区网格：左 1fr / 中间品牌 / 右 1fr。
   它落进第 1 列，默认收起，状态栏高度不变。 */
.topbar__how {
  grid-column: 1;
  justify-self: start;
  margin: 0;
  max-width: none;
}
.topbar__how .mast__k { font-size: 13px; gap: 6px; }
.topbar__how .mast__k::after { margin-left: 6px; }
/* 展开时说明浮在下面，不把整条状态栏撑高 */
.topbar__how { position: relative; }
.topbar__how .mast__v {
  position: absolute;
  left: 0; top: calc(100% + 8px);
  z-index: 40;
  width: max-content;
  max-width: 34ch;
  margin: 0;
  padding: 12px 14px;
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16); /* taste-skill-ignore 浮层菜单，规则允许 */
}
/* 主桅现在没有可见内容了，收掉多余留白 */
.mast__band { padding-block: 0; }

/* 支付方式的浅色底板原来 padding: 0，卡片上下贴着边缘，
   看起来像一条被压扁的灰带。给底板补上垂直内边距。 */
.foot__pay { padding: 14px 16px; border-radius: 14px; }
@media (max-width: 560px) {
  .foot__pay { padding: 12px 10px; border-radius: 12px; }
}

/* ══ 去掉主桅区块留下的空白 ══
   标题和说明段都改成「视觉隐藏」之后，这个 section 里没有可见内容了，
   但全局 section 的上下内边距还在（56–104px），页面顶部因此空出一大块。
   这里把它压平；h1 仍在 DOM 里给搜索引擎读。 */
.mast { padding-block: 0; margin: 0; }
.mast__band { padding-block: 0; min-height: 0; }
/* 促销图带紧贴顶栏 */
.promo { margin-top: 0; }

/* 顶栏三区网格：原来写的是 1fr auto 1fr，
   但 1fr 的实际下限是内容宽度 —— 左边「How it works」比右侧控件宽，
   就把左列撑大、把中间的品牌推偏了。
   改成 minmax(0, 1fr) 两边强制等宽，品牌才是真正的几何正中。 */
.topbar__in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.topbar__how, .topbar__right { min-width: 0; }

/* 页脚三个信息链接之前被我加粗，和 WhatsApp / Email / Inquiry 不一致。
   客户要求统一 —— 全部用同一字重，靠下划线区分可点。 */
.foot__info { font-weight: inherit; }
.foot__links a { font-weight: 400; }

/* 顶栏里的这个块被 .mast__cols 的 margin-top 顶下去了 7px（同权重、后写的赢）。
   用 .topbar .topbar__how 提高权重压回去，并强制垂直居中。 */
.topbar .topbar__how {
  margin: 0;
  align-self: center;
  line-height: 1;
}
.topbar .topbar__how .mast__col,
.topbar .topbar__how details { margin: 0; align-content: center; }
.topbar .topbar__how .mast__k { padding: 0; line-height: 1; }

/* 真正的原因：.mast__cols 自带 padding-top: 18px（原本是主桅里的分隔留白），
   块本身居中在 12px 处，内容却被这 18px 压到了 30px —— 所以看起来偏低 7px。 */
.topbar .topbar__how { padding: 0; border: 0; }

/* ══ 客户评价：手风琴画廊 ══
   效果参考 React Bits / AccordionGallery。
   一排竖面板，悬停或键盘聚焦的那一块展开（flex-grow），
   其余收窄；展开时内部图片反向位移形成视差。 */

.rvacc {
  display: flex;
  gap: var(--rvacc-gap, 10px);
  height: var(--rvacc-h, 460px);
  width: 100%;
}

.rvacc__p {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--rvacc-radius, 16px);
  background: var(--surface);
  overflow: hidden;
  cursor: zoom-in;
  transition: flex-grow var(--rvacc-dur, .6s) var(--ease, cubic-bezier(.16,1,.3,1));
  -webkit-tap-highlight-color: transparent;
}
.rvacc__p.is-open { flex-grow: var(--rvacc-ratio, 3.8); }
.rvacc__p:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* 图片统一裁切填充；展开时轻微反向位移做视差 */
.rvacc__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--rvacc-dur, .6s) var(--ease, cubic-bezier(.16,1,.3,1)),
              filter .24s var(--ease);
}
.rvacc__p.is-open .rvacc__img { transform: scale(1.04) translateX(-1.5%); }

/* 默认灰度，贴近站点单色系；悬停的这块恢复彩色，注意力自然落上去 */
.rvacc.is-gray .rvacc__img { filter: grayscale(1) contrast(1.05); }
.rvacc.is-gray .rvacc__p.is-open .rvacc__img { filter: grayscale(0) contrast(1); }

/* 说明文字：只在展开的那块出现，压在图片底部，加一层暗底保证可读 */
.rvacc__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 16px 14px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
  pointer-events: none;
}
.rvacc__p.is-open .rvacc__cap { opacity: 1; transform: none; }

/* 手机端：竖面板太窄没意义，改成横向滚动的一排卡片 */
@media (max-width: 760px) {
  .rvacc {
    height: auto;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .rvacc__p,
  .rvacc__p.is-open {
    flex: 0 0 auto;
    width: 76%;
    height: var(--rvacc-h, 460px);
    flex-grow: 0;
    scroll-snap-align: center;
  }
  .rvacc__cap { opacity: 1; transform: none; }
}

/* 系统开了「减弱动态效果」：不做 transition，说明常显 */
@media (prefers-reduced-motion: reduce) {
  .rvacc__p,
  .rvacc__img,
  .rvacc__cap { transition: none; }
  .rvacc__cap { opacity: 1; transform: none; }
}

/* 手风琴画廊需要整宽才有意义 —— 
   评价区默认是「左说明 / 右图」两栏，画廊落在右栏里每块只有几十像素。
   用 :has() 判断：有 .rvacc 时改成单栏，画廊占满宽度。 */
.reviews__panel:has(.rvacc) {
  display: block;
}
.reviews__panel:has(.rvacc) .reviews__stage {
  margin-top: clamp(16px, 2vw, 26px);
  width: 100%;
}
.reviews__panel:has(.rvacc) .reviews__side {
  display: block;
  max-width: 60ch;
}

/* ══ 客户评价：3D 深度轨道（DepthCarousel）══
   参考 React Bits / DepthCarousel。
   所有卡片叠在中心，按「离当前卡的距离」用 transform 排出纵深 ——
   近的大而清晰，远的缩小、后推、模糊、变暗。 */
.rvdepth {
  position: relative;
  width: 100%;
  height: calc(var(--rvh, 380px) + 76px);
  perspective: var(--rvpersp, 1400px);
  perspective-origin: 50% 45%;
  outline: none;
}
.rvdepth:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 12px; }

.rvdepth__rail {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.rvdepth__c {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--rvw, 300px);
  height: var(--rvh, 380px);
  padding: 0;
  border: 0;
  border-radius: var(--rvr, 18px);
  background: var(--rvtint, #05060a);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform var(--rvdur, 700ms) cubic-bezier(.22,.9,.24,1),
              opacity var(--rvdur, 700ms) cubic-bezier(.22,.9,.24,1),
              filter var(--rvdur, 700ms) cubic-bezier(.22,.9,.24,1);
  -webkit-tap-highlight-color: transparent;
}
.rvdepth__c.is-on { cursor: zoom-in; }
.rvdepth__c:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.rvdepth__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 暗色染罩：让远处的卡片沉进背景里，近处仍透出画面 */
.rvdepth__c::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--rvtint, #05060a);
  opacity: .18;
  pointer-events: none;
  transition: opacity var(--rvdur, 700ms) cubic-bezier(.22,.9,.24,1);
}
.rvdepth__c.is-on::after { opacity: 0; }

/* 控制条：左右箭头 + 圆点页码 */
.rvdepth__bar {
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.rvdepth__nav {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.rvdepth__nav:disabled { opacity: .35; cursor: default; }
.rvdepth__nav:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.rvdepth__dots { display: flex; align-items: center; gap: 7px; }
.rvdepth__dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background .16s var(--ease), width .16s var(--ease);
}
.rvdepth__dot.is-on { width: 22px; border-radius: 4px; background: var(--ink); }
.rvdepth__dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* 手机端：卡片按屏宽缩，避免溢出 */
@media (max-width: 760px) {
  .rvdepth {
    --rvw: min(78vw, 300px);
    --rvh: min(64vh, 380px);
    height: calc(min(64vh, 380px) + 68px);
  }
  .rvdepth__bar { gap: 14px; }
}

/* 系统开了「减弱动态效果」：不做过渡、不自动播、不加模糊 */
@media (prefers-reduced-motion: reduce) {
  .rvdepth__c,
  .rvdepth__c::after { transition: none; }
}

/* 3D 轨道和手风琴一样需要整宽：两栏布局下右栏只有 460px，
   300px 的卡片会挤在一起看不清纵深。 */
.reviews__panel:has(.rvdepth) {
  display: block;
}
.reviews__panel:has(.rvdepth) .reviews__stage {
  margin-top: clamp(16px, 2vw, 26px);
  width: 100%;
}
.reviews__panel:has(.rvdepth) .reviews__side {
  display: block;
  max-width: 60ch;
}

/* ══ 客户评价：瀑布流（Masonry）══
   参考 React Bits / Masonry。用 CSS 多列实现「高度均衡」（gaps optimization），
   入场做位移 + 透明度 + 模糊到清晰的过渡，按索引错开延迟。 */
.rvmas {
  columns: 3;
  column-gap: clamp(10px, 1.4vw, 16px);
}

.rvmas__c {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(10px, 1.4vw, 16px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;          /* 关键：不让卡片被拆到两列 */
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  -webkit-tap-highlight-color: transparent;

  /* 入场初态 */
  opacity: 0;
  transform: var(--rvmas-from, translateY(28px));
  filter: blur(8px);
  transition: opacity var(--rvmas-dur, .6s) var(--ease) var(--rvmas-delay, 0s),
              transform var(--rvmas-dur, .6s) var(--ease) var(--rvmas-delay, 0s),
              filter var(--rvmas-dur, .6s) var(--ease) var(--rvmas-delay, 0s);
}

/* 入场终态 */
.rvmas.is-in .rvmas__c { opacity: 1; transform: none; filter: none; }
/* 关掉 blurToFocus 就不做模糊 */
.rvmas:not(.has-blur) .rvmas__c { filter: none; }

.rvmas__img { display: block; width: 100%; height: auto; }

/* 说明文字压在图片底部，悬停才出 */
.rvmas__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 12px 10px;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 600;
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, .74), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
.rvmas__c:hover .rvmas__cap,
.rvmas__c:focus-visible .rvmas__cap { opacity: 1; }

/* 悬停缩放（默认 0.95，即轻微缩进） */
.rvmas.has-scale .rvmas__c .rvmas__img {
  transition: transform .24s var(--ease);
  transform-origin: center;
}
.rvmas.has-scale .rvmas__c:hover .rvmas__img,
.rvmas.has-scale .rvmas__c:focus-visible .rvmas__img {
  transform: scale(var(--rvmas-scale, .95));
}

.rvmas__c:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* 响应式列数 */
@media (max-width: 1100px) { .rvmas { columns: 2; } }
@media (max-width: 620px)  { .rvmas { columns: 1; } }

/* 系统开了「减弱动态效果」：不位移、不模糊，直接显示 */
@media (prefers-reduced-motion: reduce) {
  .rvmas__c {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .rvmas.has-scale .rvmas__c:hover .rvmas__img { transform: none; }
}

/* 说明文字 12.5px 低于规范下限（13px），检查器判 FAIL。提到 13px。 */
.rvmas__cap { font-size: 13px; }

/* 瀑布流同样需要整宽：两栏布局下右栏只有 460px，三列每张才 143px，看不清。 */
.reviews__panel:has(.rvmas) { display: block; }
.reviews__panel:has(.rvmas) .reviews__stage {
  margin-top: clamp(16px, 2vw, 26px);
  width: 100%;
}
.reviews__panel:has(.rvmas) .reviews__side {
  display: block;
  max-width: 60ch;
}

/* 多列没有真正分流（全堆在第一列）：显式要求平衡填充，
   并保证容器高度由内容撑开，浏览器才会把卡片均分到各列。 */
.rvmas {
  column-fill: balance;
  height: auto;
  break-inside: auto;
}

/* 旧轮播的控件（‹ › 12/12）本该被 hidden 隐藏，
   但 .reviews__nav 自己的 display: flex 覆盖了 [hidden] 的 display: none。
   补一条显式规则，四种评价布局都靠它把旧控件收掉。 */
.reviews__nav[hidden] { display: none; }


/* 装饰层：两张实心圆片，被 #pb-goo 滤镜糊成一团，
   一张留在按钮处，一张在展开时往菜单方向拉 —— 形成「拉丝」的粘性过渡。 */
/* 展开时往上拉长，和菜单连成一片 */
/* 按下时轻微压扁 —— 手感的「Q 弹」 */

/* 按钮本体：悬停放大一点点，按下压扁，和装饰层呼应 */
.fab {
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
@media (hover: hover) {
  .fab:hover { transform: scale(1.06); }
}
.fab:active { transform: scale(.94); }

/* 减少动效：不做形变，装饰层直接不显示 */
@media (prefers-reduced-motion: reduce) {
}


/* 展开判定：菜单面板从 hidden 变成可见时，装饰层往上拉长。
   用 :has() 就不用改 JS，也不用额外维护一个 body class。 */
/* 之前那条 body.agents-open 的规则从没生效过（JS 没有这个 class），上面这条替代它。 */

/* 轮播箭头换成 Solar 双箭头（duotone 两层 path），
   svg 尺寸要显式给，否则撑成默认 300×150。 */
.rvdepth__nav svg { width: 22px; height: 22px; display: block; }
.rvdepth__nav { font-size: 0; }   /* 清掉原来 > ‹ 字符留下的行高偏移 */

/* ══ Track 按钮：悬停底色变化 + 上浮 ══
   效果参考 Animata / Get started button（MIT）。
   原版用渐变流动，本站单色系统禁渐变，改成「底色换一档 + 上浮」。

   之前用 color-mix 算浅色，实测在浏览器里解析出的 oklab 和原色几乎相同，
   肉眼等于没变。这里直接写两组实色，深浅主题各一套，不依赖色彩换算。

   注意：「减少动效」只关位移和过渡，底色变化保留 ——
   那是状态反馈，不是动画，关掉反而让人以为按钮没反应。 */
.track__btn {
  transition: background-color .28s cubic-bezier(.22,.9,.24,1),
              transform .18s var(--ease),
              box-shadow .28s var(--ease);
}
@media (hover: hover) {
  .track__btn:hover {
    background-color: #3A3A3A;                      /* 浅色主题：黑 → 深灰 */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22); /* taste-skill-ignore 悬停浮起，规则允许 */
  }
}
[data-theme="dark"] .track__btn:hover { background-color: #D6D6D6; }   /* 深色主题：白 → 浅灰 */
.track__btn:focus-visible { background-color: #3A3A3A; }
[data-theme="dark"] .track__btn:focus-visible { background-color: #D6D6D6; }
.track__btn:active { transform: translateY(0); }

/* 减少动效：不动、不加影子，但底色反馈还在 */
@media (prefers-reduced-motion: reduce) {
  .track__btn { transition: none; }
  .track__btn:hover, .track__btn:focus-visible { transform: none; box-shadow: none; }
}

/* ══ 修复：多单号列表选中态黑底黑字 ══
   原来写的是 background: var(--ink); color: var(--accent-ink);
   但浅色主题下 --ink 和 --accent-ink 都是 #111 —— 文字完全看不见。
   改用 --bg（页面底色）当文字色：浅色主题是白字压黑底，
   深色主题是深字压白底，两边都成立。 */
.track__pick.is-on { background: var(--ink); color: var(--bg); }
.track__pick.is-on .track__pick-n { color: var(--bg); }
.track__pick.is-on .track__pick-s { color: var(--bg); opacity: .72; }
/* 查不到的号在选中态也要保持可读的告警色 */
.track__pick.is-on .track__pick-s.is-bad { color: var(--bg); opacity: .72; }

/* ══ Track 按钮：滑动箭头（Slide Arrow Button）══
   效果参考 Animata / Slide Arrow Button（MIT）。
   悬停时箭头从左侧滑入、文字整体右移 —— 就是「label shift + sliding chevron」。

   默认箭头缩在左边、透明；悬停时滑到位并显形。
   transform 用 translateX（不用 left）—— 走合成层，60fps 不掉帧。 */
.tbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.tbtn__arrow {
  display: inline-flex;
  align-items: center;
  width: 0;
  transform: translateX(-14px);
  opacity: 0;
  transition: width .3s cubic-bezier(.22,.9,.24,1),
              transform .3s cubic-bezier(.22,.9,.24,1),
              opacity .22s var(--ease);
}
.tbtn__arrow svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tbtn__label {
  display: inline-block;
  transition: transform .3s cubic-bezier(.22,.9,.24,1);
}

@media (hover: hover) {
  .tbtn:hover .tbtn__arrow {
    width: 20px;              /* 占出位置，文字自然被推开 */
    transform: none;
    opacity: 1;
  }
  .tbtn:hover .tbtn__label { transform: translateX(4px); }
}
/* 键盘聚焦同样给出箭头，不只鼠标用户 */
.tbtn:focus-visible .tbtn__arrow { width: 20px; transform: none; opacity: 1; }
.tbtn:focus-visible .tbtn__label { transform: translateX(4px); }

/* 减少动效：箭头常显、不做位移 */
@media (prefers-reduced-motion: reduce) {
  .tbtn__arrow { width: 20px; transform: none; opacity: 1; transition: none; }
  .tbtn__label { transform: none; transition: none; }
}

/* ══ 询盘区左栏：联系方式 ══
   两列网格：左边标签（小字、灰），右边值（正文、可点）。
   放在三个卖点下面、WhatsApp 胶囊上面。 */
.inquiry__contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  margin: 18px 0 0;
  font-size: var(--fs-small);
}
.inquiry__ck { margin: 0; color: var(--ink-3); }
.inquiry__cv { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.inquiry__cv a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.inquiry__cv a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }

/* ══ 表单字段：聚焦微交互 ══
   字段整体轻微上浮 + 输入框描边变深，标签同步变色 ——
   让「正在填哪个」一眼看得出来，不用加发光或彩色。 */
.fld { transition: transform .18s var(--ease); }
.fld:focus-within { transform: translateY(-1px); }
.fld > span:first-child { transition: color .18s var(--ease); }
.fld:focus-within > span:first-child { color: var(--ink); }
.fld input,
.fld textarea {
  transition: border-color .18s var(--ease),
              box-shadow .18s var(--ease),
              background-color .18s var(--ease);
}
.fld input:focus,
.fld textarea:focus {
  box-shadow: inset 0 0 0 2px var(--ink); /* taste-skill-ignore 聚焦态，规则允许 */
}

@media (prefers-reduced-motion: reduce) {
  .fld,
  .fld input,
  .fld textarea,
  .fld > span:first-child { transition: none; }
  .fld:focus-within { transform: none; }
}

/* ══ 询盘区：联系方式卡片（上下排列）══
   每项一张浅底圆角卡：图标 + 标题一行，内容在下面。
   参考版式来自客户给的截图，颜色和圆角沿用站点令牌。 */
.inquiry__contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 20px 0 0;
  font-size: var(--fs-small);
}
.ccard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 16px 18px;
  background: var(--card);
  border-radius: 14px;
}
.ccard__ic {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  color: var(--ink);
}
.ccard__ic svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ccard__k {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink);
}
.ccard__v {
  grid-column: 1 / -1;          /* 内容压到下一行，跨满整张卡 */
  padding-left: 36px;           /* 和图标右缘对齐 */
  color: var(--ink-3);
  overflow-wrap: anywhere;
}
.ccard__v a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }
.ccard__v a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }

/* 只显示联系方式时，表单和右栏一起收掉，整块单列 */
.inquiry__panel.is-contact-only { display: block; }
.is-contact-only .form,
.is-contact-only .inquiry__alt { display: none; }
.is-contact-only .inquiry__side { max-width: 62ch; }

@media (max-width: 560px) {
  .ccard { padding: 14px 14px; }
  .ccard__v { padding-left: 0; }
}

/* 修：is-contact-only 是加在 <section> 上的，不是 panel 自己，
   所以选择器要写成后代而不是自身。 */
.inquiry.is-contact-only .inquiry__panel { display: block; }
.inquiry.is-contact-only .inquiry__side { max-width: 62ch; }

/* ══ 撤掉表单聚焦微交互（客户觉得黑框太丑）══
   回到最初那版：输入框聚焦时只用浏览器默认 / 原有的细描边，
   不做整块上浮、不加 2px 内侧黑框、标签也不变色。 */
.fld { transform: none !important; transition: none; }
.fld:focus-within { transform: none; }
.fld > span:first-child { transition: none; }
.fld:focus-within > span:first-child { color: inherit; }
.fld input:focus,
.fld textarea:focus { box-shadow: none; }
/* 保留一条克制的聚焦提示：只把描边换成主题色，不加粗、不内嵌 */
.fld input:focus-visible,
.fld textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

/* 客户反馈文字的背景框原来只占内容的宽度（约一半），
   要求「整条对齐」—— 让它撑满左栏整个宽度。 */
.reviews__cap {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* 说明框要「整条对齐」到整个区块的宽度，而不是只占左栏。
   左栏原本限了 max-width: 60ch（为了标题好读），把说明框也一起困住了。
   这里松开左栏，单独给标题和副标题限宽 —— 说明框就能撑满整条。 */
.reviews__panel:has(.rvdepth) .reviews__side { max-width: none; }
.reviews__panel:has(.rvdepth) .reviews__side > .sec-head__title,
.reviews__panel:has(.rvdepth) .reviews__side > .reviews__sub {
  max-width: 60ch;
}
.reviews__cap { width: 100%; max-width: none; }
