/* =============================================================
   一级页面 · 框架样式  v2
   按设计稿修正：
   - 顶部三段式（渐变标题条 / 信息细条 / 主导航）
   - 内容栏收窄为 800px，左右保留设计稿的大白边；Hero/Banner/Gift/底部仍通栏
   - 文字卡片更紧凑、按钮贴近文案、Creative 首行左宽右窄
   - 底部世界地图剪影 + 纯黑 Footer
   - ?blocks=1 进入纯色块线框模式
   - 自托管 Inter 可变字体（assets/fonts/），无外网依赖
   ============================================================= */

/* =============================================================
   Inter · SIL Open Font License 1.1（授权文本见 assets/fonts/LICENSE.txt）
   InterVariable.woff2（344 KB）：官方完整可变字体，字重 100–900 一个文件，
   覆盖 Latin / 希腊 / 西里尔 / 箭头等常用符号。
   想再省流量可把 src 换成 inter-latin-var.woff2（47 KB，仅 Latin 子集，
   特殊符号会回退到系统字体）。
   ============================================================= */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0aa5e9;
  --blue-dark: #0789c4;
  --blue-deep: #3f63ab;
  --peach: #f4d5c3;
  --paper: #f5f5f5;   /* 设计稿实测背景色 */
  --white: #fff;
  --ink: #14161a;
  --muted: #6d7480;
  --line: #e7e9ed;
  --ph-bg: #e9edf2;
  /* 模块圆角：原稿 5px，用户要求改大到 15px（只用这一个变量，全站模块/图片位统一生效）。
     模块「之间」是分开的、要有可见间隙：同排两卡间实测 ≈12px，上下两排间 ≈9px。 */
  --radius: 15px;
  /* 模块主标题：设计稿 PS 参数 Arial / Bold / 50点 / 行距81.22点(1.62倍) / 字间距10。
     50pt 直接搬网页=66px 会撑爆内容栏，按内容栏缩放(910→662)换算 → 46px。
     想再大/再小只改这一个数。 */
  --section-title-size: 32px;
  /* Hero 文字：设计稿 PS 参数（同 50点→32px 换算，比例 0.64）
     主标题 Arial/Bold/36点 → 23px；副标题 Arial/Regular/24点 → 15px；按钮 Arial/Bold/21点 → 13px */
  --hero-title-size: 23px;
  --hero-sub-size: 15px;
  --hero-btn-size: 13px;
  /* 图文白底模块 text-card：设计稿 PS 参数（同 50点→32px 换算，比例 0.64）
     标题 Arial/Bold/27点 → 17px；说明 Arial/Regular/21点 → 13px；按钮 Arial/Bold/21点 → 13px */
  --textcard-title-size: 17px;
  --textcard-desc-size: 13px;
  --textcard-btn-size: 13px;
  /* 蓝色按钮统一长度（Hero / 长条卡 / 耳机卡共用这一个数） */
  --cta-width: 169px;
  --card-gap: 12px;   /* 同排模块之间（两卡 / 三图） */
  --row-gap: 10px;    /* 上下两排模块之间 */
  /* 通栏大块（Hero / Banner / Gift）之间的白色缝宽，效果不好改这一个数即可 */
  --block-gap: 5px;
  /* 轮播翻页箭头：设计稿 1143px 宽，三图区 910px；网页内容栏 662px，换算系数 0.7275
     稿：圆按钮 ≈66px → 48px；按钮到第三张图 ≈53px → 40px */
  --arrow-size: 48px; /* 圆形按钮直径 */
  --arrow-gap: 40px;  /* 图片右边缘 → 按钮左边缘的距离 */
  /* 内容栏：设计稿是窄栏居中、两侧留大白边，约占视口 46%。
     用视口比例而非固定像素，任何预览宽度下白边比例都一致。想调宽窄只改 46vw */
  --wrap: min(46vw, 900px);
  /* 标题目前沿用设计稿的衬线体。想让全站（含所有标题）统一用 Inter，
     把下一行改成：--serif: var(--sans);  改这一处即可全站生效 */
  --serif: Georgia, 'Times New Roman', 'Songti SC', 'STSong', serif;
  /* Inter 只含西文字形，中文自动回退到苹方 / 雅黑等系统字体 */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
