/* 叶萃 YECUI · 竹壳产品展示网站
   设计系统严格还原自 Ardot 设计稿 */

:root {
  --canvas: #FAFAF7;
  --white: #FFFFFF;
  --ink: #1F1B16;
  --muted: #5C5648;
  --accent: #8B6F47;
  --sage: #7A8471;
  --sage-light: #B89484;
  --dark: #3A4032;
  --footer: #262B23;
  --footer-text: #D6D2C8;
  --beige: #F2EFE8;
  --line: #E8E4DA;

  --pad-x: 64px;
  --sec-y: 80px;
  --radius-card: 20px;
  --radius-btn: 8px;

  /* 主导航实测高度，给详情页吸顶的「返回 + 面包屑」行当 top 偏移量用。
     注意：导航高度不是常数（窄屏链接换行时 82px → 105px），所以由
     assets/sticky-crumb.js 实测后覆盖这里的兜底值。 */
  --nav-h: 82px;

  --serif: "Noto Serif JP", "Songti SC", serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

.container { max-width: 1440px; margin: 0 auto; }

/* ---------- 导航 ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad-x);
  background: var(--canvas);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }
.nav-brand span { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .88; }
.nav-line { height: 1px; background: var(--line); }

/* ---------- 通用区块 ---------- */
.section { padding: var(--sec-y) var(--pad-x); }
.section-title { margin-bottom: 40px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--sage);
  margin-bottom: 10px;
  display: block;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.3; }
h2 { font-size: 36px; }
h3 { font-size: 20px; }
.lede { font-family: var(--display); font-size: 22px; color: var(--muted); }
.body-text { font-size: 16px; color: var(--muted); line-height: 1.8; }
.link-arrow { font-size: 15px; font-weight: 500; color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: var(--sec-y) var(--pad-x);
}
.hero-text { flex: 0 0 640px; max-width: 640px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 58px; }
.hero-sub { font-family: var(--display); font-style: italic; font-size: 24px; color: var(--muted); }
.hero-img { flex: 1; }
.hero-img img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius-card); }
.btn-row { display: flex; gap: 16px; margin-top: 8px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  transition: opacity .2s, background .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: .88; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--beige); }

/* ---------- 数据条 ---------- */
.stats {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 48px var(--pad-x);
  background: var(--white);
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  color: var(--accent);
  line-height: 1.1;
}
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- 产品卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  /* 产品中心里 #p-<型号> 锚点挂在这一层（而不是外层 <a>）：
     <a> 可聚焦，浏览器跳锚点时会顺手把焦点打上去、画一圈默认黑框，
     在满屏同款卡片里像是 bug。这层不可聚焦，锚点定位照旧、但不留描边。
     scroll-margin-top 让吸顶导航不压住目标卡片；JS 没加载时原生跳转靠它兜底，
     取值与 assets/site-nav.js 里 alignHash() 的 navH()+18px 保持一致。 */
  scroll-margin-top: calc(var(--nav-h) + 18px);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(31,27,22,.10); }
