/* Linear-grade dark design system — authored for Asquad B2B export templates.
   Design DNA: linear.app DESIGN.md (Inter Variable, near-black #08090a, indigo #5e6ad2,
   semi-transparent white borders, weight 510 signature). NOT a copy of Linear's content —
   colour/type/layout language only. */
:root {
  --bg: #08090a;
  --panel: #0f1011;
  --elevated: #191a1b;
  --elevated-2: #202123;
  --text: #f7f8f8;
  --text-2: #d0d6e0;
  --text-3: #8a8f98;
  --text-4: #62666d;
  --brand: #5e6ad2;
  --accent: #7170ff;
  --accent-hi: #828fff;
  --border: rgba(255, 255, 255, 0.06);
  --border-2: rgba(255, 255, 255, 0.09);
  --green: #27a644;
  --maxw: 1120px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  /* CJK 兜底：公司名 / 地址含中文时不掉到浏览器默认字体（playbook §6） */
  font-family:
    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  font-feature-settings: "cv01", "ss03";
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 510;
  letter-spacing: 0.04em;
  color: var(--accent);
}
/* nav */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(8, 9, 10, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.brand .dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: radial-gradient(120% 120% at 30% 25%, var(--accent-hi), var(--brand) 70%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 8px 24px -8px var(--brand);
}
.brand img {
  height: 26px;
  width: auto;
  border-radius: 6px;
}
.navlinks {
  display: flex;
  gap: 30px;
}
.navlinks a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s;
}
.navlinks a:hover {
  color: var(--text);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 510;
  padding: 8px 15px;
  border-radius: 8px;
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: 0.15s;
  cursor: pointer;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.btn-primary {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 10px 30px -10px var(--brand);
}
.btn-primary:hover {
  background: #6b76e0;
}
/* hero —— 两态（Shopify image-banner 范式，playbook §1）
   · 有照片 → 整幅出血 <img> + 均匀一层遮罩，图就是主角（去掉一切装饰）
   · 无照片 → 本模板自己的干净近黑纯底 + 极克制网格底纹（去掉 indigo 渐变球）
   两态同高、内容同为底部左对齐。 */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 84vh;
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 132px;
  padding-bottom: 76px;
}
/* 有照片：绝对定位 <img>（非 background-image，否则 fetchpriority 不生效） */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
/* 作用域收在 .hero-media 内：详情页图库容器同名 .hero-img 是另一处既有用法，不可波及 */
.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 均匀一层遮罩（对齐 Dawn image overlay opacity）——深色模板取 .45，用品牌近黑而非纯黑 */
.hero--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 9, 10, 0.45);
}
.hero--media .strip {
  border-top-color: rgba(255, 255, 255, 0.22);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}
/* 深底文字方案：照片被 .45 遮罩后底色仍在 L≈100-130，品牌那套 3% 白底 / 9% 白描边
   在其上对比度约 1.15:1，次级按钮与 eyebrow pill 会整体消失。这里只在有图态把
   玻璃态控件换成深色半透底 + 更实的白描边（仍是 linear 的半透明白语言，不动品牌变量）。 */
