/* =========================================================
   菱敏商务系列 - 产品页样式  product-lingmin.css
   设计稿基准宽度：1920px（1:1 复刻字体、间距、色值）
   占位符规范：
   - .ph-img  图片占位（后期替换为 <img> 或背景图）：虚线边框 + 居中文字
   - .ph-bg   背景占位（后期在 CSS 中替换 background-image）：色块 + 右下角标签
   产品结构区块为 3 个图层：.lm-layer-bg（背景）/ .lm-layer-product（产品图）/ .lm-layer-lines（线条）
   ========================================================= */

/* ---------- 页面级变量 ---------- */
.lm-page {
  --lm-orange: #FA4616;          /* 品牌橙（选中态/标注） */
  --lm-dark: #1F262A;            /* 主标题深色 */
  --lm-dark-2: #283138;          /* 次标题深色 */
  --lm-dark-3: #455158;          /* 说明文字色 */
  --lm-text: #000;               /* 正文黑 */
  --lm-gray-bg: #EBECEF;         /* 浅灰区块背景（核心优势） */
  --lm-line-gray: #B8C4CF;       /* 占位虚线色 */
  --lm-tab-gray: #CCCCCC;        /* Tab 未选中边框灰 */
  --lm-blue: #041335;            /* 场景标签深蓝 */
  --lm-tab-bg: #F7F7F7;          /* 场景标签底 */
  --lm-bg-block: #DFE5EA;        /* 背景占位色块 */
  --lm-bg-block-2: #D2DAE2;      /* 背景占位色块(深) */
}

/* ---------- 通用占位符：图片（虚线框 + 居中文字） ---------- */
.ph-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #E8EDF2 0%, #D3DBE3 100%); */
  /* border: 2px dashed var(--lm-line-gray); */
  border-radius: 4px;
  overflow: hidden;
  min-height: 60px;
}
.ph-img::before {

  display: block;
  padding: 0 12px;
  text-align: center;
  color: #7A8A99;
  font-size: var(--fs-caption);
  line-height: 1.6;
  letter-spacing: 0.5px;
  word-break: break-all;
}

/* ---------- 通用占位符：背景（色块 + 右下角标签） ---------- */
.ph-bg {
  position: relative;
  background: linear-gradient(135deg, var(--lm-bg-block) 0%, var(--lm-bg-block-2) 100%);
}
.ph-bg::after {
 
  position: absolute;
  right: 8px;
  bottom: 6px;
  padding: 2px 8px;
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: #8A97A3;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #C9D3DC;
  border-radius: 3px;
  white-space: nowrap;
  z-index: 1;
}

/* =========================================================
   1. HERO 首屏（高 892px / 1920）
   ========================================================= */
.lm-hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.lm-hero-bg {
  position: absolute !important;
  inset: 0;
  z-index: 0;
}
.lm-page .lm-hero .lm-hero-bg {
  position: absolute !important;
  inset: 0;
  z-index: 0;
}
.lm-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.2vw, 62px);
}
.lm-hero-brand {
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: clamp(12px, 1.3vw, 26px);
}
.lm-hero-brand img {
  display: block;
  height:  auto;
  width: 270px;
}
.lm-hero-title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: clamp(14px, 1.5vw, 30px);
}
.lm-hero-slogan {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: clamp(10px, 1.1vw, 22px);
}
.lm-hero-desc {
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 1px;
  color: #fff;
  max-width: 900px;
}

/* =========================================================
   2. 产品说明与适用场景
   ========================================================= */
.lm-intro {
  background: #fff;
  /* 设计稿：标题距区块顶 169px；场景图贴区块底（无底部留白） */
  /* padding-top: clamp(70px, 8.8vw, 169px); */
  padding-bottom: 0;
}
.lm-wrap {
  max-width: 1920px;
  margin: 0 auto;
  padding-left: clamp(20px, 2.1vw, 40px);
  padding-right: clamp(20px, 2.1vw, 40px);
  padding-top: 50px;
  padding-bottom: 80px;
}
.lm-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
  color: var(--lm-dark);
}
.lm-intro-desc {
  margin-top: clamp(24px, 3vw, 58px);
  max-width: 890px;
  font-size: var(--fs-body);
  line-height: 1.9;
  letter-spacing: 0.3px;
  color: var(--lm-text);
}

