/**
 * 分類頁面樣式
 */

/* 分類 Hero */
.category-hero {
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.category-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.category-hero p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
}

/* 排序欄 */
.sort-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sort-bar span {
    color: #666;
    font-size: 14px;
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

/* 餐廳網格 */
.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* 分頁 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.pagination-link:hover {
    background: #f5f5f5;
    border-color: #ff6b6b;
}

.pagination-link.active {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
}

/* 空狀態 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
}

/* 響應式 */
@media (max-width: 768px) {
    .category-hero {
        padding: 40px 0;
    }
    
    .category-hero h1 {
        font-size: 28px;
    }
    
    .category-icon {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }
    
    .restaurant-grid {
        grid-template-columns: 1fr;
    }
}