.hero--media .pill {
  background: rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.28);
}
.hero--media .btn:not(.btn-primary) {
  background: rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.34);
}
.hero--media .btn:not(.btn-primary):hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero--media .cta-note,
.hero--media .strip .lbl {
  color: rgba(255, 255, 255, 0.78);
}
.hero--media .sub {
  color: rgba(255, 255, 255, 0.86);
}
.hero--media .logos {
  opacity: 0.92;
}
.hero--media .hero-inner {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
/* 无照片：干净近黑纯底 + 模板原生网格底纹（linear DNA，2.5% 白线，极克制） */
.hero--plain {
  background: var(--bg);
}
.hero--plain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(72% 60% at 50% 10%, #000, transparent 78%);
  opacity: 0.5;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  padding: 6px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 26px;
}
.pill .g {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(39, 166, 68, 0.18);
}
h1 {
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 510;
  line-height: 1.02;
  letter-spacing: -0.022em;
  max-width: 16ch;
  margin-bottom: 22px;
  text-wrap: balance;
}
h1 .muted {
  color: var(--text-3);
}
.sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
  margin-bottom: 34px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-note {
  font-size: 14px;
  color: var(--text-3);
}
/* logo strip */
.strip {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 70px;
}
.strip .lbl {
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 20px;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 46px;
  align-items: center;
  opacity: 0.7;
}
.logos span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-2);
}
/* sections */
section.block {
  padding: 92px 0;
}
.sec-head {
  max-width: 60ch;
  margin-bottom: 50px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 510;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 14px 0 16px;
  text-wrap: balance;
}
.sec-head p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
}
.grid {
  display: grid;
  gap: 18px;
}
.g3 {
  grid-template-columns: repeat(3, 1fr);
}
.g4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  transition: 0.2s;
}
.card:hover {
  border-color: var(--border-2);
  background: var(--elevated);
}
.ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(113, 112, 255, 0.1);
  border: 1px solid rgba(113, 112, 255, 0.22);
  color: var(--accent-hi);
  margin-bottom: 18px;
}
.ic svg {
  width: 19px;
  height: 19px;
}
.card h3 {
  font-size: 17px;
  font-weight: 590;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
}
.card p {
  font-size: 15px;
  color: var(--text-3);
  line-height: 1.6;
}
/* product showcase —— 图册页式竖构图卡（playbook §2）：3:4 铺满 + rollover 换第二张图。
   保留 linear DNA：1px 半透明白描边 + panel 底 + 克制圆角，不走柔影/位移。 */
