/**
 * 云蜗智能 - 技术支持专区公共样式 (Technical Support CSS)
 * 包含：技术支持总览页、各系列方案总览页及全部 26 个方案详情页
 * 严格遵循 1920px 效果图比例与无障碍/响应式规范
 */

/* ==========================================================================
   1. 作用域变量与容器 (Scope Variables & Container)
   ========================================================================== */
:root {
  --motor35-brand-green: #00a885;
  --motor35-btn-dark-green: #006b5b;
  --motor35-btn-hover-green: #008874;
  --motor35-text-title: #111111;
  --motor35-text-body: #333333;
  --motor35-text-muted: #666666;
  --motor35-card-bg: #f2f3f5;
  --motor35-max-width: 1600px;
}

/* 页面限制居中容器 (约 1590px 内容宽，左右约 160px 边距) */
.motor35-container {
  width: 100%;
  max-width: var(--motor35-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

/* ==========================================================================
   2. 顶部 Hero 实景展示区 (Hero Section)
   ========================================================================== */
.motor35-hero {
  position: relative;
  width: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* 总览页 Hero (桌面视觉高度约 600px) */
.motor35-hero--overview {
  min-height: 560px;
  height: 31.25vw;
  max-height: 600px;
}

/* 详情页 Hero (桌面视觉高度约 430px) */
.motor35-hero--detail {
  min-height: 400px;
  height: 22.4vw;
  max-height: 430px;
}

.motor35-hero__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
  box-sizing: border-box;
}

/* 面包屑导航 */
.motor35-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
}

.motor35-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast, 0.2s ease);
}

.motor35-breadcrumb a:hover {
  color: var(--motor35-brand-green);
}

.motor35-breadcrumb__icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

.motor35-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.7);
  user-select: none;
}

.motor35-breadcrumb__current {
  color: #ffffff;
  font-weight: 500;
}

