Since Google's major algorithm update in 2015 that has started the era of punishments for sites that are not mobile-friendly, the importance of mobile UX and its influence on Google rankings remains undeniable.
Shopware 6 and 5 come with a responsive standard template making a site responsive off-the-bat. With the adaptive default features that the platform offers and the community of third-party extension providers, your site is equipped with all required to get ranked as top-10.