made changes to buttons

If this is what "normal" buttons look like, why not combine it with .button above, instead of using button:not(:last-child)? Then button:last-child will override your rules afterwards