/* ruocin 响应式层 — 桌面端零回归，所有覆盖只在 max-width 媒体查询内生效 */
.nav_toggle{display:none!important;cursor:pointer;}
.nav_toggle span{display:block;width:24px;height:2px;margin:5px 0;background:#333;}

@media (max-width:1199px){
  html,body{min-width:0!important;overflow-x:hidden;}
  *,*::before,*::after{box-sizing:border-box;}
  img{max-width:100%;height:auto;}

  /* 所有 1000px 固定容器拉满 */
  .public_box,.main-nav,.nav,.pro_list,.pro_list ul,.product_info_main,
  .product_desp,.page_content,.page_info,.rs-full-top,.rs-full-idx,.footer,
  .b_product,.b_product2,.b_case,.b_about,.b_news,.b_contact,.b_technology,
  .rs-full-banner,.swiper-container,.swiper-wrapper,.swiper-slide{
    width:100%!important;min-width:0!important;max-width:100%!important;
  }
  .rs-full-top,.rs-full-idx,.footer{min-width:0!important;height:auto!important;}
  .rs-full-top .public_box{padding:0 10px;}
  .main-nav{height:auto!important;padding:10px 0;position:relative;}
  .main-nav::after{content:'';display:block;clear:both;}

  /* 顶部电话/邮箱/语言切换压缩排版 */
  .rs-top-tel,.rs-top-mail{padding-left:20px!important;margin-left:0!important;font-size:11px;height:auto;line-height:35px;overflow:hidden;white-space:nowrap;max-width:40%;text-overflow:ellipsis;}
  .rs-top-mail{display:none!important;}
  .language_tab{width:auto!important;float:right;margin-right:44px;}
  .language_tab ul li{padding-left:18px!important;margin-left:0!important;font-size:12px;}

  /* logo 缩小并居中/左对齐 */
  .rs-logo{width:auto!important;max-width:55%!important;float:left!important;}
  .rs-logo img{max-width:100%;height:auto;}

  /* 导航 → 汉堡下拉 */
  .nav_toggle{display:block!important;position:absolute;right:12px;top:26px;
              width:30px;height:30px;z-index:100;}
  .nav{display:none!important;position:absolute!important;top:100%;left:0;
       width:100%!important;height:auto!important;background:#fff;z-index:99;
       box-shadow:0 6px 14px rgba(0,0,0,.12);}
  .nav.open{display:block!important;}
  .nav>ul{width:100%!important;padding:0;margin:0;display:block;}
  .nav>ul>li,.nav>ul>li.home,.nav>ul>li.pro{
    width:100%!important;height:auto!important;float:none!important;
    border-bottom:1px solid #eee;position:static!important;text-align:left;
  }
  .nav>ul>li>h3{height:auto!important;line-height:44px!important;padding:0 16px!important;
               text-align:left!important;font-size:15px;}
  .nav ul li ul{display:block!important;position:static!important;width:100%!important;
                opacity:1!important;border:0!important;background:#fafafa;
                white-space:normal!important;min-width:0!important;}
  .nav>ul>li>ul{min-width:0!important;}
  .nav ul li ul li{height:auto!important;line-height:36px;border-top:1px solid #eee!important;}
  .nav ul li ul li a{padding-left:30px!important;}
  .nav>ul>li>ul>li>ul{position:static!important;width:100%!important;min-height:0!important;display:block!important;}
  .nav ul li ul li ul li a{padding-left:46px!important;}

  /* 面包屑/标题行 */
  .right_top{width:100%!important;height:auto!important;min-height:40px;overflow:hidden;}
  .right_top h2{height:auto!important;line-height:40px;padding:0 6px;}
  .right_top span{float:none!important;display:block!important;height:auto!important;
                  line-height:1.6;padding:4px 8px 8px!important;font-size:12px;}

  /* 产品/案例列表：4列 → 2列 */
  .pro_list,.pro_list ul{width:100%!important;overflow:hidden;}
  .pro_list ul li{width:calc((100% - 16px)/2)!important;margin-right:16px!important;
                  float:left!important;height:auto!important;}
  .pro_list ul li:nth-child(2n){margin-right:0!important;}
  .pro_list ul li img{width:100%!important;height:auto!important;object-fit:contain;}
  .pro_list ul li span{height:auto!important;line-height:1.5!important;padding:8px 0!important;
                       font-size:13px!important;word-break:break-word;}

  /* 首页主推块：图文并排 → 上下堆叠 */
  .rs-main-pro-pic,.rs-main-pro-rt{width:100%!important;float:none!important;height:auto!important;}
  .rs-main-pro-pic img{width:100%!important;height:auto!important;object-fit:contain;}
  .rs-main-pro-full{height:auto!important;overflow:hidden;}
  .rs-main-pro-info{padding:10px 14px 20px;}
  .rs-idx-el{font-size:18px!important;}
  .search_main,.s_text,.s_input,.s_btm{width:100%!important;max-width:100%!important;}
  .s_btm{margin-top:6px;}
  .rs-form{float:none!important;width:100%!important;margin-top:10px;}
  .rs-full-idx{height:auto!important;padding:10px 0 16px;overflow:hidden;}

  /* banner 高度按比例缩 */
  .b_product,.b_product2,.b_case,.b_about,.b_news,.b_contact,.b_technology,
  .rs-full-banner{height:130px!important;background-size:cover!important;}

  /* 详情页：主图 + 参数 + 内容单列 */
  .product_pics_lt,.product_pics_rt,.list_left,.list_right{
    float:none!important;width:100%!important;max-width:100%!important;height:auto!important;
  }
  .product_pics_lt img{max-width:100%;height:auto;}
  .product_info_main,.product_desp,.page_content,.page_info{width:100%!important;overflow:hidden;}
  .page_content table,.product_desp table{max-width:100%!important;table-layout:fixed!important;}
  .page_content td,.page_content th,.product_desp td,.product_desp th{width:auto!important;min-width:0!important;word-break:break-word;}
  .preview,.bigImg{width:100%!important;max-width:100%!important;height:auto!important;}
  .rs-about-video{width:100%!important;height:auto!important;}

  /* 页脚四列 → 两列 */
  .footer{min-width:0!important;padding:24px 12px!important;overflow:hidden;}
  .footer .public_box{width:100%!important;overflow:hidden;}
  .footer .min_nav{width:calc((100% - 20px)/2)!important;float:left!important;
                   margin-right:20px!important;margin-bottom:20px!important;height:auto!important;}
  .footer .min_nav.w-3{margin-right:0!important;}
  .footer .rs-ft-pro img{width:70px!important;height:auto!important;}
  .footer .rs-ft-pro-rt{width:calc(100% - 84px)!important;float:left!important;}
  .footer .rs-ft-pro-rt span{font-size:12px!important;line-height:1.5!important;}
  .copyright,.footer .copy,.rs-copy{width:100%!important;height:auto!important;line-height:1.8!important;
                           padding:10px!important;font-size:12px!important;min-width:0!important;}

  /* 禁用 JS 放大镜的浮层，避免固定宽浮层溢出/遮挡 */
  .MagicZoomBigImageCont,.MagicZoom loading,.MagicZoomPup{display:none!important;}
  /* 百度地图组件压进容器 */
  .BMap_mask,.BMap_omViewMask,div[id^="BMap"],.BMap_stdMpCtrl{display:none!important;}

  /* 分页条：表格换成块级，按钮自动换行居中 */
  .pages_foot{width:100%!important;height:auto!important;overflow:visible!important;padding:12px 6px!important;}
  .pages_foot table{width:100%!important;table-layout:auto!important;}
  .pages_foot td{text-align:center!important;line-height:2.2;}
  .pages_foot a.table_pro,.pages_foot font.table_pro{display:inline-block!important;
    margin:2px 3px!important;padding:4px 8px!important;font-size:12px!important;white-space:nowrap!important;}
  .pages_foot font[color="#FF0000"] a.table_pro{background:#fff!important;}
}

@media (max-width:640px){
  /* 手机：列表单列 */
  .pro_list ul li{width:100%!important;margin-right:0!important;}
  .rs-idx-el{font-size:16px!important;}
  .right_top h2{font-size:15px!important;}
  .language_tab ul li{font-size:11px!important;padding-left:14px!important;}
  .rs-top-tel{font-size:11px!important;max-width:50%;}
  .b_product,.b_product2,.b_case,.b_about,.b_news,.b_contact,.b_technology,
  .rs-full-banner{height:96px!important;}
  .footer .rs-ft-pro-rt h3{font-size:13px!important;}

  /* 页脚：关于 / 技术 / 商城 三块横排一行，公益回馈独占一行 */
  .footer .public_box{width:100%!important;overflow:hidden;}
  .footer .min_nav:not(.w-3){width:33.3333%!important;max-width:33.3333%!important;
    float:left!important;margin:0 0 16px!important;padding:0 6px!important;
    box-sizing:border-box!important;height:auto!important;min-height:0!important;}
  .footer .min_nav.w-3{width:100%!important;max-width:100%!important;
    float:none!important;clear:both!important;margin:0!important;padding:0!important;}
  .footer .min_nav:not(.w-3) h1{font-size:12px!important;line-height:1.5!important;
    height:auto!important;margin:0 0 6px!important;}
  .footer .min_nav:not(.w-3) ul li,
  .footer .min_nav:not(.w-3) ul li a{font-size:11px!important;line-height:1.9!important;
    height:auto!important;word-break:break-word;}

  /* 首页轮播：降低高度、箭头隐藏、分页点回到图内 */
  .swiper-container.swiper-banner{min-width:0!important;}
  .swiper-container.swiper-banner .swiper-slide img{height:210px!important;object-fit:cover!important;}
  .swiper-container.swiper-banner .arrows{display:none!important;}
  .swiper-container.swiper-banner .swiper-pagination{bottom:8px!important;}

  /* 英文站老式 fullSlide 轮播是 background 图，手机端同样压低高度、居中铺满 */
  .fullSlide,.fullSlide .bd,.fullSlide .bd ul,
  .fullSlide .bd li,.fullSlide .bd li a{height:210px!important;}
  .fullSlide .bd li{background-size:cover!important;background-position:center center!important;}
  .fullSlide .prev,.fullSlide .next{display:none!important;}

  /* 首页标语 + 搜索：整理成一块干净的搜索条，消除黄白斑马纹 */
  .rs-full-idx{height:auto!important;padding:12px 12px 14px!important;
    background:#ffc80b!important;overflow:hidden!important;}
  .rs-full-idx .public_box{width:100%!important;padding:0!important;overflow:hidden!important;}
  span.rs-idx-el{display:block!important;float:none!important;height:auto!important;
    line-height:1.4!important;font-size:15px!important;text-align:center!important;
    white-space:normal!important;margin:0 0 10px!important;padding:0!important;}
  .rs-form{float:none!important;width:100%!important;max-width:100%!important;
    height:auto!important;margin:0!important;padding:0!important;
    background:transparent!important;border-radius:0!important;}
  .search_main{float:none!important;display:flex!important;width:100%!important;
    max-width:100%!important;height:40px!important;overflow:hidden!important;
    background:#fff!important;border-radius:4px!important;}
  /* 搜索框内部还包着一层 form，flex 必须落在 form 上，按钮才不会掉到第二行被裁掉 */
  .search_main form{display:flex!important;width:100%!important;height:40px!important;
    margin:0!important;padding:0!important;align-items:center!important;}
  .s_text{float:none!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;
    max-width:none!important;height:40px!important;overflow:hidden!important;}
  .s_input{width:100%!important;height:40px!important;line-height:40px!important;
    font-size:13px!important;}
  .s_btm{float:none!important;flex:0 0 86px!important;width:86px!important;
    max-width:86px!important;height:40px!important;margin:0!important;overflow:hidden!important;}
  .s_btm input{display:block!important;width:100%!important;height:40px!important;object-fit:fill!important;}
}