.card-img { height: 260px; overflow: hidden; background: #FFFFFF; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.card-body .name { font-size: 18px; font-weight: 600; color: var(--ink); }
.card-body .en { font-family: var(--display); font-size: 14px; color: var(--muted); }
.card-body .spec { font-size: 13px; color: var(--muted); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

/* ==========================================================================
   首页「产品画册」区块
   --------------------------------------------------------------------------
   本区块沿用外部参考版的配色与版式，不做设计改写：
   #572E2E 深褐标题 / #F0E9E2 米底 / #EFFBA4 黄绿高亮 / #432222→#6F3131 渐变按钮。
   文案已全部改写为本站中文；图片与版式保持沿用，以维持观感一致。
   4 处必要适配，均不改变观感：
     1. 选择器统一收进 .catalog-intro 作用域 —— #intro / .box01 这类通用名
        直接暴露会污染站点其它区块（已确认站点样式表无同名选择器）；
     2. 原来写死的 width:960px 补上 max-width:100%，窄屏不横向溢出；
     3. 站点全局有 `*{box-sizing:border-box}`，参考版没有。
        这里把该子树还原成 content-box —— 否则带 padding 的定宽盒子
        （.box01 div 450px、dt:nth-of-type(2) 540px、dd div 490px）会各窄一截，版式走样；
     4. 4 个按钮 href 指向本站 products.html，不保留外部商城链接。
   ========================================================================== */
.catalog-intro {
  font-family: "Times New Roman", "Noto Serif SC", "Source Han Serif SC",
               "Songti SC", "STSong", "SimSun",
               "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}
/* 还原该区块的盒模型（站点全局是 border-box） */
.catalog-intro * { box-sizing: content-box; }
.catalog-intro .bi-inner { max-width: 960px; margin: 0 auto; }

/* 原站内联样式里的 clearfix */
.catalog-intro .clear { clear: both; }
.catalog-intro .cf::before,
.catalog-intro .cf::after { content: " "; display: table; }
.catalog-intro .cf::after { clear: both; }

/* --- 第一段：竹皮是认知度很高的材质 --- */
#intro_top { width: 960px; max-width: 100%; font-size: 16px; line-height: 1.8; }
#intro_top h2 { margin: 0 0 20px 0; padding: 0; font-size: 24px; color: #572E2E; }
#intro_top h1 { position: relative; margin: 0 0 40px 0; padding: 0 0 5px 110px; font-size: 34px; border-bottom: 1px solid #572E2E; color: #572E2E; }
#intro_top h1 img { position: absolute; top: -10px; left: 0; width: 100px; height: auto; display: block; }
#intro_top .box01 {
  margin-bottom: 40px;
  background: url(images/intro/img_intro01.png) no-repeat left top / contain;
}
#intro_top .box01 div {
  float: right; width: 450px; margin: 20px 0; padding: 30px 0 30px 30px;
  background: #FFF;
}
#intro_top .box02 {
  margin-bottom: 40px; padding-bottom: 100px;
  background: url(images/intro/img_intro02.png) no-repeat right 120px / 440px;
}
#intro_top .box02 div {
  float: left; width: 450px; margin: 0 auto 0 0; padding: 0 30px 30px 0;
  background: #FFF;
}

/* --- 第二段：主要商品介绍 --- */
#intro { width: 960px; max-width: 100%; font-size: 16px; line-height: 1.8; }
#intro h1 { position: relative; margin: 0 0 40px 0; padding: 0 0 5px 110px; font-size: 34px; border-bottom: 1px solid #572E2E; color: #572E2E; }
#intro h1 img { position: absolute; top: -10px; left: 0; width: 100px; height: auto; display: block; }
#intro dl { position: relative; margin-top: 150px; background: #F0E9E2; }
#intro dl dt:nth-of-type(1) { position: absolute; top: -90px; left: 30px; }
#intro dl dt:nth-of-type(2) { position: absolute; top: -70px; right: 0; width: 540px; padding: 30px 0 30px 30px; background: #FFF; }
#intro dl dt img { width: 295px; height: auto; display: block; }
#intro dl dt h2 { margin: 0; font-size: 28px; font-weight: bold; line-height: 1.4; color: #572E2E; }
#intro dl dt h2 span { margin-bottom: 10px; padding: 2px 15px; background: #EFFBA4; font-size: 20px; display: inline-block; }
#intro dl dd { margin: 0; padding: 160px 30px 30px 30px; }
#intro dl dd div { float: left; width: 490px; }
#intro dl dd p { margin: 0 0 20px 0; }
#intro dl dd img { float: right; width: 380px; height: auto; display: block; }
/* 站点样式表里有一个全局 `.btn{padding:12px 28px;border-radius:…;font-size:15px;
   font-weight:600}`，会渗进这块里的 <p class="btn">。原站的 .btn 只是个空壳
   （margin/padding 都被它自己的 reset 清零），样式全在里面的 <a> 上。
   不还原的话按钮会胖一圈 —— 实测 +56px 宽 / +24px 高，把整行撑变形。
   选择器用 #intro .btn（1,1,0）压过站点的 .btn（0,1,0）。 */
#intro .btn {
  margin: 0;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
  background: linear-gradient(to right, #432222, #6F3131);
  transition: all .5s 0s ease;
  display: inline-block;
}
#intro .btn:hover { background: linear-gradient(to right, #6F3131, #9C4242); }
#intro .btn a {
  padding: 10px 40px 10px 20px;
  background: url(images/intro/icon_link_w.png) no-repeat right 20px center / 10px;
  color: #FFF !important; text-align: center; font-size: 20px; font-weight: bold;
  text-decoration: none; display: block;
}

