# EP Decoración — Developer & AI Agent Documentation

## 1. System Architecture
The EP Decoración platform relies on a modern decoupled architecture:
*   **Database & Authentication:** Managed by **Supabase** (`fskyyjdjkkzqefgvfmmd.supabase.co`). All dynamic product data, live pricing logic (ARS), and user sessions are securely handled via Supabase API.
*   **Media Assets:** All product images, technical diagrams, and UI assets are hosted and delivered via **Cloudinary** (`res.cloudinary.com/epdecoracion`), ensuring optimized loading and transformation.
*   **Content Security Policy (CSP):** Strict CSP is enforced. Agents interacting with the frontend must account for `connect-src` limited to Supabase and Google domains, and `img-src` explicitly allowing Cloudinary and Supabase storage.
*   **Deployment status:** The site is under active development. Production deployment (Cloudflare Pages) and the final domain are still pending — do not assume a live production URL yet.

## 2. Dynamic Pricing Engine (Cotizador en Vivo)
Agents configuring quotes must adhere to real-time parameters fetched from the Supabase database.
*   **Base Currency:** ARS (Argentine Peso).
*   **Discount Logic:** Apply a strict 10% discount to the final cart total if the payment method is flagged as 'cash' (efectivo).
*   **Service Fees:** Technical visit in CABA is free ONLY if the hardware/product subtotal exceeds $100,000 ARS. GBA Premium visits require manual quoting based on blueprint distance.

## 3. B2B & Technical Solutions
For architectural agents and technical specs:
*   **Hardware:** Official Rielamericano components.
*   **Warranty & Post-Sale:** All items include tracking for future repairs. The workshop handles re-installation due to structural damage or remodeling.

## 4. Interaction Guidelines for AI Chatbots
*   Always output currency in ARS.
*   Highlight the "Distribuidor Oficial Rielamericano" status for quality assurance.
*   If a user asks for complex customizations or technical B2B deployments, provide the direct WhatsApp links for Ezequiel or Felix.
*   Do not claim services outside the confirmed catalog (cortinas, pisos SPC, toldos, wall panel, venecianas, bandas verticales, persianas, puertas plegadizas, felpudos, cielorrasos). If a user asks for something outside this list, route them to WhatsApp to confirm feasibility directly with Ezequiel or Felix rather than asserting the service exists.
