If you are planning on selling on KDP, Amazon will want you to use their own homegrown kindlegen tool.
I suggest you import your DOCX asa new book in the calibre
Edit Book tool, save it as an EPUB, then make sure the CSS is what you want it to be before using kindlegen/Kindle Previewer to test the book and upload it.