@media (max-width: 768px) {
    /* ---------------------------------------------------------
       二、首页 - 产品展示选项卡优化 (修复 33% 宽度撑破问题)
       --------------------------------------------------------- */
    /* 1. 外层容器清除浮动，改为弹性网格 */
    .productpart #myTab {
        display: flex !important;
        flex-wrap: wrap !important;
        padding: 10px !important;
        margin: 0 !important;
        border-bottom: none !important;
    }

    /* 2. 强制每个 li 占据严格的 33.333% 宽度，并清除 Bootstrap 默认边距 */
    .productpart #myTab li {
        width: 33.3333% !important;
        float: none !important;
        margin: 0 0 8px 0 !important; /* 仅保留底部间距 */
        padding: 0 4px !important;    /* 只留左右极小的缝隙 */
        box-sizing: border-box !important;
        display: flex !important;
    }

    /* 3. 强制 a 标签高度 46px，且文字绝对垂直居中 */
    .productpart #myTab li a {
        width: 100% !important;
        height: 46px !important;
        margin: 0 !important;
        padding: 0 5px !important;    /* 干掉 Bootstrap 原有的 15px padding */
        box-sizing: border-box !important;
        border: none !important;
        border-radius: 0 !important;
        
        /* 垂直与水平居中 */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        font-size: 13px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        
        /* 文字折行与截断 */
        word-break: break-all !important;
        overflow: hidden !important;
    }

    /* 4. 修复选项卡激活状态的背景色（覆盖 Bootstrap 默认样式） */
    .productpart #myTab li.active a {
        background: #fff !important;
        color: #009d8e !important;
        font-weight: bold !important;
    }
}