/* ---------- Tab 通用（运行范围/适用场景、轿厢装潢/人机界面） ---------- */
.lm-tabs {
  margin-top: clamp(28px, 3.8vw, 73px);
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
/* 设计稿：Tab 高 70px，宽 ~260px，选中橙色边框+橙色文字 */
.lm-tab {
  padding: 12px 36px;
  height: auto;
  border-radius: var(--btn-radius);
  font-size: var(--fs-lead);
  line-height: 1.2;
  white-space: nowrap;
  border: 1.5px solid var(--lm-tab-gray);
  background: #fff;
  color: var(--lm-dark);
  font-weight: 500;
  transition: all 0.3s ease;
}
.lm-tab:hover {
  border-color: var(--lm-orange);
  color: var(--lm-orange);
}
.lm-tab.active {
  border-color: var(--lm-orange);
  color: var(--lm-orange);
}

/* ---------- 面板 ---------- */
.lm-panel { display: none; }
.lm-panel.active { display: block; }

/* ---------- 适用场景：4 图连排（设计稿：图高 280px，图顶距 Tab 41px） ---------- */
.lm-scene-grid {
  margin-top: clamp(16px, 2.1vw, 41px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.lm-scene-card{
  margin-left: 15px;
  margin-right: 15px;
}
.lm-scene-card .ph-img {
  border-radius: 0;
  /* aspect-ratio: 480 / 280; */
  min-height: 0;
}
.lm-scene-card .ph-img img{
      border-radius: 4%;
}

/* 场景文字：放在图片下方（用户要求） */
.lm-scene-label {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.4;
  text-align: center;
  color: var(--lm-dark-2);
  white-space: nowrap;
  /* background-color: #B8C4CF; */
}

/* ---------- 运行范围：载重/速度覆盖表（按参考图） ---------- */
.lm-chart {
  margin-top: clamp(16px, 2.1vw, 41px);
}
.lm-chart-table {
  border: 1px solid #E0E4E8;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.lm-chart-row {
  display: grid;
  grid-template-columns: clamp(40px, 4vw, 76px) repeat(5, 1fr);
}
.lm-chart-row + .lm-chart-row {
  border-top: 1px solid #E0E4E8;
}
.lm-chart-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #E0E4E8;
  min-height: clamp(28px, 2.4vw, 46px);
  font-size: var(--fs-body);
  line-height: 1;
  color: var(--lm-text);
}
.lm-chart-row > .lm-chart-cell:first-of-type {
  border-left: none;
}
.lm-chart-y {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-caption);
  line-height: 1.3;
  color: var(--lm-text);
  text-align: center;
  border-right: 1px solid #E0E4E8;
}
.lm-chart-x {
  border-top: 1px solid #E0E4E8;
  border-bottom: 1px solid #E0E4E8;
}
.lm-chart-x > span:not(.lm-chart-y) {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-caption);
  line-height: 1.3;
  color: var(--lm-text);
  border-left: 1px solid #E0E4E8;
  padding: clamp(4px, 0.5vw, 8px) 2px;
  white-space: nowrap;
  text-align: center;
}
.lm-chart-x > span:first-child {
  border-left: none;
}
.lm-chart-foot {
  font-size: var(--fs-caption);
  color: var(--lm-text);
  text-align: center;
  padding: clamp(6px, 0.7vw, 12px) 0;
}

/* =========================================================
   3. 产品结构（场景标签 + 3 图层结构图）
   ========================================================= */
.lm-struct {
  background: #fff;
  /* 设计稿：结构图区底紧贴核心优势 3D 图 */
  padding-top: 0;
  padding-bottom: 0;
}

/* ---------- 产品结构标题（设计稿：位于结构图背景板顶部居中） ---------- */
.lm-struct-title {
  position: absolute;
  top: 1.5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

/* ---------- 结构图舞台（3 图层，设计稿：背景板高 704px / 1840 宽，顶部距标签 124px） ---------- */
.lm-struct-stage {
  position: relative;
  width: 100%;
  margin-top: clamp(40px, 6.5vw, 124px);
  aspect-ratio: 1840 / 704;
  min-height: 830px;
  background: #F5F7FA;
  border-radius: 6px;
  overflow: hidden;
}

/* 图层1：背景 */
.lm-layer-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 6px;
}