.prod {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.prod:hover {
  border-color: var(--border-2);
}
.prod .img {
  aspect-ratio: 3 / 4;
  background: var(--elevated);
  position: relative;
  overflow: hidden;
}
/* 主图 + rollover 第二图叠放，双双铺满 3:4 画面 */
.prod .pc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    opacity 0.45s ease;
}
.prod .pc-img-2 {
  opacity: 0;
}
.prod:hover .pc-img {
  transform: scale(1.03);
}
.prod:hover .pc-img-2 {
  opacity: 1;
}
/* 无图占位：干净中性面 + 极淡描边圆（去掉暖色发光球，playbook §2 / §5） */
.prod .img .glow {
  position: absolute;
  inset: 0;
  background: var(--elevated);
}
.prod .img .glow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.prod .meta {
  padding: 18px 20px 22px;
}
.prod .tag {
  font-size: 12px;
  color: var(--accent-hi);
  font-weight: 510;
  letter-spacing: 0.03em;
}
.prod h4 {
  font-size: 17px;
  font-weight: 590;
  letter-spacing: -0.01em;
  margin: 8px 0 6px;
}
/* 描述截断 2 行 —— 卡是图册页不是资料条目（playbook §2） */
.prod p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* stats */
.stats {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel), #0b0c0d);
  padding: 48px 40px;
}
.statgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.stat .n {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 510;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat .n span {
  color: var(--accent);
}
.stat .l {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 10px;
}
/* page header (about/contact/products) */
.pagehead {
  position: relative;
  padding: 92px 0 26px;
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 420px;
  background: radial-gradient(50% 50% at 50% 0%, rgba(94, 106, 210, 0.16), transparent 70%);
  pointer-events: none;
}
.pagehead .wrap {
  position: relative;
  z-index: 1;
}
.pagehead h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 16px;
}
.crumb {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
}
.crumb a:hover {
  color: var(--text);
}
.prose {
  max-width: 64ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
}
.prose p {
  margin-bottom: 18px;
}
/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
}
.field h4 {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 510;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.field a,
.field p {
  font-size: 16px;
  color: var(--text);
}
/* detail */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.detail .hero-img {
  aspect-ratio: 4 / 3;
  max-height: 420px;
  border-radius: 18px;
  border: 1px solid var(--border);
  /* 无图时这里就是详情页最显眼的主位：跟产品卡占位一样收成干净中性面，
     不留 indigo 光晕（playbook §5 / 配方 §2.2） */
  background: var(--elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.detail .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail .hero-img .img-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-4);
}
.detail .hero-img .img-ph span {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
/* gallery (thumbnail row) */
.gallery {
  min-width: 0;
}
.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.thumb {
  width: 66px;
  height: 66px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
  cursor: pointer;
  transition: 0.15s ease;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb:hover {
  border-color: var(--border-2);
}
.thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.detail h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 14px;
}
.spectable {
  margin: 24px 0 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.spectable .srow {
  display: flex;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spectable .srow:last-child {
  border-bottom: none;
}
.spectable .srow .k {
  color: var(--text-3);
}
.spectable .srow .v {
  color: var(--text);
  font-weight: 510;
}
.spec-note {
  margin: 22px 0 30px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
/* price block */
.price-ladder,
.price-variant {
  width: 100%;
  margin: 22px 0 26px;
  border: 1px solid var(--border);
  border-radius: 12px;
  border-collapse: collapse;
  overflow: hidden;
  font-size: 14px;
}
.price-ladder th,
.price-variant th {
  text-align: left;
  font-size: 12px;
  font-weight: 510;
  letter-spacing: 0.03em;
  color: var(--text-3);
  background: var(--panel);
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
}
.price-ladder th:last-child,
.price-variant th:last-child {
  text-align: right;
}
.price-ladder td,
.price-variant td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 400;
}
.price-ladder td:first-child,
.price-variant td:first-child {
  color: var(--text-3);
}
.price-ladder td:last-child,
.price-variant td:last-child {
  text-align: right;
  font-weight: 510;
  color: var(--accent-hi);
}
.price-ladder tr:last-child td,
.price-variant tr:last-child td {
  border-bottom: none;
}
.price-range {
  margin: 22px 0 26px;
  font-size: 22px;
  font-weight: 510;
  letter-spacing: -0.01em;
  color: var(--accent-hi);
}
.price-inquire {
  display: inline-flex;
  align-items: center;
  margin: 22px 0 26px;
  padding: 10px 16px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: rgba(113, 112, 255, 0.1);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-hi);
}
/* certification chips */
.cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
/* trade facts (MOQ / lead time / customization) */
.facts {
  margin: 0 0 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.facts:empty {
  display: none;
}
.fact {
  display: flex;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.fact:nth-child(odd) {
  background: var(--panel);
}
.fact:last-child {
  border-bottom: none;
}
.fact-k {
  flex: 0 0 108px;
  color: var(--text-3);
}
.fact-v {
  color: var(--text);
  font-weight: 500;
  /* 与规格表值列同规则：右对齐，数字不悬在行中 */
  margin-left: auto;
  text-align: right;
}
/* Save to inquiry list（收藏协议 fav-btn） */
.fav-btn-card {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(8px);
  color: var(--text-2);
  cursor: pointer;
  transition: 0.15s;
}
.fav-btn-card:hover {
  color: var(--accent-hi);
  border-color: rgba(255, 255, 255, 0.14);
  transform: scale(1.08);
}
.fav-btn-card.is-active {
  color: var(--accent-hi);
  border-color: var(--accent);
}
.fav-btn-card.is-active svg {
  fill: var(--accent-hi);
  stroke: var(--accent-hi);
}
.fav-btn-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fav-btn-detail.is-active {
  color: var(--accent-hi);
  border-color: var(--accent);
}
.fav-btn-detail.is-active svg {
  fill: currentColor;
}
.fav-btn .fav-label-added {
  display: none;
}
.fav-btn.is-active .fav-label-add {
  display: none;
}
.fav-btn.is-active .fav-label-added {
  display: inline;
}
/* 商品详情页（detail-rich 富文本） */
.detail-rich {
  /* 按「好读的文章」收 measure（playbook §3.1），不套零售调性 */
  max-width: 72ch;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}
.detail-rich h1,
.detail-rich h2,
.detail-rich h3 {
  color: var(--text);
  font-weight: 510;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 32px 0 12px;
}
.detail-rich h1 {
  font-size: 28px;
}
.detail-rich h2 {
  font-size: 24px;
}
.detail-rich h3 {
  font-size: 19px;
}
.detail-rich p {
  margin: 0 0 14px;
}
.detail-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
  margin: 18px auto;
}
.detail-rich ul,
.detail-rich ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.detail-rich li {
  margin-bottom: 6px;
}
.detail-rich hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 26px 0;
}
.detail-rich a {
  color: var(--accent-hi);
}
.detail-rich table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.detail-rich th,
.detail-rich td {
  border: 1px solid var(--border-2);
  padding: 9px 12px;
  text-align: left;
}
.detail-rich th {
  background: var(--panel);
  color: var(--text);
  font-weight: 510;
}
.detail-rich blockquote {
  margin: 18px 0;
  padding: 10px 18px;
  border-left: 3px solid var(--brand);
  background: var(--panel);
  border-radius: 0 10px 10px 0;
}
/* product card price */
.card-price {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 510;
  color: var(--accent-hi);
}
/* pagination */
.pager {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 44px;
}
.pager-nums {
  display: flex;
  gap: 6px;
  align-items: center;
}
.pager-num {
  min-width: 40px;
  padding: 10px 12px;
  justify-content: center;
}
.pager-num.is-current {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  pointer-events: none;
}
.pager-gap {
  color: var(--text-3);
  font-size: 13px;
  padding: 0 2px;
  user-select: none;
}
/* cta */
.final {
  position: relative;
  border: 1px solid var(--border-2);
  border-radius: 22px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(94, 106, 210, 0.22), transparent 60%), var(--panel);
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
}
.final h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 510;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.final p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 46ch;
  margin: 0 auto 30px;
}
/* footer */
footer {
  border-top: 1px solid var(--border);
  padding: 54px 0 60px;
}
.foot {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 30px;
}
.foot h5 {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 510;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.foot a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 11px;
  transition: 0.15s;
}
.foot a:hover {
  color: var(--text);
}
.foot .desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  max-width: 34ch;
  margin-top: 14px;
}
.legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-4);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 860px) {
  .g3,
  .g4,
  .statgrid,
  .foot,
  .contact-grid,
  .detail {
    grid-template-columns: 1fr 1fr;
  }
  .navlinks {
    display: none;
  }
  .detail {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .g3,
  .g4,
  .statgrid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}

/* ════════════ 详情页折叠组（Shopify Dawn collapsible rows 范式，playbook §4.5）════════════
   规格 / 认证 / 交易条款折叠；价格与询盘 CTA 始终常显。原生 <details>，无 JS 也能展开。 */
.acc {
  border-top: 1px solid var(--border);
}
.acc:first-of-type {
  margin-top: 22px;
}
.acc:last-of-type {
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.acc-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 2px;
  font-size: 15px;
  font-weight: 510;
  letter-spacing: -0.01em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.acc-sum::-webkit-details-marker {
  display: none;
}
.acc-sum::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.acc[open] > .acc-sum::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.acc-sum:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.acc-body {
  padding: 0 0 16px;
}
/* 折叠体内既有组件去掉自身外边距，间距交给 .acc-body 统一控 */
.acc-body .spectable,
.acc-body .cert-chips,
.acc-body .facts {
  margin: 0;
}

/* ════════════ 详情页图库：crossfade + lightbox（playbook §4.5 / §5）════════════ */
.detail .hero-img .main-img {
  transition: opacity 0.18s ease;
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(8, 9, 10, 0.86);
  backdrop-filter: blur(10px);
  animation: lb-in 0.2s ease;
  cursor: zoom-out;
}
@keyframes lb-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border-2);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: 0.15s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
}
.lightbox-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ════════════ 陈列区块 lookbook / testimonial / press / promo（playbook §3）════════════
   外壳 section[id] 恒渲染（reorderSections 承重），只对内部内容做 gate；
   区块留白挂在内层 .block-in 上 —— 内容隐藏时 section 高度归零，不留空白带。 */