/* figure 默认带 40px 外边距，会让图片位内缩、比例失真，必须清零 */
figure { margin: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

/* ============================================================
   公共页头 · 由 assets/js/site-shell.js 注入，所有页面共用
   严格按设计稿：通栏渐变条 / 信息细条 / 主导航，共三段
   ============================================================ */
.sh-wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

/* 渐变色值直接从设计稿取色，逐段过渡，不用近似值 */
.sh-topbar {
  height: 32px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg,
    #3c5fbb 0%, #5f61a0 26%, #806487 42%, #a2666c 57%,
    #c46853 72%, #df6a3e 88%, #eb6b35 100%);
  color: #fff; font: 600 13px/1 var(--sans); letter-spacing: .07em;
}

/* 品牌字：设计稿是带书写感的斜体。以后拿到指定字体文件，只改 --brand-font */
:root { --brand-font: Georgia, 'Times New Roman', serif; }
.sh-brand {
  font-family: var(--brand-font); font-style: italic; font-weight: 700;
  font-size: 14px; color: var(--blue); letter-spacing: .02em;
}

.sh-metabar { height: 32px; background: #fff; border-bottom: 1px solid #eef0f3; }
.sh-metabar__inner {
  height: 100%; display: flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: .04em;
}
.sh-metabar__inner .sh-sep { color: #c8d1dc; font-weight: 400; }
.sh-metabar__inner .sh-sub { color: var(--blue); font-weight: 600; }

.sh-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid #eceef1;
}
.sh-header__inner { height: 44px; display: flex; align-items: center; gap: 22px; }
.sh-logo { display: inline-flex; align-items: center; white-space: nowrap; }
/* 页头 logo：站点根目录 logo.png（512×512，蓝黑 X，透明底），按导航条高度缩放 */
.sh-logo__img { display: block; width: 26px; height: 26px; object-fit: contain; transition: opacity .2s; }
.sh-logo:hover .sh-logo__img { opacity: .75; }
.sh-nav { display: flex; align-items: center; gap: 22px; }
.sh-nav__link { font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .01em; color: #3a4048; white-space: nowrap; }
.sh-nav__link:hover { color: var(--blue); }
.sh-nav__link.is-active { color: #111; font-weight: 800; }
.sh-icon-btn {
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 0; background: none; cursor: pointer; color: #2a3038;
}
.sh-icon-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.sh-search { margin-left: auto; }
.sh-menu-toggle { display: none; }
.sh-mobile-nav { display: none; }

/* ---------- 站内搜索面板 ---------- */
.sh-search-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(20,30,50,.10); z-index: 49;
}
.sh-search-panel[hidden] { display: none; }
.sh-search__inner { padding: 14px 0 16px; }
.sh-search__field {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #d7dde5; border-radius: 6px; padding: 0 12px; height: 38px;
  transition: border-color .2s, box-shadow .2s;
}
.sh-search__field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,165,233,.12); }
.sh-search__field svg { width: 16px; height: 16px; fill: none; stroke: #8a97a8; stroke-width: 1.8; flex: 0 0 auto; }
.sh-search__field input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0;
  font: 400 13px/1 var(--sans); color: var(--ink); background: transparent;
}
.sh-search__field input::placeholder { color: #aab3bf; }
.sh-search__field input::-webkit-search-cancel-button { display: none; }
.sh-search__clear {
  border: 0; background: none; cursor: pointer; color: #9aa4af;
  font-size: 20px; line-height: 1; padding: 0 2px; flex: 0 0 auto;
}
.sh-search__clear:hover { color: #3a4048; }
.sh-search__clear[hidden] { display: none; }
.sh-search__results { margin-top: 8px; max-height: 320px; overflow-y: auto; }
.sh-search__item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 5px; background: none;
  text-align: left; cursor: pointer; font: 400 12px/1.4 var(--sans); color: #2a3038;
}
.sh-search__item:hover, .sh-search__item:focus { background: #f2f7fb; outline: 0; }
.sh-search__kind {
  flex: 0 0 auto; font-size: 9px; font-weight: 700; letter-spacing: .04em;
  color: var(--blue-dark); background: #e8f5fd; border-radius: 3px; padding: 2px 6px;
}
.sh-search__label { flex: 1; min-width: 0; }
.sh-search__label mark { background: #fff2b8; color: inherit; border-radius: 2px; padding: 0 1px; }
.sh-search__empty { margin: 6px 10px 2px; font-size: 12px; color: #8a97a8; }
/* 搜索命中后的短暂高亮 */
.is-search-hit { animation: search-hit 1.6s ease-out; }
@keyframes search-hit {
  0%   { box-shadow: 0 0 0 0 rgba(10,165,233,.55); background: rgba(10,165,233,.16); }
  40%  { box-shadow: 0 0 0 8px rgba(10,165,233,.22); background: rgba(10,165,233,.12); }
  100% { box-shadow: 0 0 0 8px rgba(10,165,233,0); background: transparent; }
}
/* 页头是 sticky，锚点定位时预留高度避免标题被遮住 */
.section__title, .hero__title, .text-card__title, .work-card__title { scroll-margin-top: 120px; }

/* ---------- 图片位（占位态） ---------- */
.media { position: relative; overflow: hidden; background: var(--ph-bg); }
.media.is-empty::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.45) 14px 15px);
  opacity: .5;
}
.media__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.media.is-empty .media__img { display: none; }
.media__ph {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  text-align: center; padding: 8px;
  color: #8a97a8; pointer-events: none;
}
.media:not(.is-empty) .media__ph { display: none; }
.media__ph .tag {
  font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--blue-dark); background: #fff; border: 1px solid #cfe4f1; border-radius: 2px; padding: 2px 7px;
}
.media__ph .dim { font: 400 9px/1.4 var(--sans); color: #7f8c9c; }
.media__ph .opt { font-size: 9px; color: #a3adba; }

/* 比例修饰类 */
.ar-landscape { aspect-ratio: 3 / 2; }
.ar-wide43   { aspect-ratio: 4 / 3; }
.ar-square   { aspect-ratio: 1 / 1; }
.ar-portrait { aspect-ratio: 3 / 4; }
.ar-gift     { aspect-ratio: 2.6 / 1; }

/* ---------- 按钮（贴近设计稿：更小、混合大小写、紧跟文案） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 96px; height: 24px; padding: 0 16px;
  font-size: 9px; font-weight: 700; letter-spacing: .04em;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; border-style: dashed; border-radius: 20px; height: 30px; min-width: 122px; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
/* Hero 按钮文字按设计稿 PS 参数：Arial / Bold / 21点 → 13px / 字间距10 → .01em */
.btn--hero {
  width: var(--cta-width); min-width: 0; height: 33px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: var(--hero-btn-size); letter-spacing: .01em;
  align-items: center; justify-content: center; text-align: center;
}

/* ---------- 两个全宽 Hero ---------- */
/* 通栏模块之间统一留白色缝：Hero1↔Hero2、Hero2↔内容区、Banner↔Gift、Gift↔内容区。
   用白色下边框而不是 margin —— margin 露出的会是页面灰底，边框才是白色。 */
.hero, .banner { border-bottom: var(--block-gap) solid #fff; }
/* Gift 不设 border-bottom：它后面紧接页尾，页尾 .sh-footer 已有 border-top 白缝。
   若这里再加一条就会和页尾的叠成 10px（别处都是 5px），导致这条缝明显偏宽。 */
/* 页头↔首个 Hero、内容区↔Banner、内容区↔页尾，也补上同样的白缝 */
main { border-top: var(--block-gap) solid #fff; }
.banner { border-top: var(--block-gap) solid #fff; }
/* Hero 严格铺满视口宽度 + 按原图比例零裁切。
   关键点：只用 width:100% + aspect-ratio，绝不再加 min-height —— min-height 会
   反过来按宽高比把宽度撑大（老 bug：340px×4=1360px 溢出/留白）。
   1.jpg=2546:749(3.40:1)、2.jpg=2546:742(3.43:1)，容器取同比例 → object-fit:cover 零裁切，
   笔记本 / 手机 / 人物都能完整显示，和设计稿一致。 */
.hero { position: relative; width: 100%; aspect-ratio: 2546 / 749; overflow: hidden; }
.hero--peach { aspect-ratio: 2546 / 742; }
.hero .media { position: absolute; inset: 0; }
.hero__inner { position: relative; z-index: 3; height: 100%; }
.hero__copy { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); max-width: 340px; }
/* 按设计稿 PS 参数：主标题 Arial/Bold，副标题 Arial/Regular */
.hero__title {
  margin: 0 0 2px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: var(--hero-title-size); line-height: 1.2; letter-spacing: .01em;
}
.hero__sub {
  margin: 0 0 16px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 400;
  font-size: var(--hero-sub-size); line-height: 1.6; letter-spacing: 0; color: #3c4148;
}
.hero--dark { background: #d9dee4; }
.hero--peach { background: var(--peach); }
/* 占位态保留各区块底色 */
.hero--peach .media.is-empty { background: var(--peach); }
.banner .media.is-empty { background: #e9e6e0; }
.gift .media.is-empty { background: rgba(255,255,255,.14); }
.gift .media.is-empty::before { background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.12) 14px 15px); }
.gift .media__ph .tag { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.gift .media__ph .dim, .gift .media__ph .opt { color: rgba(255,255,255,.7); }

/* ---------- 通用区块（设计稿区块间距很紧凑） ---------- */
.section { padding: 34px 0; }
.section--tight { padding-top: 11px; }
/* 区块主标题：按设计稿 PS 参数 Arial / Bold / 50点 / 行距1.62 / 字间距10 */
.section__title {
  margin: 0 0 42px; text-align: center;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: var(--section-title-size);
  line-height: 1.62;
  letter-spacing: .01em;
}

/* ============================================================
   一体化模块 unit-card（严格按设计稿）
   逻辑：一个白底 + 5px 圆角的矩形就是「一个模块」；图片贴着白底卡片的边放，
        没有素材的地方自然露白底，图片与文字之间不留缝、不是两个块。
        ⚠ 图片四周不再内缩留白边，否则会像套了个白框。
   两种形态：
     A 长条左右 —— 图贴左/上/下三边（约 58.8%），右侧白底放文字（41.2%），
                   卡片高 ≈ 0.29 × 内容栏宽（稿 492 / 1696）。
     B 上下     —— 图贴上/左/右三边，下方白底放文字（图片顶部两角随卡片圆角），
                   图片 ≈ 2:1，整卡高 ≈ 0.81 × 卡宽（稿 739 / 910）。
   ============================================================ */
.unit-card { background: #fff; border-radius: var(--radius); overflow: hidden; }
/* 白底模块里未上传素材的位置直接露白底，不再显示灰色斜纹占位 */
.unit-card .media.is-empty { background: #fff; }
.unit-card .media.is-empty::before,
.unit-card .media.is-empty .media__ph { display: none; }
/* 模块内按钮：胶囊形，稿 218×33 @2x（约 218 × 33 CSS） */
.unit-card .btn {
  height: 33px; padding: 0 20px; font-size: 11px;
  letter-spacing: .02em; border-radius: 999px;
  /* PS 按钮 307.9×45.28（宽高比6.8:1），文字上下左右居中 */
  align-items: center; justify-content: center; text-align: center;
}

/* 形态 A：长条左右 */
.feature-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: 0; margin-bottom: var(--row-gap); }
.feature-row > .media { aspect-ratio: 2 / 1; min-height: 0; }
.text-card { background: #fff; padding: 18px 6% 18px 14%; display: flex; flex-direction: column; justify-content: center; }
/* text-card 文字按设计稿 PS 参数：标题 Arial/Bold，说明 Arial/Regular，按钮 Arial/Bold，字间距10→.01em */
.text-card__title {
  margin: 0 0 8px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: var(--textcard-title-size); line-height: 1.2; letter-spacing: .01em; color: #14161a;
}
.text-card__desc {
  margin: 0 0 18px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 400;
  font-size: var(--textcard-desc-size); line-height: 1.45; letter-spacing: .01em; color: #4a515b;
}
.text-card .btn {
  align-self: flex-start; width: var(--cta-width); min-width: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: var(--textcard-btn-size); letter-spacing: .01em;
}

/* 形态 B：上下（两列等宽，同排间距按稿 12px） */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--card-gap); }
.work-card { background: #fff; }
/* 图片贴卡片上/左/右三边：无内缩、无白边；顶部两角由 unit-card 的 overflow 裁出 5px 圆角 */
.work-card .media { aspect-ratio: 2 / 1; margin: 0; border-radius: 0; }
.work-card__body { padding: 12px 20px 14px; }
/* 与 text-card 统一：同类卡片文字用同一套 PS 参数（Arial / 标题 Bold 17px / 说明 Regular 13px） */
.work-card__title {
  margin: 0 0 8px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: var(--textcard-title-size); line-height: 1.2; letter-spacing: .01em; color: #14161a;
}
.work-card__desc {
  margin: 0 0 14px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 400;
  font-size: var(--textcard-desc-size); line-height: 1.45; letter-spacing: .01em; color: #4a515b;
}
.work-card .btn { width: var(--cta-width); min-width: 0; }

/* ---------- Showcase：标题 + 分类 tab + 三图轮播 ---------- */
.tabs { display: flex; justify-content: center; gap: 6px; margin: -2px 0 40px; }
.tab { padding: 2px 9px; font-size: 8px; letter-spacing: .03em; border: 1px solid transparent; border-radius: 2px; background: transparent; color: #9aa2ad; cursor: pointer; }
.tab.is-active { background: var(--blue); color: #fff; }
.tab:hover:not(.is-active) { color: #4a515b; }
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.carousel__page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }
/* 设计稿三图 292×316 = 0.924，正好是原图 1500×1620（25:27），不再裁成正方形 */
.carousel__page .media { aspect-ratio: 25 / 27; border-radius: var(--radius); }
/* right/left = -(按钮直径 + 间距)：按钮整体移进两侧白边，不贴/不压图片 */
.carousel__arrow {
  position: absolute; top: 50%;
  right: calc(-1 * (var(--arrow-size) + var(--arrow-gap)));
  transform: translateY(-50%);
  width: var(--arrow-size); height: var(--arrow-size);
  border-radius: 50%; border: 1px solid rgba(20,30,50,.06); background: #fff;
  box-shadow: 0 4px 16px rgba(20,30,50,.10); cursor: pointer;
  display: grid; place-items: center; color: #2f353d; z-index: 4;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.carousel__arrow svg {
  width: 19px; height: 19px; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.carousel__arrow:hover {
  background: var(--blue); color: #fff; border-color: transparent;
  box-shadow: 0 6px 20px rgba(10,165,233,.28);
  transform: translateY(-50%) scale(1.06);
}
.carousel__arrow:active { transform: translateY(-50%) scale(.97); }

/* 「回来」按钮：设计稿第一屏只有右箭头，翻到下一屏后左侧才淡入 */
.carousel__arrow--prev {
  right: auto; left: calc(-1 * (var(--arrow-size) + var(--arrow-gap)));
  opacity: 0; visibility: hidden; pointer-events: none;  /* visibility 不过渡，回第一屏立即收起 */
  transition: opacity .25s, background .2s, color .2s,
              border-color .2s, box-shadow .2s, transform .2s;
}
.carousel.has-prev .carousel__arrow--prev { opacity: 1; visibility: visible; pointer-events: auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap); }
.grid-3 .media { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.grid-3--portrait .media { aspect-ratio: 3 / 4; }

/* ---------- Other Product：图文交替（同样是长条左右一体化白底卡） ---------- */
.alt-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; margin-bottom: var(--row-gap); }
.alt-row:last-child { margin-bottom: 0; }
.alt-row--flip { grid-template-columns: 1fr 1.35fr; }
.alt-row--flip .alt-row__media { order: 2; }
.alt-row__media { min-height: 0; }
.alt-row > .media { aspect-ratio: 2 / 1; }
.alt-row .text-card { min-height: 0; }

/* ---------- 全宽 Kitchen Banner ---------- */
.banner { position: relative; aspect-ratio: 2.4 / 1; min-height: 340px; overflow: hidden; background: #eceae6; }
.banner .media { position: absolute; inset: 0; }
/* 原图自带标题 / 副标题 / 按钮，页面不再叠加任何文字 */

/* ---------- 蓝色 Gift 区块 ----------
   原图自带 NEED A GIFT 文案与产品静物，整张通栏铺满，页面不再叠加文字 */
.gift {
  position: relative; overflow: hidden; background: var(--blue-deep);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 4px),
                    linear-gradient(180deg, #466bb4 0%, #3a5c9f 100%);
}
.gift__media { width: 100%; margin: 0; }

/* ============================================================
   公共页尾 · 由 assets/js/site-shell.js 注入，所有页面共用
   底图「页尾.jpg」2546×860 自带世界地图剪影、62% 处的全宽分界线
   和底部装饰线，页面不再另画边框。容器等比缩放，文字按百分比定位。
   ============================================================ */
.sh-footer { position: relative; background: #17191d; color: #fff; overflow: hidden; border-top: var(--block-gap) solid #fff; }
.sh-footer__bg {
  position: absolute; inset: 0;
  background: #17191d url('../../页尾.jpg') center top / 100% 100% no-repeat;
}
.sh-footer__inner { position: relative; width: 100%; aspect-ratio: 2546 / 860; }

.sh-footer__statement { position: absolute; top: 17%; left: 0; right: 0; text-align: center; }
.sh-footer__title {
  margin: 0; font: 800 clamp(28px, 2.8vw, 42px)/1.2 var(--sans);
  letter-spacing: .1em; color: #17a8ee;
}
.sh-footer__text {
  margin: 18px 0 0; font-size: clamp(13px, 1.1vw, 17px);
  line-height: 2; letter-spacing: .03em; color: rgba(255,255,255,.82);
}

.sh-footer__cols {
  position: absolute; top: 70%; left: 27%; right: 27%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.sh-footer__name { font: 700 clamp(19px, 2vw, 28px)/1 var(--brand-font); letter-spacing: .04em; }
.sh-footer__contact { display: flex; flex-direction: column; gap: 5px; }
.sh-footer__link { color: #17a8ee; font-size: clamp(13px, 1.15vw, 17px); font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.sh-footer__small { font-size: clamp(11px, 1vw, 14px); color: #9aa4af; letter-spacing: .03em; white-space: nowrap; }
.sh-footer__mail { font-size: clamp(13px, 1.15vw, 17px); color: #e2e7ed; letter-spacing: .03em; white-space: nowrap; }
.sh-footer__mail a { color: inherit; }

/* ---------- 纯色块线框模式（index.html?blocks=1） ---------- */
body.is-wireframe .media__ph { display: none !important; }
body.is-wireframe .media.is-empty::before { display: none !important; }
body.is-wireframe .media.is-empty,
body.is-wireframe .hero--peach .media.is-empty,
body.is-wireframe .banner .media.is-empty,
body.is-wireframe .gift .media.is-empty,
body.is-wireframe .statement .media.is-empty { background: #dde4ec !important; }
body.is-wireframe .media.is-empty { outline: 1px solid #bcc9d7; outline-offset: -1px; }
.wire-tip {
  position: fixed; right: 16px; bottom: 16px; z-index: 99;
  background: var(--blue); color: #fff; padding: 6px 12px; border-radius: 20px;
  font-size: 10px; opacity: .78; box-shadow: 0 4px 16px rgba(10,40,70,.25);
  transition: opacity .2s;
}
.wire-tip:hover { opacity: 1; }

/* ---------- 拖图临时预览的提示条 ---------- */
.drop-toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 120;
  transform: translate(-50%, 14px); opacity: 0; pointer-events: none;
  max-width: min(92vw, 760px); padding: 11px 18px; border-radius: 24px;
  background: rgba(18, 26, 36, .94); color: #fff; font-size: 11px; line-height: 1.6;
  box-shadow: 0 8px 30px rgba(10, 25, 45, .28); transition: opacity .2s, transform .2s;
}
.drop-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body.is-dropping::after {
  content: '松开即可临时预览这些图片'; position: fixed; inset: 12px; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  border: 3px dashed var(--blue); border-radius: 8px; pointer-events: none;
  background: rgba(10, 165, 233, .07); color: var(--blue);
  font: 600 18px/1.5 Arial, "Microsoft YaHei", sans-serif; letter-spacing: .04em;
}

/* =============================================================
   二级产品专题页（xpreen-prime.html）
   -------------------------------------------------------------
   排版系统与一级页面同源：
     标题 Arial Bold · 字间距 .01em · 内容栏 --wrap（46vw / 最大 900px）
     正文 Arial 400，字号按设计稿比例整体放大一档

   三点特殊处理（按设计稿）：
     1. 蓝色大字用「上浅下深的渐变」而不是纯色 —— 设计稿里 Xpreen Prime
        那几个大字是渐变蓝，这里用 background-clip: text 还原
     2. 参数卡以「素材原始分辨率」为底：卡片比例 412:204，产品图按
        100% 宽度铺进卡片，文字压在图上（素材左侧本身是透明的）
     3. 场景轮播：中间完整、左侧露出上一张并压暗、右侧留空，
        切换用 transform + opacity 过渡
   ============================================================= */

body.is-detail { background: #000; }
body.is-detail .wire-tip { display: none; }
.detail { border-top: var(--block-gap) solid #fff; background: #000; }

.d-wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.d-center { text-align: center; }

/* 设计稿里蓝色大字的渐变：上端偏青、中部品牌蓝、下端再提亮 */
.grad-blue,
.d-h2 span,
.d-spec b,
.d-spec--center strong {
  background-image: linear-gradient(90deg, #6aeaff 0%, #1d90f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 文字层级（比上一版整体放大） ---------- */
.d-h2 {
  margin: 0 0 16px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.51vw, 72px);   /* PS 64pt @2546 → 2.51vw */
  line-height: 1.08; letter-spacing: 0; color: #fff;
}
.d-h2 span { font-weight: 700; }

/* 区块标题「由暗到亮」：颜色由滚动进度 --hp（0→1）驱动，
   滚到哪亮到哪，往回滚会自然退回暗色，可以无限次重播
   （--hp 由 detail.js 写在标题的父容器上，副标题/导语一起继承） */
.d-h2.is-dim { color: color-mix(in srgb, #fff calc(var(--hp, 1) * 100%), #15171b); }
.d-h2.is-dim span { color: inherit; }
.d-h2.is-dim ~ .d-h3 { color: color-mix(in srgb, #fff calc(var(--hp, 1) * 100%), #15171b); }
.d-h2.is-dim ~ .d-lead { color: color-mix(in srgb, #b7bcc4 calc(var(--hp, 1) * 100%), #15171b); }
@media (prefers-reduced-motion: reduce) {
  .d-h2.is-dim, .d-h2.is-dim span { color: #fff !important; }
  .d-h2.is-dim ~ .d-h3 { color: #fff !important; }
  .d-h2.is-dim ~ .d-lead { color: #b7bcc4 !important; }
}

.d-h3 {
  margin: 0 0 10px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; letter-spacing: .01em; color: #fff;
}
.d-lead {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: clamp(14px, 1.14vw, 17px); line-height: 1.8; letter-spacing: .01em; color: #b7bcc4;
}
/* 说明文字 + 数据组 = 一个居中整体，浮在设备横带下半部 */
.d-band-img--cap { position: relative; }
.d-band-cap {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0.4%;
  width: min(100% - 48px, 900px);
  text-align: center;
}
.d-caption {
  margin: 0 0 clamp(10px, 1.5vw, 24px);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.18vw, 30px); line-height: 1.5; letter-spacing: .01em; color: #fff;
}

/* Power Up 区块在 17.5vw 的基础上再下移一点 */
.d-section.d-powerup { padding-top: clamp(180px, 21vw, 520px); }

/* 这些区块里只有居中标题（+导语），放宽一点才放得下一行放大后的标题 */
.d-powerup .d-wrap,
.d-gan .d-wrap,
.d-power1000 .d-wrap { width: min(100% - 48px, 1000px); }

/* GaN 区块整体下移，和上方轮播拉开距离
   （.d-section 的 padding 简写在下面，必须提高权重才生效） */
.d-section.d-gan { padding-top: clamp(150px, 14vw, 300px); }

.d-section { padding: clamp(40px, 4.6vw, 76px) 0; }
/* 冷却爆炸图整体缩一点，四周留白 */
.d-tech .d-band-img { width: min(100% - 48px, 88vw); margin: 0 auto; }

.d-band-img { display: block; margin: 0; line-height: 0; }
.d-band-img img { display: block; width: 100%; height: auto; }

/* ---------- 按钮 ---------- */
.d-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 24px; border-radius: 999px; cursor: pointer;
  font: 700 13px/1 Arial, "Microsoft YaHei", sans-serif; letter-spacing: .02em; text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.d-btn--ghost { border: 1px solid rgba(255,255,255,.72); color: #fff; background: transparent; }
.d-btn--ghost:hover { background: #fff; color: #000; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,255,255,.14); }
.d-btn--solid { border: 1px solid var(--blue); color: #fff; background: var(--blue); }
.d-btn--solid:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(10,165,233,.32); }

/* ---------- 01 Hero ---------- */
.d-hero { position: relative; background: #000; overflow: hidden; }
.d-hero__art { display: block; margin: 0; line-height: 0; overflow: hidden; }
.d-hero__art img {
  display: block; width: 100%; height: auto;
  animation: hero-in 1.6s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes hero-in {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.d-hero__copy {
  position: absolute; z-index: 2; left: 33%; top: 50%; transform: translateY(-50%);
  max-width: min(440px, 22vw);
  animation: copy-in 1.1s cubic-bezier(.22,.61,.36,1) .18s both;
}
@keyframes copy-in {
  from { opacity: 0; transform: translateY(calc(-50% + 16px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}
.d-hero__copy h1 {
  margin: 0 0 12px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(26px, 2.7vw, 38px); line-height: 1.1; letter-spacing: .01em; color: #fff;
}
.d-hero__copy p {
  margin: 0 0 22px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.8; letter-spacing: .01em; color: #b7bcc4;
}

/* ---------- 02 Power Up + 设备墙 ---------- */
/* Power Up 标题与首屏之间的大间距（按设计稿比例再加大一档：17.5vw ≈ 445px @2546 宽） */
.d-powerup { padding-top: 17.5vw; padding-bottom: 0; }
.d-powerup .d-wrap { text-align: center; }
.d-powerup .d-lead { max-width: 600px; margin: 0 auto; }
/* 设备墙：素材是「未压暗」的原图，滚动到此处时由 JS 把 --p 从 0 推到 1
   —— 背景逐渐变暗、文字由上往下出现并放大，两者同步。JS 没跑时 --p 默认 1（直接是完成态） */
.d-wall {
  position: relative; overflow: hidden;
  /* 亮图顶部只留了 112px 黑边，比压暗版少 634px；
     这里补回 18.1vw，让「文案 → 第一排设备格」的间距和上一版一致（≈462px @2545 宽） */
  margin-top: 18.1vw; line-height: 0;
  --p: 1;
}
/* 顶部 4.4% 是素材自带的黑边，裁掉 */
.d-wall img { display: block; width: 100%; height: auto; margin-top: -4.4%; }
/* 变暗层 */
.d-wall::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: #000; opacity: calc(.9 * var(--p));
  will-change: opacity;
}
/* 文字：位置/大小/透明度全部由滚动进度 --p 驱动（不跑定时动画），
   滚多少掉多少；p=0 时在墙顶上方 30vw（被 overflow 裁掉），p=1 时归位 */
.d-wall__copy {
  position: absolute; left: 0; right: 0; top: 46%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 1.02vw, 22px); text-align: center; line-height: 1;
  transform-origin: 50% 50%;
  opacity: min(1, calc(var(--p) * 1.5));
  transform: translateY(calc(-50% - (1 - var(--p)) * 30vw))
             scale(calc(.55 + .45 * var(--p)));
  will-change: transform, opacity;
}
.d-wall__copy span {
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: clamp(14px, 1.98vw, 38px); font-weight: 400; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.d-wall__copy strong {
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(50px, 6.02vw, 104px); letter-spacing: .01em; color: #fff;
  text-shadow: 0 6px 40px rgba(0,0,0,.65);
}
@media (prefers-reduced-motion: reduce) {
  .d-wall { --p: 1 !important; }
}

/* ---------- 03 参数卡：以素材原始分辨率为底 ----------
   素材 414×179（2x）→ 卡片比例 412:204；产品图铺满卡片宽度、贴底
   文字压在左上方（素材左侧是透明区，不会挡住产品） */
.d-specs { padding-top: clamp(28px, 3.6vw, 56px); }
/* 设计稿参数卡网格宽 1262（3×414 + 2×10）/2546 = 49.6vw，
   比内容栏 46vw 略宽，这里按比例外扩并保持居中 */
.d-specgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 107.8%; margin-left: -3.9%; }
.d-spec {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  aspect-ratio: 414 / 179; padding: 12px 14px 12px 8.5%;
  background: #1d1d1f;            /* 设计稿取色：卡片底色 #1d1d1f，不是纯黑 */
  border: 1px solid transparent; border-radius: 10px;
  transition: border-color .3s, transform .3s;
}
.d-spec:hover { border-color: #3a3a41; transform: translateY(-2px); }
/* PS 参数：标题 Arial Bold 48pt（画布 2546 → 1.885vw）
   副行 24pt Bold → .94vw；正文/注释 12pt Regular → .5vw（留了最小可读值） */
.d-spec b {
  position: relative; z-index: 1; display: block;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(15px, 1.34vw, 62px); line-height: 1.08; letter-spacing: .02em;
}
/* GaNPrime 是品牌标，用素材图（238×67）代替文字标题 */
/* 品牌标已把四周透明像素裁掉，宽度按内容区比例给，与左侧文案同一根线对齐 */
.d-spec__logo {
  position: relative; z-index: 1; display: block;
  width: 48%; height: auto;
}

/* 品牌标下面的 Xpreen 再往下一点 */
.d-spec__logo + .d-spec__sub { margin-top: 9px; }

.d-spec__sub {
  position: relative; z-index: 1; display: block; margin-top: 2px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(10px, .66vw, 18px); line-height: 1.15; letter-spacing: .02em; color: #fff;
}
.d-spec small {
  position: relative; z-index: 1; display: block;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(8.5px, .37vw, 10.5px); line-height: 1.4; color: #dfe4ea;
}
.d-spec p {
  position: relative; z-index: 1; margin: 6px 0 0;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 400;
  font-size: clamp(8.5px, .37vw, 10.5px); line-height: 1.45; color: #c2c8d0;
}
.d-spec__note { color: #8d949e !important; }
/* 产品图：铺满卡片宽度、贴底，作为卡片的底 */
/* 只作用于产品图（带 data-slot 的），不影响品牌标 */
.d-spec--img img[data-slot] { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; z-index: 0; }
/* 文字限宽，别压到右侧产品（b / small 默认是行内元素，先转块级 max-width 才生效） */
.d-spec b, .d-spec small { display: block; }
.d-spec--img b, .d-spec--img p, .d-spec--img small, .d-spec--img .d-spec__sub { max-width: 66%; }
.d-spec--bg { justify-content: center; align-items: flex-start; text-align: left; padding-left: 47%; }
.d-spec--bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.d-spec--bg::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(8,10,14,0) 28%, rgba(8,10,14,.66) 70%);
}
.d-spec--strong { align-items: center; justify-content: center; text-align: center; }
.d-spec--strong b { font-size: clamp(23px, 2.11vw, 97px); }  /* = 中间大标 2.345vw × 0.9 */
.d-spec--strong small { color: #fff; font-size: clamp(11.1px, .485vw, 14px); }  /* 与 Xpreen Prime 下方那两行同字号 */
.d-spec--center {
  grid-column: 2; grid-row: 1 / span 2;
  padding-top: 18%;   /* 这组文字整体往下挪一点 */
  aspect-ratio: auto;                 /* 跨行时高度由两行决定，不能用固定比例 */
  align-items: center; justify-content: center; text-align: center;
  min-height: 0;
}
.d-spec--center strong {
  display: block;
  font-family: Arial, sans-serif; font-weight: 700;
  font-size: clamp(26px, 2.345vw, 108px); line-height: 1.04; letter-spacing: .01em;  /* = 卡片标题 1.34vw × 1.75 */
}
.d-spec--center p { margin-top: 12px; color: #fff; font-size: clamp(11.1px, .485vw, 14px); letter-spacing: .07em; }  /* = 卡内正文 .37vw × 1.31 */

/* ---------- 03 产品陈列 ---------- */
/* 标签栏：整条按中线分成两等分，两个词各自在自己那一半居中；
   激活态的下划线铺满整个半区（= 整条的一半） */
.d-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: clamp(56px, 5.8vw, 128px) 0 clamp(38px, 2.8vw, 72px);
  border-bottom: 1px solid #2a2d35;
}
.d-tab {
  position: relative; display: block; width: 100%;
  padding: 0 0 clamp(10px, 1vw, 18px); border: 0; background: none; cursor: pointer;
  text-align: center;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(12px, .62vw, 16px); line-height: 1; letter-spacing: .02em; color: #787f8a;
  transition: color .25s;
}
.d-tab:hover { color: #c9d1da; }
.d-tab.is-active { color: #fff; }
.d-tab.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background-image: linear-gradient(90deg, #6aeaff 0%, #1d90f8 100%);   /* 与卡片标题同一套渐变 */
  transform-origin: left bottom;
  animation: tab-underline .68s cubic-bezier(.22,.61,.36,1) both;
}
/* 蓝条扫入时先稍稍「鼓」一下（横向微超、纵向变粗），再回到正常粗细 */
@keyframes tab-underline {
  0%   { transform: scale(.12, .7);  opacity: .3; }
  62%  { transform: scale(1.04, 1.3); opacity: 1; }   /* 只比正常粗 30% */
  100% { transform: scale(1, 1);     opacity: 1; }
}

.d-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.d-products[hidden] { display: none; }
/* 两个 tab 组切换时的柔和过渡 */
.d-products { transition: opacity .46s ease, transform .46s ease; }
.d-products.is-leaving { opacity: 0; transform: translateY(-6px); }
.d-products.is-entering { opacity: 0; transform: translateY(10px); }
@media (prefers-reduced-motion: reduce) {
  .d-products { transition: none; }
}
.d-product {
  position: relative; padding: 0; background: none; color: #fff;
  transition: transform .3s;
}
.d-product:hover { transform: translateY(-3px); }
.d-product:hover .d-product__pic { box-shadow: 0 18px 34px rgba(0,0,0,.45); }

/* 图片区：与 203×203 的 PNG 同比例（1:1），铺满卡片宽度，白底、不裁切、不内缩 */
/* 白色方框只包住产品图（跟 PNG 一样是 1:1），文字在方框外面的黑底上 */
.d-product__pic {
  position: relative; z-index: 0; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background: #fff; border-radius: 10px; line-height: 0;
  padding: 7%;   /* 产品图往里收一点，别和左上角徽标贴在一起 */
  transition: box-shadow .3s;
}
.d-product__pic img { display: block; width: 100%; height: 100%; object-fit: contain; }

.d-product__body { padding: 20px 10px 0; text-align: center; color: #fff; }
.d-product__meta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 14px; font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 700; font-size: 14px; line-height: 1; color: #fff;
}
.d-product__meta i { font-style: normal; font-weight: 400; color: #4b525c; }
.d-product__price {
  margin: 0 0 16px; font-family: Arial, "Microsoft YaHei", sans-serif;
  font-weight: 700; font-size: 16px; line-height: 1; color: #fff;
}
.d-product__price s { margin-left: 8px; font-weight: 400; font-size: 12px; color: #7b828c; }
.d-product .d-btn { display: flex; width: calc(100% - 20px); margin: 0 auto; height: 32px; padding: 0; border-radius: 999px; font-size: 13px; }

/* 折扣徽标：压在白色方框左上角，$50 / OFF 两行，右下角圆角跟方框同半径 */
.d-product__off {
  position: absolute; top: 0; left: 0; z-index: 5;   /* 永远压在产品和图片之上 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 54px; padding: 7px 9px 8px;
  background: var(--blue); color: #fff;
  border-radius: 10px 0 10px 0;
  font-family: Arial, "Microsoft YaHei", sans-serif; line-height: 1;
}
.d-product__off b { font-size: 14px; font-weight: 700; }
.d-product__off small { margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }

/* ---------- 04 Multi-Device ---------- */
.d-multidev { padding-bottom: 0; }
.d-multidev__copy { text-align: left; }
.d-multidev__copy .d-lead { max-width: 660px; line-height: 1.5; }   /* 容得下第二行，断句由 <br> 控制 */
.d-multidev .d-band-img { margin-top: clamp(12px, 1.6vw, 24px); }
.d-stats-wrap { padding: 0; }   /* 说明文字紧跟上方图片 */
.d-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: clamp(34px, 3vw, 58px) 0 0; padding: 0; list-style: none;   /* 数据组单独再往下挪一点 */
}
.d-stats li { display: flex; flex-direction: column; gap: 5px; }
.d-stats span { font-family: Arial, sans-serif; font-size: 11px; line-height: 1.4; letter-spacing: .01em; color: #8a9099; }
.d-stats b {
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(17px, 1.55vw, 22px); line-height: 1.2; letter-spacing: .01em; color: #fff;
}

/* ---------- 05 场景轮播 ----------
   中间一张完整；左边露出上一张并压暗；右边留空（下一张透明）
   切换时 transform 平移 + opacity 淡入 */
.d-carousel { position: relative; background: #000; padding: clamp(120px, 10.5vw, 230px) 0 clamp(30px, 3.6vw, 56px); }   /* 上方留足空间 */
.d-carousel__viewport { overflow: hidden; perspective: 2400px; }
.d-carousel__track {
  display: flex; gap: 24px;
  will-change: transform;
  /* 位移不再做动画：换页靠「翻书」，避免两套动作打架 */
}
.d-slide {
  flex: 0 0 55.2%; aspect-ratio: 16 / 9; margin: 0; overflow: hidden;
  border-radius: 12px; line-height: 0; background: #0a0b0e;
  opacity: 0; transform: scale(.97);
  transition: opacity .55s ease, transform .95s cubic-bezier(.22,.61,.36,1);
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.d-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.d-slide.is-active { opacity: 1; transform: perspective(2400px) rotateY(0deg) scale(1); }
/* 左右两侧：像摊开的书页一样微微内折，并压暗 */
.d-slide.is-prev {
  opacity: .15;
  transform: perspective(1800px) rotateY(17deg) scale(.96);
  transform-origin: right center;
}
.d-slide.is-next {
  opacity: .15;
  transform: perspective(1800px) rotateY(-17deg) scale(.96);
  transform-origin: left center;
}

/* 翻书：把「翻走的那一页」复制一层，绕书脊翻出去，
   底下新的一页已经就位，于是看起来就是书页被翻过去 */
.d-carousel__viewport { position: relative; }
.d-flip-page {
  position: absolute; margin: 0; z-index: 5; pointer-events: none;
  border-radius: 12px; overflow: hidden; line-height: 0; background: #0a0b0e;
  backface-visibility: hidden; will-change: transform, opacity;
}
.d-flip-page img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 点右边：页面以左边缘为书脊，向右→向左翻过去 */
.d-flip-page--next {
  transform-origin: left center;
  animation: page-out-next 2.3s cubic-bezier(.33,0,.2,1) forwards;
}
/* 点左边：页面以右边缘为书脊，向左→向右翻回去 */
.d-flip-page--prev {
  transform-origin: right center;
  animation: page-out-prev 2.3s cubic-bezier(.33,0,.2,1) forwards;
}
@keyframes page-out-next {
  from { transform: perspective(2400px) rotateY(0deg);   opacity: 1; }
  to   { transform: perspective(2400px) rotateY(-95deg); opacity: .08; }
}
@keyframes page-out-prev {
  from { transform: perspective(2400px) rotateY(0deg);  opacity: 1; }
  to   { transform: perspective(2400px) rotateY(95deg); opacity: .08; }
}
@media (prefers-reduced-motion: reduce) {
  .d-flip-page { display: none; }
}
/* 底部小圆点指示器：点哪个就翻到哪一页 */
.d-dots {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(7px, .8vw, 11px);
  margin-top: clamp(14px, 1.8vw, 28px);
}
.d-dot {
  width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .16);
  transition: background .3s, transform .3s;
}
.d-dot:hover { background: rgba(255, 255, 255, .32); }
.d-dot.is-active {
  background-image: linear-gradient(135deg, #6aeaff 0%, #1d90f8 100%);
  transform: scale(1.22);
}

.d-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.2); background: rgba(24,28,36,.55); color: #fff;
  font: 400 27px/1 Arial, sans-serif; padding-bottom: 3px;
  transition: background .25s, transform .25s, border-color .25s;
}
.d-arrow:hover { background: var(--blue); border-color: transparent; transform: translateY(-50%) scale(1.08); }
.d-arrow--prev { left: calc(22.4% - 112px); }   /* 放在中间页外面 */
.d-arrow--next { right: calc(22.4% - 112px); }  /* 放在中间页外面 */

/* ---------- 06/07 GaN ---------- */
.d-gan { padding-bottom: 0; }
.d-tech { padding-top: clamp(24px, 3vw, 44px); }

/* ---------- 08 卖点 ---------- */
.d-features .d-h2 { margin-bottom: clamp(110px, 9.5vw, 200px); font-size: clamp(24px, 2.7vw, 42px); text-align: center; }   /* 与下方图文拉开距离 */
.d-feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(20px, 3vw, 44px); margin-bottom: clamp(36px, 4.4vw, 64px);
}
.d-feature:last-child { margin-bottom: 0; }
.d-feature figure { margin: 0; overflow: hidden; border-radius: 8px; background: #0a0b0e; line-height: 0; }
.d-feature figure img { display: block; width: 100%; height: auto; transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.d-feature:hover figure img { transform: scale(1.12); }   /* 悬停放大更明显 */
.d-feature small {
  display: block; margin-bottom: 6px;
  font-family: Arial, sans-serif; font-weight: 600; font-size: 12px; line-height: 1.4; letter-spacing: .02em; color: #8d949e;
}
.d-feature b {
  display: block; margin: 0 0 10px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(24px, 2.5vw, 36px); line-height: 1.15; letter-spacing: .01em;
  /* 标题较短，用对比更强的青→深蓝，让渐变看得出来 */
  background-image: linear-gradient(90deg, #6aeaff 0%, #0a6be6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* 大标题下方的白色加粗副行 */
.d-feature__sub {
  display: block; margin: -4px 0 12px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(15px, 1.3vw, 20px); line-height: 1.3; letter-spacing: .01em; color: #fff;
}

.d-feature p { margin: 0; max-width: 380px; font-family: Arial, sans-serif; font-size: clamp(12px, 1vw, 14px); line-height: 1.8; letter-spacing: .01em; color: #b7bcc4; }
.d-feature--rev figure { order: 2; }

/* ---------- 09 Dynamic Power ---------- */
.d-dynamic .d-wrap { width: min(100% - 48px, 48vw); text-align: center; }   /* 按参考图三行断句，需要更宽的行宽；整块居中 */
.d-dynamic .d-lead { max-width: none; }
.d-dynamic__img { margin: clamp(28px, 3.6vw, 54px) auto 0; width: min(100% - 48px, calc(var(--wrap) * .86)); line-height: 0; }
.d-dynamic__img img { display: block; width: 100%; height: auto; }

/* ---------- 10 Power 1000+ ----------
   整块图（白牌 + 产品已做在图里），文字按设计稿比例压在白牌上：
   Power 顶部居中 · 1000+ 居中 · Devices 右下 */
.d-power1000 { padding-bottom: 0; }
.d-power1000 .d-lead { max-width: 500px; margin: 0 auto; }
.p1000 { position: relative; margin-top: clamp(28px, 3.4vw, 52px); line-height: 0; }
.p1000 > img { display: block; width: 100%; height: auto; }
.p1000__text {
  position: absolute; left: 24.4%; top: 17.7%; width: 51.5%; height: 53.1%;
  font-family: Arial, "Microsoft YaHei", sans-serif; letter-spacing: .01em; color: #111;
  line-height: 1; text-align: center;
}
.p1000__label {
  position: absolute; top: 8%; left: 0; right: 0;
  font-size: clamp(15px, 2.6vw, 76px); font-weight: 700;
}
.p1000__num {
  position: absolute; top: 18%; left: 0; right: 0;
  font-size: clamp(44px, 14.6vw, 440px); font-weight: 800; line-height: .95;
}
.p1000__num small { font-size: .62em; vertical-align: .16em; }
.p1000__devices {
  position: absolute; right: 10%; top: 74%;
  font-size: clamp(15px, 2.5vw, 74px); font-weight: 700;
}

/* =============================================================
   进场动画：元素进入视口时淡入上移（由 reveal.js 加类触发）
   不支持 IO / 系统开启「减少动态效果」时，内容直接显示
   ============================================================= */
.reveal-init {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--rd, 0s);
}
.reveal-init.is-in { opacity: 1; transform: none; }
/* 同排卡片依次出场 */
.d-specgrid > .d-spec:nth-child(2) { --rd: .05s; }
.d-specgrid > .d-spec:nth-child(3) { --rd: .1s; }
.d-specgrid > .d-spec:nth-child(4) { --rd: .15s; }
.d-specgrid > .d-spec:nth-child(5) { --rd: .2s; }
.d-specgrid > .d-spec:nth-child(6) { --rd: .25s; }
.d-specgrid > .d-spec:nth-child(7) { --rd: .3s; }
.d-specgrid > .d-spec:nth-child(8) { --rd: .35s; }
.d-products > .d-product:nth-child(2) { --rd: .06s; }
.d-products > .d-product:nth-child(3) { --rd: .12s; }
.d-products > .d-product:nth-child(4) { --rd: .18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1 !important; transform: none !important; transition: none !important; }
  .d-hero__art img, .d-hero__copy { animation: none !important; }
  .d-slide { transition: none; }
  .d-carousel__track { transition: none; }
}

/* ---------- 响应式 ---------- */
/* 屏幕窄一些时，卡片按比例会变矮，但字号有最小可读值，这里给个最小高度兜住 */
@media (max-width: 1600px) {
  .d-spec { min-height: 118px; }
}

@media (max-width: 900px) {
  /* 手机上去掉强制断行，让它自然折行 */
  .d-multidev__copy .d-lead br { display: none; }
  .d-spec--center { grid-column: auto; grid-row: auto; aspect-ratio: auto; min-height: 150px; }
  .d-hero { display: flex; flex-direction: column; }
  .d-hero__copy { position: relative; left: auto; top: auto; transform: none; max-width: none; padding: 26px 20px 6px; order: 1; animation: none; }
  .d-hero__art { order: 2; }
  .d-specgrid { width: 100%; margin-left: 0; }
  .d-specgrid, .d-products { grid-template-columns: repeat(2, 1fr); }
  .d-spec { aspect-ratio: auto; min-height: 120px; }
  .d-feature, .d-feature--rev { grid-template-columns: 1fr; }
  .d-feature--rev figure { order: 0; }
  .d-stats { gap: 14px; }
}
@media (max-width: 560px) {
  .d-specgrid, .d-products { grid-template-columns: 1fr; }
  .d-product__pic { aspect-ratio: 1 / 1; max-height: 300px; }
  .d-tab { font-size: 12px; }
  .d-slide { flex: 0 0 84%; }
  .d-arrow { width: 40px; height: 40px; font-size: 22px; }
  .d-stats { grid-template-columns: 1fr; gap: 18px; }
  .p1000__label { top: 4%; }
  .p1000__num { top: 18%; }
  .p1000__devices { top: 68%; }
}


/* =============================================================
   响应式
   ============================================================= */
@media (max-width: 1024px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .sh-nav { gap: 12px; }
  .sh-nav__link { font-size: 12px; }
}
@media (max-width: 768px) {
  /* 手机上内容栏铺满，避免白边把三列图挤得过小 */
  :root { --wrap: calc(100% - 32px); }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .sh-wrap { width: calc(100% - 32px); }
  .sh-topbar { height: 26px; font-size: 11px; }
  .sh-metabar { height: 28px; }
  .sh-header__inner { height: 46px; gap: 12px; }
  .sh-nav, .sh-search { display: none; }
  .sh-menu-toggle { display: grid; margin-left: auto; width: 32px; height: 32px; border: 1px solid #dfe3e9; border-radius: 2px; }
  .sh-menu-toggle svg { width: 17px; height: 17px; stroke-width: 2; }
  .sh-mobile-nav.is-open { display: flex; flex-direction: column; gap: 2px; padding: 8px 16px 14px; border-top: 1px solid var(--line); background: #fff; }
  .sh-mobile-nav a { padding: 8px 0; font-size: 11px; font-weight: 700; border-bottom: 1px solid var(--line); color: #2a3038; }

  /* 手机上页尾改为流式排版，避免等比缩放把文字挤扁 */
  .sh-footer__inner { aspect-ratio: auto; min-height: 560px; }
  .sh-footer__bg { background-size: cover; background-position: center; }
  .sh-footer__statement { position: static; padding: 64px 20px 0; }
  .sh-footer__cols { position: static; flex-direction: column; gap: 16px; margin: 96px 20px 0; text-align: center; }
  .sh-footer__contact { align-items: center; }

  .hero { height: clamp(300px, 75vw, 460px); }
  .hero__copy { left: 0; right: 0; top: auto; bottom: 20px; transform: none; max-width: none; padding: 14px 16px; margin: 0 16px; background: rgba(255,255,255,.86); border-radius: 3px; }
  .section { padding: 28px 0; }
  .feature-row, .card-grid, .alt-row, .grid-3, .alt-row--flip { grid-template-columns: 1fr; }
  .alt-row--flip .alt-row__media { order: 0; }
  .carousel__page { grid-template-columns: 1fr; }
  .carousel__arrow { display: none; }
  .carousel__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; }
  .carousel__page { display: contents; }
  .carousel__viewport { overflow: visible; }
  .carousel .media { flex: 0 0 78%; scroll-snap-align: start; }
  .grid-3 .media, .grid-3--portrait .media { aspect-ratio: 1 / 1; }

  .banner { aspect-ratio: 4 / 3; min-height: 320px; }
}

/* =============================================================
   作品详情页（work.html）· 分类页（category.html）
   -------------------------------------------------------------
   作品页走暗色（和 Xpreen Prime 专题页同一套黑底），分类页走浅色，
   与一级页面配色统一。两页共用 .w- 前缀的基础件：容器 / 面包屑 / 空状态。
   ============================================================= */
.w-wrap { width: min(100% - 48px, 1280px); margin-inline: auto; }

.w-back {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 12px/1 Arial, "Microsoft YaHei", sans-serif; letter-spacing: .02em;
  color: #7d8794; transition: color .2s;
}
.w-back:hover { color: var(--blue); }
.w-eyebrow {
  margin: 22px 0 10px;
  font: 700 10px/1 Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}

/* 找不到作品 / 分类 */
.w-empty { padding: clamp(70px, 10vw, 150px) 0; }
.w-empty__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.work-main .w-empty .w-title { color: #fff; }

/* ---------- 作品详情：暗色 ---------- */
body.is-work { background: #000; }
.work-main {
  background: #000; color: #fff;
  border-top: var(--block-gap) solid #fff;
}
.w-top { padding: clamp(40px, 5vw, 80px) 0 clamp(22px, 3vw, 34px); }
.w-top .w-back { margin-bottom: 26px; color: #7d8794; }
.w-title {
  margin: 0 0 12px;
  font: 700 clamp(28px, 3.4vw, 52px)/1.08 Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: -.01em;
}
.w-sub { margin: 0; max-width: 720px; font: 400 clamp(13px, 1.1vw, 16px)/1.7 Arial, "Microsoft YaHei", sans-serif; color: #9aa4af; }
.w-meta {
  display: flex; flex-wrap: wrap; gap: 18px 40px;
  margin: clamp(24px, 3vw, 36px) 0 0; padding: 18px 0 0;
  list-style: none; border-top: 1px solid #23262e;
}
.w-meta li { display: flex; flex-direction: column; gap: 6px; min-width: 120px; }
.w-meta span { font: 700 9px/1 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #6f7883; }
.w-meta b { font: 600 13px/1.4 Arial, "Microsoft YaHei", sans-serif; color: #e2e7ed; }

/* 主图：通栏、零裁切（按原图比例自然高度）
   竖构图（高>宽）由 JS 加 .is-portrait：限高并居中，避免一张竖图占满两三屏 */
.w-hero { margin: 0; background: #0a0b0e; line-height: 0; text-align: center; }
.w-hero img { display: block; width: 100%; height: auto; opacity: 0; transition: opacity .5s ease; }
.w-hero img.is-loaded { opacity: 1; }
.w-hero img.is-portrait { display: inline-block; width: auto; max-width: 100%; max-height: 86vh; }

.w-body { padding: clamp(36px, 5vw, 72px) 0 0; }
.w-intro { max-width: 760px; }
.w-intro p { margin: 0 0 20px; font: 400 clamp(13px, 1.05vw, 15px)/2 Arial, "Microsoft YaHei", sans-serif; color: #b6b6b6; }
.w-intro p:last-child { margin-bottom: 0; }

/* 色板（VI 类作品） */
.w-palette { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.w-palette li { width: 96px; }
.w-palette i { display: block; height: 56px; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); }
.w-palette span { display: block; margin-top: 8px; font: 400 10px/1 ui-monospace, Consolas, monospace; color: #6f7883; }

/* 画廊：两栏瀑布，点击放大 */
.w-gallery-wrap { padding: clamp(40px, 5vw, 72px) 0 0; }
.w-h2 { margin: 0 0 22px; font: 700 12px/1 Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #6f7883; }
.w-gallery { margin: 0; padding: 0; list-style: none; column-count: 2; column-gap: 14px; }
.w-gallery > li { break-inside: avoid; margin: 0 0 14px; }
.w-shot {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: #0a0b0e; border-radius: 10px; overflow: hidden;
  text-align: left; color: inherit;
}
.w-shot img { display: block; width: 100%; height: auto; transition: transform .55s cubic-bezier(.2,.6,.2,1); }
.w-shot:hover img { transform: scale(1.02); }
.w-shot__cap { display: block; padding: 12px 14px; font: 400 11px/1.6 Arial, "Microsoft YaHei", sans-serif; color: #8a97a8; background: #0a0b0e; }

/* 上一件 / 下一件 */
.w-pager {
  display: flex; gap: 14px;
  width: min(100% - 48px, 1280px); margin: clamp(48px, 6vw, 90px) auto 0;
  padding: 26px 0 clamp(48px, 6vw, 90px);
  border-top: 1px solid #23262e;
}
.w-pager__item {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px;
  padding: 18px 22px; border-radius: 10px; border: 1px solid #1b1e24; background: #0a0b0e;
  transition: border-color .2s, transform .2s;
}
.w-pager__item:hover { border-color: var(--blue); transform: translateY(-2px); }
.w-pager__item--next { align-items: flex-end; text-align: right; }
.w-pager__label { font: 700 9px/1 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #6f7883; }
.w-pager__title { font: 700 14px/1.4 Arial, "Microsoft YaHei", sans-serif; color: #fff; }
.w-pager__item[hidden] { display: none; }

/* ---------- 分类页：浅色 ---------- */
.cat-hero { padding: clamp(40px, 5vw, 76px) 0 clamp(24px, 3vw, 40px); text-align: center; }
.cat-hero .w-back { margin-bottom: 24px; }
.cat-hero .w-eyebrow { margin-top: 0; }
.cat-title {
  margin: 0 0 16px;
  font: 700 clamp(30px, 3.8vw, 56px)/1.06 Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: -.01em;
}
.cat-intro { max-width: 680px; margin: 0 auto; font: 400 13px/1.95 Arial, "Microsoft YaHei", sans-serif; color: var(--muted); }
.cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.cat-tab {
  padding: 7px 16px; border-radius: 999px; border: 1px solid #dfe4ea; background: #fff;
  font: 700 11px/1 Arial, "Microsoft YaHei", sans-serif; color: #5b6470; letter-spacing: .02em;
  transition: border-color .2s, color .2s, background .2s;
}
.cat-tab:hover { border-color: var(--blue); color: var(--blue-dark); }
.cat-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.cat-list { padding: 10px 0 clamp(60px, 8vw, 110px); }
.cat-grid { margin: 0; padding: 0; list-style: none; column-count: 2; column-gap: 18px; }
.cat-grid > li { break-inside: avoid; margin: 0 0 18px; }
/* 只有一件作品的分类：单栏、限宽，避免右侧空一半 */
.cat-grid.is-single { column-count: 1; }
.cat-grid.is-single > li { max-width: 880px; }
.cat-card__link {
  display: block; background: #fff; border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.cat-card__link:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,30,50,.12); }
.cat-card__img { display: block; line-height: 0; overflow: hidden; background: #eef1f5; }
.cat-card__img img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.cat-card__link:hover .cat-card__img img { transform: scale(1.03); }
.cat-card__body { display: block; padding: 16px 20px 20px; }
.cat-card__title { display: block; font: 700 16px/1.35 Arial, "Microsoft YaHei", sans-serif; color: var(--ink); }
.cat-card__sub { display: block; margin-top: 6px; font: 400 12px/1.6 Arial, "Microsoft YaHei", sans-serif; color: var(--muted); }
.cat-card__meta { display: block; margin-top: 10px; font: 700 9px/1 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #9aa4af; }
.cat-card__go { display: inline-flex; gap: 6px; margin-top: 14px; font: 700 11px/1 Arial, sans-serif; color: var(--blue); }
.cat-card__go i { font-style: normal; transition: transform .2s; }
.cat-card__link:hover .cat-card__go i { transform: translateX(3px); }
.cat-empty { padding: 40px 0; font-size: 13px; color: var(--muted); }

/* ---------- 全屏看图 ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(8, 10, 14, .94); }
.lb.is-open { display: block; }
.lb__stage {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 56px 72px;
}
.lb__img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.lb__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; max-width: 1100px; font: 400 11px/1.6 Arial, "Microsoft YaHei", sans-serif; color: #9aa4af;
}
.lb__num { font: 400 11px/1 ui-monospace, Consolas, monospace; color: #6f7883; white-space: nowrap; }
.lb__bar span[hidden] { display: none; }
.lb__close, .lb__nav {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: rgba(20,24,32,.7); color: #fff;
  transition: background .2s, border-color .2s, transform .2s;
}
.lb__close { top: 18px; right: 18px; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
.lb__close:hover, .lb__nav:hover { background: var(--blue); border-color: transparent; }
.lb__nav:hover { transform: translateY(-50%) scale(1.05); }
.lb__close svg, .lb__nav svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.lb [hidden] { display: none !important; }
/* 打开大图时锁住页面滚动（JS 用 top 记住滚动位置） */
body.is-lightbox { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

@media (max-width: 768px) {
  .w-gallery, .cat-grid { column-count: 1; }
  .w-pager { flex-direction: column; }
  .w-pager__item--next { align-items: flex-start; text-align: left; }
  .lb__stage { padding: 64px 12px 20px; gap: 10px; }
  .lb__img { max-height: calc(100vh - 170px); }
  .lb__nav { width: 38px; height: 38px; }
  .lb__nav--prev { left: 8px; }
  .lb__nav--next { right: 8px; }
  .w-gallery-wrap, .w-body, .w-top { padding-left: 0; padding-right: 0; }
}

/* 手机上不要强制断行，自然折行 */
@media (max-width: 900px) {
  .d-dynamic .d-lead br { display: none; }
}

/* =====================================================================
   牙刷二级页（xpreen-toothbrush.html）
   —— 浅色为主、黑白分区，图片位用虚线占位块 .tb-ph（放图即替换）
   ===================================================================== */
body.tb-page { background: #fff; }   /* 覆盖 body.is-detail 的黑色底 */
.tb-page .wire-tip { display: none; }
.tb { color: #1a1a1a; background: #fff; }
.tb-wrap { width: min(100% - 48px, 1000px); margin: 0 auto; }
.tb-center { text-align: center; }
.tb-center .tb-lead { margin-left: auto; margin-right: auto; }

.tb-light { background: #fff; color: #1a1a1a; }
.tb-dark { background: #000; color: #fff; }   /* 纯黑底 */
.tb-light, .tb-dark { padding: clamp(64px, 7vw, 130px) 0; }

.tb-h2 {
  margin: 0 0 clamp(16px, 1.8vw, 28px);
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(24px, 2.5vw, 40px); line-height: 1.3; letter-spacing: .01em;
}
.tb-lead {
  margin: 0; max-width: 760px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: clamp(12px, 1vw, 15px); line-height: 1.95; letter-spacing: .01em; color: #555b63;
}
.tb-dark .tb-lead { color: #b7bcc4; }
.tb-h3, .tb-card h3 {
  margin: 0 0 10px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(17px, 1.5vw, 24px); line-height: 1.3; letter-spacing: .01em;
}
.tb-card p {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: clamp(11px, .85vw, 13px); line-height: 1.85; color: #555b63;
}
.tb-dark .tb-card p { color: #b7bcc4; }

/* ---------- 图片占位块（有图自动替换） ---------- */
.tb-ph {
  display: grid; place-items: center;
  border: 1px dashed #c9ccd2; border-radius: 14px;
  background: rgba(0, 0, 0, .025);
  color: #a4a8b0; font: 12px/1.5 Arial, sans-serif; letter-spacing: .02em;
  min-height: 90px; overflow: hidden;
}
.tb-dark .tb-ph { border-color: #3a3d44; background: rgba(255, 255, 255, .04); color: #6d727c; }
.tb-ph img, img.tb-ph { display: block; width: 100%; height: 100%; object-fit: contain; }
img.tb-ph { border: 0; background: none; min-height: 0; }
.tb-ph--photo img, .tb-ph--photo-lg img, .tb-ph--hero img, .tb-ph--tile img,
.tb-ph--tile-lg img, .tb-ph--photo img, .tb-ph--cnc img, .tb-ph--product img,
.tb-ph--brushhead img, .tb-ph--media img, .tb-ph--media-wide img { object-fit: cover; }

/* ---------- 01 HERO ---------- */
.tb-hero {
  position: relative; background: #f6f6f6;   /* 与首屏素材底色一致 */
  padding: clamp(70px, 8vw, 140px) max(24px, calc((100vw - 1400px) / 2)) clamp(40px, 5vw, 90px);
  /* 三栏：左 1fr / 文字 auto / 右 1fr —— 文字正好在页面中线，
     图放在右侧那一栏并左对齐，于是紧贴文字 */
  display: grid; grid-template-columns: 1fr auto 1fr;
  column-gap: clamp(16px, 2.4vw, 44px); align-items: center;
  text-align: center;
}
.tb-hero__copy { grid-column: 2; }
.tb-hero__pic { grid-column: 3; justify-self: start; width: min(100%, 330px); }
.tb-hero__copy h1 { margin-left: auto; margin-right: auto; }
.tb-hero__copy h1 {
  margin: 0 0 18px;
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(36px, 5.3vw, 92px); line-height: 1.2; letter-spacing: .02em; color: #4a4a4a;
}
.tb-sub { margin: 0; font: 400 clamp(12px, 1vw, 16px)/1.7 Arial, "Microsoft YaHei", sans-serif; color: #6f747b; }
.tb-ph--hero { aspect-ratio: 4 / 3; }

/* ---------- 02 这一代 很能刷 ---------- */
.tb-intro { background: #fff; padding: clamp(60px, 7vw, 130px) 0; }
.tb-intro__line {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2vw, 34px); width: min(100% - 48px, 1000px); margin: 0 auto;
}
.tb-intro__word {
  font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 700;
  font-size: clamp(26px, 3vw, 46px); letter-spacing: .04em; color: #1a1a1a; white-space: nowrap;
}
.tb-intro__brush { width: clamp(70px, 8vw, 130px); }
.tb-ph--brush { aspect-ratio: 1 / 4.2; }

/* ---------- 03 算法时代 ---------- */
.tb-pill {
  display: inline-block; margin: clamp(20px, 2.4vw, 34px) 0 0;
  padding: 7px 20px; border-radius: 999px;
  background: linear-gradient(90deg, #1e9bff, #0a72e8); color: #fff;
  font: 700 clamp(11px, .9vw, 13px)/1 Arial, "Microsoft YaHei", sans-serif; letter-spacing: .02em;
}
.tb-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 46px) clamp(20px, 3vw, 60px);
  margin-top: clamp(34px, 4vw, 64px);
}
.tb-stat { display: flex; flex-direction: column; gap: 4px; }
.tb-stat b {
  font-family: Arial, sans-serif; font-weight: 700;
  font-size: clamp(20px, 2vw, 30px); line-height: 1.1; letter-spacing: .01em; color: #111;
}
.tb-stat b small { font-size: .5em; margin-left: 4px; font-weight: 700; }
.tb-stat span { font: 700 clamp(12px, .95vw, 14px)/1.4 Arial, "Microsoft YaHei", sans-serif; color: #2b2f36; }
.tb-stat em { font-style: normal; font: 400 clamp(10px, .8vw, 12px)/1.5 Arial, "Microsoft YaHei", sans-serif; color: #7b818a; }

/* ---------- 04/05/06/07 深色段落 ---------- */
.tb-mosaic { display: grid; gap: 14px; margin-top: clamp(28px, 3.4vw, 54px); }
.tb-mosaic--smart { grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; }
.tb-mosaic--smart .tb-ph--photo-lg { grid-row: 1 / span 2; }
.tb-ph--photo-lg { aspect-ratio: 1 / 1; }
.tb-ph--tile { aspect-ratio: 1 / .95; }
.tb-card {
  padding: clamp(18px, 2vw, 30px);
  border-radius: 16px; background: #f2f2f3;
}
.tb-card--gray { background: #f1f1f2; }
.tb-card--blue { background: #dde7ef; }
.tb-card--dark { background: #141517; color: #fff; display: flex; flex-direction: column; }
.tb-card--dark h3 { color: #fff; }
.tb-ph--chip { aspect-ratio: 16 / 10; margin-top: auto; }

.tb-explode {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; column-gap: clamp(12px, 2vw, 40px);
  margin-top: clamp(30px, 4vw, 70px);
}
.tb-explode__pic { grid-column: 2; width: clamp(180px, 22vw, 300px); }
.tb-ph--explode { width: 100%; aspect-ratio: 3 / 5; border: 0; background: none; }

.tb-explode__side { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 110px); }
/* 左侧卖点固定在芯片（橘黄色元件）的高度 */
.tb-explode__side--left {
  position: absolute; top: 63%; transform: translateY(-50%);
  grid-column: 1 / -1; grid-row: 1;
  right: calc(50% + clamp(90px, 11vw, 150px) + 28px);
  align-items: flex-end; text-align: right;
}
.tb-explode__side--right { grid-column: 3; align-items: flex-start; text-align: left; }

.tb-callout {
  position: relative;
  font-family: "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300; font-size: clamp(12px, 1.02vw, 15px);
  line-height: 1.7; color: #9aa0a8; letter-spacing: .01em;
}
.tb-callout b { font-weight: 700; color: #b9bfc7; }
/* 强调的那一条：更亮 + 一条指向产品的细线 */
.tb-callout--hl { color: #fff; }
.tb-callout--hl b { color: #fff; }
.tb-callout__line {
  position: absolute; top: 52%;
  right: calc(-1 * (clamp(90px, 11vw, 150px) + 28px));
  width: calc(clamp(90px, 11vw, 150px) + 28px); height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.5), rgba(255,255,255,.15));
}
.tb-callout__line::after {
  content: ''; position: absolute; right: -2px; top: -2.5px;
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.85);
}

.tb-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 70px); align-items: center; margin-top: clamp(28px, 4vw, 64px); }
.tb-ph--motor { aspect-ratio: 3 / 4; border: 0; background: none; }
.tb-split__copy h3 { margin: 0 0 14px; font: 700 clamp(18px, 1.7vw, 26px)/1.35 Arial, "Microsoft YaHei", sans-serif; color: #fff; }
.tb-split__copy p { margin: 0; font: 400 clamp(11px, .85vw, 13px)/1.9 Arial, "Microsoft YaHei", sans-serif; color: #b7bcc4; }

/* 扭矩图：宽度按设计稿比例（约占内容栏 3/4），图与脚注贴近 */
.tb-chart { margin: clamp(64px, 7vw, 124px) auto 0; width: min(100% - 48px, 760px); }   /* 标题与图表之间留白 */
.tb-ph--chart { width: 100%; height: auto; aspect-ratio: 2 / 1; border: 0; background: none; }
.tb-chart figcaption { margin-top: 22px; text-align: center; font: 400 clamp(10px, .78vw, 12px)/1.7 Arial, "Microsoft YaHei", sans-serif; color: #6d727c; }

/* ---------- 09 半一体成型 ---------- */
.tb-ph--onebody { width: min(100% - 48px, 1000px); margin: clamp(20px, 3vw, 40px) auto 0; aspect-ratio: 16 / 7; border: 0; background: none; }

/* ---------- 10 质感 mosaic ---------- */
.tb-mosaic--texture {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(0, auto);
}
.tb-mosaic--texture .tb-ph--tile-lg { aspect-ratio: 1 / 1.05; }
.tb-mosaic--texture .tb-ph--photo-lg { aspect-ratio: 1 / 1.05; }
.tb-ph--tile-lg { aspect-ratio: 1 / 1; }

/* ---------- 11 刷毛 ---------- */
/* 三支刷头：竖排、通栏贴边（灰 → 蓝 → 紫） */
/* 三支刷头：竖排，按素材原比例完整显示（不裁切） */
/* 三支刷头：竖排，宽度不超过素材原宽（1369），避免放大发虚 */
.tb-brushrow {
  display: block; width: min(100% - 48px, 1000px);
  margin: clamp(22px, 2.6vw, 44px) auto 0;
}
/* 1、3 贴左边缘，2 贴右边缘 */
.tb-brushrow > * + * { margin-top: clamp(46px, 5.6vw, 110px); }
.tb-brushrow > :nth-child(1),
.tb-brushrow > :nth-child(3) { margin-right: auto; margin-left: 0; }
.tb-brushrow > :nth-child(2) { margin-left: auto; margin-right: 0; }
.tb-brushrow > * { min-width: 0; }
.tb-ph--brushhead { display: block; width: min(100%, 720px); aspect-ratio: 1369 / 654; border: 0; background: none; object-fit: contain; }
.tb-mosaic--bristle { grid-template-columns: 1fr 1fr; }
.tb-card--media { display: flex; flex-direction: column; }
.tb-ph--media { aspect-ratio: 4 / 3; margin-top: 14px; border: 0; background: none; }
.tb-card--wide { grid-column: 1 / -1; }
.tb-ph--media-wide { aspect-ratio: 16 / 4; margin-top: 14px; border: 0; background: none; }

/* ---------- 12 APP ---------- */
.tb-app__body { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 70px); align-items: center; margin-top: clamp(28px, 3.4vw, 56px); }
.tb-ph--phone { aspect-ratio: 9 / 18; border: 0; background: none; max-height: 620px; margin: 0 0 0 auto; width: min(100%, 300px); }
.tb-featlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 38px); }
.tb-featlist li { border-left: 2px solid #c9d6e2; padding-left: 16px; }
.tb-featlist b { display: block; margin-bottom: 6px; font: 700 clamp(13px, 1.05vw, 16px)/1.4 Arial, "Microsoft YaHei", sans-serif; color: #1a1a1a; }
.tb-featlist span { font: 400 clamp(11px, .85vw, 13px)/1.8 Arial, "Microsoft YaHei", sans-serif; color: #555b63; }

/* ---------- 13 便携 ---------- */
.tb-mosaic--portable { grid-template-columns: 1fr 1.35fr; }
.tb-ph--photo { aspect-ratio: 4 / 3.1; }

/* ---------- 14 对比 ---------- */
.tb-compare__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 80px);
  margin-top: clamp(30px, 4vw, 60px);
}
.tb-product { text-align: center; }
.tb-ph--product { aspect-ratio: 1 / 2.1; border: 0; background: none; }
.tb-product h3 { margin: 18px 0 4px; font: 700 clamp(14px, 1.15vw, 18px)/1.4 Arial, "Microsoft YaHei", sans-serif; }
.tb-price { margin: 0 0 clamp(18px, 2vw, 28px); font: 700 clamp(13px, 1vw, 15px)/1.4 Arial, sans-serif; color: #2b2f36; }
.tb-buy {
  display: inline-block; padding: 8px 26px; border-radius: 999px;
  background: #1e9bff; color: #fff; text-decoration: none;
  font: 700 13px/1 Arial, "Microsoft YaHei", sans-serif;
}
.tb-compare__list { list-style: none; margin: clamp(20px, 2.4vw, 34px) 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.tb-compare__list li { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #6b7078; }
.tb-compare__list i { font-style: normal; font: 700 12px/1 Arial, sans-serif; color: #9aa0a8; letter-spacing: .04em; }
.tb-compare__list b { font: 700 clamp(20px, 1.8vw, 26px)/1 Arial, sans-serif; color: #111; }
.tb-compare__list b small { font-size: .55em; margin-left: 2px; }
.tb-compare__list span { font: 400 clamp(10px, .8vw, 12px)/1.6 Arial, "Microsoft YaHei", sans-serif; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .tb-hero { grid-template-columns: 1fr; row-gap: 28px; }
  .tb-hero__copy, .tb-hero__pic { grid-column: 1; justify-self: center; }
  .tb-stats { grid-template-columns: repeat(2, 1fr); }
  .tb-mosaic--smart, .tb-mosaic--texture, .tb-mosaic--bristle,
  .tb-mosaic--portable, .tb-explode, .tb-split, .tb-app__body,
  .tb-compare__grid, .tb-craft__card { grid-template-columns: 1fr; }
  .tb-mosaic--smart .tb-ph--photo-lg { grid-row: auto; }
  .tb-brushrow { grid-template-columns: 1fr; }
}

/* 透明底的产品/图表图位：不要灰色填充，只留极淡虚线框 */
body.tb-page .tb-ph--motor,
body.tb-page .tb-ph--chart,
body.tb-page .tb-ph--phone,
body.tb-page .tb-ph--product,
body.tb-page .tb-ph--brushhead,
body.tb-page .tb-ph--media,
body.tb-page .tb-ph--media-wide,
body.tb-page .tb-ph--onebody,
body.tb-page .tb-ph--explode,
body.tb-page .tb-ph--hero {
  background: none;
  border: 1px dashed rgba(130, 134, 140, .45);
}
body.tb-page .tb-dark .tb-ph--motor,
body.tb-page .tb-dark .tb-ph--explode,
body.tb-page .tb-dark .tb-ph--onebody,
body.tb-page .tb-dark .tb-ph--chart {
  background: none;
  border-color: rgba(150, 155, 165, .3);
}

/* 图位替换成真实 <img> 后，去掉占位块的虚线/底色/圆角 */
img.tb-ph,
img[class*="tb-ph--"] {
  border: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  display: block;
}

/* 文字卡不要被图片行拉高 */
.tb-card { align-self: start; }

/* 半一体成型特写：裁切填满，避免大片黑边 */
.tb-ph--onebody { object-fit: cover; }

/* ---------- 首屏：整张 0.jpg 作为通栏背景 ---------- */
.tb-hero {
  display: block; position: relative; text-align: center;
  aspect-ratio: 2784 / 808;                 /* 与素材同比例，整张铺满不裁 */
  min-height: 340px;
  padding: 0 max(24px, calc((100vw - 1400px) / 2));
  background: #f6f6f6;
}
.tb-hero__pic {
  position: absolute; inset: 0; z-index: 0; width: auto; justify-self: auto;
}
.tb-hero__pic img,
.tb-hero__pic .tb-ph--hero {
  width: 100%; height: 100%; object-fit: cover; object-position: center right;
  border-radius: 0;
}
.tb-hero__copy {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%;
}
.tb-hero__copy h1 { margin: 0 0 14px; }

@media (max-width: 900px) {
  .tb-hero { aspect-ratio: auto; min-height: 0; padding: 90px 24px 0; }
  .tb-hero__copy { height: auto; }
  .tb-hero__pic { position: relative; margin-top: 26px; }
  .tb-hero__pic img, .tb-hero__pic .tb-ph--hero { height: auto; object-fit: contain; }
}

/* 首屏微调：产品放大、文案加大加字距并更靠近产品 */
.tb-hero { overflow: hidden; }
.tb-hero__copy h1 {
  font-size: clamp(30px, 3.74vw, 112px);   /* 比 4.4vw 小 15% */
  letter-spacing: .06em;
}
@media (max-width: 900px) {
  .tb-hero__pic img { transform: none; }
  .tb-hero__copy h1 { transform: none; }
}

/* ---------- 第二屏：文字加大、贴近产品，产品放大 15% ---------- */
.tb-intro__word {
  font-size: clamp(30px, 3.6vw, 104px);
  letter-spacing: .04em;
}
.tb-intro__line { gap: 0; }
.tb-intro__brush {
  width: clamp(80px, 9.2vw, 150px);   /* 8vw × 1.15 */
  margin: 0 -.4vw;                    /* 与文字之间留约半个字的间隙 */
}

/* ---------- 03 算法时代：按 PSD 排版（标题 56pt / 正文 18pt Light） ---------- */
.tb-algo { padding-top: clamp(80px, 9vw, 170px); }
/* 内容栏比默认更宽，但左边缘和下面的区块对齐 */
.tb-algo .tb-wrap {
  width: min(100% - 48px, 1180px);
  margin-left: max(24px, calc((100% - 1000px) / 2));
  margin-right: auto;
}
.tb-algo__title {
  margin: 0 0 clamp(18px, 1.8vw, 34px);
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700; font-size: clamp(28px, 2.9vw, 56px); line-height: 1.45; letter-spacing: .02em; color: #1a1a1a;
}
.tb-algo__lead {
  margin: 0; max-width: 1100px;   /* 一行正好放得下设计稿第一行 */
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300; font-size: clamp(13px, 1.15vw, 15px); line-height: 1.68; letter-spacing: .01em; color: #4a4f56;
}
.tb-algo .tb-pill {
  margin: clamp(16px, 1.8vw, 34px) 0 0;
  padding: .55em 1.5em;
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700; font-size: clamp(12px, .84vw, 16px); line-height: 1; letter-spacing: .02em;
}
.tb-algo__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 34px) clamp(20px, 3vw, 60px);
  margin-top: clamp(18px, 2vw, 40px);
}
.tb-stat { display: block; }
.tb-stat__num {
  display: flex; align-items: baseline; flex-wrap: nowrap; gap: .3em;
  margin: 0 0 .55em;
}
.tb-stat__num b {
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700; font-size: clamp(24px, 2.5vw, 48px); line-height: 1; letter-spacing: .01em; color: #111;
}
.tb-stat__num i {
  font-style: normal;
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700; font-size: clamp(12px, .84vw, 16px); line-height: 1; color: #111;
}
.tb-stat__num span {
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700; font-size: .78vw; line-height: 1; color: #111;
}
.tb-stat__label {
  display: block; margin: 0 0 .5em;
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700; font-size: clamp(12px, .84vw, 16px); line-height: 1.4; color: #111;
}
.tb-stat em {
  display: block; font-style: normal;
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300; font-size: clamp(11px, .78vw, 15px); line-height: 1.7; color: #8a8f96;
}

@media (max-width: 1200px) {
  .tb-algo__title { font-size: 30px; }
  .tb-algo__lead { font-size: 13px; max-width: 100%; }
  .tb-algo .tb-pill { font-size: 12px; }
  .tb-stat__num b { font-size: 26px; }
  .tb-stat__num i, .tb-stat__num span, .tb-stat__label { font-size: 12px; }
  .tb-stat em { font-size: 12px; }
}
@media (max-width: 900px) {
  .tb-algo__stats { grid-template-columns: repeat(2, 1fr); }
  .tb-algo__lead br { display: none; }
}


/* 牙刷页：所有文字统一 90% 不透明度（图片不受影响） */
.tb-page h1,
.tb-page h2,
.tb-page h3,
.tb-page p,
.tb-page li,
.tb-page figcaption,
.tb-page .tb-pill,
.tb-page .tb-buy,
.tb-page .tb-intro__word,
.tb-page .tb-stat__label {
  opacity: .9;
}

/* 这一代电动牙刷：正文按设计稿三行断句 */
.tb-smart__lead {
  max-width: 1100px;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.68;
}
@media (max-width: 900px) {
  .tb-smart__lead br { display: none; }
}

/* ---------- 这一代电动牙刷：三格拼图（严格按素材比例） ----------
   素材：tb-smart-photo 721×721（1:1）
         tb-smart-45deg 340×349
         tb-smart-chip  340×349
   左图 1:1，右栏两块同尺寸，所以两边高度天然接近，不做任何拉伸 */
.tb-mosaic--smart {
  display: grid; grid-template-columns: 721fr 340fr;
  gap: 15px; align-items: start;
  margin-top: clamp(28px, 3vw, 52px);
}
.tb-plate { margin: 0; overflow: hidden; border-radius: 35px; background: #fff; line-height: 0; }
.tb-plate--photo .tb-ph--smart-photo {
  width: 100%; aspect-ratio: 1 / 1; border: 0; border-radius: 0; object-fit: cover;
}
.tb-plate--white .tb-ph--smart-45 {
  width: 100%; aspect-ratio: 340 / 349; border: 0; border-radius: 0; background: none; object-fit: contain;
}
.tb-smart__side { display: flex; flex-direction: column; gap: 15px; }
.tb-chipcard {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 340 / 349; border-radius: 35px; background: #0c0d0f;
}
.tb-chipcard > .tb-ph--smart-chip {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0; border-radius: 0;
}
.tb-chipcard__body {
  position: relative; z-index: 1;
  padding: clamp(14px, 1.5vw, 22px);
}
.tb-chipcard__body h3 {
  margin: 0 0 .55em; color: #fff;
  font-size: clamp(17px, 1.5vw, 24px); line-height: 1.2;
}
.tb-chipcard__body p {
  margin: 0; color: #d3d8de;
  font-size: clamp(11px, .88vw, 13.5px); line-height: 1.7;
}

/* 电机系统：正文按设计稿两行断句 */
.tb-motor__lead {
  max-width: 1100px;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .tb-motor__lead br { display: none; }
}

/* 不仅是芯片：正文按设计稿两行断句 */
.tb-power__lead {
  max-width: 1100px;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .tb-power__lead br { display: none; }
}

/* 扭矩区块：标题往上、脚注再拉开一点 */
.tb-torque { padding-top: clamp(30px, 3.4vw, 70px); }
.tb-chart figcaption { margin-top: clamp(30px, 3.4vw, 52px); }

/* 爆炸图三处标注：统一用引线指向产品上的具体位置 */
.tb-explode { --half: clamp(90px, 11vw, 150px); }
.tb-explode__side--right { gap: clamp(56px, 8.6vw, 150px); }
.tb-explode__side--right .tb-callout { position: relative; }

/* 右侧：引线向左伸到产品中线 */
.tb-explode__side--right .tb-callout__line {
  left: calc(-1 * (var(--half) + 18px)); right: auto;
  width: calc(var(--half) + 18px);
  background: linear-gradient(270deg, rgba(255,255,255,.45), rgba(255,255,255,.06));
}
.tb-explode__side--right .tb-callout__line::after {
  right: auto; left: -2px;
  background: rgba(255,255,255,.7);
}

/* 左侧：引线向右伸到产品中线（覆盖旧值） */
.tb-explode__side--left .tb-callout__line {
  right: calc(-1 * (var(--half) + 18px));
  width: calc(var(--half) + 18px);
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.1));
}

/* 右侧两条标注：按图片里实际位置固定高度
   蓝色监控芯片区域约在 42%，外壳（上半段金属）约在 22% */
.tb-explode__side--right {
  position: absolute; top: 0; height: 100%;
  grid-column: 1 / -1; grid-row: 1;   /* 绝对定位时以整个容器为基准 */
  left: calc(50% + var(--half) + 28px);
  width: clamp(200px, 26vw, 380px);
  display: block; gap: 0;
}
.tb-explode__side--right .tb-callout {
  position: absolute; left: 0; transform: translateY(-50%);
  width: 100%;
}
.tb-callout--top { top: 22%; }
.tb-callout--bottom { top: 42%; }

/* 多轴 CNC：整张图当卡片，文案压在图里（与设计稿一致） */
.tb-craft__card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1142 / 1000; border-radius: 35px;
  margin-top: clamp(26px, 3vw, 46px); padding: 0;
  background: #0c0d0f;
}
.tb-craft__card > .tb-ph--cnc {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0; border-radius: 0;
}
.tb-craft__copy {
  position: relative; z-index: 1;
  padding: clamp(24px, 3vw, 52px);
  max-width: 62%;
}
.tb-craft__copy h3 {
  margin: 0 0 .6em; color: #fff;
  font-size: clamp(16px, 1.3vw, 21px); line-height: 1.3;
}
.tb-craft__copy p {
  margin: 0; color: #c9ced6;
  font-size: clamp(11px, .86vw, 12.4px); line-height: 1.72;
}

/* 半一体成型：去掉图片四周的大块黑，产品居中放大，紧跟文案 */
.tb-onebody { padding-bottom: 0; }   /* 产品图贴到区块底部，下方不留黑 */
.tb-ph--onebody {
  width: min(38vw, 430px);
  aspect-ratio: 454 / 572;
  object-fit: contain;
  border: 0; background: none;
  margin: clamp(30px, 3.4vw, 60px) auto 0;
}

/* CNC 文案按设计稿三行 */
.tb-craft__copy { max-width: 66%; }
@media (max-width: 900px) {
  .tb-craft__copy { max-width: 100%; }
  .tb-craft__copy p br { display: none; }
}

/* ---------- 镜面 CNC：两列三行（严格按设计稿） ---------- */
.tb-mosaic--texture {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 15px; align-items: stretch;
}
.tb-texture__pic { margin: 0; border-radius: 30px; overflow: hidden; background: #eee; }
.tb-texture__pic .tb-ph {
  width: 100%; height: 100%; border: 0; border-radius: 0; object-fit: cover;
  aspect-ratio: 1 / 1.33;
}
.tb-texture__pic--tall .tb-ph { aspect-ratio: 1 / 1.4; }
.tb-texture__stack { display: flex; flex-direction: column; gap: 15px; }
.tb-texture__stack .tb-card { flex: 1 1 0; }
.tb-mosaic--texture .tb-card {
  display: flex; flex-direction: column; justify-content: flex-start;
  align-self: stretch;   /* 撑满整行，与图片等高 */
  border-radius: 30px; padding: clamp(18px, 2vw, 30px);
}

/* 镜面cnc 卡片：文字垂直居中、标题两行且更大 */
.tb-mosaic--texture .tb-card { padding-left: clamp(30px, 4.6vw, 66px); }
.tb-mosaic--texture .tb-card:first-child { justify-content: center; }
.tb-mosaic--texture .tb-card h3 {
  margin-bottom: 0; font-size: clamp(26px, 3vw, 46px); line-height: 1.2; letter-spacing: .01em;
}
.tb-mosaic--texture .tb-card p { margin-top: .4em; }

/* 镜面cnc 卡片正文：普惠体 Light 18pt / 行距 21pt（按设计稿） */
.tb-mosaic--texture .tb-card p {
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300; font-size: clamp(13.5px, 1.16vw, 16.5px); line-height: 1.62;
}

/* IP7 那张卡：文字整体往下挪一点 */
.tb-mosaic--texture > .tb-card:not(:first-child) {
  padding-top: clamp(56px, 8vw, 130px);
}

/* 刷毛区块：为通栏刷头留出下边距，避免被下一块盖住 */
.tb-bristle { padding-bottom: clamp(60px, 7vw, 120px); }

/* ---------- 刷毛区拼图：左大图 + 右两张卡 / 两张卡 / 通栏卡 ---------- */
.tb-mosaic--bristle {
  display: grid; grid-template-columns: 1.9fr 1fr;
  gap: 15px; align-items: stretch;
}
.tb-bristle__photo { margin: 0; border-radius: 26px; overflow: hidden; align-self: end; }
/* 按素材原始比例（718×721≈1:1）显示，底部对齐，右栏两张卡随之等高 */
.tb-bristle__photo .tb-ph--bristle-photo {
  display: block; width: 100%; height: auto;
  aspect-ratio: 5 / 4; object-fit: cover;
  border: 0; border-radius: 0;
}
.tb-bristle__stack { display: flex; flex-direction: column; gap: 15px; }
.tb-bristle__stack .tb-card { flex: 1 1 0; }
.tb-mosaic--bristle .tb-card {
  align-self: stretch; border-radius: 26px;
  padding: clamp(16px, 1.8vw, 26px);
}
.tb-mosaic--bristle .tb-card h3 {
  margin: 0 0 .5em; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.25;
}
.tb-mosaic--bristle .tb-card p {
  margin: 0; font-size: clamp(11px, .86vw, 13px); line-height: 1.7;
}
.tb-mosaic--bristle .tb-ph--media { width: 100%; aspect-ratio: 4 / 3.4; margin-top: 14px; border: 0; background: none; object-fit: cover; }
.tb-mosaic--bristle .tb-ph--media-wide { width: 100%; aspect-ratio: 1008 / 281; margin-top: 14px; border: 0; background: none; object-fit: cover; }

/* 银河刷丝：1008×281 的图当卡片底，文案压在图上 */
.tb-galaxy {
  position: relative; overflow: hidden;
  aspect-ratio: 1076 / 354; border-radius: 26px;
  padding: 0 !important; background: #f3f4f6;
}
.tb-galaxy .tb-galaxy__pic {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0; border-radius: 0;
}
.tb-galaxy .tb-galaxy__copy {
  position: relative;
  padding: clamp(34px, 3.6vw, 60px) clamp(16px, 1.8vw, 26px) 0 clamp(26px, 2.8vw, 44px);
}
.tb-galaxy .tb-galaxy__copy h3 {
  margin: 0 0 .45em; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.25; color: #1a1a1a;
}
.tb-galaxy .tb-galaxy__copy p {
  margin: 0; max-width: 62%;
  font-size: clamp(11px, .86vw, 13px); line-height: 1.7; color: #555b63;
}

/* ---------- 刷毛区总布局 ---------- */
.tb-bristle { display: block; }
.tb-bristle__top {
  display: grid; grid-template-columns: 1.9fr 1fr;
  gap: 15px; align-items: stretch;
}
.tb-bristle__row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 15px; margin-top: 15px; align-items: stretch;
}
.tb-bristle__photo { margin: 0; border-radius: 26px; overflow: hidden; align-self: end; }
.tb-bristle__photo .tb-ph--bristle-photo {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1.02; object-fit: cover;
  border: 0; border-radius: 0;
}
.tb-bristle__stack { display: flex; flex-direction: column; gap: 15px; }
.tb-bristle__stack .tb-card { flex: 1 1 0; }
.tb-bristle .tb-card {
  align-self: stretch; border-radius: 26px;
  padding: clamp(16px, 1.8vw, 26px);
}
.tb-bristle .tb-card h3 {
  margin: 0 0 .5em; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.25;
}
.tb-bristle .tb-card p {
  margin: 0; font-size: clamp(11px, .86vw, 13px); line-height: 1.7;
}
/* 两张卡内的图：按素材 526×717 比例，卡内铺满 */
.tb-bristle .tb-ph--media {
  display: block; width: 100%; flex: 1 1 auto; min-height: 0;
  margin-top: 14px; border: 0; background: none; object-fit: cover;
  object-position: center 55%; border-radius: 18px;
}
.tb-galaxy { margin-top: 15px; }

/* 刷毛磨圆 / 莱茵认证：卡片本身按素材比例 526×717 */
.tb-bristle__row .tb-card--media {
  aspect-ratio: 526 / 717;
  display: flex; flex-direction: column;
}

/* 刷毛磨圆 / 莱茵认证：图平铺整卡，文案压左上 */
.tb-bristle__row .tb-card--img {
  position: relative; overflow: hidden;
  aspect-ratio: 526 / 717; padding: 0 !important;
  background: #f3f4f6; border-radius: 26px;
  display: block;
}
.tb-bristle__row .tb-card--img .tb-card__fill {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0; border-radius: 0;
}
.tb-bristle__row .tb-card__copy {
  position: relative;   /* 不加 z-index，否则会隔离 mix-blend-mode */
  padding: clamp(34px, 3.6vw, 60px) clamp(16px, 1.8vw, 26px) 0 clamp(26px, 2.8vw, 44px);
}
.tb-bristle__row .tb-card__copy h3 {
  margin: 0 0 .5em; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.25; color: #1a1a1a;
}
.tb-bristle__row .tb-card__copy p {
  margin: 0; font-size: clamp(11px, .86vw, 13px); line-height: 1.7; color: #555b63;
}

/* 刷毛区：第1行两张卡的文案垂直居中；图像卡文字直接压在图片上（不加白底） */
.tb-bristle__stack .tb-card { display: flex; flex-direction: column; justify-content: center; }


/* 刷毛区：主/副标题字号与「镜面cnc / 5挡模式」那组保持一致 */
.tb-bristle .tb-card h3,
.tb-bristle .tb-card__copy h3,
.tb-bristle .tb-galaxy__copy h3 {
  font-size: clamp(26px, 3vw, 46px); line-height: 1.2; letter-spacing: .01em;
  margin: 0 0 .35em;
}
.tb-bristle .tb-card p,
.tb-bristle .tb-card__copy p,
.tb-bristle .tb-galaxy__copy p {
  font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300; font-size: clamp(13.5px, 1.16vw, 16.5px); line-height: 1.62;
  margin: 0;
}

/* 莱茵认证卡内的 TÜV 标志 */
.tb-tuv-logo {
  display: block; width: clamp(96px, 9.2vw, 150px); height: auto;
  mix-blend-mode: multiply;   /* 正片叠底：白底自动融进卡片底色 */
  margin-top: clamp(14px, 1.6vw, 22px);
}

/* ---------- 便携区：2×2，每格按素材 651×721 ---------- */
.tb-mosaic--portable {
  display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
}
.tb-mosaic--portable > * { aspect-ratio: 651 / 721; }
.tb-mosaic--portable .tb-card {
  display: flex; flex-direction: column; justify-content: center;
  border-radius: 26px; padding: clamp(24px, 2.8vw, 48px);
}
.tb-mosaic--portable .tb-card h3 {
  margin: 0 0 .5em; font-size: clamp(20px, 2vw, 30px); line-height: 1.3;
}
.tb-mosaic--portable .tb-card p {
  margin: 0; font-size: clamp(11px, .9vw, 13.5px); line-height: 1.75;
}
.tb-mosaic--portable .tb-ph--photo {
  width: 100%; height: 100%; border: 0; border-radius: 26px;
  object-fit: cover; background: #eee;
}

/* ---------- 便携区：卡片窄、图片宽，两行错落 ---------- */
.tb-portable { display: block; }
.tb-portable__row { display: flex; gap: 15px; align-items: stretch; }
.tb-portable__row + .tb-portable__row { margin-top: 15px; }
.tb-portable__row .tb-card {
  flex: 0 0 38.5%; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  border-radius: 26px; padding: clamp(20px, 2.4vw, 40px);
}
.tb-portable__row .tb-card h3 {
  margin: 0 0 .35em; font-size: clamp(26px, 3vw, 46px); line-height: 1.2; letter-spacing: .01em;
}
.tb-portable__row .tb-card p {
  margin: 0; font-family: "Alibaba PuHuiTi", "AlibabaPuHuiTi", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300; font-size: clamp(13.5px, 1.16vw, 16.5px); line-height: 1.62;
}
.tb-portable__row .tb-ph--photo {
  flex: 1 1 auto; min-width: 0; width: 100%;
  aspect-ratio: 405 / 442;
  border: 0; border-radius: 26px; object-fit: cover; background: #eee;
}

/* ---------- 圆角统一（牙刷二级页） ---------- */
body.tb-page .tb-plate,
body.tb-page .tb-card,
body.tb-page .tb-chipcard,
body.tb-page .tb-craft__card,
body.tb-page .tb-texture__pic,
body.tb-page .tb-bristle__photo,
body.tb-page .tb-galaxy,
body.tb-page .tb-bristle__row .tb-card--img,
body.tb-page .tb-portable__row .tb-ph--photo,
body.tb-page .tb-portable__row .tb-card {
  border-radius: 30px !important;
}

/* 对比区产品图：按素材 187×840 原比例，不再拉伸 */
.tb-ph--product {
  display: block; width: auto;
  height: clamp(300px, 30vw, 470px);
  aspect-ratio: 187 / 840;
  margin: 0 auto;
  object-fit: contain;
  border: 0; background: none;
}

/* 对比区：两列收窄，让两个产品靠近一些 */
.tb-compare__grid {
  max-width: 720px; margin-left: auto; margin-right: auto;
  gap: clamp(20px, 2.4vw, 40px);
}

/* 对比区：规格用图片（11.png / 10.png，220×748） */
.tb-compare__spec {
  display: block; width: min(209px, 57%); height: auto;
  margin: clamp(18px, 2vw, 30px) auto 0;
}

/* 对比区：标题往上收 */
.tb-compare { padding-top: clamp(30px, 3.2vw, 64px); }

/* =====================================================================
   三级页 · Xpreen Prime 购买页（xpreen-prime-buy.html）
   ===================================================================== */
.pb { background: #fff; }
.pb-wrap { width: min(100% - 48px, 1180px); margin-inline: auto; }

/* ---------- 01 购买区 ---------- */
.pb-buy { padding: clamp(28px, 4vw, 64px) 0 clamp(32px, 4.4vw, 70px); }
.pb-buy__grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 4vw, 64px); align-items: start;
}

.pb-gallery__main {
  width: 100%; border-radius: 4px; overflow: hidden; background: #fff;
}
.pb-ph--main {
  display: block; width: 100%; aspect-ratio: 4 / 5;   /* 长方形（竖版）主图 */
  object-fit: cover; border: 0; background: #fff;
}
.pb-gallery__thumbs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px; margin-top: 12px; max-width: 78%;
}
.pb-ph--thumb {
  display: block; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; border: 1px solid #e3e5e9; border-radius: 4px; background: #fff;
  padding: 0;
}

.pb-info { padding-top: 4px; }
.pb-title {
  margin: 0; font: 700 clamp(15px, 1.42vw, 19px)/1.5 Arial, "Microsoft YaHei", sans-serif;
  color: #0f1115; letter-spacing: 0;
}
.pb-rating {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-top: 10px; font: 400 clamp(11px, .92vw, 12.8px)/1.5 Arial, sans-serif; color: #6b7280;
}
.pb-rating b { color: #0f1115; font-size: 1.05em; }
.pb-rating i { color: #d5d8dd; font-style: normal; }
.pb-rating a { color: #6b7280; text-decoration: none; }
.pb-rating a:hover { text-decoration: underline; }
.pb-stars { color: #ffa41c; letter-spacing: 1px; font-size: 1.1em; }
.pb-price {
  margin: 8px 0 0; font: 700 clamp(19px, 1.8vw, 25px)/1.3 Arial, sans-serif; color: #0f1115;
}

.pb-coupon {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 8px 12px;
  background: #fff5ec; border-radius: 6px;
  font: 400 clamp(11px, .92vw, 12.6px)/1.4 Arial, "Microsoft YaHei", sans-serif; color: #b25a1c;
}
.pb-coupon b {
  flex: none; padding: 4px 9px; border-radius: 4px;
  background: #fde0c8; color: #b25a1c; font-weight: 700;
}
.pb-coupon span { flex: 1 1 auto; }
.pb-coupon i {
  flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: #f0a86a; color: #fff; font-style: normal;
  font: 700 10px/16px Arial, sans-serif; text-align: center;
}

.pb-desc { margin-top: 18px; }
.pb-desc p {
  margin: 0 0 12px; font: 400 clamp(11px, .92vw, 12.8px)/1.78 Arial, "Microsoft YaHei", sans-serif;
  color: #4b5563;
}
.pb-desc b { color: #0f1115; font-weight: 700; }

.pb-hr { height: 1px; background: #e5e7eb; margin: 18px 0; }

.pb-options { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.pb-color > span, .pb-qty > span {
  display: block; margin-bottom: 10px;
  font: 700 clamp(11px, .92vw, 12.8px)/1.4 Arial, "Microsoft YaHei", sans-serif; color: #0f1115;
}
.pb-swatches { display: flex; gap: 12px; }
.pb-swatches i {
  width: 21px; height: 21px; border-radius: 50%; background: var(--c, #2b2f36);
  cursor: pointer; box-sizing: border-box; transition: box-shadow .18s;
}
.pb-swatches i.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #0f1115; }

.pb-stepper {
  display: flex; align-items: center; width: 118px; height: 32px;
  border: 1px solid #d7dae0; border-radius: 999px; overflow: hidden; background: #fff;
}
.pb-stepper button {
  width: 34px; height: 100%; border: 0; background: #fff; cursor: pointer;
  font: 400 15px/1 Arial, sans-serif; color: #4b5563;
}
.pb-stepper button:hover { background: #f3f4f6; }
.pb-stepper input {
  flex: 1 1 auto; width: 100%; height: 100%; border: 0; text-align: center;
  font: 400 13px/1 Arial, sans-serif; color: #0f1115; background: #fff; outline: none;
}

.pb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pb-btn {
  height: 38px; border-radius: 999px; cursor: pointer;
  font: 700 clamp(11px, .95vw, 13px)/1 Arial, "Microsoft YaHei", sans-serif;
  transition: background .18s, color .18s, border-color .18s;
}
.pb-btn--ghost { background: #fff; color: #0f1115; border: 1px solid #c9ccd2; }
.pb-btn--ghost:hover { border-color: #0f1115; }
.pb-btn--primary { background: #1e9bff; color: #fff; border: 1px solid #1e9bff; }
.pb-btn--primary:hover { background: #0d86e6; border-color: #0d86e6; }

/* ---------- 通用区块 ---------- */
.pb-sec { padding: clamp(34px, 4.4vw, 76px) 0; }
.pb-sec--tight { padding-top: clamp(20px, 2.6vw, 44px); }
.pb-sec--center { text-align: center; }
.pb-h2 {
  margin: 0 auto clamp(20px, 2.6vw, 40px); padding-inline: 24px;
  font: 700 clamp(24px, 3.1vw, 56px)/1.3 Arial, "Microsoft YaHei", sans-serif;
  color: #0f1115; text-align: center; letter-spacing: 0;
}
.pb-h2--light { color: #fff; }

/* 全宽横幅 */
.pb-bandwrap { line-height: 0; }
.pb-ph--band {
  display: block; width: 100%; aspect-ratio: 2546 / 1100;
  object-fit: cover; border: 0; background: #f2f3f5;
}

/* 图文左右 */
.pb-split {
  /* 左图放大到约 2 倍（比例仍是 1300 : 750），文字栏固定宽度 */
  display: grid; grid-template-columns: 1fr clamp(230px, 19vw, 290px);
  /* 图片宽度不变，右侧文字整体右移 120px（靠加大列间距 + 同步加宽容器） */
  gap: calc(clamp(20px, 2.4vw, 40px) + 120px); align-items: center;
  width: min(100% - 48px, 1340px);   /* 1220 + 120 */
  /* 整块左移 100px（小屏自动收边，不会出界） */
  /* 左边距按视口 5% 缩进（约等于你画的位置） */
  margin-left: calc(clamp(24px, 5vw, 130px) + 300px);   /* 整体右移 300px */
  margin-right: auto;
}
.pb-plate { margin: 0; border-radius: 50px; overflow: hidden; }
.pb-ph--split {
  display: block; width: 100%; aspect-ratio: 1300 / 750;
  object-fit: cover; border: 0; border-radius: 50px; background: #f2f3f5;
}
.pb-split__copy h3 {
  margin: 0 0 6px; font: 700 clamp(17px, 1.7vw, 24px)/1.3 Arial, "Microsoft YaHei", sans-serif; color: #0f1115;
}
.pb-split__copy p {
  margin: 0; font: 400 clamp(12px, 1vw, 13.6px)/1.65 Arial, "Microsoft YaHei", sans-serif; color: #4b5563;
}
.pb-icons {
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px);
  margin-top: clamp(18px, 2.2vw, 30px);
}
.pb-icons figure { margin: 0; text-align: center; }
.pb-ph--icon {
  display: block; width: clamp(56px, 5.6vw, 78px); height: clamp(56px, 5.6vw, 78px);
  object-fit: contain; border: 0; background: none;
}
.pb-icons figcaption {
  margin-top: 8px; font: 400 clamp(10px, .8vw, 11.6px)/1.4 Arial, sans-serif; color: #6b7280;
}
.pb-plus { font: 700 clamp(18px, 1.8vw, 26px)/1 Arial, sans-serif; color: #0f1115; }

/* 24 小时图标 */
.pb-ph--icon-lg {
  display: block; width: clamp(62px, 6vw, 88px); height: clamp(62px, 6vw, 88px);
  margin: 0 auto clamp(22px, 2.6vw, 38px);
  object-fit: contain; border: 0; background: none;
}

/* 圆角照片 */
.pb-plate--wide { width: min(100% - 48px, 1180px); margin: 0 auto; }
.pb-ph--photo {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; border: 0; border-radius: 26px; background: #f2f3f5;
}
.pb-cap {
  margin: 14px auto 0; text-align: center;
  font: 400 clamp(11px, .9vw, 12.6px)/1.6 Arial, "Microsoft YaHei", sans-serif; color: #6b7280;
}

/* 充电指南 */
.pb-guide { background: #000; padding: clamp(34px, 4.4vw, 76px) 0 clamp(40px, 5vw, 90px); }
.pb-ph--guide {
  display: block; width: min(100% - 48px, 1100px); margin: 0 auto;
  aspect-ratio: 2546 / 1000; object-fit: contain; border: 0; background: none;
}

/* 占位块样式（未放图时可见） */
.pb-ph {
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed #cfd4da; background: #f7f8fa; color: #9aa1aa;
  font: 400 12px/1 Arial, sans-serif;
}
.pb-ph span { opacity: .75; }
img.pb-ph, img[class*="pb-ph--"] { border: 0 !important; background: none !important; }

@media (max-width: 900px) {
  .pb-buy__grid, .pb-split { grid-template-columns: 1fr; }
  .pb-actions { grid-template-columns: 1fr; }
  .pb-options { flex-wrap: wrap; }
}

/* 全宽横幅上方标题：标题区块不留额外下边距 */
.pb-sec--pb0 { padding-bottom: 0; margin-bottom: clamp(14px, 1.8vw, 26px); }

/* ---------- 三级页：图片按自然比例 + 内联图标 + 横幅文字压图 ---------- */
.pb-ph--band { aspect-ratio: auto; min-height: clamp(160px, 22vw, 420px); max-height: none; object-fit: cover; object-position: center; }
.pb-bandwrap { position: relative; line-height: 0; overflow: hidden; }
.pb-ph--band { display: block; width: 100%; height: auto; object-fit: cover; }
.pb-band__copy {
  position: absolute; left: 6%; top: 50%;
  transform: translateY(-50%); line-height: 1.05; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}

/* Max ≈ logo 的 1.18 倍 */



.pb-icons { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.pb-icons figure { margin: 0; text-align: center; }
.pb-svg { display: inline-flex; align-items: center; justify-content: center; color: #1f2328; }
.pb-svg svg { width: 100%; height: 100%; display: block; }
.pb-svg--icon { width: clamp(56px, 5.6vw, 78px); height: clamp(56px, 5.6vw, 78px); }
.pb-svg--lg { width: clamp(62px, 6vw, 88px); height: clamp(62px, 6vw, 88px); margin: 0 auto clamp(22px, 2.6vw, 38px); display: flex; }

/* 缩略图：5 列，与设计稿一致 */
.pb-gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 100%; }

/* 分栏图 / 大图：按素材自然比例，不裁切不拉伸 */
.pb-ph--split { aspect-ratio: 1300 / 750; height: auto; }
.pb-ph--photo { aspect-ratio: auto; height: auto; }

/* 竖版海报型图片（如 Universal Compatibility 4:5 竖图） */
.pb-poster { width: min(100% - 48px, 680px); margin: 0 auto; border-radius: 26px; overflow: hidden; }
.pb-ph--poster { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: cover; }

/* 购买区：主图 & 缩略图交互 */
.pb-gallery__main img { display: block; width: 100%; height: auto; border-radius: 4px; }
.pb-gallery__thumbs img { cursor: pointer; transition: border-color .16s; }
.pb-gallery__thumbs img:hover { border-color: #9aa1aa; }
.pb-gallery__thumbs .is-active img { border-color: #0f1115 !important; }

/* 购买区主图：悬停放大镜 */
.pb-gallery__main {
  position: relative; overflow: hidden; cursor: zoom-in;
  border-radius: 4px; background: #fff;
}
.pb-gallery__main img {
  display: block; width: 100%; height: auto;
  transition: transform .16s ease-out;
  will-change: transform;
  transform-origin: center center;
}
.pb-gallery__main.is-zooming img { transition: transform .08s linear; }
@media (hover: none) {
  .pb-gallery__main { cursor: default; }
  .pb-gallery__main img { transition: none; }
}

/* 购买区：右侧放大面板（亚马逊式） */
.pb-gallery { position: relative; }
.pb-gallery__main {
  position: relative; overflow: hidden; cursor: zoom-in;
  border-radius: 4px; background: #fff;
}
.pb-gallery__main img { display: block; width: 100%; height: auto; }
.pb-zoom-panel {
  position: absolute; left: calc(100% + 18px); top: 0;
  width: clamp(300px, 34vw, 480px); height: 100%;
  background-color: #fff; background-repeat: no-repeat;
  border: 1px solid #e5e7eb; border-radius: 6px;
  box-shadow: 0 18px 50px rgba(15, 17, 21, .16);
  opacity: 0; visibility: hidden; transition: opacity .14s ease, visibility .14s;
  pointer-events: none; z-index: 40;
}
.pb-zoom-panel.is-on { opacity: 1; visibility: visible; }
@media (hover: none), (max-width: 900px) {
  .pb-zoom-panel { display: none; }
}

/* 放大时主图上的区域指示框 */
.pb-zoom-lens {
  position: absolute; left: 0; top: 0; width: 0; height: 0;
  border: 0;                                  /* 不要黑边 */
  background: rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 9999px rgba(15, 17, 21, .30);   /* 框外压暗，框内保持清晰 */
  pointer-events: none; opacity: 0; transition: opacity .12s;
  z-index: 5;
}
.pb-zoom-lens.is-on { opacity: 1; }
@media (hover: none), (max-width: 900px) { .pb-zoom-lens { display: none; } }

/* 购买区：往左挪一点 + 左右翻页箭头 */
.pb-buy .pb-wrap { width: min(100% - 48px, 1290px); }
.pb-buy__grid { grid-template-columns: 1.02fr 1fr; }

.pb-gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: #0f1115;
  box-shadow: 0 4px 16px rgba(15, 17, 21, .18);
  opacity: .72; transition: opacity .16s, background .16s, transform .16s;
  z-index: 6;
}
.pb-gal-nav svg { width: 18px; height: 18px; }
/* 主图 76% 居中 → 两侧各留 12%，箭头放在留白里 */
.pb-gal-nav--prev { left: calc(5% - 19px); }
.pb-gal-nav--next { right: calc(5% - 19px); }
@media (max-width: 900px) {
  .pb-gal-nav--prev { left: 10px; }
  .pb-gal-nav--next { right: 10px; }
}
.pb-gal-nav:hover { background: #fff; }
.pb-gallery__main:hover .pb-gal-nav { opacity: 1; }
@media (hover: none) {
  .pb-gal-nav { opacity: .9; }
}

/* 购买区：主图比缩略图那一排窄，居中；缩略图选中项彩色、其余变灰 */
.pb-gallery__main { width: 76%; margin: 0 auto; }
.pb-gallery__thumbs img { background: #fff; opacity: .38; transition: opacity .18s, border-color .16s; }
.pb-gallery__thumbs img:hover { opacity: .78; }
.pb-gallery__thumbs img.is-active { opacity: 1; border-color: #0f1115 !important; }
@media (max-width: 900px) { .pb-gallery__main { width: 100%; } }

/* 缩略图行：横向滚动 + 外侧箭头 */
.pb-gallery__thumbs-wrap { position: relative; margin-top: 12px; }
.pb-gallery__thumbs {
  display: flex; flex-wrap: nowrap; gap: 8px; align-items: flex-start;
  overflow-x: auto; scroll-behavior: smooth;
  margin: 0 46px; padding: 2px; max-width: none;
  scrollbar-width: none; -ms-overflow-style: none;
}
.pb-gallery__thumbs::-webkit-scrollbar { display: none; }
.pb-gallery__thumbs > * { flex: 0 0 auto; }
.pb-gallery__thumbs img { width: calc((100% - 32px) / 5); height: auto; display: block; }

.pb-thumb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #e3e5e9; border-radius: 50%; cursor: pointer;
  background: #fff; color: #0f1115;
  box-shadow: 0 2px 10px rgba(15, 17, 21, .10);
  transition: opacity .16s, border-color .16s;
  z-index: 4;
}
.pb-thumb-nav svg { width: 15px; height: 15px; }
.pb-thumb-nav:hover { border-color: #0f1115; }
.pb-thumb-nav--prev { left: 0; }
.pb-thumb-nav--next { right: 0; }
.pb-thumb-nav.is-off { opacity: .5; pointer-events: none; }

/* 横幅可按数据指定框比例（如 2775 / 1475），图片 cover 裁切填满 */
.pb-bandwrap[style*=--band-ratio] { aspect-ratio: var(--band-ratio); overflow: hidden; }
.pb-bandwrap[style*=--band-ratio] > .pb-ph--band,
.pb-bandwrap[style*=--band-ratio] > img {
  width: 100%; height: 100%; max-height: none; object-fit: cover;
}

/* 120W 横幅文案：更大 + GaNPrime 标志图 */
.pb-band__copy { --logo-h: clamp(20px, 2vw, 34px); text-shadow: 0 2px 26px rgba(0, 0, 0, .45); }
/* 120W ≈ logo 高度的 2.63 倍（按设计稿比例） */
.pb-band__big { display: flex; align-items: baseline; gap: .2em; font: 700 calc(var(--logo-h) * 2.63)/1 Arial, sans-serif; letter-spacing: -.015em; }
.pb-band__big em { font-style: normal; font-size: .40em; font-weight: 700; letter-spacing: 0; }
/* Powered by ≈ logo 的 0.58 倍 */
.pb-band__by { display: flex; align-items: center; gap: .45em; font: 400 calc(var(--logo-h) * 0.58)/1.2 Arial, sans-serif; opacity: .95; margin-top: calc(var(--logo-h) * 0.62); }
.pb-band__logo-holder { display: inline-flex; align-items: center; }
.pb-band__logo { display: inline-block; height: var(--logo-h); width: auto; font-size: 0; border: 0; background: none; }
.pb-band__logo img { height: 100%; width: auto; display: block; }
.pb-band__logo-fallback {
  display: inline-block; font: 700 var(--logo-h)/1 Arial, sans-serif;
  background: linear-gradient(90deg, #35d0ff, #7f7bff 55%, #c46bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 横幅可用数据指定显式高度（图片 100% 高度 + cover） */
.pb-bandwrap[style*="height:"] { overflow: hidden; }
.pb-bandwrap[style*="height:"] > .pb-ph--band,
.pb-bandwrap[style*="height:"] > img {
  width: 100%; height: 100%; max-height: none; object-fit: cover;
}

/* photo 模块指定比例时，图片按 cover 填满框 */
.pb-plate--wide[style*="aspect-ratio"] { overflow: hidden; }
.pb-plate--wide[style*="aspect-ratio"] > .pb-ph--photo,
.pb-plate--wide[style*="aspect-ratio"] > img {
  width: 100%; height: 100%; max-height: none; object-fit: cover;
}

/* 限宽横幅（居中、圆角，避免全宽过大） */
.pb-band--inset { max-width: 1400px; margin-left: auto; margin-right: auto; overflow: hidden; }
.pb-band--inset > .pb-ph--band, .pb-band--inset > img { border-radius: 26px; }

/* Charging Guide：2775×1286 纯黑舞台，图片按原分辨率居中 */
.pb-guide--native { margin-top: 10px; padding-top: calc(clamp(34px, 4.4vw, 76px) + 70px); padding-bottom: clamp(30px, 4vw, 70px); }
.pb-guide__stage {
  position: relative; width: 100%; aspect-ratio: 2775 / 1286;
  background: #000; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pb-guide__stage > .pb-ph--guide-native,
.pb-guide__stage > img {
  display: block; width: min(1500px, 92%); height: auto; max-height: 100%;
  object-fit: contain; border: 0; background: none;
}

/* 区块上移（标题贴近上一块） */
.pb-sec--up { padding-top: clamp(6px, 1.2vw, 22px); }

/* 区块下移（标题整体压下去一点） */
.pb-sec--down { padding-top: calc(clamp(34px, 4.4vw, 76px) + 60px); }

/* ===================== 导航下拉（Anker 式） ===================== */
.sh-header { position: relative; }
.sh-nav { display: flex; align-items: center; }
.sh-nav__item { position: static; }
.sh-nav__link { display: block; padding: 16px 0; }

.sh-dropdown {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid #eceef1;
  box-shadow: 0 24px 48px rgba(15, 17, 21, .10);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.sh-nav__item.is-open .sh-dropdown { opacity: 1; visibility: visible; transform: none; }

.sh-drop__inner {
  width: min(100% - 48px, 1180px); margin: 0 auto;
  padding: 28px 0 0;
}
.sh-drop__head { margin-bottom: 18px; }
.sh-drop__eyebrow {
  margin: 0; font: 700 13px/1 Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: .08em; text-transform: uppercase; color: #9aa1aa;
}
.sh-drop__intro {
  margin: 10px 0 0; max-width: 720px;
  font: 400 13px/1.7 Arial, "Microsoft YaHei", sans-serif; color: #5b6068;
}

.sh-drop__grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.sh-drop__card { display: block; text-decoration: none; color: inherit; }
.sh-drop__pic {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #f2f3f5;
}
.sh-drop__pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.sh-drop__card:hover .sh-drop__pic img { transform: scale(1.05); }
.sh-drop__title {
  display: block; margin-top: 8px;
  font: 700 12.5px/1.4 Arial, "Microsoft YaHei", sans-serif; color: #1a1d21;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.sh-drop__all {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 22px; padding: 15px 20px;
  background: #17191d; color: #fff; text-decoration: none;
  font: 700 14px/1 Arial, "Microsoft YaHei", sans-serif;
  transition: background .18s;
}
.sh-drop__all:hover { background: #000; }
.sh-drop__all i { font-style: normal; transition: transform .18s; }
.sh-drop__all:hover i { transform: translateX(4px); }

@media (max-width: 900px) {
  .sh-dropdown { display: none !important; }
}

/* ===================== 追光（鼠标跟随提亮） ===================== */
.sh-spotlight {
  --sx: 50%;
  --sy: 30%;
  --spot-size: 160px;
  --spot-alpha: .48;

  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(
    circle var(--spot-size) at var(--sx) var(--sy),
    rgba(255, 255, 255, var(--spot-alpha)) 0%,
    rgba(255, 255, 255, calc(var(--spot-alpha) * .72)) 14%,
    rgba(255, 255, 255, calc(var(--spot-alpha) * .48)) 30%,
    rgba(255, 255, 255, calc(var(--spot-alpha) * .28)) 46%,
    rgba(255, 255, 255, calc(var(--spot-alpha) * .14)) 62%,
    rgba(255, 255, 255, calc(var(--spot-alpha) * .05)) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  mix-blend-mode: soft-light;
  will-change: background;
}
.sh-spotlight.is-on { opacity: 1; }

/* 深色区块上更明显一点（利用 mix-blend 差异） */
@media (hover: none) {
  .sh-spotlight { display: none; }
}

/* 页头 / 面包屑条与页面内容栏对齐（1280） */
.sh-wrap { width: min(100% - 48px, 1280px); }

/* 导航项之间拉开间距 */
.sh-nav { gap: 38px; }
.sh-nav__item { padding: 0 2px; }

/* 下拉面板整体更高：卡片与按钮之间留更多空间，按钮贴底 */
.sh-drop__all { margin-top: 148px; padding: 18px 20px; }
.sh-drop__inner { padding-bottom: 0; }

/* ===================== 下拉动画（柔和版） ===================== */
.sh-dropdown {
  transform: translateY(-14px) scale(.992);
  transform-origin: 50% 0;
  transition:
    opacity .26s cubic-bezier(.22, .61, .36, 1),
    transform .34s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear .34s;
}
.sh-nav__item.is-open .sh-dropdown {
  transform: translateY(0) scale(1);
  transition:
    opacity .30s cubic-bezier(.22, .61, .36, 1),
    transform .38s cubic-bezier(.16, .84, .44, 1),
    visibility 0s;
}

/* 面板内部内容错峰浮入 */
.sh-drop__head,
.sh-drop__grid,
.sh-drop__all {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .24s ease, transform .30s cubic-bezier(.22, .61, .36, 1);
}
.sh-nav__item.is-open .sh-drop__head { opacity: 1; transform: none; transition-delay: .04s; }
.sh-nav__item.is-open .sh-drop__grid { opacity: 1; transform: none; transition-delay: .08s; }
.sh-nav__item.is-open .sh-drop__all  { opacity: 1; transform: none; transition-delay: .12s; }

/* 尊重「减少动效」偏好 */
@media (prefers-reduced-motion: reduce) {
  .sh-dropdown, .sh-drop__head, .sh-drop__grid, .sh-drop__all {
    transition: none !important;
    transform: none !important;
    opacity: 1;
  }
}

/* 下拉面板等高：内容区撑满，按钮永远贴底 */
.sh-drop__inner {
  display: flex;
  flex-direction: column;
  min-height: 578px;
}
.sh-drop__all { margin-top: auto; }
.sh-drop__empty {
  margin: 0 0 auto;
  padding: 34px 0 0;
  font: 400 13px/1.7 Arial, "Microsoft YaHei", sans-serif;
  color: #9aa1aa;
}

@media (max-width: 900px) {
  .sh-drop__inner { min-height: 0; }
}

/* 导航当前项：底部小蓝条 */
.sh-nav__link {
  position: relative; display: inline-flex; align-items: center;
  height: 44px; padding: 0;
}
.sh-nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue, #1e9bff); border-radius: 2px;
  transform: scaleX(0); transform-origin: 50% 50%; opacity: 0;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), opacity .2s ease;
}
.sh-nav__link:hover::after { transform: scaleX(.5); opacity: .35; }
.sh-nav__link.is-active::after { transform: scaleX(1); opacity: 1; }

/* ===================== 导航蓝条（与二级页 tab 同款动效） ===================== */
.sh-nav__link { position: relative; }
.sh-nav__link::after {
  content: '';
  position: absolute; left: -12px; right: -12px; bottom: -1px; height: 3px;
  background-image: linear-gradient(90deg, #6aeaff 0%, #1d90f8 100%);
  transform-origin: left bottom;
  opacity: 0; transform: scaleX(0);
  transition: opacity .2s ease;
}
.sh-nav__link:hover::after { opacity: .35; transform: scale(.6, 1); }
.sh-nav__link.is-active::after {
  opacity: 1;
  animation: nav-underline .68s cubic-bezier(.22, .61, .36, 1) both;
}
@keyframes nav-underline {
  0%   { transform: scale(.12, .7);  opacity: .3; }
  62%  { transform: scale(1.04, 1.3); opacity: 1; }
  100% { transform: scale(1, 1);     opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-nav__link.is-active::after { animation: none; transform: none; }
}

/* ===================== 下拉时的背景模糊 ===================== */
.sh-drop-backdrop {
  position: fixed; inset: 0;
  background: rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(8px) saturate(1.04);
  backdrop-filter: blur(8px) saturate(1.04);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .26s ease, visibility 0s linear .26s;
  z-index: 58;
}
body:has(.sh-nav__item.is-open) .sh-drop-backdrop {
  opacity: 1; visibility: visible;
  transition: opacity .26s ease, visibility 0s;
}

/* 顶部两条栏 + 导航栏保持清晰，只有内容区被模糊 */
.sh-topbar, .sh-metabar { position: relative; z-index: 72; }
.sh-header { z-index: 70; }

/* ===================== 下拉背景模糊：渐进过渡 ===================== */
.sh-drop-backdrop {
  background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  backdrop-filter: blur(0px) saturate(1);
  opacity: .001;
  transition:
    opacity .42s cubic-bezier(.22, .61, .36, 1),
    -webkit-backdrop-filter .52s cubic-bezier(.22, .61, .36, 1),
    backdrop-filter .52s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear .52s;
}
body:has(.sh-nav__item.is-open) .sh-drop-backdrop {
  background: rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(10px) saturate(1.04);
  backdrop-filter: blur(10px) saturate(1.04);
  opacity: 1;
  transition:
    opacity .42s cubic-bezier(.22, .61, .36, 1),
    -webkit-backdrop-filter .55s cubic-bezier(.22, .61, .36, 1),
    backdrop-filter .55s cubic-bezier(.22, .61, .36, 1),
    visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .sh-drop-backdrop { transition: opacity .2s ease, visibility .2s; }
}

/* ===================== 导航蓝条：加亮加实 ===================== */
.sh-nav__link::after {
  background-image: linear-gradient(90deg, #4fd8ff 0%, #0a84ff 55%, #0668e8 100%);
  box-shadow: 0 0 10px rgba(10, 132, 255, .38);
  opacity: 0;
}
/* 当前项：完全实色，悬停也不变淡 */
.sh-nav__link.is-active::after,
.sh-nav__link.is-active:hover::after,
.sh-nav__link.is-active:focus-visible::after {
  opacity: 1;
  transform: scale(1, 1);
}
/* 非当前项悬停：只给一点点预览 */
.sh-nav__link:not(.is-active):hover::after {
  opacity: .30;
  transform: scale(.55, 1);
  box-shadow: none;
}

/* 蓝条：去掉浅青，整条更高饱和 */
.sh-nav__link::after {
  background-image: linear-gradient(90deg, #2fa8ff 0%, #0a7bff 45%, #0464e0 100%);
  box-shadow: 0 0 12px rgba(10, 123, 255, .45);
  height: 3px;
}

/* ===================== 下拉：左栏 + 图片网格（Anker 式） ===================== */
.sh-drop__inner--panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: stretch;
  min-height: 580px;
  padding: 26px 0 28px;
}

.sh-drop__rail { display: flex; flex-direction: column; }
.sh-drop__rail-item {
  display: block; padding: 14px 18px;
  font: 400 14px/1.4 Arial, "Microsoft YaHei", sans-serif;
  color: #3a4048; text-decoration: none; background: #fff;
  transition: background .18s, color .18s;
}
.sh-drop__rail-item:hover { background: #f4f5f7; }
.sh-drop__rail-item.is-active { background: #f4f5f7; color: #0f1115; font-weight: 700; }

.sh-drop__panel { min-width: 0; }

.sh-drop__inner--panel .sh-drop__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.sh-drop__inner--panel .sh-drop__pic { aspect-ratio: 300 / 200; border-radius: 4px; }
.sh-drop__inner--panel .sh-drop__title { margin-top: 6px; font-size: 12px; }

.sh-drop__allcard {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-height: 100%;
  background: #f4f5f7; border-radius: 4px;
  text-decoration: none; color: #1a1d21;
  font: 700 15px/1.35 Arial, "Microsoft YaHei", sans-serif;
  text-align: center; padding: 24px 14px;
  transition: background .18s, transform .18s;
}
.sh-drop__allcard:hover { background: #eceef1; }
.sh-drop__allcard i { font-style: normal; color: #0a84ff; transition: transform .18s; }
.sh-drop__allcard:hover i { transform: translateX(5px); }

/* 旧的黑色通栏按钮在网格布局下隐藏 */
.sh-drop__inner--panel .sh-drop__all { display: none; }

@media (max-width: 1100px) {
  .sh-drop__inner--panel { grid-template-columns: 220px 1fr; gap: 18px; }
}

/* View all 卡片：和图片框同尺寸（300×200），不再撑满整格 */
.sh-drop__allcard {
  aspect-ratio: 300 / 200;
  min-height: 0;
  height: auto;
  align-self: start;
  padding: 0 14px;
}

/* 下拉网格占位格 */
.sh-drop__pic--ph { background: #f4f5f7; border: 1px dashed #dfe3e9; }
.sh-drop__card.is-ph { cursor: default; }
.sh-drop__inner--panel .sh-drop__card.is-ph .sh-drop__title { min-height: 18px; }

/* 悬停 / 下拉展开时，蓝条也保持满长度 */
.sh-nav__link:hover::after { transform: scale(1, 1); opacity: .45; }
.sh-nav__item.is-open .sh-nav__link::after {
  transform: scale(1, 1);
  opacity: 1;
  animation: none;
}
.sh-nav__link.is-active::after { transform: scale(1, 1); opacity: 1; }

/* LOGO 点击区域放大（图标仍 26px，但热区 26+16） */
.sh-logo { padding: 8px; margin: -8px; border-radius: 6px; }
.sh-logo:active { background: #f0f2f5; }

/* ===================== 子分类变体（Visual Design） ===================== */
.sh-drop__inner--subs {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: stretch;
  min-height: 580px;
  padding: 26px 0 28px;
}
.sh-drop__rail-item[data-sub] {
  border: 0; text-align: left; cursor: pointer; width: 100%;
  font: 400 14px/1.4 Arial, "Microsoft YaHei", sans-serif;
}

.sh-drop__subhead {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 18px;
  font: 700 15px/1 Arial, "Microsoft YaHei", sans-serif; color: #0f1115;
}
.sh-drop__subhead i { font-style: normal; color: #9aa1aa; font-weight: 400; }

.sh-drop__listgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sh-drop__rowcard {
  display: flex; align-items: center; gap: 14px;
  background: #f4f5f7; border-radius: 4px;
  padding: 14px 16px; text-decoration: none; color: #0f1115;
  transition: background .18s, transform .18s;
  min-height: 96px;
}
.sh-drop__rowcard:hover { background: #eceef1; }
.sh-drop__rowpic {
  width: 62px; height: 62px; flex: 0 0 62px; border-radius: 3px; overflow: hidden; background: #fff;
}
.sh-drop__rowpic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sh-drop__rowtitle {
  font: 700 13px/1.45 Arial, "Microsoft YaHei", sans-serif; color: #1a1d21;
}
.sh-drop__empty2 {
  margin: 0; font: 400 13px/1.7 Arial, "Microsoft YaHei", sans-serif; color: #9aa1aa;
}

@media (max-width: 1100px) {
  .sh-drop__inner--subs { grid-template-columns: 220px 1fr; gap: 18px; }
  .sh-drop__listgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 子分类卡：左边白底产品图 */
.sh-drop__rowpic {
  width: 76px; height: 76px; flex: 0 0 76px;
  background: #fff; border-radius: 3px;
  display: grid; place-items: center;
  padding: 6px;
}
.sh-drop__rowpic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sh-drop__rowcard { padding: 12px 14px; min-height: 100px; gap: 16px; }
.sh-drop__rowtitle { font-size: 13.5px; }

/* 子分类标题：明显可点 */
.sh-drop__subhead { cursor: pointer; text-decoration: none; padding: 4px 0; }
.sh-drop__subhead:hover span { color: #0a84ff; }
.sh-drop__subhead:hover i { transform: translateX(4px); color: #0a84ff; }
.sh-drop__subhead i { transition: transform .18s, color .18s; }
.sh-drop__subhead:active span { opacity: .7; }

/* 左栏子分类：四种情况统一字体（字重不再区分） */
.sh-drop__rail-item,
.sh-drop__rail-item[data-sub],
.sh-drop__rail-item.is-active {
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  padding: 14px 18px;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.sh-drop__rail-item.is-active { color: #0f1115; background: #f4f5f7; }
.sh-drop__rail-item { color: #3a4048; }

/* 左栏子分类：统一加粗（沿用产品渲染那版的厚度） */
.sh-drop__rail-item,
.sh-drop__rail-item[data-sub],
.sh-drop__rail-item.is-active {
  font-weight: 700;
}
.sh-drop__rail-item { color: #2b3138; }
.sh-drop__rail-item.is-active { color: #0f1115; }

/* 白底图 + 正片叠底：白色背景透明化，产品直接落在面板上 */
.sh-drop__card--blend .sh-drop__pic {
  background: transparent;
  border: 0;
}
.sh-drop__card--blend .sh-drop__pic img {
  mix-blend-mode: multiply;
  object-fit: contain;
  padding: 6px;
}

/* 子分类卡：白底图 + 正片叠底 */
.sh-drop__rowcard--blend .sh-drop__rowpic {
  background: transparent;
  padding: 0;
}
.sh-drop__rowcard--blend .sh-drop__rowpic img {
  mix-blend-mode: multiply;
  object-fit: contain;
  padding: 4px;
}

/* ===================== 下拉入场：所有变体统一 ===================== */
.sh-drop__rail,
.sh-drop__subhead,
.sh-drop__listgrid {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .26s ease, transform .34s cubic-bezier(.22, .61, .36, 1);
}
.sh-nav__item.is-open .sh-drop__rail     { opacity: 1; transform: none; transition-delay: .04s; }
.sh-nav__item.is-open .sh-drop__subhead  { opacity: 1; transform: none; transition-delay: .08s; }
.sh-nav__item.is-open .sh-drop__listgrid { opacity: 1; transform: none; transition-delay: .13s; }

/* 子分类切换：卡片依次淡入 */
.sh-drop__rowcard {
  animation: drop-card-in .34s cubic-bezier(.22, .61, .36, 1) both;
}
.sh-drop__rowcard:nth-child(1) { animation-delay: .02s; }
.sh-drop__rowcard:nth-child(2) { animation-delay: .06s; }
.sh-drop__rowcard:nth-child(3) { animation-delay: .10s; }
.sh-drop__rowcard:nth-child(4) { animation-delay: .14s; }
.sh-drop__rowcard:nth-child(5) { animation-delay: .18s; }
.sh-drop__rowcard:nth-child(6) { animation-delay: .22s; }
@keyframes drop-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-drop__rail, .sh-drop__subhead, .sh-drop__listgrid,
  .sh-drop__rowcard { transition: none; animation: none; opacity: 1; transform: none; }
}

/* ===================== 下拉动画（放慢 3 倍版） ===================== */
.sh-dropdown {
  transform: translateY(-14px) scale(.992);
  transform-origin: 50% 0;
  transition:
    opacity .78s cubic-bezier(.22, .61, .36, 1),
    transform 1.02s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 1.02s;
}
.sh-nav__item.is-open .sh-dropdown {
  transform: translateY(0) scale(1);
  transition:
    opacity .90s cubic-bezier(.22, .61, .36, 1),
    transform 1.14s cubic-bezier(.22, .61, .36, 1),
    visibility 0s;
}

/* 面板内部依次浮入 */
.sh-drop__head,
.sh-drop__grid,
.sh-drop__all,
.sh-drop__rail,
.sh-drop__subhead,
.sh-drop__listgrid {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .78s ease, transform 1.02s cubic-bezier(.22, .61, .36, 1);
}
.sh-nav__item.is-open .sh-drop__head     { opacity: 1; transform: none; transition-delay: .12s; }
.sh-nav__item.is-open .sh-drop__rail     { opacity: 1; transform: none; transition-delay: .12s; }
.sh-nav__item.is-open .sh-drop__subhead  { opacity: 1; transform: none; transition-delay: .24s; }
.sh-nav__item.is-open .sh-drop__grid     { opacity: 1; transform: none; transition-delay: .24s; }
.sh-nav__item.is-open .sh-drop__listgrid { opacity: 1; transform: none; transition-delay: .39s; }
.sh-nav__item.is-open .sh-drop__all      { opacity: 1; transform: none; transition-delay: .36s; }

/* 子分类卡片：依次淡入（放慢） */
.sh-drop__rowcard {
  animation: drop-card-in-slow .96s cubic-bezier(.22, .61, .36, 1) both;
}
.sh-drop__rowcard:nth-child(1) { animation-delay: .06s; }
.sh-drop__rowcard:nth-child(2) { animation-delay: .18s; }
.sh-drop__rowcard:nth-child(3) { animation-delay: .30s; }
.sh-drop__rowcard:nth-child(4) { animation-delay: .42s; }
.sh-drop__rowcard:nth-child(5) { animation-delay: .54s; }
.sh-drop__rowcard:nth-child(6) { animation-delay: .66s; }
@keyframes drop-card-in-slow {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* 关闭也放慢一点，避免「啪」地消失 */
.sh-nav__item:not(.is-open) .sh-drop__rail,
.sh-nav__item:not(.is-open) .sh-drop__subhead,
.sh-nav__item:not(.is-open) .sh-drop__listgrid,
.sh-nav__item:not(.is-open) .sh-drop__grid,
.sh-nav__item:not(.is-open) .sh-drop__head {
  transition-duration: .42s;
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .sh-dropdown, .sh-drop__head, .sh-drop__grid, .sh-drop__all,
  .sh-drop__rail, .sh-drop__subhead, .sh-drop__listgrid,
  .sh-drop__rowcard { transition: none !important; animation: none !important; opacity: 1; transform: none; }
}

/* ===================== 下拉动画（2 倍速） ===================== */
.sh-dropdown {
  transform: translateY(-14px) scale(.992);
  transform-origin: 50% 0;
  transition:
    opacity .52s cubic-bezier(.22, .61, .36, 1),
    transform .68s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear .68s;
}
.sh-nav__item.is-open .sh-dropdown {
  transform: translateY(0) scale(1);
  transition:
    opacity .60s cubic-bezier(.22, .61, .36, 1),
    transform .76s cubic-bezier(.22, .61, .36, 1),
    visibility 0s;
}

.sh-drop__head,
.sh-drop__grid,
.sh-drop__all,
.sh-drop__rail,
.sh-drop__subhead,
.sh-drop__listgrid {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .52s ease, transform .68s cubic-bezier(.22, .61, .36, 1);
}
.sh-nav__item.is-open .sh-drop__head     { opacity: 1; transform: none; transition-delay: .08s; }
.sh-nav__item.is-open .sh-drop__rail     { opacity: 1; transform: none; transition-delay: .08s; }
.sh-nav__item.is-open .sh-drop__subhead  { opacity: 1; transform: none; transition-delay: .16s; }
.sh-nav__item.is-open .sh-drop__grid     { opacity: 1; transform: none; transition-delay: .16s; }
.sh-nav__item.is-open .sh-drop__listgrid { opacity: 1; transform: none; transition-delay: .26s; }
.sh-nav__item.is-open .sh-drop__all      { opacity: 1; transform: none; transition-delay: .24s; }

.sh-drop__rowcard {
  animation: drop-card-in-2x .68s cubic-bezier(.22, .61, .36, 1) both;
}
.sh-drop__rowcard:nth-child(1) { animation-delay: .04s; }
.sh-drop__rowcard:nth-child(2) { animation-delay: .12s; }
.sh-drop__rowcard:nth-child(3) { animation-delay: .20s; }
.sh-drop__rowcard:nth-child(4) { animation-delay: .28s; }
.sh-drop__rowcard:nth-child(5) { animation-delay: .36s; }
.sh-drop__rowcard:nth-child(6) { animation-delay: .44s; }
@keyframes drop-card-in-2x {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.sh-nav__item:not(.is-open) .sh-drop__rail,
.sh-nav__item:not(.is-open) .sh-drop__subhead,
.sh-nav__item:not(.is-open) .sh-drop__listgrid,
.sh-nav__item:not(.is-open) .sh-drop__grid,
.sh-nav__item:not(.is-open) .sh-drop__head {
  transition-duration: .34s;
  transition-delay: 0s;
}

/* 收起要快：移出鼠标立刻消失 */
.sh-nav__item:not(.is-open) .sh-dropdown {
  transition:
    opacity .18s ease,
    transform .22s ease,
    visibility 0s linear .22s;
}

/* ===================== 收起过渡（柔和但不拖沓） ===================== */
.sh-nav__item:not(.is-open) .sh-dropdown {
  transform: translateY(-10px) scale(.996);
  transition:
    opacity .34s cubic-bezier(.4, 0, .2, 1),
    transform .40s cubic-bezier(.4, 0, .2, 1),
    visibility 0s linear .40s;
}
.sh-nav__item:not(.is-open) .sh-drop__head,
.sh-nav__item:not(.is-open) .sh-drop__grid,
.sh-nav__item:not(.is-open) .sh-drop__all,
.sh-nav__item:not(.is-open) .sh-drop__rail,
.sh-nav__item:not(.is-open) .sh-drop__subhead,
.sh-nav__item:not(.is-open) .sh-drop__listgrid {
  transition: opacity .22s ease, transform .26s cubic-bezier(.4, 0, .2, 1);
  transition-delay: 0s;
}

/* ===================== 作品详情：图文制作过程 ===================== */
.w-story { padding: clamp(20px, 3vw, 48px) 0 10px; }
.w-story__inner { width: min(100%, 900px); margin: 0 auto; }

.w-story__h2 {
  margin: clamp(38px, 4vw, 64px) 0 16px;
  font: 700 clamp(18px, 1.6vw, 22px)/1.4 Arial, "Microsoft YaHei", sans-serif;
  color: #0f1115;
}
.w-story__p {
  margin: 0 0 20px;
  font: 400 clamp(13px, 1.05vw, 15px)/1.9 Arial, "Microsoft YaHei", sans-serif;
  color: #3a4048;
}
.w-story__quote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid #0a84ff;
  background: #f4f6f9;
  font: 400 14px/1.85 Arial, "Microsoft YaHei", sans-serif;
  color: #2b3138;
}
.w-story__list { margin: 0 0 22px; padding-left: 20px; }
.w-story__list li {
  margin: 0 0 8px;
  font: 400 clamp(13px, 1.05vw, 15px)/1.85 Arial, "Microsoft YaHei", sans-serif;
  color: #3a4048;
}

.w-story__fig { margin: 26px 0; }
.w-story__fig img { display: block; width: 100%; height: auto; border-radius: 6px; }
.w-story__fig figcaption {
  margin-top: 10px; text-align: center;
  font: 400 12.5px/1.6 Arial, "Microsoft YaHei", sans-serif; color: #9aa1aa;
}

.w-story__row { display: grid; gap: 14px; margin: 26px 0; }
.w-story__row--2 { grid-template-columns: 1fr 1fr; }
.w-story__row--3 { grid-template-columns: repeat(3, 1fr); }
.w-story__row .w-story__fig { margin: 0; }
.w-story__cap {
  grid-column: 1 / -1;
  margin: 0; text-align: center;
  font: 400 12.5px/1.6 Arial, "Microsoft YaHei", sans-serif; color: #9aa1aa;
}

@media (max-width: 720px) {
  .w-story__row--2, .w-story__row--3 { grid-template-columns: 1fr; }
}

/* 作品详情页是黑底：图文过程用浅色文字 */
.w-story__h2 { color: #ffffff; }
.w-story__p { color: #b6b6b6; }
.w-story__list li { color: #b6b6b6; }
.w-story__quote {
  background: #12151a;
  border-left-color: #0a84ff;
  color: #d6dbe2;
}
.w-story__fig figcaption, .w-story__cap { color: #7c848f; }
.w-story__fig img { background: #0b0d10; }

/* 缩略图：每行 5 张，超出自动换行 */
.pb-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  max-width: 100%;
  margin-top: 12px;
}
.pb-gallery__thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* 缩略图：只显示一行，多的用左右箭头翻 */
.pb-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
  margin-top: 12px;
}
.pb-gallery__thumbs::-webkit-scrollbar { display: none; }
.pb-gallery__thumbs img {
  flex: 0 0 calc((100% - 32px) / 5);
  width: calc((100% - 32px) / 5);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ===================== 图片按原始比例，不裁切 ===================== */
.pb-ph--main,
.pb-gallery__main img {
  aspect-ratio: auto !important;
  height: auto !important;
  width: 100%;
  object-fit: contain !important;
  background: #fff;
}
.pb-gallery__main {
  height: auto !important;
  aspect-ratio: auto !important;
}

.pb-ph--thumb,
.pb-gallery__thumbs img {
  object-fit: contain !important;
  background: #fff;
  aspect-ratio: 1 / 1 !important;
}

/* ===================== 下拉卡片：白底 + 细边框（配合正片叠底） ===================== */
.sh-drop__rowcard {
  background: #fff;
  border: 1px solid #e8eaee;
  box-shadow: 0 1px 2px rgba(15, 17, 21, .03);
}
.sh-drop__rowcard:hover {
  background: #fff;
  border-color: #cfd5dd;
  box-shadow: 0 2px 10px rgba(15, 17, 21, .07);
}
.sh-drop__rowpic { background: #fff; }
.sh-drop__rowcard--blend .sh-drop__rowpic img { mix-blend-mode: multiply; }

/* 下拉卡片：浅灰底（回到原来的观感） */
.sh-drop__rowcard {
  background: #f4f5f7;
  border: 0;
  box-shadow: none;
}
.sh-drop__rowcard:hover {
  background: #eceef1;
  border: 0;
  box-shadow: none;
}

/* 下拉卡片：所有产品图都开正片叠底 */
.sh-drop__rowpic img,
.sh-drop__rowcard--blend .sh-drop__rowpic img {
  mix-blend-mode: multiply;
}

/* 图片框透明，正片叠底才能和灰卡融合（白底才会真正消失） */
.sh-drop__rowpic {
  background: transparent !important;
  padding: 0 !important;
}
.sh-drop__rowpic img {
  mix-blend-mode: multiply;
  padding: 4px;
}

/* 卡片缩略图再缩小一点，产品完整显示 */
.sh-drop__rowpic {
  width: 76px; height: 76px; flex: 0 0 76px;
}
.sh-drop__rowpic img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 9px !important;
  box-sizing: border-box;
}

/* 卡片圆角加大 */
.cat-card__link { border-radius: 24px; }
.cat-card__img img { border-radius: 24px 24px 0 0; }

/* 子分类页：标题下留白收紧（去掉被隐藏的部分后） */
.cat-hero { padding-bottom: clamp(18px, 2vw, 34px); }

/* 作品卡片图片区：统一白底（透明 PNG 也能好看） */
.cat-card__img {
  background: #fff;
}

/* 卡片圆角 30px */
.cat-card__link { border-radius: 30px; }
.cat-card__img img { border-radius: 30px 30px 0 0; }

/* 卡片文字：字号加大 + 整体右移 */
.cat-card__body { padding: 20px 24px 24px 40px; }
.cat-card__title { font-size: 21px; line-height: 1.3; }
.cat-card__sub { font-size: 13.5px; }
.cat-card__meta { font-size: 10px; }
.cat-card__go { font-size: 13px; margin-top: 14px; }

/* 作品网格：改成从左到右、从上到下的顺序（与下拉菜单一致） */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-count: initial;
  gap: 22px;
}
.cat-grid > li { break-inside: auto; margin: 0; }
.cat-grid.is-single { grid-template-columns: 1fr; }
.cat-grid.is-single > li { max-width: 100%; }

/* 卡片投影：朝右下 */
.cat-card__link {
  box-shadow: 8px 10px 26px rgba(15, 17, 21, .07);
  transition: box-shadow .25s ease, transform .25s ease;
}
.cat-card__link:hover {
  box-shadow: 10px 14px 32px rgba(15, 17, 21, .12);
  transform: translate(-1px, -1px);
}

/* 下拉卡片圆角加大 */
.sh-drop__rowcard { border-radius: 16px; }
.sh-drop__allcard { border-radius: 16px; }

/* 卡片图片限高，避免个别方图/竖图撑得过大 */
.cat-card__img img { max-height: 560px; object-fit: contain; }

/* 数据组下方的 Buy Now：往下挪一点 */
.d-band-cap .d-btn {
  display: inline-flex;
  margin-top: clamp(18px, 2vw, 34px);
}

/* =============================================================
   /* =============================================================
   国内电商（京东风格）商品页样式
   作用域：body.mall-page
   ============================================================= */

.mall-page { background: #f5f5f5; }
.mall { padding: 16px 0 60px; }
.mall-wrap {
  width: min(100% - 40px, 1660px); margin: 0 auto;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(380px, 480px);
  gap: 18px; align-items: start;
}

/* 左栏缩略图 */
.mall-rail { display: flex; flex-direction: column; gap: 8px; }
.mall-thumb {
  width: 84px; height: 84px; padding: 0; border: 2px solid transparent;
  border-radius: 4px; overflow: hidden; background: #fff; cursor: pointer;
}
.mall-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mall-thumb.is-active { border-color: #e1251b; }
.mall-rail__more {
  width: 84px; height: 84px; border: 1px dashed #dcdcdc; border-radius: 4px;
  background: #fff; color: #999; font: 400 13px/1 "Microsoft YaHei", Arial, sans-serif; cursor: pointer;
}

/* 主图 */
.mall-stage { position: relative; background: #fff; border-radius: 4px; overflow: hidden; }
.mall-stage__img { aspect-ratio: 1 / 1; display: grid; place-items: center; }
.mall-stage__img img { width: 100%; height: 100%; object-fit: contain; }
.mall-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 60px; border: 0; background: rgba(0,0,0,.22); color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s;
}
.mall-stage:hover .mall-arrow { opacity: 1; }
.mall-arrow--prev { left: 0; }
.mall-arrow--next { right: 0; }

/* 右侧信息 */
.mall-info { background: #fff; border-radius: 4px; padding: 16px 18px 20px; color: #333; }

/* 标题行 */
.mall-titlebar { display: flex; gap: 14px; align-items: flex-start; }
.mall-title {
  flex: 1; margin: 0;
  font: 700 17px/1.5 "Microsoft YaHei", Arial, sans-serif; color: #333;
}
.mall-fav {
  flex: 0 0 auto; border: 0; background: none; cursor: pointer;
  font: 400 12.5px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #666;
}

/* 价格区 */
.mall-priceblock {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 12px; padding-bottom: 10px;
}
.mall-priceblock__left { display: flex; align-items: baseline; gap: 8px; }
.mall-price {
  font: 700 32px/1 "Microsoft YaHei", Arial, sans-serif; color: #e1251b;
}
.mall-price i { font-size: 20px; font-style: normal; margin-right: 1px; }
.mall-pricetag {
  padding: 2px 6px; border-radius: 2px; background: #e1251b; color: #fff;
  font: 400 11px/1.4 "Microsoft YaHei", Arial, sans-serif;
}
.mall-priceold {
  font: 400 12.5px/1 "Microsoft YaHei", Arial, sans-serif; color: #999;
  text-decoration: line-through;
}
.mall-priceblock__right {
  display: flex; align-items: center; gap: 8px;
  font: 400 12px/1 "Microsoft YaHei", Arial, sans-serif; color: #999;
}
.mall-priceblock__right i { color: #e4e4e4; font-style: normal; }
.mall-notice { cursor: pointer; }

/* 已享受 / 可再享 */
.mall-enjoy {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 8px;
  font: 400 12.5px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #666;
}
.mall-enjoy b { color: #e1251b; font-weight: 400; }
.mall-enjoy i { color: #bbb; font-style: normal; }
.mall-tag {
  padding: 3px 8px; border-radius: 2px; background: #fff1f0; color: #e1251b;
  font: 400 12px/1.4 "Microsoft YaHei", Arial, sans-serif;
}

/* 促销条 */
.mall-strips { margin: 10px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.mall-strip {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 3px;
  background: linear-gradient(90deg, #fff5f5 0%, #fff 70%);
  font: 400 12px/1.5 "Microsoft YaHei", Arial, sans-serif; color: #666;
}
.mall-strip b {
  flex: 0 0 auto; padding: 2px 6px; border-radius: 2px;
  background: #ff6a00; color: #fff; font: 400 11px/1.4 "Microsoft YaHei", Arial, sans-serif;
}
.mall-strip i { margin-left: auto; color: #bbb; font-style: normal; }

/* 通用行：左标签 + 右内容 */
.mall-row { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid #f2f2f2; }
.mall-row--top { align-items: flex-start; }
.mall-row__label {
  flex: 0 0 62px; padding-top: 2px;
  font: 400 12.5px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #999;
}
.mall-row > div, .mall-row > .mall-deliver { flex: 1; min-width: 0; }

/* 送至 */
.mall-deliver p { margin: 0 0 4px; font: 400 12.5px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #333; }
.mall-deliver__addr { color: #333; }
.mall-deliver__addr i { color: #999; font-style: normal; }
.mall-post {
  margin-left: 8px; padding: 1px 6px; border-radius: 2px;
  background: #f3f3f3; color: #666; font-size: 11.5px;
}
.mall-deliver__logi { color: #666; }

/* 规格 */
.mall-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.mall-spec {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid #e0e0e0; border-radius: 2px;
  background: #fff; cursor: pointer;
  font: 400 12.5px/1.4 "Microsoft YaHei", Arial, sans-serif; color: #333;
  transition: border-color .16s, color .16s;
}
.mall-spec img { width: 22px; height: 22px; object-fit: contain; }
.mall-spec:hover { border-color: #e1251b; }
.mall-spec.is-on { border-color: #e1251b; color: #e1251b; }

/* 服务长文本 */
.mall-service-text {
  font: 400 12.5px/1.9 "Microsoft YaHei", Arial, sans-serif; color: #666;
}
.mall-service-text i { float: right; color: #bbb; font-style: normal; }

/* 京选服务 */
.mall-jds { display: flex; flex-direction: column; gap: 10px; }
.mall-jdgroup { display: flex; gap: 12px; align-items: flex-start; }
.mall-jdgroup__name {
  flex: 0 0 72px; padding-top: 7px;
  font: 400 12.5px/1.5 "Microsoft YaHei", Arial, sans-serif; color: #666;
}
.mall-jdsvcs { display: flex; flex-wrap: wrap; gap: 8px; }
.mall-svc {
  padding: 8px 12px; border: 1px solid #e6e6e6; border-radius: 2px; background: #fafafa;
  font: 400 12.5px/1.4 "Microsoft YaHei", Arial, sans-serif; color: #333; cursor: pointer;
}
.mall-svc i { color: #e1251b; font-style: normal; margin-left: 4px; }
.mall-svc:hover { border-color: #e1251b; }

/* 白条分期 */
.mall-insts { display: flex; gap: 10px; flex-wrap: wrap; }
.mall-inst {
  min-width: 150px; padding: 10px 14px; border: 1px solid #e6e6e6; border-radius: 2px;
  background: #fff; text-align: left; cursor: pointer;
}
.mall-inst b { display: block; font: 400 13px/1.4 "Microsoft YaHei", Arial, sans-serif; color: #333; }
.mall-inst span { font: 400 11.5px/1.5 "Microsoft YaHei", Arial, sans-serif; color: #999; }

/* 展开全部 / 温馨提示 */
.mall-more { padding: 10px 0 0; font: 400 12.5px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #666; cursor: pointer; }
.mall-tiprow { display: flex; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f2f2f2; }
.mall-tiprow span { flex: 0 0 62px; font: 400 12.5px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #999; }
.mall-tiprow p { margin: 0; font: 400 12.5px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #666; }

/* 按钮 */
.mall-cta { display: flex; gap: 10px; margin-top: 16px; }
.mall-btn {
  flex: 1; height: 44px; border: 0; border-radius: 3px; cursor: pointer;
  font: 700 15px/1 "Microsoft YaHei", Arial, sans-serif;
}
.mall-btn--cart { background: #fff; color: #e1251b; border: 1px solid #e1251b; }
.mall-btn--buy { background: linear-gradient(90deg, #f0242a 0%, #e1251b 100%); color: #fff; }
.mall-btn:hover { filter: brightness(1.04); }

.mall-empty { padding: 80px 20px; text-align: center; font: 400 14px/1.8 "Microsoft YaHei", Arial, sans-serif; }

@media (max-width: 1200px) {
  .mall-wrap { grid-template-columns: 70px minmax(0, 1fr); }
  .mall-info { grid-column: 1 / -1; }
  .mall-thumb, .mall-rail__more { width: 70px; height: 70px; }
}
@media (max-width: 720px) {
  .mall-wrap { grid-template-columns: 1fr; }
  .mall-rail { flex-direction: row; overflow-x: auto; }
  .mall-thumb { width: 60px; height: 60px; flex: 0 0 60px; }
  .mall-rail__more { display: none; }
}

/* 主图区缩小：中间列限制宽度，整组居中 */
.mall-wrap {
  grid-template-columns: 84px minmax(320px, 540px) minmax(380px, 470px);
  justify-content: center;
}
.mall-stage__img { aspect-ratio: 1 / 1; }

@media (max-width: 1200px) {
  .mall-wrap { grid-template-columns: 70px minmax(280px, 460px); }
}
@media (max-width: 900px) {
  .mall-wrap { grid-template-columns: 1fr; }
}

/* 主图再放大 20%（540 → 648） */
.mall-wrap { grid-template-columns: 84px minmax(320px, 648px) minmax(380px, 470px); }

/* 底部详情长图 */
.mall-detail {
  width: min(100% - 40px, 1200px);
  margin: 22px auto 0;
  display: flex; flex-direction: column; gap: 0;
  background: #fff; border-radius: 4px; overflow: hidden;
}
.mall-detail img { display: block; width: 100%; height: auto; }

/* 详情长图再往下挪一点，和上方购买区拉开距离 */
.mall-detail { margin-top: 64px; }

/* 商品详情 分隔标题 */
.mall-detailhead {
  width: min(100% - 40px, 1200px);
  margin: 72px auto 20px;
  display: flex; align-items: center; gap: 18px;
  color: #999;
  font: 400 13px/1 "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: .28em;
}
.mall-detailhead i { flex: 1; height: 1px; background: #e2e2e2; }
.mall-detailhead span { flex: 0 0 auto; }
.mall-detail { margin-top: 0; }

/* ===================== 设计心得 ===================== */
.note-page { background: #f7f7f8; }

.note-empty { padding: 120px 24px; text-align: center; font: 400 14px/1.8 "Microsoft YaHei", Arial, sans-serif; color: #888; }

/* 列表头 */
.note-hero { padding: clamp(48px, 5vw, 96px) 24px clamp(24px, 3vw, 44px); text-align: center; }
.note-hero__title { margin: 0 0 12px; font: 700 clamp(28px, 3.2vw, 48px)/1.15 "Microsoft YaHei", Arial, sans-serif; color: #111; }
.note-hero__sub { margin: 0 auto; max-width: 640px; font: 400 14px/1.8 "Microsoft YaHei", Arial, sans-serif; color: #7b8189; }

/* 列表 */
.note-list {
  width: min(100% - 48px, 1080px); margin: 0 auto; padding-bottom: 100px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px;
}
.note-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 22px; overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: 8px 10px 26px rgba(15,17,21,.06);
  transition: box-shadow .25s, transform .25s;
}
.note-card:hover { box-shadow: 12px 16px 34px rgba(15,17,21,.11); transform: translate(-1px, -1px); }
.note-card__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef0f3; }
.note-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.note-card__body { display: block; padding: 20px 22px 24px; }
.note-card__date { font: 400 12px/1 "Microsoft YaHei", Arial, sans-serif; color: #9aa1aa; }
.note-card__title {
  display: block; margin-top: 10px;
  font: 700 19px/1.45 "Microsoft YaHei", Arial, sans-serif; color: #111;
}
.note-card__sum {
  display: block; margin-top: 10px;
  font: 400 13px/1.8 "Microsoft YaHei", Arial, sans-serif; color: #6c727a;
}
.note-card__go { display: inline-block; margin-top: 14px; font: 700 12.5px/1 "Microsoft YaHei", Arial, sans-serif; color: #0a84ff; }

/* 文章 */
.note-article {
  width: min(100% - 48px, 760px); margin: 0 auto; padding: clamp(40px, 4vw, 80px) 0 100px;
}
.note-article__head { margin-bottom: clamp(26px, 3vw, 46px); }
.note-back { display: inline-block; margin-bottom: 20px; font: 400 12.5px/1 "Microsoft YaHei", Arial, sans-serif; color: #9aa1aa; text-decoration: none; }
.note-back:hover { color: #0a84ff; }
.note-title { margin: 0 0 14px; font: 700 clamp(24px, 2.6vw, 36px)/1.35 "Microsoft YaHei", Arial, sans-serif; color: #111; }
.note-meta { margin: 0; font: 400 12.5px/1 "Microsoft YaHei", Arial, sans-serif; color: #9aa1aa; }

.note-body { font: 400 15px/2 "Microsoft YaHei", Arial, sans-serif; color: #3a4048; }
.note-p { margin: 0 0 22px; }
.note-h2 {
  margin: clamp(34px, 3.4vw, 52px) 0 18px;
  font: 700 20px/1.5 "Microsoft YaHei", Arial, sans-serif; color: #111;
}
.note-fig { margin: 30px 0; }
.note-fig img { display: block; width: 100%; height: auto; border-radius: 12px; background: #fff;
  box-shadow: 6px 8px 22px rgba(15,17,21,.07); }
.note-fig figcaption { margin-top: 10px; text-align: center; font: 400 12.5px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #9aa1aa; }
.note-foot { display: inline-block; margin-top: 40px; font: 400 13px/1 "Microsoft YaHei", Arial, sans-serif; color: #9aa1aa; text-decoration: none; }
.note-foot:hover { color: #0a84ff; }

@media (max-width: 760px) {
  .note-list { grid-template-columns: 1fr; }
}

/* 下拉里的占位小图 */
.sh-drop__rowpic--ph { background: #f1f3f5; border: 1px dashed #dde1e6; }
.sh-drop__rowcard.is-ph { cursor: default; }

/* 区块底部 Learn More 按钮 */
.section__cta { margin: clamp(22px, 2.6vw, 40px) 0 0; text-align: center; }

/* 可点击的作品图 */
.media[data-href] { cursor: pointer; }

/* 产品渲染下拉卡片：图片完整显示（不限比例，不裁切） */
.sh-drop__inner--panel .sh-drop__pic {
  background: #fff;
}
.sh-drop__inner--panel .sh-drop__pic img {
  object-fit: contain;
  background: #fff;
}

/* 产品渲染下拉卡片：固定高度 + 图片完整显示（不裁切、不严重留白） */
.sh-drop__inner--panel .sh-drop__pic {
  aspect-ratio: auto;
  height: 190px;
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sh-drop__inner--panel .sh-drop__pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

/* 产品渲染下拉卡片：3:2 + 裁切填满（最终版） */
.sh-drop__inner--panel .sh-drop__pic {
  aspect-ratio: 3 / 2 !important;
  height: auto !important;
  background: #f2f3f5;
  display: block;
  overflow: hidden;
}
.sh-drop__inner--panel .sh-drop__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  background: transparent;
}

/* 分类页卡片：仅「产品渲染」用 4:3 裁切 */
body[data-nav="product"] .cat-card__img {
  aspect-ratio: 4 / 3;
  background: #eef1f5;
}
body[data-nav="product"] .cat-card__img img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* 两列网格（Dark Ocean 四图） */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--card-gap); }
.grid-2 .media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* 首屏 Hero：加高（原 2546/749 → 2546/980） */
.hero { aspect-ratio: 2546 / 980; }
.hero .media img { object-fit: cover; object-position: center; }

/* 三列图片卡片版式（Creative Design） */
.grid.is-grid3,
ul.is-grid3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.is-grid3 .cat-card {
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}
.is-grid3 .cat-card__img {
  aspect-ratio: 3 / 2 !important;
  border-radius: 6px;
  background: #eef1f5;
}
.is-grid3 .cat-card__img img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.is-grid3 .cat-card__body { padding: 10px 2px 4px !important; }
.is-grid3 .cat-card__title {
  font: 400 13.5px/1.4 "Microsoft YaHei", Arial, sans-serif !important;
  color: #333 !important;
}
.is-grid3 .cat-card__sub,
.is-grid3 .cat-card__meta { display: none; }
.is-grid3 .cat-card__go { display: none; }
@media (max-width: 900px) {
  .grid.is-grid3, ul.is-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* grid3 修正：彻底脱离多列布局与入场位移动画 */
.is-grid3 {
  column-count: auto !important;
  column-gap: 0 !important;
  columns: auto !important;
}
.is-grid3 > li {
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  break-inside: auto !important;
  transform: none !important;
}
.is-grid3 .cat-card__link {
  border-radius: 6px;
  transform: none !important;
  box-shadow: none !important;
  background: #fff;
}
.is-grid3 .cat-card__img img { transform: none !important; }
.is-grid3 .cat-card__body { padding: 10px 2px 4px !important; }
.is-grid3 .cat-card__title {
  font: 400 13.5px/1.45 "Microsoft YaHei", Arial, sans-serif !important;
  color: #333 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 子分类卡片图：按裁切填充（照片类作品） */
.sh-drop__rowpic.is-cover { padding: 0; }
.sh-drop__rowpic.is-cover img { object-fit: cover; border-radius: 3px; }

/* 子分类卡片图（照片）：强制裁切填充 */
.sh-drop__rowpic.is-cover { padding: 0 !important; }
.sh-drop__rowpic.is-cover img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 3px;
}

/* 下拉里的图片卡片版式（创意设计） */
.sh-drop__listgrid--grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
}
.sh-drop__listgrid--grid .sh-drop__card { display: block; text-decoration: none; }
.sh-drop__listgrid--grid .sh-drop__pic {
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  overflow: hidden;
  background: #eef1f5;
}
.sh-drop__listgrid--grid .sh-drop__pic img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.sh-drop__listgrid--grid .sh-drop__card:hover .sh-drop__pic img { transform: scale(1.04); }
.sh-drop__listgrid--grid .sh-drop__title {
  display: block;
  margin-top: 8px;
  font: 400 12.5px/1.4 "Microsoft YaHei", Arial, sans-serif;
  color: #333;
}

/* Creative Design 页面卡片：白色卡片 + 图片 + 标题（统一圆角阴影） */
.is-grid3 .cat-card { background: transparent !important; }
.is-grid3 .cat-card__link {
  background: #fff !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 17, 21, .07) !important;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.is-grid3 .cat-card__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 17, 21, .12) !important;
}
.is-grid3 .cat-card__img {
  border-radius: 0 !important;
  aspect-ratio: 3 / 2 !important;
}
.is-grid3 .cat-card__body {
  padding: 14px 16px 16px !important;
}
.is-grid3 .cat-card__title {
  font: 600 14px/1.45 "Microsoft YaHei", Arial, sans-serif !important;
  color: #1a1d21 !important;
  white-space: normal !important;
  overflow: visible !important;
}

/* Creative Design：自适应列数（4 张刚好一行，多了自动换行） */
.is-grid3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 22px !important;
  align-items: start;
}
@media (max-width: 1100px) {
  .is-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 820px) {
  .is-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Creative Design：固定 4 列（4 张一行），窄屏递减 */
.is-grid3 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; }
@media (max-width: 1000px) { .is-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 760px)  { .is-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 520px)  { .is-grid3 { grid-template-columns: 1fr !important; } }

/* Creative Design：4 列（更高优先级，压过旧的 3 列规则） */
.grid.is-grid3, ul.is-grid3, ul.cat-grid.is-grid3 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
@media (max-width: 1000px) {
  .grid.is-grid3, ul.is-grid3, ul.cat-grid.is-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .grid.is-grid3, ul.is-grid3, ul.cat-grid.is-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Creative 下拉卡片：字体与产品渲染下拉完全一致 */
.sh-drop__listgrid--grid .sh-drop__title {
  margin-top: 6px !important;
  font: 400 12px/1.45 "Microsoft YaHei", Arial, sans-serif !important;
  color: #0f1115 !important;
}
.sh-drop__listgrid--grid { gap: 16px !important; }

/* Creative 下拉卡片标题：与产品渲染下拉同字重同色 */
.sh-drop__listgrid--grid .sh-drop__title {
  font: 700 12px/1.45 "Microsoft YaHei", Arial, sans-serif !important;
  color: #1a1d21 !important;
  margin-top: 6px !important;
}

/* Creative Design 页面：每行 2 个 */
.grid.is-grid3, ul.is-grid3, ul.cat-grid.is-grid3 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}
@media (max-width: 700px) {
  .grid.is-grid3, ul.is-grid3, ul.cat-grid.is-grid3 { grid-template-columns: 1fr !important; }
}

/* VI Design 卡片图统一 16:10，行高对齐 */
[data-sub=vi-design] .cat-card__img {
  aspect-ratio: 16 / 10;
  background: #eef1f5;
  overflow: hidden;
}
[data-sub=vi-design] .cat-card__img img {
  width: 100%;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}

/* 修复：pb-split 之前用 margin-left 硬推 300px，导致整块超出视口（横向滚动 + 文字跑到屏幕外） */
.pb-split {
  margin-left: auto !important;
  margin-right: auto !important;
  width: min(100% - 48px, 1340px) !important;
}

