@charset "utf-8";
/* ============================================================
   huipaijd 主题 H5 响应式补丁（V1.0.04）
   大屏（>=1100px）不覆盖任何原样式，保证与老站 1:1 一致。
   仅在中窄屏介入：容器流式化、多栏堆叠、导航简化、图片自适应。
   ============================================================ */

/* ---------- 平板及以下：<=1100px ---------- */
@media (max-width: 1100px) {
    html, body { max-width: 100%; overflow-x: hidden; }

    /* 固定宽度容器统一改为流式；保留原居中 */
    .top, .head, .nav, .daohang ul, .container, .fNav, .links,
    .pages_espcms_width_content, .espcms_page, .fottter_width_str .icon_logo,
    .linkswrap .links, .boxyi, .page_width_pagebann,
    .pages_espcms_width_content_wirte, .ppzg_read, .ppzg_con { width: 100% !important; }

    .head { box-sizing: border-box; padding: 14px 3% !important; }
    .top  { box-sizing: border-box; padding: 0 3% !important; }
    .nav, .daohang ul { box-sizing: border-box; padding: 0 3% !important; }
    .container, .espcms_page, .pages_espcms_width_content { box-sizing: border-box; padding: 0 3% !important; }
    .linkswrap .links { box-sizing: border-box; padding: 16px 3% !important; }

    /* 头部：logo / 搜索 / 电话 三栏改两行 */
    .head .logo { float: none !important; width: auto !important; display: inline-block; vertical-align: middle; margin: 0 20px 10px 0 !important; }
    .head .logo img { max-width: 220px; height: auto; }
    .head .search { float: none !important; display: inline-block; vertical-align: middle; width: auto !important; margin: 0 0 10px !important; }
    .head_search, .head_search form { width: 100% !important; }
    .head .tel { float: none !important; display: inline-block; vertical-align: middle; margin-bottom: 8px; height: auto; }
    .form .a, .form .b { width: 40% !important; }
    .form .c { width: 18% !important; margin-left: 2% !important; }

    /* 主导航：横向可滚动，隐藏巨型分类悬浮面板 */
    .daohang { height: auto; }
    .daohang ul { height: auto; white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .daohang ul li { float: none; display: inline-block; }
    .daohang ul li a { padding: 0 16px; }
    .snavbox, .snavin, .nav_bj, .LoutiNav, #LoutiNav { display: none !important; }
    .navwap, .nav { height: auto; min-height: 39px; }
    .navside { float: none !important; width: 100% !important; }
    .navside > p { width: 100%; box-sizing: border-box; }
    .navin { float: none !important; width: 100% !important; white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .navin li, .navin li > a { width: auto !important; padding: 0 14px; }

    /* 首页楼层：左右分栏改上下堆叠 */
    .cpzxleft, .cpzxright, .synews, .tantou, .block1, .block2, .block3, .block4,
    .espcms_page_right, .espcms_page_left { float: none !important; width: 100% !important; }
    .cpzxright, .synews, .tantou { margin-top: 18px; }
    /* banner：原固定 500px，窄屏降为 260px，图片裁切填充；slide 插件依赖固定高度 */
    .espcms_slide { height: 260px !important; }
    .espcms_slide .bd li, .espcms_slide .bd li a { height: 260px !important; }
    .espcms_slide img { width: 100% !important; height: 260px !important; object-fit: cover; display: block; }
    .cpzxrighttu img, .tantou img { max-width: 100% !important; height: auto !important; }

    /* 产品/列表页：左侧导航 + 右侧产品改上下 */
    .pro_left, .pro_right, .espcms_page_right_line, .goods_list_div,
    .espcms_pic_div, .p_jianjie, .hot-brand-img { float: none !important; width: 100% !important; }
    .pro_left { margin-bottom: 12px; }
    .pro_left .pro_name { width: 100% !important; }
    .pro_left .pro_name li, .pro_left .pro_namey li { width: auto !important; height: auto !important; line-height: 36px !important; }
    .pro_cont { display: block; }
    .pro_right ul li { width: 48% !important; margin: 0 1% 12px !important; box-sizing: border-box; }
    .pro_right .fir { display: none; }
    .pro_img { max-width: 100% !important; height: auto !important; }

    /* 品牌专区简介 */
    .ppzg_js img { max-width: 160px !important; height: auto !important; float: left; margin-right: 14px; }
    .ppzg_js .wz { overflow: hidden; display: block; }

    /* 文章页正文与侧栏 */
    .espcms_news_title, .ah-article-body, .espcms_strlist, .espcms_newslist { width: 100% !important; }
    .ah-article-body img { max-width: 100% !important; height: auto !important; }

    /* 友情链接 */
    .links li { margin-right: 24px !important; }
    .links ul { width: 100% !important; }

    /* 右侧悬浮客服：缩小并靠边，避免大面积遮挡 */
    .side { width: 40px !important; }
    .side ul li, .side ul li .sidetop, .side ul li .sidebox { width: 40px !important; height: 40px !important; line-height: 40px !important; }
    .side ul li img { max-width: 30px; height: auto; }
}

/* ---------- 手机：<=767px ---------- */
@media (max-width: 767px) {
    body { font-size: 14px; }
    .head { text-align: center; }
    .head .logo { display: block; margin: 0 0 10px !important; }
    .head .logo img { max-width: 180px; }
    .head .tel { display: block; margin: 0 auto 10px; }
    .head .tel big { font-size: 26px; }
    .head .search { display: block; }
    .form h4 { display: none; }
    .form .a { width: 60% !important; }
    .form .b { display: none !important; }
    .form .c { width: 34% !important; margin-left: 2% !important; }
    .head_keyword { display: none; }

    .daohang ul li a { padding: 0 12px; font-size: 14px; }
    .navside > p { font-size: 14px; }
    .navin li a { padding: 0 10px; font-size: 13px; }

    /* 产品图两列 -> 手机上保留两列但收紧 */
    .pro_right ul li { width: 49% !important; margin: 0 0.5% 10px !important; }
    .pro_right ul li p a { font-size: 12px; line-height: 18px; }
    .pro_namee, .pro_title { font-size: 15px !important; }
    .pro_title_right a { font-size: 12px; }

    /* 面包屑与页脚 */
    .espcms_page_location { font-size: 12px; line-height: 22px; padding: 6px 3% !important; }
    .footer_menu { line-height: 26px !important; font-size: 12px !important; text-align: center; }
    .footer_menu a { margin: 0 5px; }
    .fNavin dl { float: none !important; width: 100% !important; margin: 0 0 12px !important; }
    .fottter_width_str .footer_str { float: none !important; width: 100% !important; margin: 0 !important; }

    /* 文章正文表格/窄图不溢出 */
    .ah-article-body table { max-width: 100%; }
    .ah-article-body td, .ah-article-body th { word-break: break-all; }

    /* 本站右侧悬浮客服：手机端收为小图标列，不展开 */
    .side { top: auto !important; bottom: 12px !important; }

    /* 第三方百度商桥/在线客服浮窗：手机端隐藏，避免遮挡大半屏正文。
       仅命中常见商桥容器 id，不影响站点自身 .side 与正文。 */
    #b2c-zixun, #b2c-zixun2, #onlineService, #online_service,
    #kefu, #customerService, #BDZxianshi, #shangqiao, #qiaoWrap,
    #affim-chat, #baidu-im, #imFloat { display: none !important; }
}
