/* Product photographs and copy share one frame, independent of legacy Hero rules. */
.model-hero { --model-hero-inset:clamp(24px,3.3vw,128px); width:100%; }
.model-hero-stage { position:relative; isolation:isolate; }
.model-hero-media { position:relative; width:100%; aspect-ratio:var(--model-hero-aspect,16/9); max-height:calc(100svh - var(--header)); overflow:clip; }
.model-hero-slide { position:absolute; inset:0; opacity:0; pointer-events:none; transition:opacity .9s ease; }
.model-hero-slide.is-active { opacity:1; pointer-events:auto; }
.model-hero-image,.model-hero-image img { display:block; width:100%; height:100%; -o-object-fit:cover; object-fit:cover; }
.model-hero-shade { position:absolute; inset:0 0 auto; height:45%; pointer-events:none; background:linear-gradient(180deg, rgb(0 0 0 / .46), transparent); }
/* 悬浮覆盖层（2026-09-26 业主指令）：型号页 Hero 文案是**顶锚**的（`--model-hero-copy-top`
   或 `--model-hero-inset`，实测 29–48px < 导航栏 76px），所以安全距离加在 `inset-block-start` 上。
   大图本身仍从 top:0 通顶（`.model-hero-stage` 不动），只把文案容器推下来。 */
.model-hero-copy { position:absolute; z-index:1; inset-block-start:calc(var(--header) + var(--model-hero-copy-top,var(--model-hero-inset))); inset-inline:var(--model-hero-inset); color:white; max-width:var(--model-hero-copy-width,760px); }
/* DESIGN.md L17：营销面不得保留持久化大写微标签（唯一例外是首页 Hero kicker，见 Components · Hero carousel）。
   型号页 Hero 的 `Model D` 标识因此去掉大写与只服务于大写的字距，回到内容本身的写法。 */
.model-hero-label { margin-block-end:16px; font-size:.875rem; font-weight:700; letter-spacing:normal; }
.model-hero-copy h1 { margin:0; color:inherit; font-size:clamp(40px,3.1vw,72px); line-height:1.1; font-weight:400; letter-spacing:-.025em; text-wrap:balance; }
.model-hero-word { white-space:nowrap; }
.model-hero .model-hero-support p { color:inherit; max-width:var(--model-hero-body-width,42ch); margin:16px 0 0; font-size:clamp(16px,1.2vw,24px); line-height:1.5; text-wrap:pretty; }
.model-hero-controls { position:absolute; inset-inline-end:var(--model-hero-inset); bottom:20px; display:flex; gap:12px; z-index:1; }
.model-hero-controls button { width:44px; height:44px; padding:0; border:1px solid white; border-radius:50%; background:var(--green-dark); cursor:pointer; }
.model-hero-controls button::after { content:''; display:block; width:10px; height:10px; margin:auto; border-radius:50%; border:1px solid white; }
.model-hero-controls button.is-active::after { background:white; }
.model-hero-controls button:focus-visible { outline:3px solid white; outline-offset:4px; }
.model-hero-controls button:disabled { opacity:.5; cursor:wait; }
.model-hero[data-model="style-a"] .model-hero-shade { width:70%; height:44%; background:linear-gradient(150deg, rgb(0 0 0 / .6), rgb(0 0 0 / .32) 50%, transparent 80%); }
.model-hero[data-model="style-b"] .model-hero-shade { display:none; }
/* Unreviewed images keep their copy outside the photograph. */
.model-hero-copy[data-placement="image-above-content"] { position:static; max-width:none; padding:calc(var(--header) + 28px) var(--model-hero-inset) 36px; color:var(--ink); }
.model-hero-stage:has([data-placement="image-above-content"]) .model-hero-shade { display:none; }
@media (max-width:1100px) {
  .model-hero-media { aspect-ratio:var(--model-hero-mobile-aspect,var(--model-hero-aspect,16/9)); max-height:none; }
  .model-hero-shade { display:none; }
  /* 悬浮覆盖层（2026-09-26 业主指令）：≤1100px 文案盒变静态、顶距只有 28px < 导航栏 76px
     —— 这条才是型号页在窄屏被遮挡的真正来源（审计实测 28px）。安全距离加在内容容器自己身上。 */
  .model-hero[data-model] .model-hero-copy { position:static; display:block; max-width:none; padding:calc(var(--header) + 28px) var(--model-hero-inset) 36px; color:var(--ink); }
  .model-hero-copy h1 { font-size:clamp(32px,4vw,44px); line-height:1.15; }
  .model-hero-label { margin-block-end:14px; font-size:13px; }
  .model-hero[data-model] .model-hero-support p { margin-block:16px 0; font-size:1rem; }
  .model-hero-controls { bottom:12px; }
}



