/* ==========================================================================
   辉科机器人 — 移动端响应式样式（手机/平板）
   屏幕宽度 ≤ 768px 时自动生效
   ========================================================================== */

@media screen and (max-width: 768px) {

    /* === 核心：所有大容器变全宽 === */
    .pageWidth,
    #box_root,
    #box_header_sub1_sub1,
    #box_footer_sub1_sub1,
    #box_footer_sub2_sub1,
    #box_left_sub2_sub1,
    #box_left_sub3_sub1,
    #box_left_sub4_sub1_sub1,
    #box_left_sub4_sub2_sub1,
    #box_left_sub4_sub3_sub1,
    .FrontProductsCategory_show01-d1_c2,
    .FrontPublic_breadCrumb01-d1_c1 {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    /* === 顶栏 === */
    #box_header_sub1_sub1_sub1 { width: 80px !important; }
    #box_header_sub1_sub1_sub1 img { max-width: 80px !important; height: auto !important; }
    #box_header_sub1_sub1_sub2 { width: auto !important; margin-left: 90px !important; }

    /* === 主菜单：横向滚动 === */
    .FrontColumns_navigation01-d4_c1 ul.nav-first { overflow-x: auto; flex-wrap: nowrap; }
    .FrontColumns_navigation01-d4_c1 ul.nav-first li { float: none !important; display: inline-block; }
    .FrontColumns_navigation01-d4_c1 ul.nav-first li a { font-size: 13px !important; padding: 0 10px !important; height: 32px !important; line-height: 32px !important; white-space: nowrap; }

    .FrontColumns_navigation01-d2_c1 ul.nav-first li a {
        width: auto !important; height: 36px !important; line-height: 36px !important;
        padding: 0 14px !important; font-size: 13px !important;
        background-size: cover !important;
    }

    /* === 表格 overflow 横向滚动 === */
    table { max-width: 100% !important; }
    .box_left_sub2_sub1 table,
    .FrontProducts_show01 table,
    #box_footer_sub1 table { display: block !important; overflow-x: auto !important; }

    /* === 产品列表：单列 === */
    .FrontProducts_list01-d3_c1_01 .column-num3,
    .FrontProducts_list01-d3_c1_01 .column-num4 {
        width: 100% !important; float: none !important; margin: 10px 0 !important;
    }
    .FrontProducts_list01-d3_c1_01 .content {
        width: 100% !important; margin: 15px 0 !important; box-sizing: border-box;
    }
    .FrontProducts_list01-d3_c1_01 .pic-module { width: 100% !important; float: none !important; }
    .FrontProducts_list01-d3_c1_01 .pic-module .pic a img {
        width: 100% !important; height: auto !important; max-height: 250px; object-fit: contain;
    }

    /* === 产品详情页 === */
    .FrontProducts_detail02-d7_c1 .content { display: block; }
    .FrontProducts_detail02-d7_c1 .content .pic-module {
        width: 100% !important; float: none !important; box-sizing: border-box;
    }
    .FrontProducts_detail02-d7_c1 .pic-module .pic,
    .FrontProducts_detail02-d7_c1 .content .pic-module .pic-img {
        width: 100% !important; max-width: 400px !important;
        height: auto !important; aspect-ratio: 1/1; object-fit: contain;
    }
    .FrontProducts_detail02-d7_c1 .content .pro-module { width: 100% !important; float: none !important; margin-top: 20px; }

    /* === 新闻列表 === */
    .FrontProducts_list01_view2-d1_c1 .pic-module,
    .FrontProducts_list01_view3-d1_c1 .pic-module { width: 80px !important; }
    .FrontProducts_list01_view2-d1_c1 .pic-module .pic a img,
    .FrontProducts_list01_view3-d1_c1 .pic-module .pic a img { width: 70px !important; height: 52px !important; }

    /* === 面包屑 === */
    .FrontPublic_breadCrumb01-d1_c1 { font-size: 12px !important; line-height: 1.6 !important; }

    /* === 内容页（公司简介等）=== */
    .FrontComContent_detail01-d1_c1 .title h3 { font-size: 15px !important; }
    .FrontComContent_detail01-d1_c1 .htmledit p { font-size: 14px !important; line-height: 1.8 !important; }
    .FrontComContent_detail01-d1_c1 .htmledit img { max-width: 100% !important; height: auto !important; }

    /* === 底部导航 === */
    #box_footer_sub1 { padding: 30px 0 15px !important; }
    #box_footer_sub2 { padding: 10px 0 !important; }
    #box_footer_sub2 table td { font-size: 12px !important; text-align: center !important; padding: 5px !important; white-space: normal; }

    /* === 图片通用：不超屏 === */
    img { max-width: 100% !important; height: auto !important; }
    .htmledit img, .content img, .pic img, .pic a img {
        max-width: 100% !important; height: auto !important;
    }

    /* === 去除一些大间距 === */
    .columnSpace { padding: 0 !important; }

    /* === 地图 === */
    #allmap { width: 100% !important; height: 250px !important; }
}

/* 平板（768-1024px） */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    #box_header_sub1_sub1_sub2 { width: auto !important; }
    #box_header_sub1_sub1_sub1 { width: 110px !important; }
    .FrontProducts_detail02-d7_c1 .content .pic-module { width: 45% !important; }
    .FrontProducts_detail02-d7_c1 .content .pro-module { width: 50% !important; }
}
