/* ==========================================================
   responsive.css — 全站移动端自适应（所有页面统一引入）
   断点：<=992px 平板/手机
   ========================================================== */

@media (max-width: 992px) {

  /* 版心留边 */
  .w{padding:0 16px}

  /* ---------- 轮播 Banner ---------- */
  .banner{height:360px !important}
  .swiper-button-next,.swiper-button-prev{--swiper-navigation-sides-offset:16px;--swiper-navigation-size:26px}
  .banner .swiper-pagination-bullet{width:20px}

  /* 首页 banner 文案：移动端三个 banner 统一居中，收紧间距 */
  .bannerh1{left:50%;width:100%;padding:0 20px;text-align:center}
  /* 三个 banner 的文案都走 .pa .bannerh1_text，移动端统一缩小字号 */
  .pa .bannerh1_text h1{font-size:24px;line-height:1.3}
  .pa .bannerh1_text p{font-size:15px;margin-top:14px;line-height:1.6}
  .pa .bannerh1_text button{margin-top:20px;padding:0 24px}
  /* 取消桌面端 <br> 强制断行，让文字在窄屏下自然流动 */
  .bannerh1_text p br{display:none}
  /* banner2/3 在手机上也整体居中 */
  .bannerh2,.bannerh3{left:50%;width:100%;padding:0 20px;text-align:center}

  /* ---------- 各页大标题 ---------- */
  .auto .auto_Text .auto_text_top h1,
  .auto .auto_text .auto_text_top div h1,
  .Product .Product_text .Product_text_top h1,
  .Choose .Choose_text .Choose_text_top h1{font-size:26px}

  /* ---------- 首页：走进大东 ---------- */
  /* 头部保持和桌面一致：标题在左、按钮在右，按钮与标题底部对齐 */
  .auto .auto_text .auto_text_top{flex-direction:row;justify-content:space-between;align-items:flex-end;margin: 20px 0;}
  .auto .auto_text .auto_text_top div{margin:40px 0 0}
  .auto .auto_text .auto_text_top button{margin:0 0 6px}
  .auto .auto_text .auto_text_button ul{flex-direction:column;gap:16px}
  .auto .auto_text .auto_text_button ul li{width:100%;height:auto}
  .auto .auto_text .auto_text_button ul li .auto_box{position:static;transform:none;padding:44px 24px}
  .auto .auto_text .auto_text_button ul li .auto_box i{font-size:40px}
  .auto .auto_text .auto_text_button ul li .auto_box h3{font-size:18px;margin-top:14px}
  .auto .auto_text .auto_text_button ul li .auto_box p{display:block;font-size:14px;margin-top:14px;line-height:1.7}
  .auto .auto_text .auto_text_button ul li .auto_box img{display:none}
  .auto .auto_text .auto_text_button ul li:not(:last-child){border-right:none}

  /* ---------- 首页：主营产品系列 ---------- */
  .Product{margin-top:60px;height:auto;padding:50px 0 60px}
  .Product .Product_text .Product_text_top p{margin-top:30px}
  /* 移动端不再用背景图裁切：产品图完整等比显示，两段文案在下方依次堆叠 */
  .Product .Product_text .Product_text_button{position:relative;top:auto;left:auto;transform:none;margin:40px auto 0;width:100%;height:auto;flex-direction:column;gap:36px;padding:0;background-image:none}
  .Product .Product_text .Product_text_button::before{content:"";display:block;width:100%;height:0;padding-top:50.7%;background:url(../img/chanp.png) center/contain no-repeat}
  .Product .Product_text .Product_text_button div{width:100%;text-align:center;padding:0 8px}
  .Product .Product_text .Product_text_button div h1{font-size:20px}
  .Product .Product_text .Product_text_button div button{margin-top:20px}

  /* ---------- 首页：为什么选择大东 ---------- */
  .Choose{margin-top:60px}
  .Choose .Choose_text .Choose_text_botton{margin:40px 0}
  /* 触屏/小屏下没有真正的鼠标离开，:hover 遮罩会一直粘住盖住文案，直接禁用 */
  .Choose .Choose_text .Choose_text_botton ul li:hover::before{display:none}
  .Choose .Choose_text .Choose_text_botton ul{flex-direction:column;gap:16px}
  .Choose .Choose_text .Choose_text_botton ul li{width:100%;height:auto}
  .Choose .Choose_text .Choose_text_botton ul li .auto_box{position:static;transform:none;padding:44px 24px}
  .Choose .Choose_text .Choose_text_botton ul li .auto_box img{display:none}
  .Choose .Choose_text .Choose_text_botton ul li:not(:last-child){border-right:none}

  /* ---------- 首页：新闻动态 ---------- */
  .new{height:auto;padding:10px 0 40px;margin-top:50px}
  .new .news_w .auto_text_top{flex-direction:row;justify-content:space-between;align-items:flex-end}
  .new .news_w .auto_text_top div{margin:40px 0 0}
  .new .news_w .auto_text_top button{margin:0 0 6px}
  .new .news_w .new_a{flex-direction:column;gap:30px}

  /* ---------- 走进大东：图文交错 ---------- */
  .auto .auto_Text .auto_Text_1{flex-direction:column;gap:24px}
  /* 无论 HTML 顺序如何，移动端统一图片在上、文案在下 */
  .auto .auto_Text .auto_Text_1 > div:not(.padds){order:-1}
  .auto .auto_Text .auto_Text_1 .padds{padding:0}
  .auto .auto_Text .auto_Text_1 .padds h1{font-size:24px}
  .auto .auto_Text .auto_Text_1 .padds .p2{margin-top:16px}
  .auto .auto_Text .auto_Text_1:nth-child(n+2){margin-top:40px}

  /* ---------- 厂区 / 实力：图片墙 ---------- */
  .auto .auto_Text .auto_text_button div{flex-direction:column;gap:16px}
  .auto .auto_Text .auto_text_button div:nth-child(1){margin-top:40px}
  .auto .auto_Text .auto_text_button div img{width:100%}

  /* ---------- 新闻列表 ---------- */
  .auto .auto_Text .auto_text_bottom{margin-top:40px}
  .auto .auto_Text .auto_text_bottom .news-list{grid-template-columns:1fr}
  .auto .auto_Text .auto_text_bottom .news-card img{height:200px}

  /* ---------- 联系方式 ---------- */
  .auto .auto_Text .auto_text_bottom .contact-wrap{grid-template-columns:1fr}
  .auto .auto_Text .auto_text_bottom .map-wrap{height:300px;margin-top:40px}

  /* ---------- 在线留言 ---------- */
  .auto .auto_Text .auto_text_bottom .form-top{grid-template-columns:1fr}
  .auto .auto_Text .auto_text_bottom .form-textarea{min-height:200px}

  /* ---------- 产品中心 ---------- */
  .auto .auto_Text .auto_text_bottom .tab-item{font-size:16px}
  .auto .auto_Text .auto_text_bottom .box_tab{grid-template-columns:repeat(2,1fr)}
  .auto .auto_Text .auto_text_bottom .box_tab a img{width:100%}

  /* ---------- 产品详情 ---------- */
  .auto .auto_Text .auto_text_bottom{flex-direction:column}
  .auto .auto_Text .auto_text_bottom div{min-width:0}
  .auto .auto_Text .auto_text_bottom div img{min-width:0;width:100%}
  .auto .auto_Text .auto_text_bottom .right{padding:0;margin-top:24px}

  /* ---------- 新闻详情 ---------- */
  .detail-card .detail-title{font-size:22px}
  .detail-card .detail-meta{flex-direction:column;gap:6px;align-items:center}

  /* ---------- 底部 ---------- */
  .buttons{padding:50px 0 60px}
  .buttons .buttons_text_w{flex-direction:column;gap:40px}
  .buttons .buttons_text_w ul .flexst{flex-direction:column;gap:20px}
  .buttons .buttons_text_w ul li div:nth-child(2){margin-left:0}
  .buttons .buttons_text_w ul li input{width:100%}
  .button_bot{padding:24px 0;font-size:13px}
}

/* ---------- 手机（<=640px） ---------- */
@media (max-width: 640px){
  .banner{height:280px !important}
  /* 小屏隐藏左右箭头，避免遮挡文案；保留底部圆点切换 */
  .banner .swiper-button-next,.banner .swiper-button-prev{display:none}
  .banner .swiper-pagination-bullet{width:16px;height:4px}
  .auto .auto_Text .auto_text_bottom .box_tab{grid-template-columns:1fr}
  .auto .auto_Text .auto_text_top h1,
  .auto .auto_text .auto_text_top div h1,
  .Product .Product_text .Product_text_top h1,
  .Choose .Choose_text .Choose_text_top h1{font-size:22px}
  .auto .auto_Text .auto_Text_1 .padds h1{font-size:20px}
  .detail-card .detail-title{font-size:18px}
}
