/* 响应式样式 - 适配不同屏幕尺寸 */
/* 基础：图片自适应 */
img {
    max-width: 100% !important;
    height: auto !important;
}


/* 案例三列并排布局 */
.cases {
    overflow: hidden !important;
}
.cases dl {
    float: left !important;
    width: 31% !important;
    margin: 0 1% 20px !important;
    box-sizing: border-box !important;
}
.cases dl:nth-child(3n) {
    margin-right: 0 !important;
}

/* 全宽区块确保不溢出 */
.header, .banner, .intro, .product, .sm_banner, 
.case, .ys, .about, .footer, .links {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
}

/* 内容容器居中 */
.content {
    margin: 0 auto;
    box-sizing: border-box;
}

/* ========== 小桌面 (992px - 1199px) ========== */
@media screen and (max-width: 1199px) {
    
    
    .menu ul li {
        margin: 0 5px !important;
    }
    .menu ul li a {
        font-size: 14px !important;
        padding: 0 5px !important;
    }
    
    /* 产品3列变2列 */
    .product ul li, .case ul li {
        width: 48% !important;
        margin: 0 1% 20px !important;
        float: left !important;
        box-sizing: border-box !important;
    }
}

/* ========== 平板 (768px - 991px) ========== */
@media screen and (max-width: 991px) {
    
    
    .h_tel {
        display: none !important;
    }
    
    .menu {
        text-align: center !important;
        float: none !important;
        width: 100% !important;
    }
    .menu ul li {
        margin: 0 3px !important;
        display: inline-block !important;
        float: none !important;
    }
    .menu ul li a {
        font-size: 13px !important;
        padding: 0 4px !important;
    }
    
    .logo {
        float: none !important;
        text-align: center !important;
        margin: 0 auto 10px !important;
    }
    
    .product ul li, .case ul li {
        width: 48% !important;
        margin: 0 1% 15px !important;
    }
    
    .footer .f_con, .footer .f_info,
    .footer .f_contact, .footer .f_qr {
        width: 48% !important;
        margin: 0 1% 20px !important;
        float: left !important;
        box-sizing: border-box !important;
    }
}

/* ========== 大手机 (576px - 767px) ========== */
@media screen and (max-width: 767px) {
    
    
    .menu {
        display: none !important;
    }
    
    .logo {
        float: none !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    .logo img {
        max-height: 40px !important;
    }
    
    .h_tel {
        display: none !important;
    }
    
    .banner, .banner img {
        height: auto !important;
        min-height: 180px !important;
    }
    
    .product ul li, .case ul li {
        width: 100% !important;
        margin: 0 0 15px !important;
        float: none !important;
    }
    
    .footer .f_con, .footer .f_info,
    .footer .f_contact, .footer .f_qr {
        width: 100% !important;
        margin: 0 0 20px !important;
        float: none !important;
        text-align: center !important;
    }
    
    .client-2 {
        display: none !important;
    }
    
    h1 { font-size: 22px !important; }
    h2 { font-size: 18px !important; }
    h3 { font-size: 16px !important; }
    
    table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
    }
    
    .proshow .pro-img, .proshow .pro-info {
        width: 100% !important;
        float: none !important;
        margin: 0 0 20px !important;
    }
}

/* ========== 小手机 (575px以下) ========== */
@media screen and (max-width: 575px) {
    
    
    .banner, .banner img {
        min-height: 150px !important;
    }
    
    .btn, .button, input[type="submit"], input[type="button"] {
        width: 100% !important;
        margin-bottom: 10px !important;
        box-sizing: border-box !important;
    }
    
    input[type="text"], input[type="email"], input[type="tel"],
    input[type="password"], textarea, select {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}