@media (prefers-reduced-motion:reduce) { .model-hero-slide { transition:none; } }

.product-layout { display:grid; grid-template-columns:minmax(0,55fr) minmax(0,45fr); grid-template-areas:'heading heading' 'drawings intro' 'drawings specs' 'note note'; grid-template-rows:auto auto 1fr auto; gap:24px 48px; width:92%; max-width:1500px; margin-inline:auto; padding-block:0; }
.product-layout > h2 { grid-area:heading; margin:0 0 8px; font-size:clamp(30px,2.8vw,42px); line-height:1.15; }
.product-layout .product-layout-intro { grid-area:intro; margin:0; font-size:17px; line-height:1.6; max-width:55ch; }
.product-layout-drawings { grid-area:drawings; min-width:0; }
.product-layout-specs { grid-area:specs; align-self:start; margin:0; font-size:1rem; line-height:1.5; }
.product-layout-specs > div { display:grid; grid-template-columns:minmax(125px,1fr) minmax(0,1.9fr); gap:16px; padding-block:10px; border-bottom:1px solid var(--line); }
.product-layout-specs dt { font-weight:500; color:var(--green-dark); }
.product-layout-specs dd { margin:0; font-variant-numeric:tabular-nums; }
.product-layout .product-layout-note { grid-area:note; max-width:none; margin:0; padding-top:8px; font-size:.875rem; line-height:1.5; }
.product-layout .plan-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.product-layout .plan-grid figure { margin:0; padding:0; min-width:0; }
.product-layout .plan-grid figure:first-child { grid-column:1/-1; }
.product-layout .plan-view-button { background:transparent; border:0; box-shadow:none; padding:0; width:100%; }
.product-layout .plan-view-button img { width:100%; height:auto; max-height:210px; -o-object-fit:contain; object-fit:contain; }
.product-layout .plan-grid figure:first-child img { max-height:520px; }
.product-layout .plan-grid figcaption { margin:0; padding-top:4px; font-size:.875rem; line-height:1.5; }
/* 2026-09-22 业主规范：图上不再有 ENLARGE 贴纸，对应的 .plan-view-button > span 规则已删除。 */
@media (max-width:900px) {
  .product-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:'heading' 'intro' 'drawings' 'specs' 'note'; grid-template-rows:auto; gap:24px; }
  .product-layout .product-layout-intro { font-size:1rem; }
  .product-layout .plan-grid { grid-template-columns:1fr 1fr; gap:16px; }
  .product-layout .plan-grid figure:first-child { grid-column:1/-1; }
  .product-layout-specs > div { grid-template-columns:minmax(116px,1fr) minmax(0,1.6fr); gap:12px; }
}

/* Owner-approved Model D design, reused for configuration and uses only. */
.model-d-details .product-detail-gallery h2,
.product-detail :is(.model-package,.model-applications) h2 {
  font-size:clamp(32px,2.8vw,44px); line-height:1.15; letter-spacing:-.03em;
  margin:0; max-width:none;
}
.model-d-details .product-detail-materials > .editorial-shell { max-width:1680px; }
.product-detail .product-detail-applications { max-width:1680px; }
/* 2026-09-23：`/series/*` 变体/饰面分区的限定语。只用既有 token，且不设 font-size ——
   避免撞颜色字面量棘轮与字号近似重复棘轮（后者对新增 font-size 很敏感）。 */
.product-detail .product-detail-variants-note { margin:0 0 var(--rhythm-group); color:var(--ink-soft); }
.product-detail .model-package { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:var(--rhythm-group); width:100%; max-width:1680px; margin-inline:auto; }
.product-detail .model-package article { display:flex; flex-direction:column; gap:var(--rhythm-group); min-width:0; }
.product-detail .model-icon-list { list-style:none; padding:0; margin:0; display:grid; gap:20px 32px; }
.product-detail .model-icon-list--standard { grid-template-columns:repeat(2,minmax(0,1fr)); }
.product-detail .model-icon-list li { display:flex; gap:12px; align-items:flex-start; min-width:0; font-size:clamp(16px,1.25vw,20px); line-height:1.5; }
.product-detail .model-icon-list li > span:not(.site-icon) { padding-top:4px; }
.product-detail .model-applications { display:grid; gap:var(--rhythm-group); }
.product-detail .model-applications p { margin:16px 0 0; max-width:70ch; font-size:clamp(16px,1.25vw,20px); line-height:1.5; }
.product-detail .model-icon-list--applications { display:flex; flex-wrap:wrap; gap:20px 40px; }
@media (max-width:900px) {
  .product-detail .model-package { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .product-detail .model-icon-list--standard { grid-template-columns:1fr; }
  .product-detail .model-icon-list { gap:16px 24px; }
}

