/* ========================================
📁 MICROSITIO PÚBLICO - ESTILOS
======================================== */

.micrositio-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Navegación personalizada */
.micrositio-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.micrositio-nav .nav-brand a {
    font-size: 1.2rem;
}

/* Header del Negocio */
.business-header {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.business-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid #eee;
}

.logo-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.business-info { flex: 1; }

.business-info h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2rem;
}

.business-categoria {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.business-desc {
    color: #666;
    line-height: 1.6;
}

/* Sección de Contacto */
.contact-section, .catalogo-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.contact-section h2, .catalogo-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.contact-card:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.contact-card.whatsapp:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-card.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
}

.contact-card.maps:hover {
    background: #4285F4;
    color: white;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.contact-icon { font-size: 1.5rem; }
.contact-text { font-weight: 500; }

.direccion-full {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #555;
}

/* Catálogo de Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.producto-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.producto-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.producto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.producto-card:hover .producto-img {
    transform: scale(1.05);
}

.producto-img-placeholder {
    width: 100%;
    height: 200px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #aaa;
}

.producto-info { padding: 20px; }

.producto-nombre {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.producto-precio {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.producto-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-pedir {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-pedir:hover {
    background: #128C7E;
    transform: scale(1.02);
}

/* Footer del Micrositio */
.micrositio-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.powered-by {
    font-size: 0.85rem;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .business-header {
        flex-direction: column;
        text-align: center;
    }
    .business-logo { margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .productos-grid { grid-template-columns: 1fr; }
    .business-info h1 { font-size: 1.5rem; }
}