<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
$this->setFrameMode(true);
?>

<section class="wide-pic-block block scaner-block">
    <div class="wide-pic-block__content container">
        <div class="row">
            <div class="col-lg-6 col-12">
                <div class="wide-pic-block__pic">
                    <?if($arResult['DETAIL_PICTURE']):?>
                        <div class="pic-wrapper"><img class="_center" src="<?= makeWebp($arResult['DETAIL_PICTURE']['SRC']);?>" alt="<?=$arResult['NAME']?>" loading="lazy"></div>
                    <?endif;?>
                    <?if(is_array($arResult['DISPLAY_PROPERTIES']['TEXT_UNDER_PICTURE'])):?>
                        <div class="pic-sticker sticker-skew"><span><?=$arResult['DISPLAY_PROPERTIES']['TEXT_UNDER_PICTURE']['VALUE'];?></span></div>
                    <?endif;?>
                </div>
            </div>
            <div class="col-12 col-lg-6">
                <div class="wide-pic-block__text-container wrap-container">
                    <h2 class="wide-pic-block__title block__title"><?=$arResult['NAME']?></h2>
                    <div class="wrap-block" data-wrap-height="155">
                        <?=$arResult['DETAIL_TEXT']?>
                        <?php if (is_array($arResult['DISPLAY_PROPERTIES']['LINK'])): ?>
                         <a class="btn btn_chevron" href="<?=$arResult['DISPLAY_PROPERTIES']['LINK']['VALUE'];?>"><?=$arResult['DISPLAY_PROPERTIES']['LINK_TEXT']['VALUE'];?></a>
                        <?php endif ?>
                    </div>
                    <div class="wrap-btn"></div>
                </div>
            </div>
        </div>
    </div>
</section>