/* 图层2：产品图（中央电梯结构模型，设计稿：x 806-1080 / y 2148-2650） */
.lm-layer-product {
  position: absolute;
  z-index: 2;
  left: 43.8%;
  top: 25%;
  width: 15%;
  height: 71%;
  border-radius: 4px;
}

/* 图层3：线条（SVG 橙色引线） */
.lm-layer-lines {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.lm-layer-lines line {
  stroke: var(--lm-orange);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
}
.lm-layer-lines circle {
  fill: var(--lm-orange);
}

/* ---------- 标注（设计稿实测：左 x 380-560 / 右 x 1292-1690，换算为舞台百分比） ---------- */
.lm-ann {
  position: absolute;
  z-index: 4;
}
.lm-ann-title {
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.4;
  color: var(--lm-orange);
  margin-bottom: 6px;
  white-space: nowrap;
}
.lm-ann-desc {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--lm-text);
  max-width: 220px;
}

/* 左侧 3 组（标题 x ~380 起） */
.lm-ann-left {
  left: 20.5%;
  text-align: left;
}
.lm-ann-l1 { top: 19%; }   /* 压力称重 */
.lm-ann-l2 { top: 33%; }   /* 井道 */
.lm-ann-l3 { top: 58%; }   /* 安全钳 */

/* 右侧 4 组（标题 x ~1292 起） */
.lm-ann-right {
  left: 70.5%;
  text-align: left;
}
.lm-ann-r1 { top: 15%; }   /* 永磁同步曳引机 */
.lm-ann-r2 { top: 29%; }   /* 控制柜 */
.lm-ann-r3 { top: 42%; }   /* 门机 */
.lm-ann-r4 { top: 58%; }   /* 轿厢 */

/* =========================================================
   4. 核心优势（浅灰底 + 3D 图 + 2×2 卡片）
   ========================================================= */
.lm-adv {
  background: var(--lm-gray-bg);
  /* 设计稿：卡片底距区块底 66px */
  padding-bottom: clamp(30px, 3.4vw, 66px);
}

/* 顶部 3D 结构示意图（占位背景，设计稿高 274px / 1920） */
.lm-adv-top {
  height: clamp(150px, 14.3vw, 274px);
  border-radius: 0;
}

.lm-adv .lm-title {
  text-align: center;
  /* 设计稿：3D 图底紧贴标题，标题下方留白 ~127px */
  margin-top: clamp(8px, 0.3vw, 6px);
  margin-bottom: clamp(40px, 6.6vw, 127px);
}

