.category-banner {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}
.category-banner img {
    width: 220px;
    height: 160px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #f3f4f6;
}
.category-banner h1 {
    font-size: 22px;
    color: #111;
    margin: 0;
    line-height: 1.4;
}

.catalog-flow-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}
.catalog-card-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.catalog-card-item img.card-top-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border: 1px solid #f3f4f6;
    border-radius: 4px;
    margin-bottom: 12px;
    background: #fff;
}
/* Part Number 竖排列表容器 */
.part-number-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.part-number-vertical-list a {
    font-size: 13px;
    font-weight: 600;
    color: #0052D4;
    text-decoration: none;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    word-break: break-all;
    transition: background 0.2s, border-color 0.2s;
}
.part-number-vertical-list a:hover {
    background: #eff6ff;
    border-color: #0052D4;
}

/* 3. 二级分类大图网格样式 */
.sub-featured-container {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}
.sub-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.sub-featured-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}
.sub-featured-card a {
    font-size: 13px;
    font-weight: 600;
    color: #0052D4;
    text-decoration: none;
    word-break: break-all;
}
.sub-featured-card a:hover {
    text-decoration: underline;
}

.spec-matrix-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
}
.spec-matrix-section h2 {
    font-size: 16px;
    color: #222;
    margin-top: 0;
    margin-bottom: 12px;
    border-left: 4px solid #0052D4;
    padding-left: 8px;
}
.filter-bar {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
#skuSearchInput {
    flex: 1;
    min-width: 200px;
    padding: 8px 12px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    outline: none;
}
.btn-search {
    padding: 8px 14px;
    background: #0052D4;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.btn-search:hover {
    background: #003eb3;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
#specTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    min-width: 600px;
}
#specTable th {
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 600;
    padding: 9px;
    border-bottom: 2px solid #e5e7eb;
}
#specTable td {
    padding: 9px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}
#specTable tbody tr:hover {
    background-color: #f9fafb;
}
#specTable td a {
    color: #0052D4;
    text-decoration: none;
    font-weight: 500;
}
.note-limit {
    margin-top: 15px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    .category-banner {
        flex-direction: column;
        text-align: center;
    }
    .category-banner img {
        width: 160px;
        height: 120px;
    }
    .category-banner h1 {
        font-size: 18px;
    }
    .catalog-flow-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .sub-featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}