# Product Detail Page

Product detail page that fetches product data by slug from URL params. Uses useDbGet from @/db and renders ProductDetailBlock. Includes loading skeleton, error handling for not found products, and automatic page title.

## Files

| Target | Type |
|--------|------|
| `$modules$/product-detail-page/index.ts` | index |
| `$modules$/product-detail-page/product-detail-page.tsx` | page |
| `$modules$/product-detail-page/lang/en.json` | lang |
| `$modules$/product-detail-page/lang/tr.json` | lang |
| `$modules$/product-detail-page/lang/pt.json` | lang |

## Exports

**Components/Functions:** `ProductDetailPage`, `default`

```typescript
import { ProductDetailPage, default } from '@/modules/product-detail-page';
```

## Usage

```
import { ProductDetailPage } from '@/modules/product-detail-page';

<Route path="/products/:slug" element={<ProductDetailPage />} />

• Uses useDbGet() from @/db to fetch product by slug
• Fetches product by slug from URL params
• Shows loading skeleton while fetching
• Handles product not found state
```

## Dependencies

This component requires:
- `ecommerce-core`
- `product-detail-block`
