/* ===================== 产品列表页样式 ===================== */
/* 所有样式以list2_开头 */

.list2_main {
    padding: 0 0 100px;
    background: #f8f9fa;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

        /* 面包屑导航 */
        .list2_breadcrumb-container {
            background: linear-gradient(to right, #0066cc, #0088ff);
            padding: 20px 0;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
            margin-bottom: 40px;
        }

        .list2_breadcrumb {
            display: flex;
            flex-wrap: wrap; /* 允许换行 */
            align-items: center;
            font-size: 14px;
            color: #fff;
            font-weight: 700;
            line-height: 1.5; /* 设置行高 */
        }

        .list2_breadcrumb a {
            color: #fff;
            transition: color 0.3s ease;
            display: inline-flex; /* 改为inline-flex */
            align-items: center;
            font-weight: 700;
            white-space: nowrap; /* 防止链接内文字换行 */
            margin: 2px 0; /* 上下间距 */
        }

        .list2_breadcrumb a:hover {
            color: #f0f7ff;
            text-decoration: none;
            font-weight: 700;
        }

        .list2_breadcrumb .fa-home:before {
            margin-right: 5px;
        }

        .list2_breadcrumb-separator {
            margin: 0 8px; /* 减小间距，更适合移动端 */
            font-size: 12px;
            color: #a0aec0;
            flex-shrink: 0; /* 防止分隔符被压缩 */
        }

        .list2_breadcrumb-current {
            color: #fff;
            font-weight: 700;
            white-space: nowrap; /* 防止文字换行 */
            margin: 2px 0; /* 上下间距 */
        }

        /* 移动端优化 */
        @media (max-width: 768px) {
            .list2_breadcrumb {
                font-size: 13px; /* 移动端字体稍小 */
            }
            
            .list2_breadcrumb-container {
            padding: 15px 0;
                    margin-bottom: 30px;
            }
        }
        
        /* 超小屏幕优化 */
        @media (max-width: 480px) {
            .list2_breadcrumb {
                font-size: 13px;
            }
            
            .list2_breadcrumb-separator {
                margin: 0 4px;
                font-size: 10px;
            }
        }

/* 栏目标题和栏目简介 */
.list2_header {
    margin-bottom: 60px;
    text-align: center;
}

.list2_title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a202c;
    position: relative;
    display: inline-block;
}

.list2_title i {
    color: #0066cc;
    margin-right: 15px;
    font-size: 40px;
}

.list2_title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #0066cc, #4a90e2);
    margin: 20px auto 0;
    border-radius: 2px;
}

.list2_description {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: #4a5568;
    font-size: 18px;
}

.list2_meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.list2_meta-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #718096;
    background: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list2_meta-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.list2_meta-item i {
    color: #0066cc;
    margin-right: 10px;
    font-size: 18px;
}

.list2_meta-item strong {
    color: #1a202c;
    margin-left: 5px;
    font-weight: 600;
}

/* 子分类区域 */
.list2_categories {
    margin-bottom: 60px;
}

.list2_categories-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a202c;
    display: flex;
    align-items: center;
}

.list2_categories-title i {
    color: #0066cc;
    margin-right: 12px;
    font-size: 24px;
}

.list2_categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
}

.list2_category-item {
    background: #fff;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: block;
    text-decoration: none;
    color: inherit;
}

.list2_category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #0066cc;
}

.list2_category-item.active {
    background: linear-gradient(135deg, #0066cc, #4a90e2);
    color: #fff;
    border-color: #0066cc;
}

.list2_category-item.active .list2_category-icon i {
    color: #fff;
}

.list2_category-item.active .list2_category-count {
    color: rgba(255,255,255,0.8);
}

.list2_category-icon {
    width: 60px;
    height: 60px;
    background: #edf2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.list2_category-item:hover .list2_category-icon {
    background: #e2e8f0;
    transform: scale(1.1);
}

.list2_category-item.active .list2_category-icon {
    background: rgba(255,255,255,0.2);
}

.list2_category-icon i {
    font-size: 24px;
    color: #0066cc;
}

.list2_category-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
}

.list2_category-item.active .list2_category-name {
    color: #fff;
}

.list2_category-count {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

/* 产品列表 */
.list2_products {
    margin-bottom: 60px;
}

.list2_products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.list2_products-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a202c;
    display: flex;
    align-items: center;
}

.list2_products-title i {
    color: #0066cc;
    margin-right: 12px;
    font-size: 24px;
}

.list2_products-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #4a5568;
}

.list2_sort-select {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #4a5568;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.list2_sort-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.list2_products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.list2_product-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.list2_product-item::before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0066cc, #0088ff);
}

.list2_product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.list2_product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #38a169;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    z-index: 2;
}

.list2_product-badge-hot {
    background: #e53e3e;
}

.list2_product-image {
    /* height: 220px; */
    overflow: hidden;
    position: relative;
}

