/* ============================================
   移动端适配样式（仅移动端生效，PC 完全不受影响）
   断点：1100px（与现有 style.css 断点一致）
   ============================================ */

@media screen and (max-width: 1100px) {

    /* ---------- 1. 全局容器防溢出 ---------- */
    html, body {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
    }


    /* ---------- 2. adsection（首页新闻块）---------- */
    .adfont {
        min-width: 0 !important;      /* 取消 1230px 最小宽度 */
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .adsection {
        padding: 0 0 20px;
    }
    .adsection .container {
        width: 100% !important;
        padding: 0 12px;
        box-sizing: border-box;
    }
    .adsection .ad-news {
        margin-left: 0 !important;
    }
    .adsection .ad-news .item {
        width: 100% !important;
        float: none !important;
        margin-bottom: 15px;
    }
    .adsection .ad-news .wrap {
        border-left: 0;
        border-top: 1px solid #ddd;
        padding-left: 0;
        padding-top: 15px;
        margin-left: 0;
    }

    /* ---------- 3. footer ---------- */
    .footer-copy .container {
        width: 100% !important;
        padding: 0 12px;
        box-sizing: border-box;
    }

    /* ---------- 4. 首页 yy 滚动条区域 ---------- */
    .yy {
        width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
        margin-top: 20px !important;
    }
    .yy > div:first-child img {
        width: 100% !important;
        height: auto !important;
    }
    /* 滚动容器改为自适应宽度 */
    #demo000 {
        width: 100% !important;
        height: auto !important;
        overflow-x: auto !important;
        overflow-y: hidden;
    }
    #demo000 table {
        width: auto !important;
    }
    /* 每张小卡片等比缩小 */
    #demo000 td[style*="width:200px"],
    #demo000 td > table {
        width: 160px !important;
    }
    #demo000 img {
        width: 160px !important;
        height: 130px !important;
    }

    /* ---------- 5. 首页轮播 ---------- */
    #slider {
        max-width: 100% !important;
    }
    #slider .bx-wrapper img {
        width: 100%;
    }

    /* ---------- 6. 首页产品图 wrap2 ---------- */
    .i_product_bg {
        max-width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .i_product_bg .wrap2 {
        margin-bottom: 10px;
    }

    /* ---------- 7. 顶部导航（head.html）---------- */
    .navs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .navs::-webkit-scrollbar {
        display: none;
    }
    .navs ul {
        display: inline-block;
        white-space: nowrap;
    }
    .navs li.nav1,
    .navs li.shuxian {
        display: inline-block;
        float: none;
        vertical-align: middle;
    }
    #logo {
        text-align: center;
    }
    #logo .logo_left,
    #logo .logo_right {
        float: none;
        display: inline-block;
        max-width: 48%;
    }
    #logo img {
        max-width: 100%;
        height: auto !important;
    }

    /* ---------- 8. 图片列表页分类栏 ---------- */
    .wrap2 > div[style*="max-width: 1350px"] {
        max-width: 100% !important;
        padding: 0 8px;
        box-sizing: border-box;
    }
    .wrap2 > div[style*="max-width: 1350px"] > div > div[style*="width: 1000px"] {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }
    .first-category {
        width: auto !important;
        margin-right: 10px !important;
        display: inline-block;
    }

    /* ---------- 9. 产品/图片列表 ---------- */
    .product_ul {
        max-width: 100% !important;
        padding: 0 8px;
        box-sizing: border-box;
    }
    .product_ul ul li {
        width: 48% !important;
        margin-right: 4% !important;
    }
    .product_ul ul li:nth-child(2n+0) {
        margin-right: 0 !important;
    }

    /* ---------- 10. 新闻列表页 ---------- */
    .news_bg .wrap {
        width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .news_con ul li {
        padding: 10px;
    }
    .news_con ul li .i_about_r .news_more {
        float: none;
        margin-top: 8px;
        display: inline-block;
    }

    /* ---------- 11. 内页 about_x ---------- */
    .about_x {
        padding: 0 10px;
        box-sizing: border-box;
    }
    .about_x .show_t {
        font-size: 20px !important;
        line-height: 30px !important;
    }

    /* ---------- 12. 联系我们地图 ---------- */
    #map-container {
        height: 300px !important;
        min-height: 300px !important;
    }

    /* ---------- 13. 面包屑 ---------- */
    .cyev-curmbs {
        padding: 0 10px;
        box-sizing: border-box;
        line-height: 36px;
        height: auto;
    }

    /* ---------- 14. 分页 ---------- */
    .pagebar {
        padding: 15px 10px;
    }
    .pagination {
        flex-wrap: wrap;
    }
    .pagination a {
        padding: 6px 8px;
        margin: 2px;
    }

    /* ---------- 15. 通用 wrap 防溢出 ---------- */
    .wrap {
        width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .wrap2 {
        width: 100% !important;
    }

    /* ---------- 16. 表格类内容横向滚动 ---------- */
    .about_x .con_id,
    #maximg {
        overflow-x: auto;
    }
    .about_x table,
    #maximg table {
        display: block;
        overflow-x: auto;
        max-width: 100%;
    }

    /* ---------- 17. 隐藏 PC 侧边客服（若已存在）---------- */
    .side {
        display: none !important;
    }

    /* ---------- 18. 友情链接块 ---------- */
    .linkss {
        width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

/* ============================================
   超小屏优化（480px 以下）
   ============================================ */
@media screen and (max-width: 480px) {

    .adsection .ad-news .tit {
        font-size: 16px;
    }
    .news_con ul li .i_about_r h3 {
        font-size: 15px;
        line-height: 20px;
        height: auto;
    }
    .product_ul ul li h2 {
        font-size: 14px;
    }
    #demo000 td > table {
        width: 140px !important;
    }
    #demo000 img {
        width: 140px !important;
        height: 115px !important;
    }
    .about_x .show_t {
        font-size: 18px !important;
    }
    .contact_r h2,
    .footer-copy {
        font-size: 13px;
        line-height: 1.8;
    }
    .footer-copy .container {
        word-break: break-all;
    }
}