<?xml version="1.0"?>
<!--
    Hyva-only layout handle.

    Any layout file named `hyva_*` is automatically merged in addition to its
    non-prefixed counterpart (e.g. `default.xml`) whenever a theme that falls
    back to `hyva/default` is active, and is ignored on Luma. See:
    https://docs.hyva.io/hyva-themes/compatibility-modules/getting-started.html

    This file replaces the Luma/knockout based listing-label initializer with
    a dependency free (no jQuery / RequireJS / KnockoutJS) implementation.
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
        <css src="BPerevyazko_ProductLabel::css/hyva/product-labels.css"/>
    </head>
    <body>
        <referenceBlock name="before.body.end.product.labels" remove="true"/>
        <referenceContainer name="before.body.end">
            <block name="before.body.end.product.labels.hyva"
                   template="BPerevyazko_ProductLabel::hyva/product/list/labels.phtml"/>
        </referenceContainer>
    </body>
</page>
