Zend certified PHP/Magento developer

Magento 2 MGS Claue with Amasty Checkout

I’m trying to hook Amasty Onestep Checkout to the MGS Claue template and I got a few questions.

First of all, when deploying console throws:

Compilation from source: /var/www/html/magento/vendor/amasty/module-one-step-checkout-core/view/frontend/web/css/source/mkcss/amcheckout.less
Unable to get content for 'frontend/Mgs/claue_test/en_US/../../../lib/css/source/lib/_lib.less'

There are two modules for amasty checkout Amasty_CheckoutCore and Amasty_CheckoutStyleSwitcher

less styles of amasty module aren’t compiling at all, whereas js files are working fine

I noticed that Claue styles are compiled in a different way than in the default Magento template.

There is a theme.less file that is converted to .css after deploy, it’s hooked to default.xml of Magento_Theme. It contains imports of .less files from the third-party_extensions folder
enter image description here
enter image description here
enter image description here

Now, even when I’m copying all necessary less styles from vendor module Amasty_CheckoutStyleSwitcher directly to the theme.less they’re not showing in theme.css after deploy. Any ideas why?

Before deploying I’m removing static files with:

rm -rf var/cache/* var/full_page/* var/generation/* var/view_preprocessed/* pub/static/*

Deploying with:

bin/magento setup:static-content:deploy -f

And after deploy I’m clearing the cache of my browser.