.category-container {
    padding: 16px;

    .category-section {
        margin-bottom: 24px;

        .category-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 16px;
            padding-left: 8px;
            border-left: 4px solid var(--ion-color-primary);
        }

        .category-items {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;

            .category-item {
                padding: 12px;
                text-align: center;
                background: #f5f5f5;
                border-radius: 8px;
                font-size: 14px;
                color: #666;
                cursor: pointer;
                transition: all 0.3s ease;

                &:hover {
                    background: var(--ion-color-primary);
                    color: white;
                    transform: translateY(-2px);
                }
            }
        }
    }
}

// 适配小屏幕
@media (max-width: 480px) {
    .category-items {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}