<?xml version="1.0"?>
<data inherit_id="website.layout" name="Template Header Vertical" active="False">
    <xpath expr="//header//nav" position="replace">
        <t t-call="website.navbar">
            <t t-set="_navbar_classes" t-valuef="d-none d-lg-block pt-3 shadow-sm"/>

            <div id="o_main_nav" class="o_main_nav container flex-wrap">
                <div class="o_header_hide_on_scroll d-grid align-items-center w-100 o_grid_header_3_cols pb-3">
                    <ul class="navbar-nav align-items-center gap-1">
                        <!-- Search bar -->
                        <t t-call="website.placeholder_header_search_box" t-nocache="The searchbox should not cache previous searches.">
                            <t t-set="_layout" t-valuef="modal"/>
                            <t t-set="_input_classes" t-valuef="border border-end-0 p-3"/>
                            <t t-set="_submit_classes" t-valuef="border border-start-0 px-4 bg-o-color-4"/>
                            <t t-set="_button_classes" t-valuef="o_navlink_background text-reset"/>
                        </t>
                        <!-- Social Links -->
                        <t t-call="website.placeholder_header_social_links"/>
                        <!-- Text element -->
                        <t t-call="website.placeholder_header_text_element"/>
                    </ul>
                    <!-- Brand -->
                    <t t-call="website.placeholder_header_brand">
                        <t t-set="_link_class" t-valuef="mx-auto mw-100"/>
                    </t>
                    <ul class="navbar-nav align-items-center gap-1 flex-wrap justify-content-end ms-auto">
                        <!-- Sign In -->
                        <t t-call="portal.placeholder_user_sign_in">
                            <t t-set="_link_class" t-valuef="o_navlink_background btn border-0 text-reset"/>
                        </t>
                        <!-- User Dropdown -->
                        <t t-call="portal.user_dropdown">
                            <t t-set="_icon" t-value="true"/>
                            <t t-set="_item_class" t-valuef="dropdown"/>
                            <t t-set="_link_class" t-valuef="o_navlink_background btn d-flex align-items-center border-0 text-reset"/>
                            <t t-set="_dropdown_menu_class" t-valuef="dropdown-menu-end"/>
                        </t>
                        <!-- Language Selector -->
                        <t t-call="website.placeholder_header_language_selector">
                            <t t-set="_btn_class" t-valuef="o_navlink_background btn text-reset"/>
                            <t t-set="_flag_class" t-valuef="m-2"/>
                            <t t-set="_dropdown_menu_class" t-valuef="dropdown-menu-end"/>
                        </t>
                        <!-- Call To Action -->
                        <t t-call="website.placeholder_header_call_to_action"/>
                    </ul>
                </div>
                <div class="d-flex justify-content-center w-100">
                    <!-- Navbar -->
                    <t t-call="website.navbar_nav">
                        <t t-set="_nav_class" t-valuef="pb-0"/>

                        <!-- Menu -->
                        <t t-foreach="website.menu_id.child_id" t-as="submenu">
                            <t t-call="website.submenu">
                                <t t-set="item_class" t-valuef="nav-item"/>
                                <t t-set="link_class" t-valuef="nav-link"/>
                            </t>
                        </t>
                    </t>
                </div>
            </div>
        </t>
        <t t-call="website.template_header_mobile"/>
    </xpath>
</data>

