I like using PEX for icemaker lines.
I also use a hammer arrestor on the shutoff.
The smallest PEX I carry is 1/2", though you can also use 3/8"
I then use a braided stainless 1/4" supply with compression ends.
If you have room, you could also put the box on the side, instead of behind the refrigerator.