.block-gated {
  padding: 0;
}
.block-gated .block-in {
  padding: 92px 0;
}

/* lookbook —— 工作室拼贴（Shopify Collage），首格跨两行 */
.lookbook {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
}
.lookbook .lb-cell {
  display: block;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--elevated);
  transition: border-color 0.2s;
}
.lookbook .lb-cell:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}
.lookbook .lb-cell:hover {
  border-color: var(--border-2);
}
.lookbook .lb-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.lookbook .lb-cell:hover img {
  transform: scale(1.04);
}

/* testimonial —— 居中引言，用 510 字重展示体（品牌 DNA） */
.testimonial {
  max-width: 64ch;
  margin: 0 auto;
  text-align: center;
}
.testimonial .tq {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 510;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--text);
  margin-bottom: 22px;
  text-wrap: balance;
}
.testimonial .tname {
  display: block;
  font-size: 15px;
  font-weight: 510;
  color: var(--text-2);
}
.testimonial .trole {
  display: block;
  font-size: 14px;
  color: var(--text-3);
  margin-top: 4px;
}

/* press —— 客户 / 媒体名录，沿用 hero logo strip 的语汇 */
.press-strip {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.press-strip .press-lbl {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
}
.press-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 46px;
  opacity: 0.7;
}
.press-row span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