/* Hero 主标题 */
.motor35-hero__title {
  font-size: 46px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Hero 说明文案 */
.motor35-hero__desc {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  margin: 0;
  max-width: 680px;
}

/* ==========================================================================
   3. 页面主体与通用标题 (Main Content & Headings)
   ========================================================================== */
.motor35-main {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 110px;
}

/* 左对齐标题组 (总览页 & 详情页系列标题) */
.motor35-header-left {
  margin-bottom: 44px;
}

.motor35-header-left__eyebrow {
  font-size: 22px;
  color: var(--motor35-text-title);
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.motor35-header-left__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--motor35-text-title);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

/* 品牌绿色装饰短线 */
.motor35-deco-line {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 96px;
  height: 5px;
}

.motor35-deco-line::before {
  content: '';
  flex: 1;
  height: 100%;
  background-color: var(--motor35-brand-green);
  border-radius: 2px;
}

.motor35-deco-line::after {
  content: '';
  width: 8px;
  height: 100%;
  background-color: var(--motor35-brand-green);
  border-radius: 2px;
}

/* 居中标题组 (详情页安装视频区 & 安装指导示意图区) */
.motor35-header-center {
  text-align: center;
  margin-bottom: 48px;
}

.motor35-header-center__eyebrow {
  font-size: 20px;
  color: var(--motor35-text-title);
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.motor35-header-center__title {
  font-size: 38px;
  font-weight: 700;
  color: var(--motor35-text-title);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.motor35-header-center__desc {
  font-size: 18px;
  color: var(--motor35-text-body);
  margin: 0 auto;
  max-width: 640px;
  line-height: 1.6;
}

/* ==========================================================================
   4. 总览页卡片网格 (Overview Cards Grid)
   ========================================================================== */
.motor35-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* 3 列网格 (直驱 3 卡片) */
.motor35-overview-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 6 卡片网格 (40电机 6 卡片) */
.motor35-overview-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

/* 13 卡片网格 (配件 13 卡片) */
.motor35-overview-grid--accessories {
  grid-template-columns: repeat(4, 1fr);
}

.motor35-overview-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.motor35-overview-card:focus-visible {
  outline: 2px solid var(--motor35-brand-green);
  outline-offset: 4px;
}

.motor35-overview-card:hover {
  transform: translateY(-6px);
}

.motor35-overview-card__img-box {
  width: 100%;
  aspect-ratio: 402 / 285;
  background-color: var(--motor35-card-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: box-shadow 0.3s ease;
}

.motor35-overview-card:hover .motor35-overview-card__img-box {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.motor35-overview-card__img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.motor35-overview-card:hover .motor35-overview-card__img {
  transform: scale(1.04);
}

.motor35-overview-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 4px;
}

.motor35-overview-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--motor35-text-title);
  transition: color 0.2s ease;
}

.motor35-overview-card:hover .motor35-overview-card__title {
  color: var(--motor35-btn-dark-green);
}

/* “更多 •••” 胶囊按钮 */
.motor35-btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: var(--motor35-btn-dark-green);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.motor35-overview-card:hover .motor35-btn-more {
  background-color: var(--motor35-btn-hover-green);
}

/* ==========================================================================
   5. 详情页安装视频专区 (Video Zone)
   ========================================================================== */
.motor35-video-section {
  margin-top: 70px;
  margin-bottom: 90px;
}

/* 1 卡片网格 (配件 1 槽位) */
.motor35-video-grid--1 {
  display: flex;
  justify-content: center;
}

.motor35-video-grid--1 .motor35-video-card {
  width: 100%;
  max-width: 380px;
}

/* 3 列网格 */
.motor35-video-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 单开 / 双开 / 4 槽位 4 列网格 */
.motor35-video-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* 三联动 / 四联动 / 五联动 5 卡片网格 (桌面端 3 + 2 居中布局) */
.motor35-video-grid--5 {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.motor35-video-grid__row--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.motor35-video-grid__row--2 {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.motor35-video-grid__row--2 .motor35-video-card {
  width: calc((100% - 2 * 28px) / 3);
}

/* 视频卡片 */
.motor35-video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.3s ease;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  outline: none;
}

.motor35-video-card:focus-visible {
  outline: 2px solid var(--motor35-brand-green);
  outline-offset: 4px;
}

.motor35-video-card:hover {
  transform: translateY(-5px);
}

.motor35-video-card__cover-box {
  position: relative;
  width: 100%;
  aspect-ratio: 372 / 241;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  background-color: #eef1f5;
}

.motor35-video-card:hover .motor35-video-card__cover-box {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.motor35-video-card__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.motor35-video-card:hover .motor35-video-card__cover-img {
  transform: scale(1.03);
}

/* CSS 中性灰色视频封面占位 */
.motor35-video-card__cover-box--placeholder {
  background: linear-gradient(135deg, #2d3340 0%, #1f232c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.motor35-video-card__placeholder-tag {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* 视频播放图标悬浮层 */
.motor35-video-card__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  backdrop-filter: blur(2px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.motor35-video-card__play-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-left: 3px;
}

.motor35-video-card:hover .motor35-video-card__play-btn {
  background-color: rgba(0, 168, 133, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.motor35-video-card__title {
  font-size: 19px;
  font-weight: 500;
  color: var(--motor35-text-title);
  margin-top: 16px;
  transition: color 0.2s ease;
}

.motor35-video-card:hover .motor35-video-card__title {
  color: var(--motor35-btn-dark-green);
}

/* ==========================================================================
   6. 详情页安装指导示意图专区与下载区 (Download Zone)
   ========================================================================== */
.motor35-download-section {
  margin-top: 80px;
  margin-bottom: 40px;
}

.motor35-download-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 48px;
}

/* 方案文件下载卡片 */
.motor35-download-card {
  width: 342px;
  min-height: 435px;
  background-color: #f5f6f8;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.motor35-download-card__icon {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.motor35-download-card:hover .motor35-download-card__icon {
  transform: scale(1.05);
}

.motor35-download-card__name {
  font-size: 22px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 24px;
}

/* “下载文件” 按钮 */
.motor35-btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--motor35-btn-dark-green);
  color: #ffffff;
  padding: 12px 38px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.motor35-btn-download:focus-visible {
  outline: 2px solid var(--motor35-brand-green);
  outline-offset: 4px;
}

.motor35-btn-download:hover {
  background-color: var(--motor35-btn-hover-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 107, 91, 0.25);
}

.motor35-btn-download:active {
  transform: translateY(0);
}

/* 压缩包清单列表 */
.motor35-download-checklist {
  display: flex;
  flex-direction: column;
}

.motor35-download-checklist__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--motor35-text-title);
  margin-bottom: 20px;
}

.motor35-download-checklist__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.motor35-download-checklist__item {
  font-size: 19px;
  color: var(--motor35-text-body);
  line-height: 1.75;
}

/* ==========================================================================
   7. 视频弹窗 (Video Modal)
   ========================================================================== */
.motor35-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.motor35-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.motor35-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.motor35-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
}

.motor35-modal.is-open .motor35-modal__dialog {
  transform: scale(1);
}

.motor35-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #ebebeb;
  background-color: #fafafa;
}

.motor35-modal__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--motor35-text-title);
  margin: 0;
}

