
/* 移动端触摸优化 - 确保触摸目标至少44x44像素 */
@media screen and (max-width: 770px) {
    /* 汉堡菜单按钮 */
    .nav_m .n_icon {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 导航链接 */
    .head .nav li a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 0 !important;
    }
    
    /* 所有按钮和可点击元素 */
    button, 
    .button,
    input[type="submit"],
    input[type="button"],
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px !important;
    }
    
    /* 链接 */
    a {
        padding: 4px 2px; /* 增加可点击区域 */
    }
    
    /* 表单元素 */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        min-height: 44px;
        font-size: 16px !important; /* 防止iOS自动缩放 */
        padding: 12px !important;
    }
    
    /* 页脚链接 */
    .foot a,
    .f_nav li a {
        padding: 8px 0;
        display: inline-block;
        min-height: 32px;
    }
    
    /* 图片链接 */
    a img {
        display: block; /* 避免链接内图片间的间隙 */
    }
    
    /* 确保文字可读 */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    /* 列表项增加间距 */
    li {
        margin-bottom: 8px;
    }
    
    /* 卡片和内容块增加内边距 */
    .box_m, .card, .content-block {
        padding: 16px;
    }
    
    /* 修复FlexSlider触摸控制 */
    .flexslider .flex-direction-nav a {
        height: 44px;
        width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .flexslider .flex-control-nav li {
        margin: 0 8px;
    }
    
    .flexslider .flex-control-nav li a {
        width: 12px;
        height: 12px;
    }
}

/* 超小屏幕优化 (iPhone SE等) */
@media screen and (max-width: 375px) {
    .head, .head .head_r, .i_ma, .i_mb, .i_mc, .i_md, .bq, .foot, .i_me, .scd {
        width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
    
    .head .nav li a {
        width: 100% !important;
    }
    
    .f_nav li {
        width: 50% !important;
        float: left;
        box-sizing: border-box;
        padding: 0 5px;
    }
    
    /* 确保小屏文字不换行过多 */
    h1 { font-size: 24px !important; }
    h2 { font-size: 20px !important; }
    h3 { font-size: 18px !important; }
    
    .r_top span {
        font-size: 14px !important;
    }
}
