reorganize css to make cartbutton class more reusable