<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>

        <!-- Secondary Product Name / Heading -->

        <referenceContainer name="product.info.main">
            <container name="htmltag.secondary_title" htmlTag="div" htmlClass="product attribute secondary-title" before="-">
                <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.secondary_title" template="DJOGlobal_ProductExt::product/view/secondary_title.phtml"/>
            </container>
        </referenceContainer>

        <!-- Product Promos -->

        <referenceContainer name="product.info.main">
            <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.pdp_promo_msg_one" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml" after="product.info.price">
                <arguments>
                    <argument name="at_call" xsi:type="string">getDjoPdpPromoMsgOne</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_promo_msg_one</argument>
                    <argument name="css_class" xsi:type="string">product attribute promo-msg promo-msg-one</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>
                </arguments>
            </block>
        </referenceContainer>

        <referenceContainer name="product.info.main">
            <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.pdp_promo_msg_two" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml" before="product.info.extrahint">
                <arguments>
                    <argument name="at_call" xsi:type="string">getDjoPdpPromoMsgTwo</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_promo_msg_two</argument>
                    <argument name="css_class" xsi:type="string">product attribute promo-msg promo-msg-two</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>
                </arguments>
            </block>
        </referenceContainer>

        <referenceContainer name="product.info.main">
            <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.djo_pdp_shipping_msg" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml" after="product.info.pdp_promo_msg_two">
                <arguments>
                    <argument name="at_call" xsi:type="string">getDjoPdpShippingMsg</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_shipping_msg</argument>
                    <argument name="css_class" xsi:type="string">product attribute promo-msg promo-msg-shipping</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>
                </arguments>
            </block>
        </referenceContainer>

        <!-- Product Reimbursement Codes -->

        <referenceContainer name="product.info.main">
            <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.reimbursement" template="DJOGlobal_ProductExt::product/view/reimbursement.phtml" before="product.info.extrahint"/>
        </referenceContainer>

        <!-- Product Tabs -->

        <referenceBlock name="product.info.details">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">DJOGlobal_ProductExt::product/view/details.phtml</argument>
            </action>

            <referenceBlock name="product.info.description">
                <action method="setTemplate">
                    <argument name="template" xsi:type="string">DJOGlobal_ProductExt::override/product/view/attribute.phtml</argument>
                </action>
                <arguments>
                    <argument name="title" xsi:type="string" translate="true">Product Details</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>

                    <argument name="priority" xsi:type="string">1</argument>
                </arguments>
            </referenceBlock>
            <referenceBlock name="reviews.tab">
                <arguments>
                    <argument name="priority" xsi:type="string">90</argument>
                </arguments>
            </referenceBlock>
            <referenceBlock name="product.attributes">
                <arguments>
                    <argument name="priority" xsi:type="string">99</argument>
                    <argument translate="true" name="title" xsi:type="string">More Info</argument>
                </arguments>
            </referenceBlock>

            <block class="Magento\Catalog\Block\Product\View\Description" name="product.tab.fitcare" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml" group="detailed_info">
                <arguments>
                    <argument name="title" xsi:type="string" translate="true">Fit &amp; Care</argument>

                    <argument name="at_call" xsi:type="string">getDjoPdpTabFitcare</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_tab_fitcare</argument>
                    <argument name="css_class" xsi:type="string">product-fitcare</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>

                    <argument name="priority" xsi:type="string">2</argument>
                </arguments>
            </block>

            <block class="Magento\Catalog\Block\Product\View\Description" name="product.tab.benefits" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml" group="detailed_info">
                <arguments>
                    <argument name="title" xsi:type="string" translate="true">Benefits</argument>

                    <argument name="at_call" xsi:type="string">getDjoPdpTabBenefits</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_tab_benefits</argument>
                    <argument name="css_class" xsi:type="string">product-benefits</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>

                    <argument name="priority" xsi:type="string">2</argument>
                </arguments>
            </block>

            <block class="Magento\Catalog\Block\Product\View\Description" name="product.tab.instructions" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml" group="detailed_info">
                <arguments>
                    <argument name="title" xsi:type="string" translate="true">Instructions</argument>

                    <argument name="at_call" xsi:type="string">getDjoPdpTabInstructions</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_tab_instructions</argument>
                    <argument name="css_class" xsi:type="string">product-instructions</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>

                    <argument name="priority" xsi:type="string">4</argument>
                </arguments>
            </block>

            <block class="Magento\Catalog\Block\Product\View\Description" name="product.tab.medicare" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml" group="detailed_info">
                <arguments>
                    <argument name="title" xsi:type="string" translate="true">Medicare</argument>

                    <argument name="at_call" xsi:type="string">getDjoPdpTabMedicare</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_tab_medicare</argument>
                    <argument name="css_class" xsi:type="string">product-medicare</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>

                    <argument name="priority" xsi:type="string">5</argument>
                </arguments>
            </block>

            <block class="Magento\Catalog\Block\Product\View\Description" name="product.tab.media" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml" group="detailed_info">
                <arguments>
                    <argument name="title" xsi:type="string" translate="true">Videos</argument>

                    <argument name="at_call" xsi:type="string">getDjoPdpTabMedia</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_tab_media</argument>
                    <argument name="css_class" xsi:type="string">product-media</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>

                    <argument name="priority" xsi:type="string">6</argument>
                </arguments>
            </block>
        </referenceBlock>

        <referenceContainer name="content">
            <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.djo_pdp_featured_content" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml">
                <arguments>
                    <argument name="at_call" xsi:type="string">getDjoPdpFeaturedContent</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_featured_content</argument>
                    <argument name="css_class" xsi:type="string">product info featured-content-wrapper</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>
                </arguments>
            </block>

            <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.djo_pdp_blog_content" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml">
                <arguments>
                    <argument name="at_call" xsi:type="string">getDjoPdpBlogContent</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_blog_content</argument>
                    <argument name="css_class" xsi:type="string">product info blog-content-wrapper</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>
                </arguments>
            </block>

            <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.djo_pdp_ready_pulse" template="DJOGlobal_ProductExt::override/product/view/attribute.phtml">
                <arguments>
                    <argument name="at_call" xsi:type="string">getDjoPdpReadyPulse</argument>
                    <argument name="at_code" xsi:type="string">djo_pdp_ready_pulse</argument>
                    <argument name="css_class" xsi:type="string">product info ready-pulse-wrapper contained</argument>
                    <argument name="at_label" translate="true" xsi:type="string">none</argument>
                    <argument name="at_filter" translate="true" xsi:type="string">1</argument>
                </arguments>
            </block>
        </referenceContainer>

        <!-- Sizing Bar -->

        <referenceBlock name="product.info.options.wrapper">
            <block class="DJOGlobal\ProductExt\Block\Product\View\SizingBar" name="product.info.sizing_bar" after="-" template="DJOGlobal_ProductExt::product/view/sizing-bar.phtml" />
        </referenceBlock>
    </body>
</page>