/* 标题字体逐个还原成该区块的衬线栈：
   站点有 h1/h2 的 font-family 直陈规则，会盖掉继承来的字体。 */
#intro_top h1, #intro_top h2, #intro h1, #intro dl dt h2 { font-family: inherit; }

/* 补回被站点全局样式盖掉的继承值。
   参考版自带完整 reset（
   `body,div,dl,dt,dd,…,p,…{margin:0;padding:0}`），和站点的 `*{margin:0;padding:0}`
   效果一致，所以外边距不用管；**只有 line-height 需要还原** ——
   参考版没有重置行高，h1/h2 是靠 `#intro_top{line-height:1.8}` 继承下来的，
   而站点有 `h1,h2,h3{line-height:1.3}` 这条直陈规则会盖掉继承值，
   实测 34px 的 h1 会矮 20px、整段跟着错位。
   注意 `#intro dl dt h2` 自己写了 line-height:1.4，优先级更高，不受影响。 */
#intro_top h1, #intro_top h2, #intro h1 { line-height: inherit; }

/* 窄屏兜底：原站是 960 定宽 + 浮动，窄屏放不下，退化成单列（不改变桌面观感） */
@media (max-width: 1040px) {
  #intro_top, #intro { width: 100%; }
  #intro_top .box01, #intro_top .box02 { background: none; padding-bottom: 0; }
  #intro_top .box01 div, #intro_top .box02 div {
    float: none; width: auto; margin: 0 0 24px; padding: 24px;
  }
  #intro dl { margin-top: 32px; }
  #intro dl dt:nth-of-type(1), #intro dl dt:nth-of-type(2) { position: static; }
  #intro dl dt:nth-of-type(2) { width: auto; padding: 20px; }
  #intro dl dt img { width: 220px; }
  #intro dl dd { padding: 24px; }
  #intro dl dd div, #intro dl dd img { float: none; width: 100%; }
  #intro dl dd img { margin-top: 20px; }
  #intro .btn { display: block; }
}

/* ---------- 深色区块 ---------- */
.dark { background: var(--dark); color: #fff; }
.dark h2 { color: #fff; }
.dark .body-text { color: var(--footer-text); }
.dark .eyebrow { color: var(--sage-light); }
.dark-split {
  display: flex;
  gap: 64px;
  align-items: center;
  padding: var(--sec-y) var(--pad-x);
}
.dark-split .text { flex: 0 0 640px; max-width: 640px; display: flex; flex-direction: column; gap: 24px; }
.dark-split .media { flex: 1; }
.dark-split .media img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-card); }
.dark .link-arrow { color: #fff; }

/* ---------- 关于（浅色） ---------- */
.about-split {
  display: flex;
  gap: 64px;
  align-items: center;
  padding: var(--sec-y) var(--pad-x);
}
.about-split .media { flex: 1; }
.about-split .media img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-card); }
.about-split .text { flex: 0 0 640px; max-width: 640px; display: flex; flex-direction: column; gap: 24px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--footer); padding: 64px var(--pad-x); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo { font-family: var(--serif); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-slogan { font-family: var(--display); font-size: 15px; color: var(--footer-text); line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--sage); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--footer-text); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  font-size: 13px;
  color: var(--sage);
}

/* ---------- 页面标题 ---------- */
.page-head { padding: var(--sec-y) var(--pad-x) 48px; }
.page-head h1 { font-size: 48px; margin-bottom: 12px; }
.page-head .lede { margin-bottom: 12px; }

/* ---------- 系列区块 ---------- */
/* scroll-margin-top：从首页卡片带 #锚点 跳转进来时，避免系列标题被 sticky 导航遮住 */
.series { padding: 0 var(--pad-x) 64px; scroll-margin-top: 96px; }
.series-head { margin-bottom: 24px; }
.series-head .eyebrow { font-size: 12px; }
.series-head h2 { font-size: 28px; }

