/* 空状态 */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
}

.empty-state i {
    margin-bottom: 20px;
    color: #d1d8e0;
}

.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #7f8c8d;
}

/* 分页容器 */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 40px;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 10px;
	color: #7f8c8d;
}

.pagination {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background-color: white;
    color: #ca0e0f;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #e1e5eb;
    transition: all 0.3s;
    font-size: 1rem;
}

.page-link:hover:not(.disabled):not(.active) {
    border-color: #ca0e0f;
    background-color: rgba(74, 111, 165, 0.05);
}

.page-link.active {
    background-color: #ca0e0f;
    color: white;
    border-color: #ca0e0f;
}

.page-link.disabled {
    color: #bdc3c7;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

.page-link i {
    font-size: 1.1rem;
}

/* 跳转页面 */
.page-jump {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-jump span {
    color: #7f8c8d;
}

.page-jump input {
    width: 70px;
    padding: 6px;
    border: 2px solid #e1e5eb;
    border-radius: 6px;
    text-align: center;
    font-size: 1rem;
}

.page-jump input:focus {
    outline: none;
    border-color: #ca0e0f;
}

.jump-btn {
    padding: 10px 20px;
    background-color: #ca0e0f;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.jump-btn:hover {
    background-color: #a30c0c;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .filters {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .search-box {
        width: 100%;
    }
    
    .grid-view {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header, .filters, .products-container, .pagination-container {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .grid-view {
        grid-template-columns: 1fr;
    }
    
    .list-view .product-card {
        flex-direction: column;
    }
    
    .list-view .product-image {
        width: 100%;
        height: 200px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-link {
        width: 40px;
        height: 40px;
    }
}