/* ---------- 2×2 卡片 ---------- */
.lm-adv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.05vw, 20px);
  max-width: 1920px;
  margin: 0 auto;
}
.lm-adv-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
/* 左图右文：图占 34% */
.lm-adv-img {
  flex: 0 0 25%;
  min-height: 0;
  border-radius: 0;
  border: none;
  padding: 20px;
  /* border-right: 2px dashed var(--lm-line-gray); */
}
.lm-adv-img::before {
  font-size: var(--fs-caption);
}
.lm-adv-body {
  flex: 1;
  padding: clamp(16px, 1.7vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lm-adv-name {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.4;
  color: var(--lm-text);
  margin-bottom: clamp(8px, 0.8vw, 16px);
}
.lm-adv-desc {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--lm-text);
  margin: 0;
}

/* =========================================================
   5. 功能模块（补偿式压力超载报警 / 遥控控制功能）
   ========================================================= */
.lm-feat {
  background: #fff;
  /* 设计稿：标题距区块顶 29px，图底紧贴区块底（底部无留白） */
  padding-top: clamp(14px, 1.5vw, 29px);
  padding-bottom: 0;
}
.lm-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2.1vw, 40px);
}
/* 与核心优势卡一致：左图右文 */
.lm-feat-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.lm-feat-img {
  flex: 0 0 34%;
  min-height: 0;
  border-radius: 0;
  border: none;
  border-right: 2px dashed var(--lm-line-gray);
}
.lm-feat-body {
  flex: 1;
  padding: clamp(16px, 1.7vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lm-feat-name {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.4;
  color: var(--lm-text);
  margin-bottom: clamp(8px, 0.8vw, 16px);
}
.lm-feat-desc {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--lm-text);
  margin: 0;
}

/* 居中装饰：▲6（按设计图，楼层指示样式） */
.lm-feat-pager {
  margin: clamp(14px, 1.8vw, 34px) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: clamp(90px, 7vw, 134px);
  height: clamp(32px, 2.5vw, 48px);
  border-radius: 6px;
  background: #E9ECEF;
}
.lm-pager-arrow {
  font-size: clamp(12px, 0.8vw, 15px);
  line-height: 1;
  color: #fff;
  background: var(--lm-tab-gray);
  width: clamp(18px, 1.3vw, 24px);
  height: clamp(18px, 1.3vw, 24px);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lm-pager-num {
  font-size: var(--fs-caption);
  font-weight: 700;
  line-height: 1;
  color: var(--lm-dark);
}

/* =========================================================
   6. 轿厢装潢（标题 + Tabs + 2 方案卡）
   ========================================================= */
.lm-deco {
  background: #fff;
  /* 设计稿：标题贴功能模块，卡片后底部留白 ~250px 至 Footer */
  padding-top: 0;
  padding-bottom: clamp(60px, 8vw, 100px);
}
.lm-deco .lm-title {
  text-align: center;
}
.lm-deco .lm-tabs {
  justify-content: center;
  margin-top: clamp(24px, 2.4vw, 46px);
  margin-bottom: clamp(20px, 2vw, 38px);
}

/* ---------- 方案卡：两卡并排（左图右文，与菱硕页一致） ---------- */
.lm-deco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2.1vw, 40px);
}
.lm-deco-card {
  display: flex;
  flex-direction: row;            /* 左图右文 */
  align-items: stretch;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  padding: 40px;
}
.lm-deco-img {
  flex: 0 0 54%;
  min-height: 0;
  border-radius: 0;
  border: none;
  aspect-ratio: auto;
}
.lm-deco-img img {
  display: block;
  width: 80%;
  height: auto;
  object-fit: cover;
}
.lm-deco-img::before {
  font-size: var(--fs-caption);
}
.lm-deco-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 1.8vw, 34px);
}
.lm-deco-name {
  text-align: left;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.4;
  color: #FA4616; /* 方案名橙色（与菱硕页一致） */
  margin: 0 0 clamp(10px, 1vw, 18px) 0;
  padding: 0;
}
.lm-deco-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 0.7vw, 13px);
}
.lm-deco-list li {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--lm-text);
}

/* =========================================================
   响应式
   ========================================================= */

/* ---------- 平板（≤1199px） ---------- */
@media (max-width: 1199.98px) {
  .lm-adv-card,
  .lm-feat-card {
    flex-direction: column;
  }
  .lm-adv-img,
  .lm-feat-img {
    flex: none;
    width: 100%;
    height: clamp(180px, 28vw, 366px);
    aspect-ratio: auto;
    border-right: none;
    border-bottom: 2px dashed var(--lm-line-gray);
  }
  .lm-deco-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }
}

/* ---------- 平板（≤991px） ---------- */
@media (max-width: 991.98px) {
  .lm-adv-grid,
  .lm-feat-grid,
  .lm-deco-grid {
    grid-template-columns: 1fr;
  }
  .lm-scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lm-feat-card {
    min-width: 0;
  }
  /* 结构图移动端：标注移到下方，隐藏引线 */
  .lm-struct-stage {
    aspect-ratio: auto;
    min-height: 0;
    padding: 0;
  }
  .lm-layer-product {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: clamp(240px, 46vw, 460px);
  }
  .lm-layer-lines {
    display: none;
  }
  .lm-ann {
    position: relative;
    margin-top: 18px;
  }
  .lm-ann-title,
  .lm-ann-desc {
    white-space: normal;
  }
  .lm-ann-left,
  .lm-ann-right {
    text-align: left;
    left: auto;
    width: 100%;
    max-width: 100%;
  }
  .lm-ann-desc {
    max-width: 100%;
  }
}

