<?php
if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true)
{
	die();
}

$settings = \Bitrix\Landing\Hook\Page\Settings::getDataForSite(
	isset($landing) ? $landing->getSiteId() : null
);
?>
<section class="landing-block g-pt-20 g-pb-20 g-pl-15 g-pr-15">
	<div class="container bx-sidebar-block px-0">
		<?$APPLICATION->IncludeComponent(
			"bitrix:search.title",
			"bootstrap_v4",
			array(
				"NUM_CATEGORIES" => "1",
				"TOP_COUNT" => "5",
				"CHECK_DATES" => "Y",
				"SHOW_OTHERS" => "N",
				"PAGE" => "#system_catalog",
				"CATEGORY_0" => array(
					0 => "iblock_CRM_PRODUCT_CATALOG",
				),
				"CATEGORY_0_iblock_CRM_PRODUCT_CATALOG" => array(
					0 => $settings['IBLOCK_ID'],
				),
				"SHOW_INPUT" => "Y",
				"INPUT_ID" => "title-search-input",
				"CONTAINER_ID" => "search",
				"PRICE_CODE" => array(
					0 => "BASE",
				),
				"SHOW_PREVIEW" => "Y",
				"PREVIEW_WIDTH" => "75",
				"PREVIEW_HEIGHT" => "75",
				"CONVERT_CURRENCY" => "Y",
				"USE_LANGUAGE_GUESS" => "Y"
			),
			false
		);?>
	</div>
</section>