# Theme v13 — Logo, Shop UI and PDF Fixes

This update is based on the supplied Laravel 12 project and the attached Shop screenshots.

## Included

- Installed the supplied Sivakasi Crackers logo as the company logo.
- Added an optimized logo file at `storage/app/public/settings/sivakasi-logo.png`.
- Added migration `2026_08_31_000002_install_sivakasi_company_logo.php`.
- Company logo upload now allows up to 8 MB and the admin page compresses large logo images in the browser before upload.
- Customer logout now has a GET fallback and uses Laravel session invalidation/regeneration to avoid the stale-session 419 problem.
- Shop page redesigned to match the supplied screenshot:
  - Grand Total + Search row
  - one-line horizontally scrollable category buttons on mobile/desktop
  - category theme-color headings
  - compact single-row product list
  - image, product, unit, price, quantity and amount on desktop
  - image, product, price and quantity on mobile
  - live grand total updates when +/- is clicked
- Product List PDF generator fixed. The previous object numbering/xref construction could produce `Failed to load PDF document`.
- Invoice PDF generator fixed with the same object-numbering correction. Existing invoice filenames are safely regenerated instead of creating duplicates.
- Product List PDF now returns a direct valid PDF response with download headers.

## After extracting

Run:

```bash
php artisan migrate
php artisan storage:link
php artisan optimize:clear
```

Then open the customer Shop page and test:

1. Category horizontal scroll.
2. +/- quantity controls and Grand Total.
3. Product List PDF download.
4. Customer Account → Logout.
5. Admin → Company Settings → Company Logo upload.
