# XWUICheckoutOrderSummary

A sticky itemized order-summary sidebar shown alongside a checkout form: line items (name, qty, unit price, optional thumbnail), an optional discount line, shipping, tax, and a grand total, plus an "Edit cart" link/button. This is the summary panel next to the checkout form - not a receipt, not the cart itself, and not the multi-step checkout flow.

## Events

| Event | Callback | Subscriber | `detail` |
|---|---|---|---|
| `xwui-checkout-order-summary:edit-cart` | `onEditCart` | `onEditCart(handler)` | — |

## Usage

```ts
import { XWUICheckoutOrderSummary } from '@exonware/xwui/industry';

const summary = new XWUICheckoutOrderSummary(host, {
  items: [{ name: 'Espresso Machine', quantity: 1, unitPrice: 249 }],
  shipping: 9.5,
  tax: 24.36,
});

summary.onEditCart(() => router.navigate('/cart'));
```

```api
```
