/* 分页按钮样式 */
.products-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.products-pagination a{
    text-decoration: none;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #333;
    text-decoration: none;
    padding: 0 12px;
    box-sizing: border-box;
}

.page-btn:hover:not(.disabled):not(.active) {
    background: #f5f5f5;
    border-color: #ccc;
    color:var(--secondary-blue);
}

.page-btn.active {
    background:var(--secondary-blue);
    color: white;
    border-color:var(--secondary-blue);
    font-weight: 600;
    cursor: default;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: #999;
    border-color: #eee;
    background: #f9f9f9;
}

.page-ellipsis {
    padding: 0 8px;
    color: #666;
    font-size: 14px;
    line-height: 40px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .products-pagination {
        gap: 4px;
    }
    
    .page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 8px;
    }
    
    .page-ellipsis {
        line-height: 36px;
    }
}

@media (max-width: 480px) {
    .products-pagination {
        gap: 2px;
    }
    
    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 0 6px;
    }
}