Can I customize the style of the template with code?
Yes, you can do so.
Besides changing the style with theme sections, you can write your custom styles (CSS) in theme.scss.liquid of your theme.
You should NOT change BYOB section files directly. Otherwise, it will be overwritten by our changes.