# Favorites E-commerce Block

Wishlist/favorites page block showing saved products in grid. Includes empty state with shop CTA, clear all button, and remove from favorites per item.

## Files

| Target | Type |
|--------|------|
| `$modules$/favorites-ecommerce-block/index.ts` | index |
| `$modules$/favorites-ecommerce-block/favorites-ecommerce-block.tsx` | block |
| `$modules$/favorites-ecommerce-block/lang/en.json` | lang |
| `$modules$/favorites-ecommerce-block/lang/tr.json` | lang |
| `$modules$/favorites-ecommerce-block/lang/pt.json` | lang |

## Exports

**Components/Functions:** `FavoritesEcommerceBlock`

```typescript
import { FavoritesEcommerceBlock } from '@/modules/favorites-ecommerce-block';
```

## Usage

```
import { FavoritesEcommerceBlock } from '@/modules/favorites-ecommerce-block';
import type { Product } from '@/modules/ecommerce-core/types';

const favorites: Product[] = [...];

<FavoritesEcommerceBlock
  favorites={favorites}
  onClearAll={() => clearFavorites()}
/>

• Receives favorites as prop (reusable block)
• Optional onClearAll callback
• Empty state: "No favorites yet" with shop link
• Use favorites-ecommerce-page for full page with hooks
```

## Dependencies

This component requires:
- `ecommerce-core`
- `product-card`