.list2_product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.list2_product-item:hover .list2_product-image img {
    transform: scale(1.05);
}

.list2_product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 82, 130, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.list2_product-item:hover .list2_product-overlay {
    opacity: 1;
}

.list2_product-overlay i {
    margin-right: 10px;
    font-size: 18px;
}

.list2_product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.list2_product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.list2_product-category,
.list2_product-date {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #718096;
}

.list2_product-category i,
.list2_product-date i {
    color: #0066cc;
    margin-right: 6px;
    font-size: 14px;
}

.list2_product-category {
    background: #edf2f7;
    padding: 4px 10px;
    border-radius: 30px;
    color: #0066cc;
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 65%;
}

.list2_product-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #1a202c;
    flex-grow: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.list2_product-title a {
    color: inherit;
    transition: color 0.3s ease;
    text-decoration: none;
}

.list2_product-title a:hover {
    color: #0066cc;
}

.list2_product-excerpt {
    line-height: 1.6;
    color: #718096;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 15px;
}

.list2_product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 10px;
}

.list2_product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #0066cc;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-grow: 1;
    text-align: center;
}

.list2_product-button:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
}

.list2_product-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.list2_product-button:hover i {
    transform: translateX(5px);
}

.list2_product-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: #fff;
    color: #0066cc;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #0066cc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.list2_product-quote:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
}

.list2_product-quote i {
    margin-right: 6px;
}

/* ===================== 新翻页样式 ===================== */
.list2_pagination-container {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

/* 翻页主容器 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

/* 翻页项通用样式 */
.pagination li {
    margin: 0;
    padding: 0;
}

/* 翻页链接样式 */
.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    background-color: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #4a5568;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pagination a:hover {
    background-color: #f7fafc;
    border-color: #0066cc;
    color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

/* 当前页样式 */
.pagination li.active a {
    background: linear-gradient(135deg, #0066cc, #4a90e2);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    transform: translateY(-2px);
}

/* "共X条"特殊样式 */
.pagination li:first-child a {
    background-color: transparent;
    border-color: transparent;
    color: #718096;
    font-weight: 500;
    font-size: 15px;
    cursor: default;
    min-width: auto;
    padding: 0 12px;
}

.pagination li:first-child a:hover {
    background-color: transparent;
    border-color: transparent;
    color: #718096;
    transform: none;
    box-shadow: none;
}

/* 下一页按钮样式 */
.pagination li:last-child a {
    background: linear-gradient(135deg, #0066cc, #4a90e2);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    padding: 0 24px;
}

.pagination li:last-child a:hover {
    background: linear-gradient(135deg, #0066cc, #0066cc);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

/* 翻页项之间的分隔符效果 */
.pagination li:not(:first-child):not(:last-child) a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 102, 204, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pagination li:not(:first-child):not(:last-child) a:hover::after {
    opacity: 1;
}

/* 当前页特殊效果 */
.pagination li.active a::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #0066cc, #4a90e2);
    border-radius: 10px;
    z-index: -1;
    animation: pagination-glow 2s ease-in-out infinite;
}

@keyframes pagination-glow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .list2_pagination-container {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .pagination a {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 15px;
    }
    
    .pagination li:first-child a {
        font-size: 14px;
        padding: 0 8px;
    }
    
    .pagination li:last-child a {
        padding: 0 16px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .pagination {
        gap: 4px;
    }
    
    .pagination a {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 14px;
    }
    
    .pagination li:first-child {
        order: 1;
        flex-basis: 100%;
        text-align: center;
        margin-top: 15px;
    }
    
    .pagination li:first-child a {
        font-size: 13px;
        padding: 0;
        background: none;
    }
}

/* 适配首页头部导航高度 */
.nav-container.fixed + .list2_main .list2_breadcrumb-container {
    margin-top: 90px; /* 匹配导航栏高度 */
}

/* 移动端导航高度适配 */
@media (max-width: 768px) {
    .nav-container.fixed + .list2_main .list2_breadcrumb-container {
        margin-top: 60px;
    }
}

/* 平滑滚动动画 */
.list2_category-item,
.list2_product-item {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 翻页按钮动画效果 */
.pagination li {
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.pagination li:nth-child(1) { animation-delay: 0.1s; }
.pagination li:nth-child(2) { animation-delay: 0.2s; }
.pagination li:nth-child(3) { animation-delay: 0.3s; }
.pagination li:nth-child(4) { animation-delay: 0.4s; }
.pagination li:nth-child(5) { animation-delay: 0.5s; }

/* DIY小图标 */
.fa-diy-3:before {
    content: "\f45d";
}

.fa-diy-4:before {
    content: "\f434";
}

.fa-diy-5:before {
    content: "\f433";
}

.fa-diy-6:before {
    content: "\f1e3";
}

.fa-diy-7:before {
    content: "\f3fd";
}

.fa-diy-8:before {
    content: "\f0e7";
}




























