.products-header {
    margin-bottom: 2rem;
}

    .products-header h1 {
        font-size: 2.2rem;
        font-weight: 700;
        background: linear-gradient(125deg, #065f46, #10b981);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        margin-bottom: 0.5rem;
    }

    .products-header p {
        color: #4b5563;
        font-size: 1rem;
    }

/* 保险公司标签栏 - 全新胶囊式设计 */
.company-tabs {
    margin-bottom: 2.5rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.company-tab-list {
    display: inline-flex;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-tab-item {
    display: inline-block;
}

.company-tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #f1f5f9;
    border-radius: 60px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

    .company-tab-link i {
        font-size: 1rem;
        color: #64748b;
    }

    .company-tab-link.active {
        background: #10b981;
        color: white;
        box-shadow: 0 6px 14px -6px rgba(16,185,129,0.4);
    }

        .company-tab-link.active i {
            color: white;
        }

    .company-tab-link:hover:not(.active) {
        background: #e2e8f0;
        transform: translateY(-2px);
    }

/* 产品网格布局 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.product-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e6f0ea;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 30px -12px rgba(6,95,70,0.15);
        border-color: #a7f3d0;
    }

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #eef2ff;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-content {
    padding: 24px;
}

.product-title a {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

    .product-title a:hover {
        color: #10b981;
    }

.product-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.tag {
    background: #ecfdf5;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #065f46;
}

.product-terms {
    margin: 12px 0;
    background: #f8fafc;
    padding: 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

    .product-terms span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-right: 12px;
        margin-bottom: 6px;
        color: #334155;
    }

    .product-terms i {
        color: #10b981;
        font-size: 0.7rem;
    }

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 16px 0;
}

.price-current {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency {
    font-size: 1rem;
    font-weight: 600;
    color: #065f46;
}

.amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #065f46;
    line-height: 1;
}

.unit {
    font-size: 0.75rem;
    color: #6b7280;
}

.price-original {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 18px;
}

    .product-stats i {
        margin-right: 4px;
        color: #94a3b8;
    }

.stat-highlight {
    color: #10b981;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0fdf4;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    color: #065f46;
    text-decoration: none;
    transition: 0.2s;
    width: 100%;
    border: 1px solid #d1fae5;
}

    .product-btn:hover {
        background: #10b981;
        color: white;
        border-color: #10b981;
    }

.company-section.hide {
    display: none;
}

.section-fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.empty-tip {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 48px;
    color: #9ca3af;
}

    .empty-tip i {
        font-size: 3rem;
        margin-bottom: 16px;
        display: inline-block;
    }

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .company-tab-link {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}
/* 头部简洁指引 */
.filter-stats {
    background: #f1f5f9;
    border-radius: 60px;
    padding: 6px 20px;
    display: inline-block;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

/* 分页组件样式 - 新增 */
.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

    .pagination li {
        display: inline-block;
    }

    .pagination a, .pagination span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s;
        background: white;
        color: #4a5568;
        border: 1px solid #e2e8f0;
    }

        .pagination a:hover {
            background: #ecfdf5;
            border-color: #10b981;
            color: #065f46;
        }

    .pagination .active span {
        background: #10b981;
        border-color: #10b981;
        color: white;
    }

    .pagination .disabled span {
        background: #f1f5f9;
        color: #94a3b8;
        cursor: not-allowed;
    }

/* 产品统计信息 - 新增 */
.products-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 12px 0;
    color: #64748b;
    font-size: 0.9rem;
}

.products-count {
    background: #f1f5f9;
    padding: 6px 16px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .pagination a, .pagination span {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 0.8rem;
    }
}