body {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
        min-height: 100vh;
    }

    .page-header {
        text-align: center;
        padding-top: 120px;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 1;
    }

    .page-header h1 {
        font-size: 2.5rem;
        font-weight: 900;
        background: linear-gradient(135deg, #3b82f6, #6366f1, #10b981);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 0.5rem;
        text-shadow: none;
    }

    .page-header p {
        color: #64748b;
        font-size: 1.2rem;
        font-weight: 500;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .products-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
        position: relative;
    }

    .filters-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
        gap: 1rem;
        margin-bottom: 1.5rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(25px);
        padding: 1rem;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: hidden;
    }

    /* 证书品牌 - 跨三列，第一行 */
    .filter-section:first-of-type {
        grid-column: 1 / 4;
        grid-row: 1;
        width: 100%;
    }

    /* 证书品牌的筛选标签容器 - 大屏幕时单行显示 */
    .filter-section:first-of-type .filter-tabs {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
    }

    /* 审计类型 - 第一列第二行 */
    .filter-section:nth-of-type(2) {
        grid-column: 1;
        grid-row: 2;
    }

    /* 证书类型 - 第二列第二行 */
    .filter-section:nth-of-type(3) {
        grid-column: 2;
        grid-row: 2;
    }

    /* 价格排序 - 第三列第二行 */
    .sort-section {
        grid-column: 3;
        grid-row: 2;
    }

    /* 证书品牌标签容器滚动条样式 */
    .filter-section:first-of-type .filter-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .filter-section:first-of-type .filter-tabs::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .filter-section:first-of-type .filter-tabs::-webkit-scrollbar-thumb {
        background: rgba(59, 130, 246, 0.3);
        border-radius: 10px;
    }

    .filter-section:first-of-type .filter-tabs::-webkit-scrollbar-thumb:hover {
        background: rgba(59, 130, 246, 0.5);
    }

    /* Firefox 滚动条样式 */
    .filter-section:first-of-type .filter-tabs {
        scrollbar-width: thin;
        scrollbar-color: rgba(59, 130, 246, 0.3) rgba(0, 0, 0, 0.05);
    }

    /* 证书品牌标签 - 确保不换行 */
    .filter-section:first-of-type .filter-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* 小屏幕（<768px）：改为单列布局，品牌标签允许换行 */
    @media (max-width: 767px) {
        .filters-container {
            grid-template-columns: 1fr;
            overflow: visible;
        }

        /* 证书品牌 - 第一行 */
        .filter-section:first-of-type {
            grid-column: 1;
            grid-row: 1;
        }

        /* 审计类型 - 第二行 */
        .filter-section:nth-of-type(2) {
            grid-column: 1;
            grid-row: 2;
        }

        /* 证书类型 - 第三行 */
        .filter-section:nth-of-type(3) {
            grid-column: 1;
            grid-row: 3;
        }

        /* 价格排序 - 第四行 */
        .sort-section {
            grid-column: 1;
            grid-row: 4;
        }

        /* 小屏幕时品牌标签允许换行，移除溢出隐藏 */
        .filter-section:first-of-type .filter-tabs {
            flex-wrap: wrap;
            overflow-x: visible;
            overflow-y: visible;
            padding-bottom: 0;
        }
        
        /* 小屏幕时确保证书品牌容器宽度正确 */
        .filter-section:first-of-type {
            width: 100%;
            min-width: 0;
        }
    }

    .filters-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #3b82f6, #6366f1, #10b981);
    }

    .filter-section,
    .sort-section {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        position: relative;
        z-index: 1;
        min-width: 0;
    }

    .sort-section {
        gap: 0.5rem;
    }

    .sort-tabs,
    .filter-tabs {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        align-items: flex-start;
        width: 100%;
    }

    .filter-title {
        font-weight: 700;
        font-size: 0.95rem;
        margin-bottom: 0;
        color: #1e293b;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .filter-section > div,
    .sort-section > div {
        flex: 1;
    }

    .filter-title i {
        font-size: 1rem;
        color: #3b82f6;
    }

    .filter-tab {
        padding: 6px 12px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(59, 130, 246, 0.15);
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-weight: 600;
        color: #475569;
        font-size: 0.75rem;
        position: relative;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        white-space: nowrap;
        height: fit-content;
    }

    .filter-tab::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #3b82f6, #6366f1);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 0;
    }

    .filter-tab span {
        position: relative;
        z-index: 1;
    }

    .filter-tab:hover {
        border-color: #3b82f6;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
        transform: translateY(-3px);
        color: #3b82f6;
    }

    .filter-tab:hover::before {
        left: 0;
    }

    .filter-tab:hover,
    .filter-tab.active {
        color: white;
        border-color: transparent;
    }

    .filter-tab.active::before {
        left: 0;
    }

    .filter-tab.active {
        border-color: transparent;
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
        background: linear-gradient(135deg, #3b82f6, #6366f1);
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .product-card {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #3b82f6, #6366f1, #10b981);
        transform: scaleX(0);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .product-card::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .product-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.95);
    }

    .product-card:hover::before {
        transform: scaleX(1);
    }

    .product-card:hover::after {
        opacity: 1;
    }

    /* 特殊证书卡片样式（邮箱证书和代码证书） */
    .product-card.special-cert-card {
        border: 2px solid #f59e0b;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.95));
        box-shadow: 0 8px 32px rgba(245, 158, 11, 0.15), 0 0 0 1px rgba(245, 158, 11, 0.2);
    }

    .product-card.special-cert-card::before {
        background: linear-gradient(90deg, #f59e0b, #f97316, #ea580c);
        transform: scaleX(1);
    }

    .product-card.special-cert-card:hover {
        border-color: #f97316;
        box-shadow: 0 20px 60px rgba(245, 158, 11, 0.25), 0 0 0 1px rgba(245, 158, 11, 0.3);
    }

    /* 特殊证书横幅标识 */
    .special-cert-banner {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #f59e0b, #f97316);
        color: white;
        padding: 8px 16px;
        font-size: 0.85rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 10;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }

    .special-cert-banner i {
        font-size: 1rem;
    }

    .product-card.special-cert-card {
        padding-top: 3.5rem;
    }

    .product-header {
        margin-bottom: 1.2rem;
        position: relative;
        z-index: 2;
    }

    .product-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        padding: 4px 12px;
        background: linear-gradient(135deg, #3b82f6, #6366f1);
        color: white;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 700;
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
        z-index: 3;
        transform: translateZ(0);
    }

    .product-name {
        font-size: 1.2rem;
        font-weight: 900;
        color: #1e293b;
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 2;
        padding-right: 60px;
    }

    .product-type {
        color: #64748b;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        font-weight: 500;
        position: relative;
        z-index: 2;
    }

    .product-details {
        margin-bottom: 1rem;
        position: relative;
        z-index: 2;
    }

    .product-detail-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
        font-size: 0.9rem;
        transition: all 0.3s;
    }

    .product-detail-item:last-child {
        border-bottom: none;
    }

    .product-detail-item:hover {
        background: rgba(59, 130, 246, 0.05);
        margin: 0 -0.8rem;
        padding: 8px 0.8rem;
        border-radius: 6px;
    }

    .detail-label {
        color: #64748b;
        font-weight: 500;
    }

    .detail-value {
        color: #1e293b;
        font-weight: 700;
    }

    .product-price {
        text-align: center;
        margin: 0.8rem 0;
        padding: 0.5rem;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
        border-radius: 14px;
        border: 1px solid rgba(59, 130, 246, 0.2);
        position: relative;
        z-index: 2;
    }

    .price-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .price-amount {
        font-size: 2.2rem;
        font-weight: 900;
        background: linear-gradient(135deg, #3b82f6, #6366f1, #10b981);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 0;
    }

    .price-period {
        color: #64748b;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .attach-price {
        font-size: 0.9rem;
        color: #64748b;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        padding: 6px 10px;
        background: rgba(100, 116, 139, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(100, 116, 139, 0.2);
        white-space: nowrap;
    }

    .attach-price i {
        font-size: 0.8rem;
        color: #10b981;
    }

    .product-features {
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 2;
    }

    .feature-item {
        display: flex;
        align-items: center;
        padding: 6px 0;
        font-size: 0.85rem;
        color: #475569;
        font-weight: 500;
        transition: all 0.3s;
    }

    .feature-item:hover {
        color: #3b82f6;
        transform: translateX(4px);
    }

    .feature-item::before {
        content: '✓';
        margin-right: 8px;
        color: #10b981;
        font-weight: bold;
        font-size: 0.9rem;
    }

    /* 如果特性项包含图标，则不显示默认的 ✓ */
    .feature-item i {
        margin-right: 8px;
        color: #10b981;
        font-size: 0.9rem;
        width: 16px;
        text-align: center;
        display: inline-block;
    }

    /* 当特性项包含图标时，隐藏默认的 ✓ */
    .feature-item:has(i)::before {
        display: none;
    }

    /* 兼容不支持 :has() 的浏览器 - 使用更通用的方式 */
    .feature-item.has-icon::before {
        display: none;
    }

    .feature-item i + span {
        display: inline;
    }

    .buy-button {
        width: 100%;
        padding: 12px 20px;
        background: linear-gradient(135deg, #3b82f6, #6366f1);
        color: white;
        border: none;
        border-radius: 14px;
        font-size: 0.95rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        position: relative;
        z-index: 2;
        box-shadow: 0 6px 24px rgba(59, 130, 246, 0.3);
        overflow: hidden;
    }

    .buy-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
    }

    .buy-button:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 16px 48px rgba(59, 130, 246, 0.4);
        background: linear-gradient(135deg, #2563eb, #4f46e5);
    }

    .buy-button:hover::before {
        left: 100%;
    }

    .empty-state {
        text-align: center;
        padding: 80px 40px;
        color: #64748b;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border-radius: 24px;
        margin: 3rem 0;
        grid-column: 1 / -1;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }

    .empty-state i {
        font-size: 5rem;
        margin-bottom: 2rem;
        color: #cbd5e0;
    }

    .empty-state h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        color: #475569;
        font-weight: 700;
    }

    .empty-state p {
        font-size: 1.1rem;
        color: #64748b;
        font-weight: 500;
    }

    .loading {
        text-align: center;
        padding: 80px 40px;
        color: #3b82f6;
        grid-column: 1 / -1;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }

    .loading i {
        font-size: 4rem;
        animation: spin 1s linear infinite;
        margin-bottom: 1rem;
    }

    .loading p {
        font-size: 1.2rem;
        font-weight: 600;
        color: #64748b;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* 月份选项容器样式 - 横向网格布局 */
    .month-options-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.75rem;
    }

    .month-option {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .month-option:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    }

    /* 响应式设计 - 小屏幕时显示更少的列 */
    @media (max-width: 640px) {
        .month-options-container {
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 0.5rem;
        }
        
        .month-option {
            padding: 0.75rem !important;
        }
    }

    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 3rem;
    }

    .page-btn {
        padding: 12px 24px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-weight: 600;
        color: #475569;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    }

    .page-btn:hover:not(.active):not(:disabled) {
        border-color: #3b82f6;
        background: rgba(59, 130, 246, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
        color: #3b82f6;
    }

    .page-btn.active {
        background: linear-gradient(135deg, #3b82f6, #6366f1);
        color: white;
        border-color: transparent;
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
        opacity: 1 !important;
    }

    .page-btn.active:disabled {
        cursor: not-allowed;
        transform: none;
        opacity: 1 !important;
    }

    .page-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

    @media (max-width: 768px) {
        .page-header {
            padding-top: 100px;
            margin-bottom: 2rem;
        }

        .page-header h1 {
            font-size: 2.5rem;
        }

        .page-header p {
            font-size: 1.1rem;
            padding: 0 1rem;
        }

        .products-container {
            padding: 0 1rem;
        }

        .products-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .filters-container {
            grid-template-columns: 1fr;
            padding: 1rem;
            gap: 1rem;
        }

        .filter-section,
        .sort-section {
            gap: 0.5rem;
        }

        .filter-tabs {
            gap: 0.5rem;
            justify-content: flex-start;
        }

        .filter-tab {
            padding: 8px 12px;
            font-size: 0.8rem;
        }

        .product-card {
            padding: 1.5rem;
        }

        .price-row {
            gap: 0.6rem;
        }

        .price-amount {
            font-size: 2rem;
        }

        .attach-price {
            font-size: 0.85rem;
            padding: 4px 8px;
        }

        .pagination {
            gap: 8px;
            margin-top: 2rem;
            flex-wrap: wrap;
            padding: 0 1rem;
        }

        .page-btn {
            padding: 10px 16px;
            font-size: 0.85rem;
            min-width: auto;
            flex: 0 0 auto;
        }

        .page-btn span {
            display: none;
        }

        .pagination .page-btn:first-child::before {
            content: '上一页';
        }

        .pagination .page-btn:last-child::after {
            content: '下一页';
        }

        .pagination .page-btn.active {
            padding: 10px 14px;
        }
    }

    @media (max-width: 480px) {
        .page-header {
            padding-top: 80px;
            margin-bottom: 1.5rem;
        }

        .page-header h1 {
            font-size: 2rem;
        }

        .page-header p {
            font-size: 1rem;
            padding: 0 1rem;
        }

        .products-container {
            padding: 0 1rem;
        }

        .filters-container {
            padding: 1rem;
            gap: 1rem;
        }

        .filter-section,
        .sort-section {
            gap: 0.5rem;
        }

        .filter-tabs {
            gap: 0.4rem;
        }

        .filter-tab {
            padding: 6px 10px;
            font-size: 0.75rem;
        }

        .filter-title {
            font-size: 0.85rem;
        }

        .product-card {
            padding: 1.2rem;
        }

        .product-name {
            font-size: 1.2rem;
        }

        .price-row {
            gap: 0.5rem;
        }

        .price-amount {
            font-size: 1.8rem;
        }

        .attach-price {
            font-size: 0.8rem;
            padding: 3px 6px;
        }

        .buy-button {
            padding: 12px 16px;
            font-size: 0.9rem;
        }

        .pagination {
            gap: 6px;
            margin-top: 1.5rem;
        }

        .page-btn {
            padding: 8px 12px;
            font-size: 0.8rem;
        }

        .pagination .page-btn.active {
            padding: 8px 10px;
        }
    }