/* ---------- 手机（≤767px） ---------- */
@media (max-width: 767.98px) {
  .lm-hero {
    height: 100vh;
    min-height: 100vh;
    padding: clamp(60px, 14vw, 100px) 0;
  }
  .lm-scene-grid {
    grid-template-columns: 1fr;
  }
  .lm-scene-card .ph-img {
    aspect-ratio: 480 / 300;
  }
  .lm-tabs {
    flex-wrap: wrap;
  }
  .lm-tab {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .lm-adv-card,
  .lm-feat-card,
  .lm-deco-card {
    flex-direction: column;
  }
  .lm-adv-img,
  .lm-feat-img {
    flex: none;
    width: 100%;
    height: clamp(150px, 26vw, 220px);
    aspect-ratio: auto;
  }
  .lm-deco-img {
    flex: none;
    width: 100%;
    height: clamp(200px, 40vw, 340px);
    aspect-ratio: auto;
  }
  .lm-deco-card {
    flex: 0 0 100%;
  }
  .lm-feat-pager {
    display: none;
  }
}

/* ============ 轿厢装潢：横向滚动 track ============ */
.lm-deco-slider {
  position: relative;
}
.lm-deco-arrows {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(16px, 2vw, 28px);
}
.lm-arrow {
  width: clamp(36px, 3.2vw, 48px);
  height: clamp(36px, 3.2vw, 48px);
  border-radius: 50%;
  border: 1px solid #DDD;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lm-arrow:hover { background: #FA4616; border-color: #FA4616; }
.lm-arrow:hover::before { color: #fff; }
.lm-arrow.prev::before,
.lm-arrow.next::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #666;
  border-right: 2px solid #666;
}
.lm-arrow.prev::before { transform: rotate(-135deg); margin-left: 4px; }
.lm-arrow.next::before { transform: rotate(45deg); margin-right: 4px; }
.lm-deco-track {
  display: flex;
  gap: clamp(12px, 2.1vw, 40px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.lm-deco-track::-webkit-scrollbar { display: none; }
.lm-deco-track .lm-deco-card {
  flex: 0 0 calc(50% - clamp(6px, 1.05vw, 20px));
  scroll-snap-align: start;
}
.lm-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.lm-arrow:disabled:hover { background: #fff; border-color: #DDD; }
.lm-arrow:disabled:hover::before { color: #666; }

/* ============ 人机界面：横向滚动 track（复用 pcu 样式） ============ */
.lm-hmi-slider {
  position: relative;
}
.lm-hmi-track {
  display: flex;
  gap: clamp(16px, 1.8vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.lm-hmi-track::-webkit-scrollbar { display: none; }
.lm-hmi-item {
  flex: 0 0 160px;
  text-align: center;
  scroll-snap-align: start;
}
.lm-hmi-model {
  display: inline-block;
  font-size: var(--fs-body);
  font-weight: 600;
  color: #666666;
  letter-spacing: 1px;
  margin-bottom: clamp(8px, 0.9vw, 14px);
  height: 60px;
}
.lm-hmi-panel {
  text-align: center;
}
.lm-hmi-panel img {
  display: block;
  margin: 0 auto;
  height: auto;
}
@media (max-width: 991.98px) {
  .lm-hmi-item {
    flex: 0 0 118px;
  }
}
@media (max-width: 767.98px) {
  .lm-hmi-item {
    flex: 0 0 96px;
  }
  /* 产品结构图：内联写死1240px宽，手机端铺满 */
  .lm-struct-stage > div[style*="1240px"] {
    width: 100% !important;
    height: auto !important;
    margin-top: 16px !important;
  }
  .lm-struct-stage > div[style*="1240px"] img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* ---------- 人机界面：桌面(≥992px) 一屏 8 个 ---------- */
/* 8 个一屏：每项宽 = 12.5% - 7/8 * gap，间隔保持原 gap 不变（与 product-lingchang.css 一致） */
@media (min-width: 992px) {
  .lm-hmi-track .lm-hmi-item {
    flex: 0 0 calc(12.5% - clamp(14px, 1.575vw, 21px));
  }
}

/* 不超过 7 个且不溢出时：居中平均显示（间隔不变），由 JS 加类 */
.lm-hmi-track.is-center {
  justify-content: center;
}

/* 不超过 8 个时：隐藏左右按钮，由 JS 加类（仅作用于人机界面面板内） */
.lm-hmi-slider .lm-deco-arrows.is-hidden {
  display: none;
}

/* ---------- 手机端强制覆盖：适用场景一行1个 ---------- */
@media (max-width: 767.98px) {
  .lm-scene-grid,
  .lm-chart-grid,
  .lm-parts-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .lm-scene-card,
  .lm-chart-card,
  .lm-parts-card {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}
