/* 电摩产品详情页移动端最终修复：PX-4 / MOTA-Z3 / MOTA-Z1 / M2 */
@media(max-width:768px){
  body .hero{
    height:auto !important;
    min-height:auto !important;
    align-items:flex-start !important;
    overflow:hidden !important;
    padding:0 !important;
  }

  body .hero-inner{
    display:flex !important;
    flex-direction:column !important;
    gap:20px !important;
    padding:24px 24px 34px !important;
    text-align:center !important;
    box-sizing:border-box !important;
  }

  body .hero-visual{
    order:1 !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 auto 4px !important;
    transform:none !important;
    z-index:1 !important;
    pointer-events:none !important;
  }

  body .hero-visual img{
    width:100% !important;
    max-width:520px !important;
    height:auto !important;
    max-height:220px !important;
    object-fit:contain !important;
    object-position:center center !important;
    display:block !important;
    margin:0 auto !important;
  }

  body .hero-visual-glow{
    width:180px !important;
    height:180px !important;
    bottom:10px !important;
    opacity:.75 !important;
    pointer-events:none !important;
  }

  body .hero-content{
    order:2 !important;
    width:100% !important;
    max-width:360px !important;
    margin:0 auto !important;
    padding:0 !important;
    position:relative !important;
    z-index:2 !important;
  }

  body .hero-eyebrow{
    justify-content:center !important;
    margin-bottom:12px !important;
  }

  body .hero-title{
    font-size:34px !important;
    line-height:1.18 !important;
    margin-bottom:10px !important;
  }

  body .hero-tagline{
    font-size:15px !important;
    line-height:1.55 !important;
  }

  body .hero-actions{
    justify-content:center !important;
    pointer-events:auto !important;
  }

  body .navbar{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    width:100% !important;
    z-index:2147483000 !important;
    pointer-events:auto !important;
  }

  body .navbar .container,
  body .menu-toggle,
  body .mobile-lang-switch{
    position:relative !important;
    z-index:2147483000 !important;
    pointer-events:auto !important;
  }

  body .mobile-menu-panel{
    display:none !important;
    position:fixed !important;
    top:72px !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100vw !important;
    max-width:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    z-index:2147483001 !important;
    background:rgba(10,12,15,.52) !important;
    border-top:0 !important;
    overflow-y:auto !important;
    padding:16px 18px 24px !important;
    box-sizing:border-box !important;
  }

  body .mobile-menu-panel:not(.open),
  body .mobile-menu-panel:not(.open) *{
    pointer-events:none !important;
  }

  body .mobile-menu-panel.open{
    display:block !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  body .mobile-menu-panel .mobile-menu-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:12px !important;
    width:100% !important;
    max-width:520px !important;
    min-width:0 !important;
    margin:0 auto !important;
    padding:16px !important;
    border-radius:20px !important;
    background:#fff !important;
    border:1px solid #e5e7eb !important;
    box-shadow:0 24px 80px rgba(0,0,0,.28) !important;
    transform:none !important;
    opacity:1 !important;
    visibility:visible !important;
    box-sizing:border-box !important;
  }

  body .mobile-menu-head,
  body .mobile-menu-list,
  body .mobile-menu-tools,
  body .mobile-menu-contact{
    display:flex !important;
    opacity:1 !important;
    visibility:visible !important;
    position:relative !important;
    z-index:2147483003 !important;
  }

  body .mobile-menu-head{
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    padding-bottom:12px !important;
    border-bottom:1px solid #e5e7eb !important;
  }

  body .mobile-menu-list{
    flex-direction:column !important;
    gap:8px !important;
  }

  body .mobile-menu-panel .mobile-menu-item{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    width:100% !important;
    min-height:48px !important;
    padding:12px 14px !important;
    border-radius:12px !important;
    color:#111827 !important;
    background:#fff !important;
    text-decoration:none !important;
    opacity:1 !important;
    visibility:visible !important;
    box-sizing:border-box !important;
  }

  body .mobile-menu-panel .mobile-menu-item.active,
  body .mobile-menu-panel .mobile-menu-item:hover{
    background:#eaf2ff !important;
    color:#0059ff !important;
  }

  body .mobile-menu-panel .mobile-menu-item i{
    color:#0059ff !important;
  }

  body .mobile-menu-panel .mobile-menu-quote{
    justify-content:center !important;
    background:var(--brand-primary,#0059ff) !important;
    color:#fff !important;
    font-weight:700 !important;
    box-shadow:0 10px 24px rgba(0,89,255,.18) !important;
  }

  body .mobile-menu-panel .mobile-menu-quote i{
    color:#fff !important;
  }

  body .mobile-menu-title{
    color:#111827 !important;
    font-size:18px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
  }

  body .mobile-menu-sub{
    margin-top:4px !important;
    color:#64748b !important;
    font-size:13px !important;
    line-height:1.3 !important;
  }

  body .mobile-menu-tools{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }

  body .mobile-menu-tools button{
    min-height:44px !important;
    border:1px solid #e5e7eb !important;
    background:#fff !important;
    color:#111827 !important;
    border-radius:12px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
  }

  body .mobile-menu-contact{
    display:grid !important;
    gap:10px !important;
    padding:14px !important;
    border-radius:14px !important;
    background:#f8fafc !important;
    border:1px solid #e5e7eb !important;
  }

  body .mobile-menu-contact a{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
    padding:0 !important;
    color:#64748b !important;
    font-size:13px !important;
    text-decoration:none !important;
    word-break:break-word !important;
  }

  body .mobile-menu-contact i,
  body .mobile-menu-tools button i{
    color:#0059ff !important;
  }

  body[data-lang="en"] .mobile-menu-panel .lang-en,
  body[data-lang="zh"] .mobile-menu-panel .lang-zh{
    display:inline !important;
    opacity:1 !important;
    visibility:visible !important;
  }

  body[data-lang="en"] .mobile-menu-panel .lang-zh,
  body[data-lang="zh"] .mobile-menu-panel .lang-en{
    display:none !important;
  }

  body .back-to-top{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:linear-gradient(135deg,#ffffff 0%,#edf4ff 100%) !important;
    color:#0059ff !important;
    border:1px solid rgba(0,89,255,.18) !important;
    box-shadow:0 10px 26px rgba(15,23,42,.16) !important;
    font-size:0 !important;
  }

  body .back-to-top::before{
    content:"" !important;
    width:12px !important;
    height:12px !important;
    border-top:2px solid #0059ff !important;
    border-left:2px solid #0059ff !important;
    transform:translateY(3px) rotate(45deg) !important;
    display:block !important;
    box-sizing:border-box !important;
    font-family:initial !important;
  }

  body .back-to-top::after{
    content:"" !important;
    width:2px !important;
    height:14px !important;
    background:#0059ff !important;
    border-radius:2px !important;
    position:absolute !important;
    transform:translateY(2px) !important;
  }

  /* 性能标杆 / 动力系统 / 技术参数 / 制造实力：移动端横向轮播 */
  body .perf-grid,
  body .power-diagram,
  body .tech-grid,
  body .oem-grid{
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    align-items:stretch !important;
    gap:14px !important;
    overflow-x:auto !important;
    overflow-y:visible !important;
    scroll-snap-type:x mandatory !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
    padding-left:24px !important;
    padding-right:18px !important;
    padding-bottom:12px !important;
    margin-left:0 !important;
    margin-right:0 !important;
    scroll-padding-left:24px !important;
    box-sizing:border-box !important;
  }

  body .perf-grid::-webkit-scrollbar,
  body .power-diagram::-webkit-scrollbar,
  body .tech-grid::-webkit-scrollbar,
  body .oem-grid::-webkit-scrollbar{
    display:none !important;
  }

  body .perf-card,
  body .power-node,
  body .tech-grid > div,
  body .oem-card{
    flex:0 0 82vw !important;
    min-width:82vw !important;
    max-width:82vw !important;
    width:82vw !important;
    scroll-snap-align:start !important;
    box-sizing:border-box !important;
  }

  body .power-diagram{
    text-align:left !important;
  }

  body .power-arrow{
    display:none !important;
  }

  body .tech-grid > div{
    background:var(--dark-card,#1e1e1e) !important;
    border:1px solid var(--dark-border,#2a2a2a) !important;
    border-radius:18px !important;
    padding:20px 18px !important;
  }

  body .perf-card,
  body .oem-card,
  body .power-node{
    min-height:180px !important;
  }
}

@media(max-width:420px){
  body .perf-grid,
  body .power-diagram,
  body .tech-grid,
  body .oem-grid{
    padding-left:24px !important;
    padding-right:18px !important;
    scroll-padding-left:24px !important;
  }

  body .perf-card,
  body .power-node,
  body .tech-grid > div,
  body .oem-card{
    flex-basis:84vw !important;
    min-width:84vw !important;
    max-width:84vw !important;
    width:84vw !important;
  }
}