.motor35-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #666666;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  outline: none;
}

.motor35-modal__close:focus-visible {
  outline: 2px solid var(--motor35-brand-green);
  outline-offset: 2px;
}

.motor35-modal__close:hover {
  background-color: #e5e7eb;
  color: #111111;
}

.motor35-modal__body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.motor35-modal__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000000;
}

/* 视频占位状态 (当无视频源时展示) */
.motor35-modal__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 32px;
  box-sizing: border-box;
}

.motor35-modal__placeholder-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.motor35-modal__placeholder-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.motor35-modal__placeholder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 168, 133, 0.95);
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.motor35-modal__placeholder-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ==========================================================================
   8. 下载占位提示条 (Toast Message)
   ========================================================================== */
.motor35-toast {
  position: fixed;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: rgba(26, 26, 26, 0.94);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.motor35-toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.motor35-toast__icon {
  width: 20px;
  height: 20px;
  fill: var(--motor35-brand-green);
  flex-shrink: 0;
}

/* ==========================================================================
   9. 滚动进入视口动效 (Scroll Entrance Animation - 渐进增强)
   ========================================================================== */
.motor35-fade-in.js-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motor35-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   10. 减弱动态效果 (prefers-reduced-motion)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .motor35-overview-card,
  .motor35-overview-card__img,
  .motor35-btn-more,
  .motor35-video-card,
  .motor35-video-card__cover-img,
  .motor35-video-card__play-btn,
  .motor35-btn-download,
  .motor35-download-card__icon,
  .motor35-modal,
  .motor35-modal__dialog,
  .motor35-toast,
  .motor35-fade-in {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .motor35-fade-in {
    opacity: 1 !important;
  }
}

/* 现有公共页脚在 1281–1600px 区间使用的固定列宽收紧 */
@media (min-width: 1281px) and (max-width: 1599px) {
  .site-footer .footer-grid {
    grid-template-columns: 220px repeat(4, 110px) minmax(0, 1fr);
    gap: 16px;
  }

  .site-footer .footer-logo img {
    max-width: 100%;
  }

  .site-footer .footer-contact-details {
    min-width: 0;
  }

  .site-footer .footer-map-card {
    flex: 0 0 150px;
    width: 150px;
  }
}

/* ==========================================================================
   11. 响应式适配 (Responsive Breakpoints)
   ========================================================================== */

/* 平板与窄桌面 (<= 1024px) */
@media (max-width: 1023px) {
  .motor35-hero--overview {
    min-height: 480px;
    height: 48vw;
  }

  .motor35-hero--detail {
    min-height: 380px;
    height: 38vw;
  }

  .motor35-hero__title {
    font-size: 38px;
  }

  .motor35-hero__desc {
    font-size: 18px;
  }

  .motor35-header-left__title,
  .motor35-header-center__title {
    font-size: 32px;
  }

  .motor35-overview-grid,
  .motor35-overview-grid--3,
  .motor35-overview-grid--6,
  .motor35-overview-grid--accessories {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .motor35-video-grid--3,
  .motor35-video-grid--4,
  .motor35-video-grid__row--3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .motor35-video-grid__row--2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .motor35-video-grid__row--2 .motor35-video-card {
    width: 100%;
  }

  .motor35-download-layout {
    gap: 48px;
  }
}

/* 手机与窄屏 (<= 768px) */
@media (max-width: 768px) {
  .motor35-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .motor35-hero,
  .motor35-hero--overview,
  .motor35-hero--detail {
    height: auto;
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .motor35-hero__content {
    padding-top: 0;
    padding-bottom: 0;
  }

  .motor35-main {
    padding-top: 40px;
    padding-bottom: 70px;
  }

  .motor35-breadcrumb {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  .motor35-hero__title {
    font-size: 30px;
  }

  .motor35-hero__desc {
    font-size: 16px;
    line-height: 1.55;
  }

  .motor35-header-left {
    margin-bottom: 32px;
  }

  .motor35-header-left__eyebrow,
  .motor35-header-center__eyebrow {
    font-size: 16px;
  }

  .motor35-header-left__title,
  .motor35-header-center__title {
    font-size: 26px;
  }

  .motor35-header-center__desc {
    font-size: 15px;
  }

  .motor35-overview-grid,
  .motor35-overview-grid--3,
  .motor35-overview-grid--6,
  .motor35-overview-grid--accessories {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .motor35-video-section {
    margin-top: 50px;
    margin-bottom: 60px;
  }

  .motor35-video-grid--1 .motor35-video-card {
    max-width: 100%;
  }

  .motor35-video-grid--3,
  .motor35-video-grid--4,
  .motor35-video-grid__row--3,
  .motor35-video-grid__row--2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .motor35-video-card__title {
    font-size: 17px;
    margin-top: 12px;
  }

  .motor35-download-section {
    margin-top: 50px;
  }

  .motor35-download-layout {
    flex-direction: column;
    gap: 36px;
  }

  .motor35-download-card {
    width: 100%;
    max-width: 320px;
    min-height: 380px;
    padding: 36px 24px;
  }

  .motor35-download-checklist {
    text-align: left;
    width: 100%;
    max-width: 320px;
  }

  .motor35-download-checklist__title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .motor35-download-checklist__item {
    font-size: 16px;
    line-height: 1.6;
  }

  .motor35-modal__header {
    padding: 12px 16px;
  }

  .motor35-modal__title {
    font-size: 17px;
  }
}

/* ==========================================================================
   40电机方案详情页专属扩展样式 (40-Motor Detail Extensions)
   限定作用域在 .motor40-detail，不影响 35 电机及其他页面
   ========================================================================== */

/* 1. 顶部门型页内导航胶囊按钮栏 */
.motor40-detail .motor40-anchor-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 56px;
}

.motor40-detail .motor40-anchor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  background-color: var(--motor35-btn-dark-green, #006b5b);
  color: #ffffff;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 107, 91, 0.15);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.motor40-detail .motor40-anchor-btn:hover {
  background-color: var(--motor35-btn-hover-green, #008874);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 107, 91, 0.25);
}

.motor40-detail .motor40-anchor-btn:focus-visible {
  outline: 2px solid var(--motor35-brand-green, #00a885);
  outline-offset: 4px;
}

/* 2. 门型区块与锚点滚动偏移 */
.motor40-detail .motor40-door-section {
  scroll-margin-top: 140px;
  margin-bottom: 100px;
}

.motor40-detail .motor40-door-section:not(:first-of-type) {
  padding-top: 40px;
  border-top: 1px solid #eaeaea;
}

/* 3. 7 张卡片网格 (4 + 3 居中布局) */
.motor40-detail .motor40-video-grid--7 {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.motor40-detail .motor40-video-grid__row--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.motor40-detail .motor40-video-grid__row--3-centered {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.motor40-detail .motor40-video-grid__row--3-centered .motor35-video-card {
  width: calc((100% - 3 * 28px) / 4);
}

/* 4. 10 张卡片网格 (4 + 4 + 2 居中布局) */
.motor40-detail .motor40-video-grid--10 {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.motor40-detail .motor40-video-grid__row--2-centered {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.motor40-detail .motor40-video-grid__row--2-centered .motor35-video-card {
  width: calc((100% - 3 * 28px) / 4);
}

/* 5. 响应式规则 */
@media (max-width: 1199px) {
  .motor40-detail .motor40-video-grid__row--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .motor40-detail .motor40-video-grid__row--3-centered,
  .motor40-detail .motor40-video-grid__row--2-centered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .motor40-detail .motor40-video-grid__row--3-centered .motor35-video-card,
  .motor40-detail .motor40-video-grid__row--2-centered .motor35-video-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .motor40-detail .motor40-anchor-nav {
    gap: 12px;
    margin-bottom: 36px;
  }
  .motor40-detail .motor40-anchor-btn {
    padding: 10px 22px;
    font-size: 15px;
  }
  .motor40-detail .motor40-door-section {
    scroll-margin-top: 100px;
    margin-bottom: 60px;
  }
  .motor40-detail .motor40-door-section:not(:first-of-type) {
    padding-top: 24px;
  }
  .motor40-detail .motor40-video-grid__row--4,
  .motor40-detail .motor40-video-grid__row--3-centered,
  .motor40-detail .motor40-video-grid__row--2-centered {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================================================
   直驱自动门方案详情页专属扩展样式 (Direct-Drive Detail Extensions)
   限定作用域在 .direct-drive-detail，不影响 35/40 电机及其他页面
   ========================================================================== */

/* 1. 无框玻璃门 3 卡片均匀分布 (卡片宽度保持与 4 列网格单张一致，内容区均匀分布) */
.direct-drive-detail .direct-drive-video-grid--3-spread {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.direct-drive-detail .direct-drive-video-grid--3-spread .motor35-video-card {
  width: calc((100% - 3 * 28px) / 4);
}

/* 2. 手动改自动门 2 卡片居中大间距分布 */
.direct-drive-detail .direct-drive-video-grid--2-spread {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.direct-drive-detail .direct-drive-video-grid--2-spread .motor35-video-card {
  width: calc((100% - 3 * 28px) / 4);
}

/* 3. 响应式规则 (<= 1200px 2 列, <= 768px 1 列) */
@media (max-width: 1199px) {
  .direct-drive-detail .direct-drive-video-grid--3-spread,
  .direct-drive-detail .direct-drive-video-grid--2-spread {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .direct-drive-detail .direct-drive-video-grid--3-spread .motor35-video-card,
  .direct-drive-detail .direct-drive-video-grid--2-spread .motor35-video-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .direct-drive-detail .direct-drive-video-grid--3-spread,
  .direct-drive-detail .direct-drive-video-grid--2-spread {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 交互提示词十七：悬停卡片覆盖灰色半透明遮罩 */
.motor35-overview-card,
.motor35-video-card,
.motor35-download-card { position: relative; }

.motor35-overview-card::after,
.motor35-video-card::after,
.motor35-download-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.motor35-overview-card:hover::after,
.motor35-video-card:hover::after,
.motor35-download-card:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .motor35-overview-card::after,
  .motor35-video-card::after,
  .motor35-download-card::after { transition: none; }
}

/* 空视频占位的转化入口（由 technical-support.js 注入） */
.motor35-modal__placeholder-cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--color-primary, #00a78e);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.motor35-modal__placeholder-cta:hover {
  color: var(--color-primary-dark, #007a68);
}
