.ProductBigBox {
    padding-top: 30px;
}

.ProductBigBox .container {
    display: block;
}

/* 分类导航 横向排版 */
.NyNavBox {
    width: 100%;
    margin-bottom: 30px;
}

.NyNavBox .top {
    color: rgba(0, 0, 0, 0.90);
    font-family: MiSans2;
    font-size: 30px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
}

.NavList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.NyNav {
    display: flex;
    flex-direction: column;
    position: relative;
}

.NyNav_1 {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #F9FAFB;
    padding: 12px 20px;
    cursor: pointer;
    white-space: nowrap;
}

.NyNav.on .NyNav_1 {
    background: var(--color);
}

.NyNav_1 a {
    font-size: 16px;
    color: #000;
}

.NyNav.on .NyNav_1 a {
    color: #fff;
}

.NyNav_1 img {
    display: none;
}

/* 二级下拉菜单 */
.NyNav_2 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    min-width: 180px;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.NyNav:hover .NyNav_2 {
    display: block;
}

.NyNav_2 a {
    display: block;
    font-size: 16px;
    padding: 10px 20px;
    color: #333;
}

.NyNav_2 a:hover {
    background: #f5f5f5;
}

/* 产品主体铺满 */
.NyProListBox {
    width: 100%;
    overflow: hidden;
}

.ListImg {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.ListImg .text {
    padding: 45px 30px;
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
}

.ListImg .text h1 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #FFF;
    font-family: MiSans2;
    font-size: 30px;
    margin-bottom: 10px;
}

.ListImg .text h1 .icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.ListImg .text h2 {
    color: #FFF;
    font-size: 18px;
}

.ListImg .bj {
    width: 100%;
}

/* ========== 产品列表：左图右文 ========== */
.ListBox {
    width: 100%;
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ListBox .item {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #F3F4F6;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.ListBox .item .img {
    width: 320px;
    min-width: 320px;
    background: #F4F4F4;
    overflow: hidden;
}

.ListBox .item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
}

.ListBox .item .text {
    flex: 1;
    background: #fff;
    padding: 30px;
    min-width: 0; /* 核心修复：防止Flex子元素被内部大表格强行撑开 */
}

.ListBox .item .text h1 {
    color: #000;
    font-family: MiSans2;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s;
    white-space: nowrap;
}

.ListBox .item .text h2 {
    color: #99A1AF;
    font-size: 15px;
    margin-bottom: 15px;
    transition: color 0.3s;
    white-space: nowrap;
}

.ListBox .item .text p {
    color: #666;
    font-size: 14px;
}

.ListBox .item:hover .text h1,
.ListBox .item:hover .text h2 {
    color: var(--color);
}

.ListBox .item:hover .img img {
    transform: scale(1.1);
}

/* ==========================================================================
   表格全局基础样式（无论什么屏幕，首先确保100%且不溢出）
   ========================================================================== */
.table,
.contentBox .table {
    width: 100% !important;
    overflow: hidden; /* 杜绝横向滚动条 */
}

.table table,
.contentBox .table table,
figure table {
    width: 100% !important;
    border-collapse: collapse;
    table-layout: fixed !important; /* 核心：强制约束整体宽度为100%，由单元格分担宽度 */
}

.table table tr:nth-child(1),
.contentBox .table table tr:nth-child(1) {
    background: #1A6580;
    color: #fff;
}

.table table tr:nth-child(1) p,
.contentBox .table table tr:nth-child(1) p {
    color: #fff !important;
}

.table table tr:nth-child(2n),
.contentBox .table table tr:nth-child(2n) {
    background: #F9F9F9;
}

figure table tr td {
    text-align: center;
    border: 1px solid #1A6580;
    font-size: 14px;
    line-height: 1.4;
    padding: 10px 5px !important;
    word-wrap: break-word !important;
}


@media (min-width: 1200px) {
    figure table {
        table-layout: auto !important; /* PC端空间大，允许根据内容微调列宽 */
    }
}

/* --- 2. 平板与手机横屏 (769px 到 1199px) --- */
@media (max-width: 1200px) {
    .ListImg .text {
        padding: 20px;
    }
    .ListImg .text h1 {
        font-size: 24px;
    }
    .ListImg .text h1 .icon {
        width: 36px;
        height: 36px;
    }
    .ListImg .text h2 {
        font-size: 16px;
    }
}

/* --- 3. 纯移动端（包含竖屏与横屏优化）(≤ 1199px) --- */
@media (max-width: 1199px) {
    .contentBox .table {
        margin: 3% auto;
    }
    
    /* 手机产品标题恢复自动换行 */
    .ListBox .item .text h1,
    .ListBox .item .text h2 {
        white-space: normal;
    }

    .ListBox .item {
        flex-direction: column;
    }
    .ListBox .item .img {
        width: 100%;
        min-width: auto;
    }
    .ListBox .item .text {
        padding: 15px;
        width: 100%;
    }
    .ListBox .item .text p {
        font-size: 12px;
    }
    
    /* 核心修复：移动端统一允许折行，利用基础样式的 table-layout: fixed 实现无缝缩放 */
    figure table tr td {
        padding: 6px 4px !important;
        font-size: 12px !important;
        white-space: normal !important; 
    }
}

/* --- 4. 极小屏幕 / 手机竖屏状态 (≤ 600px) --- */
@media (max-width: 600px) {
    .ListImg .bj {
        height: 160px;
        object-fit: cover;
    }
    /* 竖屏状态下空间极度受限，微调字号和内边距防止挤压变形 */
    figure table tr td {
        padding: 4px 2px !important;
        font-size: 11px !important;
    }
}
