fixed margins, checks for empty inputs on category