/* 移动端适配（仅在窄屏生效，桌面端样式完全不变） */
@media screen and (max-width: 900px) {
  html, body { width: 100% !important; overflow-x: hidden; }
  body { font-size: 15px; }
  img, video, iframe { max-width: 100%; height: auto !important; }

  /* 顶栏 / 头部 */
  #top div { width: 100% !important; height: auto !important; padding: 0 12px; box-sizing: border-box; font-size: 13px; }
  #head { width: 100% !important; height: auto !important; padding: 10px 12px; box-sizing: border-box; }
  .ewq { width: 64px !important; height: 64px !important; }
  .taitou { margin: 0 !important; }
  .name { font-size: 18px !important; }
  .qwe { float: none !important; display: block; margin: 8px 0 0 !important; width: 160px !important; height: auto !important; }
  .iso { float: none !important; display: block; margin: 6px 0 0 !important; font-size: 14px !important; }

  /* 主导航 */
  #nav { height: auto !important; }
  #nav ul { width: 100% !important; height: auto !important; display: flex; flex-wrap: wrap; }
  #nav ul a { flex: 0 0 25%; width: 25% !important; display: block; }
  #nav ul li { width: 100% !important; float: none !important; height: 40px; line-height: 40px !important; font-size: 14px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* 首页大图轮播（按图片比例自动算高度，避免过高或塌陷） */
  .content, .slideContainer { width: 100% !important; height: auto !important; aspect-ratio: 1920 / 700; }
  .slideContainer ul { height: 100% !important; }
  .slideContainer ul li { height: 100% !important; }
  .slideContainer ul li img { width: 100% !important; height: 100% !important; object-fit: cover; }
  .bar { bottom: 8px; height: 12px; padding: 0; }
  .bar li { width: 10px !important; height: 10px !important; border-radius: 5px; line-height: 10px; }
  #left, #right { width: 22px !important; height: 22px !important; line-height: 22px !important; font-size: 12px; }

  /* 通用容器 */
  #title, #content-profile, #liebiao, #information, #aboutus, #wenzi,
  #table, #product_big, #smallnav div, #newleft, #productsright, .newcontent,
  #product_img, #product_detail, .t, .w { width: 100% !important; height: auto !important; padding: 0 12px; box-sizing: border-box; }
  #title img { margin-left: 0 !important; }
  #title h2 { font-size: 20px !important; margin: 8px 0 !important; }
  #title h3 { font-size: 14px !important; }

  /* 首页各区块 */
  #profile, #product, #application, #news, #footer, #tellus, #tellus { height: auto !important; }
  #content-profile .left { width: 100% !important; height: auto !important; margin: 0 !important; }
  #content-profile .right { float: none !important; margin: 12px 0 0 !important; height: auto !important; }
  #content-profile .right img { width: 100% !important; height: auto !important; }
  #content-profile p { font-size: 15px !important; letter-spacing: 0 !important; line-height: 26px; }

  #liebiao ul { width: 100% !important; height: auto !important; overflow: hidden; }
  #liebiao ul li { width: 47% !important; height: auto !important; margin: 10px 1.5% !important; float: left; }
  #liebiao ul li img, .control { width: 100% !important; height: auto !important; }
  #liebiao ul li p { font-size: 15px !important; }

  #information ul li { width: 100% !important; height: auto !important; margin-bottom: 12px !important; overflow: hidden; }
  #zuo, #you { width: 100% !important; height: auto !important; float: none !important; }
  .neirong { width: 92px !important; height: 92px !important; }
  .da { font-size: 1.8rem !important; line-height: 92px; }
  .xiao { font-size: 13px !important; }
  .abc { width: calc(100% - 94px) !important; height: auto !important; padding: 8px 8px 0; box-sizing: border-box; }
  .biaoti { font-size: 15px !important; }
  .ziduan { font-size: 12px !important; letter-spacing: 0 !important; }
  .h2 { font-size: 22px !important; height: auto !important; margin: 10px 0; }
  .leftfont { width: 100% !important; height: auto !important; }
  .leftfont p { font-size: 16px !important; }

  /* 产品列表页（三列卡片） */
  #product_img ul li, #product_img ul li { width: 47% !important; height: auto !important; margin: 0 1.5% 14px !important; float: left; }
  #product_img ul li img { width: 100% !important; height: auto !important; }
  #product_nav, #product_nav1 { width: 100% !important; float: none !important; margin: 12px 0 !important; }
  #product_nav ul, #product_nav1 ul { display: flex; flex-wrap: wrap; justify-content: space-around; }
  #product_nav ul li, #product_nav1 ul li { width: 45% !important; height: 34px !important; line-height: 34px !important; font-size: 15px !important; }
  #product_nav1 div p { margin-left: 0 !important; width: 90% !important; }

  /* 产品详情页 */
  .title { width: 100% !important; height: auto !important; font-size: 18px !important; line-height: 34px !important; }
  .title input { float: none !important; display: block; width: 100% !important; margin: 6px 0 !important; }
  .waibu, .waibuleft, .waiburight { width: 100% !important; height: auto !important; float: none !important; margin: 0 !important; }
  .waibuleft img { width: 100% !important; height: auto !important; }
  .waiburight p { font-size: 14px !important; line-height: 26px !important; }
  .main_content img { width: 100% !important; height: auto !important; margin: 10px 0 !important; }
  table { max-width: 100% !important; font-size: 13px !important; }

  /* 新闻页 */
  #newleft ul li { width: auto !important; height: auto !important; margin: 10px 0 !important; padding: 10px 0; }
  .newcontent p { width: auto !important; font-size: 15px !important; line-height: 26px !important; }
  .newcontent h1 { font-size: 18px !important; }
  .m { font-size: 15px !important; }

  /* 页脚 */
  #smallnav { height: auto !important; }
  #smallnav div ul { margin-left: 0 !important; display: flex; flex-wrap: wrap; justify-content: center; }
  #smallnav div ul li { margin: 8px 6px 0 !important; width: auto !important; font-size: 14px !important; }
  #aboutus { height: auto !important; padding-top: 16px; }
  .w { margin: 0 !important; height: auto !important; }
  .bt { font-size: 18px !important; }
  .o { float: none !important; margin: 12px 0 0 !important; }
  .o ul li { width: 25% !important; height: auto !important; }
  .o ul li img { width: 100% !important; height: auto !important; }
  #tell { margin: 16px 0 !important; }
  #tell ul li { font-size: 14px !important; line-height: 24px !important; }
  #qr_code { float: none !important; margin: 16px 0 0 !important; padding-bottom: 16px; }
  #qr_code ul { display: flex; justify-content: center; }
  #qr_code ul li { width: 110px !important; height: auto !important; margin: 0 8px !important; }
  #qr_code ul li img { width: 100% !important; height: auto !important; }
  #footer { padding-bottom: 10px; }

  /* 联系我们 */
  #tellus { height: auto !important; }
  #tellus #wenzi { height: auto !important; }
  #wenzi h1 { padding: 16px 0 !important; font-size: 18px !important; }
  #wenzi p { margin-left: 0 !important; font-size: 15px !important; line-height: 26px !important; }
  #wenzi img { float: none !important; display: block; width: 55% !important; height: auto !important; margin: 12px auto !important; }
  .map img { max-width: 100% !important; }

  /* 首页“十年实力”标签区块：取消绝对定位，改为纵向排列 */
  #waibu, #topnav, .tabbox, #displayo, #botnei, #boxtop { width: 100% !important; height: auto !important; }
  #topnav { position: static !important; }
  #topnav .tabbox { position: static !important; }
  #topnav .tabbox .change, #topnav .tabbox div#displayo { position: static !important; height: auto !important; overflow: visible; }
  #botnei img { position: static !important; top: auto !important; left: auto !important; width: 100% !important; height: auto !important; margin: 12px 0 0 !important; }
  #boxtop { margin-top: 16px !important; }
  .tabnav { margin-left: 0 !important; width: 100% !important; height: auto !important; display: flex !important; flex-wrap: wrap; overflow: hidden; }
  div[style*="50rem"] { height: auto !important; padding-bottom: 20px; }
  #strength { width: 100% !important; height: auto !important; margin: 20px 0 !important; }
  #strength ul li { width: 47% !important; height: auto !important; margin: 1% !important; }
  #strength img { width: 100% !important; height: auto !important; margin: 8px 0 !important; }
  .column li { width: 47% !important; height: auto !important; margin: 0 1.5% 12px !important; }
  .column li img { width: 100% !important; height: auto !important; }
  .tabnav a { width: 50%; float: none !important; display: block; box-sizing: border-box; }
  .tabnav li { width: 100% !important; }
  .tabnav .fr-one { font-size: 26px !important; line-height: 32px !important; }
  .tabnav .fr-two { font-size: 14px !important; line-height: 20px !important; }
  .boxsm { width: auto !important; font-size: 15px !important; height: auto !important; }
  .boxbig { width: auto !important; font-size: 18px !important; height: auto !important; line-height: 26px !important; }
  .boxth { width: auto !important; font-size: 14px !important; line-height: 24px !important; }

  /* 首页实力 / 应用 / 新闻等其余固定宽区块 */
  #strength, #strength-top, #mj_tab_menu, .mj-tab-nav, .mj-tab-content, .mj-tab-content-item { width: 100% !important; height: auto !important; }
  .mj-tab-nav { display: flex; flex-wrap: wrap; }
  .mj-tab-nav li { width: 50% !important; }
  #strength p { font-size: 14px !important; line-height: 24px !important; }
  #strength-top p span { font-size: 19px !important; }
  /* 应用/新闻/产品导航标签页：取消绝对定位 */
  #mj_tab_menu { height: auto !important; }
  .mj-tab-content { position: static !important; height: auto !important; margin-top: 16px !important; }
  .mj-tab-content-item, div#mj_tab_content_current { position: static !important; height: auto !important; }
  #mj_tab_menu ul.mj-tab-nav li { height: auto !important; font-size: 15px !important; }
  #mj_tab_menu ul.mj-tab-nav li a { line-height: 36px !important; }
  ul:not(.slideContainer ul) { max-width: 100%; }

  /* 绝对定位的悬浮元素归位，避免撑宽页面 */
  #liebiao ul li { position: relative !important; }
  .on, .under { position: absolute !important; left: 0 !important; top: 0 !important; width: 100% !important; height: auto !important; }
  #qq_icon { left: auto !important; right: 8px !important; width: 60px !important; height: auto !important; }

  /* 通用文案 */
  p, li { word-break: break-word; }
}

  /* 清除浮动，避免下一区块压上来 */
  #strength { overflow: hidden; }
  #strength ul { overflow: hidden; }
  #liebiao ul, #information ul, .column, .mj-tab-content-item { overflow: hidden; }

  /* 统一底部卡图高度，避免错落 */
  #strength img { height: 150px !important; object-fit: cover; }
  #botnei, #boxtop { padding-left: 12px; padding-right: 12px; box-sizing: border-box; }
  .boxsm, .boxbig, .boxth { padding-left: 0 !important; }

  /* 页脚：社媒图标改为两列横排，联系方式全宽 */
  .o { float: none !important; margin: 12px 12px 0 !important; }
  .o ul { display: flex; flex-wrap: wrap; }
  .o ul a { width: 50%; display: block; }
  .o ul li { width: 100% !important; height: auto !important; float: none !important; display: flex; align-items: center; padding: 6px 0; }
  .o .logo { float: none !important; }
  .o .logo img { width: 36px !important; height: 36px !important; }
  .o .bt { font-size: 14px !important; line-height: 1.2 !important; margin-left: 8px !important; white-space: nowrap; }
  #tell { clear: both; width: 100% !important; margin: 12px 0 !important; padding: 0 12px; box-sizing: border-box; }
  #tell ul li { font-size: 13px !important; line-height: 22px !important; }
  .q img { width: 36px !important; height: 36px !important; }
  .r { margin-left: 50px !important; font-size: 15px !important; letter-spacing: 1px !important; }
  .neirong { width: 100px !important; }
  .da { font-size: 1.6rem !important; }
  .xiao { font-size: 11px !important; letter-spacing: 0 !important; }

  /* 产品列表页：卡片两列满宽，左侧分类改为三列按钮 */
  #product_img { width: 100% !important; float: none !important; background: none !important; margin-top: 8px !important; }
  #product_img ul { width: 100% !important; }
  #product_img ul li { width: 47% !important; height: auto !important; float: left !important; margin: 0 1.5% 14px !important; box-sizing: border-box; }
  #product_img ul li img { width: 100% !important; height: auto !important; }
  #product_nav, #product_nav1 { width: 100% !important; float: none !important; margin: 10px 0 !important; }
  #product_nav ul, #product_nav1 ul { display: flex; flex-wrap: wrap; justify-content: center; }
  #product_nav ul li, #product_nav1 ul li { width: 31% !important; height: 34px !important; line-height: 34px !important; margin: 4px 1% !important; font-size: 14px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  #product_nav ul, #product_nav1 ul, #product_nav1 div { width: 100% !important; }
  #product_nav ul li, #product_nav1 ul li { width: 46% !important; font-size: 13px !important; }

  #product_nav ul a, #product_nav1 ul a, #product_nav1 div a { width: 46% !important; display: block; flex: 0 0 46%; }
  #product_nav ul li, #product_nav1 ul li { width: 100% !important; }