/* promo —— 招商横幅（Shopify Image with text），复用 final CTA 的靛紫辉光面板语言 */
.promo-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid var(--border-2);
  border-radius: 18px;
  background:
    radial-gradient(90% 160% at 8% 0%, rgba(94, 106, 210, 0.2), transparent 62%), var(--panel);
  padding: 44px;
}
.promo-band .promo-copy {
  max-width: 56ch;
}
.promo-band .promo-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 510;
  letter-spacing: -0.018em;
  line-height: 1.12;
  margin: 10px 0;
  text-wrap: balance;
}
.promo-band .promo-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.promo-band .btn {
  flex: none;
}

@media (max-width: 860px) {
  .lookbook {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    min-height: 76vh;
  }
  .hero-inner {
    padding-top: 104px;
    padding-bottom: 56px;
  }
  .block-gated .block-in {
    padding: 72px 0;
  }
}
@media (max-width: 560px) {
  .lookbook {
    grid-template-columns: 1fr;
  }
  .lookbook .lb-cell:first-child {
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }
  .promo-band {
    padding: 30px 24px;
  }
  .press-row {
    gap: 14px 28px;
  }
}

/* reduced-motion：关掉缩放 / crossfade / lightbox 动画，rollover 的 opacity 切换保留（功能不能丢） */
@media (prefers-reduced-motion: reduce) {
  .prod .pc-img {
    transition: opacity 0.45s ease;
  }
  .prod:hover .pc-img {
    transform: none;
  }
  .lookbook .lb-cell img,
  .lookbook .lb-cell:hover img {
    transition: none;
    transform: none;
  }
  .detail .hero-img .main-img {
    transition: none;
  }
  .acc-sum::after {
    transition: none;
  }
  .lightbox {
    animation: none;
  }
}

/* ── header brand（WEB-HDR1）：公司名单行、超出省略号截断（完整名在 title）。
   名字是页头里唯一可收缩项，右侧按钮 / 菜单不被挤压，页头不被撑高。
   用「可任意处断行 + 限 1 行」而非 nowrap：nowrap 的最小内容宽 = 整个名字，brand 要么
   截不动、要么得设 min-width:0 —— 后者在整行放不下时会把 brand 压到比图标还窄、图标压到
   旁边链接上。这样 brand 最窄 = 图标 + 1 个字，永不与邻居重叠。 */
nav .brand {
  flex-shrink: 1;
}
nav .brand > :not(.brand-name),
nav .brand ~ * {
  flex-shrink: 0;
}
nav .brand-name {
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}
/* 手机宽（≤480）：页头按钮一个不藏，只收紧按钮字号 / 左右内边距 / 间距给公司名让位。
   数值 = 本模板原值与 14px / 12px / 8px 取小（只减不增）。全按 class 选元素：静态站与
   WordPress 两档共用这份 CSS，不依赖只在静态站注入的汉堡菜单或按 .html 改写的链接。 */
@media (max-width: 480px) {
  nav .brand {
    gap: 8px;
  }
  nav .brand ~ * {
    gap: 8px;
  }
  nav .brand ~ * :is(.btn, .ghost) {
    padding-left: 12px;
    padding-right: 12px;
    white-space: nowrap;
  }
}

/* 最窄手机宽（WEB-HDR2，≤400）且页头有 logo：只显示 logo，公司名视觉隐藏——不删节点、不用
   display:none，读屏照读，完整名仍在链接 title 与 logo alt。「有 logo」按 authored 结构判定：
   有 logo 时 <img> 紧挨在 .brand-name 前，无 logo 时那里是占位图标 span，所以无 logo 的站照旧
   单行省略。静态 / WordPress 两档同一份 HTML 与 CSS。断点：30 套实测 ≤400 宽时过半模板连
   「ACME」都放不下，412 起 28/30 放得下（常见机型 360 / 375 / 390 / 393 在内，412 / 414 / 430 在外）。 */
@media (max-width: 400px) {
  nav .brand > img + .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}
