Zend certified PHP/Magento developer

Get condition set in the admin widget in the product loop?

Is it possible to get the condition value set in the admin widget and display it in the product loop template? For example, in my theme
/lumachildtheme/Magento_CatalogWidget/templates/product/widget/content/grid.phtml

<div class="block-content">
        <?= /* @noEscape */ '<!-- ' . $image . '-->' ?>
        <div class="products-<?= /* @noEscape */ $mode ?> <?= /* @noEscape */ $mode ?>">
            <ol class="product-items <?= /* @noEscape */ $type ?>">
                <?php $iterator = 1; ?>
                <?php foreach ($items as $_item) : ?>

Inside the loop, I am looking to add the condition category for each iteration. I am trying to build a custom Owl Carousel with filtering options, and would like to add the condition values as a data parameter.

I am using luma sample data, so for example, in the screenshot below I want to get the value responsible for each iteration in the loop. So if it is a product in “Jackets” return the value “Jackets” or in “Hoodies & Sweatshirts” and so on. Thanks in advanced.

enter image description here