/* ---------- 优势卡 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.adv-icon {
  width: 48px; height: 48px;
  background: var(--beige);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.adv h3 { font-size: 20px; }
.adv p { font-size: 15px; color: var(--muted); }

/* ---------- 对比 ---------- */
.compare { display: flex; gap: 64px; padding: var(--sec-y) var(--pad-x); }
.compare .left { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.compare .left h2 { font-size: 32px; color: #fff; }
.compare .right { flex: 1; display: flex; flex-direction: column; gap: 32px; justify-content: center; }
.cmp-item { display: flex; flex-direction: column; gap: 4px; }
.cmp-item .val { font-family: var(--display); font-weight: 600; font-size: 32px; color: #fff; }
.cmp-item .lbl { font-size: 14px; color: var(--sage-light); }

/* ---------- 信息卡 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.info-card { background: var(--white); border-radius: var(--radius-card); padding: 24px; }
.info-card .lbl { font-size: 13px; font-weight: 600; color: var(--sage); margin-bottom: 8px; }
.info-card .val { font-size: 16px; color: var(--ink); white-space: pre-line; line-height: 1.7; }

/* ---------- 联系页 ---------- */
.contact-wrap { display: flex; gap: 48px; padding: 0 var(--pad-x) var(--sec-y); align-items: flex-start; }
.form-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-card h2 { font-size: 24px; margin-bottom: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--canvas);
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }
.submit {
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: opacity .2s;
}
.submit:hover { opacity: .88; }
.contact-info { flex: 0 0 380px; display: flex; flex-direction: column; gap: 16px; }
.info-row { background: var(--white); border-radius: var(--radius-card); padding: 20px 24px; }
.info-row .lbl { font-size: 13px; font-weight: 600; color: var(--sage); margin-bottom: 6px; }
.info-row .val { font-size: 16px; color: var(--ink); }

/* ---------- CTA ---------- */
.cta-band {
  margin: 0 var(--pad-x) var(--sec-y);
  background: var(--beige);
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  :root { --pad-x: 32px; }
  .card-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .hero, .dark-split, .about-split, .compare { flex-direction: column; }
  .hero-text, .dark-split .text, .about-split .text { flex: 1 1 auto; max-width: 100%; }
  .hero h1 { font-size: 42px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .contact-wrap { flex-direction: column; }
  .contact-info { flex: 1 1 auto; width: 100%; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .card-grid, .info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stats { flex-wrap: wrap; gap: 24px; }
  .stat { flex: 1 1 40%; }
}


/* ---------- 产品中心：盒型卡片（型号 / 名称 / 英文 / 用途 / 尺寸） ---------- */
.series-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.card-body .code {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .10em;
  color: var(--sage);
}
.card-body .name { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.card-body .en { font-family: var(--display); font-size: 14px; color: var(--muted); line-height: 1.4; }
.card-body .meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 2px;
}
.card-body .meta .lbl {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  margin-top: 0;
}
.card-body .meta .val {
  flex: 1 1 auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

/* ---------- 产品详情页：顶部返回按钮 + 面包屑 ---------- */
/* 这一行要像主导航一样吸顶（不随向下滚动消失）：贴在 .nav 下沿。
   ⚠️ top 用 var(--nav-h)，不能写死数字 —— 导航高度随宽度变（≥800px 是 82.39px，
   约 680~768px 链接换行变 104.78px）。真实高度由 assets/sticky-crumb.js 实测写入。
   ⚠️ 「两行之间那条缝」的根因是**亚像素**：--nav-h 只要比导航实际高度大零点几像素
   （比如 round(104.78) 得 105），这一行就停在导航下沿的下面，中间留出一行「导航只盖住
   一部分、剩下透出后面内容」的像素 —— 滚动时后面的内容变，那条缝就跟着变色。
   sticky-crumb.js 里对实测高度**向下取整**（floor），保证 --nav-h ≤ 导航实际高度，
   这一行的上沿永远落在导航的不透明区域内，缝从物理上消失（导航同样是不透明的 --canvas，
   那半个像素的混合结果仍是画布色）。所以这里不要写 calc(var(--nav-h) - 2px) 去「压进去」，
   那会把返回按钮顶部约 2px 的边框切掉，得不偿失。
   ⚠️ 上内边距必须是 0：这里原本是 22px（吸顶后我给成 14px），会在导航与这一行之间
   留出一条空白横带，看着就是两行中间「有个空隙」。导航自己已有 20px 下内边距，
   足够，这里再补就是多余。 */
.crumb-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  /* 上下内边距相等（各 5px）+ 底部 1px 分隔线 → 返回按钮在这一行里**竖向居中**。
     原来是 `0 var(--pad-x) 10px`：上边距 0、下边距 10px，按钮贴在导航下沿、下面空一截，
     看着偏上。改成 5/5 后整行高度不变（仍 41.8px），按钮下移 5px 到中间。
     ⚠️ 左右仍是 var(--pad-x)（横向位置不动）。 */
  padding: 5px var(--pad-x);
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}
/* 兜底（只在这一行**已经吸住**时启用，由 sticky-crumb.js 加 .is-stuck）。
   上面靠 floor 已经消掉了稳态下的缝；这里防的是**瞬时**误差 —— 导航高度在一个测量周期内
   变了（外链字体落位、链接换行、缩放），--nav-h 还停在旧值上，可能一时比实际大。
   这时在这行上方铺一块同色背景把缝补掉：
   · 吸住状态下这行上方整片都是导航（不透明、层级更高），铺上去平时完全看不见；
   · 最多能补 40px 的误差，远超实际需要。
   · 页面停在顶部（未吸住）时不加这个类 → 导航下沿那条 .nav-line 分隔线不会被盖掉
     （铺同色层的做法一旦无条件生效，就会把那条线一起吃掉，实测过，所以必须门控）。 */
.crumb-bar.is-stuck::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  height: 40px;
  background: var(--canvas);
  pointer-events: none;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  /* 内边距由 8px 16px 8px 13px 收了一档（2026-09-20）：盒子 115.8×34.8 → 111.8×30.8。
     想再大/再小就只动这一行，别去改字号和圆角。 */
  padding: 6px 14px 6px 11px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.back-btn:hover { background: var(--beige); border-color: var(--sage); color: var(--accent); }
.back-btn svg { width: 14px !important; height: 14px !important; flex: 0 0 auto; display: block; }

.crumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted);
}
.crumb a { color: var(--muted); transition: color .2s; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--line); }

.detail {
  display: flex; gap: 56px;
  padding: 28px var(--pad-x) var(--sec-y);
  align-items: flex-start;
}
.detail-media { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.detail-main {
  background: var(--white);
  border-radius: var(--radius-card);
  height: 520px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.detail-main img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.detail-thumbs button {
  padding: 0; height: 78px; overflow: hidden; cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.detail-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumbs button:hover { border-color: var(--sage); }
.detail-thumbs button.active { border: 2px solid var(--accent); }

.detail-info { flex: 0 0 460px; max-width: 460px; display: flex; flex-direction: column; gap: 12px; }
.detail-info h1 { font-size: 33px; }
.detail-code {
  font-family: var(--display);
  font-size: 15px; font-weight: 600; letter-spacing: .12em;
  color: var(--sage);
}
.detail-en { font-family: var(--display); font-size: 19px; color: var(--muted); }
.spec-table { margin-top: 10px; border-top: 1px solid var(--line); }
.spec-table .row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-table .k { flex: 0 0 104px; font-size: 13px; color: var(--muted); }
.spec-table .v { flex: 1 1 auto; font-size: 14px; color: var(--ink); font-weight: 500; }
.detail-info .btn-row { margin-top: 12px; }

.detail-desc .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.detail-desc h3 { margin-bottom: 10px; }
.detail-desc p { font-size: 15px; color: var(--muted); line-height: 1.85; }
.detail-desc p + p { margin-top: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 13px; color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
}

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.related-grid .card-img { height: 180px; }

.card-link { display: block; color: inherit; }
.card-link:hover .card { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(31,27,22,.10); }

/* ---------- 首页「竹壳产品系列」四张卡片：统一定框 ----------
   4 张原图比例分别是 1.500 / 1.455 / 1.506 / 1.794，原先框统一为 100% × 260px，
   比例差得越多、object-fit:contain 留下的空白越大。
   这里把框改为「餐盘图」(card-tray.jpg, 512×352) 的比例，并让图片裁切填满，
   于是 4 个框尺寸完全一致、且都不再出现空白。

   注意 1：.card-img / .card-grid 被首页与产品中心共用，
           所以用节点 ID 精确限定作用域，产品中心不受影响。
   注意 2：这里**不能**用 !important —— OEM 那张图靠元素内联样式覆盖成 contain，
           样式表一旦带 !important 就会把它压回去（已经踩过一次）。 */
.card-grid[data-page-node-id="PapGrscrKRYfpvPVRPxVAO"] .card-img {
  height: auto;
  aspect-ratio: 512 / 352;
}
.card-grid[data-page-node-id="PapGrscrKRYfpvPVRPxVAO"] .card-img img {
  object-fit: cover;
}

/* OEM 定制系列那张图是白底四宫格，四周自带留白（左17/上28/右1/下23 px），
   用 cover 会裁掉左右各 9.5%（合计 18.9% 宽度）的内容；
   改用 contain 完整缩放显示 —— 上下各约 19.7px 的空白与图片自身白底连成一片，
   看不出接缝，也不丢失任何内容。
   选择器带上图片节点 ID 并叠加网格节点 ID，确保优先级高于上面的 cover 规则；
   这样即使画布把内联样式清空（画布保存时确实会这么干），这里依然生效。 */
.card-grid[data-page-node-id="PapGrscrKRYfpvPVRPxVAO"]
  .card-img[data-page-node-id="8iEDyYiujXskJsLCvRkN0z"] img {
  object-fit: contain;
}

@media (max-width: 1100px) {
  .detail { flex-direction: column; gap: 32px; }
  .detail-info { flex: 1 1 auto; max-width: 100%; }
  .detail-main { height: 420px; }
  .detail-desc .cols { grid-template-columns: 1fr; gap: 32px; }
  .detail-thumbs { grid-template-columns: repeat(4, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .detail-thumbs { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   环保理念：专题长文
   --------------------------------------------------------------------------
   版式为单栏专题长文：题图 → 标题 → 引言 → 三个问答式小节
   （每节若干段 + 配图）→ 结语 → 规格对照表。
   配色、字体、圆角全部沿用本站设计系统。
   ========================================================================== */
.sus-article {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--sec-y) var(--pad-x) 0;
}

/* 题图：参考版是 640×425（3:2），早期沿用该比例；2026-09-25 用户换的题图上带
   烧进图里的标题字（552×308，16:9 原生），按 3:2 裁会切掉左边的「考」字，
   所以改成按源图比例 16:9 —— 源图 1.792 对 16:9 只裁 2px，等于不裁。 */
.sus-eyecatch { margin: 0 0 44px; }
.sus-eyecatch img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.sus-article h1 { font-size: 44px; margin-bottom: 10px; }
.sus-article .lede { margin-bottom: 32px; }

.sus-article p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.95;
}
.sus-article .intro p { font-size: 17px; }
.sus-article p + p { margin-top: 14px; }

/* 小节标题：带 01/02/03 序号，呼应「三个问题」 */
.sus-article h2 {
  font-size: 27px;
  line-height: 1.45;
  margin: 64px 0 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.sus-article h2 .sus-num {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .20em;
  color: var(--sage);
  margin-bottom: 8px;
}

/* 配图：wide 铺满文章栏，narrow 收窄成插图 */
.sus-fig { margin: 30px 0; }
.sus-fig img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}
.sus-fig.narrow { max-width: 460px; }
.sus-fig figcaption {
  font-size: 13px;
  color: var(--sage);
  margin-top: 12px;
}

/* 结语 */
.sus-outro {
  margin-top: 44px;
  padding: 30px 32px;
  background: var(--beige);
  border-radius: var(--radius-card);
}
.sus-outro p { color: var(--ink); }
.sus-outro p + p { margin-top: 12px; }

/* 材质结构对照表 */
.sus-table { margin-top: 44px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sus-table table { width: 100%; border-collapse: collapse; }
.sus-table th,
.sus-table td {
  padding: 15px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.sus-table th {
  background: var(--beige);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
}
.sus-table td { font-size: 14px; color: var(--ink); line-height: 1.7; }
.sus-table tr:last-child td { border-bottom: none; }
.sus-table .sus-struct { font-weight: 600; }
.sus-table .sus-series { color: var(--muted); font-size: 13px; }
.sus-table .sus-models { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.sus-table .sus-models a { color: var(--accent); font-weight: 600; font-size: 13px; }
.sus-table .sus-models a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .sus-article h1 { font-size: 34px; }
  .sus-article h2 { font-size: 23px; margin-top: 48px; }
  .sus-eyecatch { margin-bottom: 32px; }
}
@media (max-width: 640px) {
  .sus-article h1 { font-size: 28px; }
  .sus-fig.narrow { max-width: 100%; }
  .sus-table th, .sus-table td { padding: 12px 14px; }
  .sus-table thead { display: none; }
  .sus-table td { display: block; border-bottom: none; padding-bottom: 4px; }
  .sus-table td:last-child { padding-bottom: 16px; }
  .sus-table tr { border-bottom: 1px solid var(--line); display: block; }
  .sus-table tr:last-child { border-bottom: none; }
}

/* ==========================================================================
   关于我们页 —— 版式参考 takenokawa.com/corporate
   --------------------------------------------------------------------------
   只借了那一页的「线性结构」：企业简介 → 产品分类入口 → 致辞（图文+署名）
   → 会社概要（键值表）→ 沿革（纵向时间线）→ 引流 → 页脚。
   文案、配图、事实全部换成叶萃自己的：对方是日本株式会社松本的资料
   （商号 / 创业年 / 役员 / 所在地 / 天津法人），一条都不适用，故未沿用；
   凡本站没有依据的工商细节（成立年份、资本金、役员姓名、具体地址）一律不写。
   配色、字体、圆角全部沿用本站设计系统。
   ========================================================================== */

/* 致辞 */
.greet { max-width: 820px; }
.greet p { font-size: 16px; color: var(--muted); line-height: 1.95; }
.greet p + p { margin-top: 14px; }
.greet-sign {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
/* auto-fit：2 张图排 2 列、3 张排 3 列，以后加图减图都不用改 CSS */
.greet-figs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.greet-figs figure { margin: 0; }
.greet-figs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.greet-figs figcaption { font-size: 13px; color: var(--sage); margin-top: 10px; line-height: 1.6; }

/* 公司概况：左键右值的资料表 */
.about-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}
.about-table table { width: 100%; border-collapse: collapse; }
.about-table th,
.about-table td {
  padding: 16px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.about-table th {
  width: 190px;
  background: var(--beige);
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  white-space: nowrap;
}
.about-table td { font-size: 15px; color: var(--ink); line-height: 1.75; }
.about-table tr:last-child th,
.about-table tr:last-child td { border-bottom: none; }
.about-note { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 工序时间线：竖轴 + 圆点，呼应参考页「沿革」的纵向年表 */
.about-timeline {
  list-style: none;
  border-left: 1px solid var(--line);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-timeline li { position: relative; }
.about-timeline li::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}
.about-timeline .at-step {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--sage);
  margin-bottom: 6px;
}
.about-timeline h3 { font-size: 19px; margin-bottom: 6px; }
.about-timeline p { font-size: 15px; color: var(--muted); line-height: 1.85; }

@media (max-width: 900px) {
  .about-table th,
  .about-table td { display: block; width: auto; }
  .about-table th {
    background: transparent;
    padding: 16px 20px 4px;
    border-bottom: none;
  }
  .about-table td { padding: 0 20px 16px; border-bottom: 1px solid var(--line); }
  .about-table tr:last-child td { border-bottom: none; }
  .about-timeline { padding-left: 24px; }
  .about-timeline li::before { left: -30px; }
}

/* 致辞两栏：左正文、右应用图。
   比例对齐上一节 .about-split（「从竹林到餐桌」）：正文 640 : 图 608，即 0.95。
   用 640fr/608fr 而不是「640px 固定 + 1fr」—— 后者在 1120px 会把图压到 288px；
   fr 版本按比例同时收缩，0.95 这个比例在任何宽度都成立。
   在 1440px（设计稿宽度）下算出来正好是 640 : 608，与参照节一致。
   图源 776×584（比例 1.3288），跟 4/3=1.3333 几乎一致 —— 按 4/3 显示
   上下总共只会裁掉 ~1.6px，等于没裁。 */
.greet-grid {
  display: grid;
  grid-template-columns: 640fr 608fr;
  gap: 64px;
  align-items: start;
}
.greet-col { min-width: 0; }
.greet-side { margin: 0; }
.greet-side img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.greet-side figcaption {
  font-size: 13px;
  color: var(--sage);
  margin-top: 10px;
  line-height: 1.6;
}

/* 低于 1100px 时正文栏会被挤到 30 字以内，改成上下叠放 */
@media (max-width: 1100px) {
  .greet-grid { grid-template-columns: 1fr; gap: 32px; }
  /* 叠放时图保持桌面版 640px 的栏宽，不缩回小图 */
  .greet-side { max-width: 640px; }
}

