/* =====================================================
   BADGES DE ESTILO Y AUTOR - SISTEMA DE ESTILOS
   Añadir este CSS en el header después de main.css
   ===================================================== */

/* Badges en listados (home, búsqueda, colecciones) */
.producto-extra-info {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.badge-estilo,
.badge-autor {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.badge-estilo {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #6b21a8;
    border: 1px solid #c084fc;
}

.badge-autor {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #60a5fa;
}

.producto-card:hover .badge-estilo {
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(107, 33, 168, 0.2);
}

.producto-card:hover .badge-autor {
    background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

/* Badges en detalle de producto */
.producto-extra-info-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.info-badge-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-badge-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.info-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
    .badge-estilo,
    .badge-autor {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .producto-extra-info-detail {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }
    
    .info-badge-detail {
        padding: 8px 12px;
    }
    
    .info-label {
        font-size: 0.85rem;
    }
    
    .info-value {
        font-size: 0.95rem;
    }
}
