# Producto: {NOMBRE}

> **Estado:** ⏳ Pending / ✅ Production-ready
> **Tenant demo público:** `bp-demo-{slug}`
> **Última auditoría:** YYYY-MM-DD

---

## 1. Identidad

| Campo | Valor |
|-------|-------|
| **Core slug** | `{slug}` |
| **Demo asignado** | `demo-{...}` |
| **Tagline** | |
| **Descripción** | |
| **Schema.org type** | |
| **Idioma SEO** | `es_AR` |
| **Demo de referencia** | URL del demo Porto/template |
| **Industria (alias-matrix)** | |

---

## 2. Catálogo — shop products que mapean a este core

| Shop slug | Nombre comercial |
|-----------|------------------|
| | |

---

## 3. Módulos activos

| Módulo | Header label | Header | Footer | Origen |
|--------|--------------|--------|--------|--------|
| | | | | |

---

## 4. Branding

### Brand defaults

| Slot | Hex | Uso |
|------|-----|-----|
| primary | | |
| secondary | | |
| tertiary | | |
| quaternary | | |
| dark | | |
| light | | |

### Fonts

| Slot | Font | Uso |
|------|------|-----|

### Logo pack

`{slug}` → `public/cd-project/assets/{slug}/`

---

## 5. Asset pack físico

Archivos esperados en `public/cd-project/assets/{slug}/`:
- logo.png
- logo-alternative.png
- logo-2.png
- favicon.ico
- favicon.svg
- favicon-96x96.png
- apple-touch-icon.png
- web-app-manifest-192x192.png
- web-app-manifest-512x512.png
- site.webmanifest

### Imágenes del demo

`public/cd-project/img/demos/{demo-slug}/`:
- backgrounds/
- banner/ o slides/
- ...

---

## 6. CTA del Header

```json
{
  "active": true,
  "title": "",
  "url": "/contact",
  "target": "_self",
  "style": "primary"
}
```

---

## 7. Seeds de contenido

| Archivo | Contenido seedeado |
|---------|--------------------|
| `services-{slug}.json` | |
| `team-{slug}.json` | |
| `blog-{slug}.json` | |
| `faqs-{slug}.json` | |
| `references-{slug}.json` | |
| `gallery-{slug}.json` | |
| `projects-{slug}.json` | |
| `config-{slug}.json` | welcome / about / contact / footer overrides |

---

## 8. Vistas blade del producto

### Frontend
| Archivo | Líneas | Contenido |
|---------|--------|-----------|

### Layout
| Archivo | Contenido |
|---------|-----------|

### Admin
| Archivo | Tab |
|---------|-----|

---

## 9. Editabilidad — paridad admin↔front

| Tab admin | Keys del front | Inputs admin | Cobertura |
|-----------|----------------|--------------|-----------|

---

## 10. Comando de provisión

```bash
php artisan bewpro:new EMAIL "Nombre" {slug} --db=bp-CLIENTE --fresh --no-email
```

---

## 11. Changelog del pulido (YYYY-MM-DD)

### Bugs transversales arreglados

| Archivo | Bug | Fix |
|---------|-----|-----|

### Cambios específicos del demo

| Archivo | Cambio |
|---------|--------|

---

## 12. QA checklist

```bash
# 1. Provisionar tenant fresco
php artisan bewpro:new admin@bewpro.com "Demo {Nombre}" {slug} --db=bp-demo-{slug} --fresh --no-email

# 2. Verificar Cloudinary (esperado: 6 URLs)
mysql bp-demo-{slug} -e "SELECT \`key\`, value FROM settings WHERE \`key\` LIKE 'site.assets.%' AND value LIKE 'https://res.cloudinary.com%'"

# 3. Verificar brand colors
mysql bp-demo-{slug} -e "SELECT \`key\`, value FROM settings WHERE \`key\` LIKE 'site.theme.colors.%'"

# 4. Conteo de seeds
mysql bp-demo-{slug} -e "SELECT (SELECT COUNT(*) FROM services) services, ..."

# 5. Smoke test front
for url in / /about /contact; do
  curl -s -o /dev/null -w "%{http_code} $url\n" http://localhost/cd-system/public$url
done

# 6. Cero placeholders/inglés
curl -s http://localhost/cd-system/public/ | grep -oE '\[NOMBRE [^]]+\]|>John Doe<|>Lorem '

# 7. Header dropdown (si services/products están activos)
curl -s http://localhost/cd-system/public/ | grep "dropdown-item" | wc -l

# 8. FAQs en /contact (si faqs activo)
curl -s http://localhost/cd-system/public/contact | grep -c "collapseFAQ"

# 9. CSS vars correctas
curl -s http://localhost/cd-system/public/ | grep -E "^\s*--(grey-100|default):"

# 10. Paridad admin↔front (manual)
# /site-data?tab=welcome|about|contact — verificar inputs por cada key del front
```

---

## 13. Problemas conocidos / fuera de scope

---

## 14. Referencias cruzadas

- `database/seeders/products/core/{slug}.json`
- `database/seeders/products/core/seeds/*-{slug}.json`
- `resources/views/modules/cd-base/frontend/demos/{demo-slug}/`
- `resources/views/admin/site-data/{tab}/{demo-slug}.blade.php`
