{% extends '_templates/base.twig' %}

{% block head %}
    <meta name="cs:page" content="search">
{% endblock %}

{% block title %}
    {{ page.page_title }}
{% endblock %}

{% block style %}
{% endblock %}

{% block content %}
    {% include '_templates/includes/header.twig' %}

    <section class="main servico">
        {% include 'servicos/submenu.twig' %}

        {% include '_templates/includes/preloader.twig' %}

        <div data-b2c-content style="display: none">
            {% include 'servicos/servico.twig' %}
        </div>
        <div data-b2c-pagina-error style="display: none">
            <div style="text-align: center;width: 100%;font-size: 20px;margin-top: 10%;" class="conteudo" data-message>
                {{ __('nenhumResultadoEncontrado') }}
            </div>
        </div>
    </section>

    {% include '_templates/includes/footer.twig' %}

{% endblock %}

{% block scripts %}
    <script type="text/javascript">
        /* <![CDATA[ */
        var motorBusca = new MotorBusca(CHAVE_MOTOR, Object.assign(motorConfig, {}));
        motorBusca.motorServico('.pnlMotor.servico', {
            quarto: {value: '{{ params.config }}'}
        });
        /*]]>*/
    </script>
    <script>
        (function () {
            B2C.servico.init();
        })();
    </script>
{% endblock %}