/* 废旧金属网 手机端适配（≤768px 生效；桌面版不受影响） */
@media (max-width: 768px) {
  html, body { width: auto !important; min-width: 0 !important; overflow-x: hidden !important; }

  /* 绝对定位的整站积木改为文档流纵向堆叠 */
  div[id^="pdv_"] {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    top: auto !important;
    left: auto !important;
    margin: 0 0 4px 0 !important;
  }
  div[id^="spdv_"] { width: 100% !important; height: auto !important; overflow: visible !important; }
  div[id="top"], div[id="content"], div[id="bottom"],
  div[id="topex"], div[id="contentex"], div[id="bottomex"], div[id="advsex"] {
    width: 100% !important; height: auto !important; position: static !important;
  }
  div.pdv_border { height: auto !important; background: none !important; border: 0 !important; }

  /* 图片/表格自适应 */
  img { max-width: 100% !important; height: auto !important; }
  table { max-width: 100% !important; }
  iframe { max-width: 100% !important; }

  /* 隐藏装饰与固定挂件 */
  div[id="topex"], div[id="contentex"], div[id="bottomex"], div[id="advsex"] { display: none !important; }
  .cndns-right { display: none !important; }
  #top-back { display: none !important; }
  #ibangkf { display: none !important; }

  /* 顶部导航：横向可换行 */
  #wu_mainmenu, #wu_mainmenu ul { width: 100% !important; }
  #wu_mainmenu li { margin: 0 !important; }
  #wu_mainmenu dl dt a span { display: none !important; }

  /* 头图/横幅类块限高，避免残留固定高度 */
  div[id^="spdv_"][style*="hidden"] { height: auto !important; }

  /* 产品/文章排版 */
  .productquery_6 { width: 50% !important; float: left !important; box-sizing: border-box; padding: 4px !important; }
  .productquery_6 .fang, .productquery_6 .picFit { width: 100% !important; height: auto !important; }
  .productquery_6 .picFit img { width: 100% !important; height: auto !important; margin-top: 0 !important; }

  /* 分页居中 */
  div#showpages { text-align: center !important; height: auto !important; }
  div#pagesinfo { float: none !important; display: block !important; }
  div#pages { float: none !important; display: block !important; overflow: hidden; }
  div#pages ul { display: inline-block !important; }

  /* 会员/表单区 */
  .wufeedback dl dt, .wufeedback dl dd { display: block !important; }
  .wufeedback .input { width: 90% !important; }
}
