<? 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="prices-main-block block" id="<?= $arParams['SECTION_ID']; ?>">
    <div class="prices-main-block__content container px-0 px-sm-auto">
        <div class="prices-main-block__body light-blue">
            <div class="row">
                <div class="col-12 col-lg-6">
                    <div class="prices-main-block__text-container">
                        <h1 class="prices-main-block__title block__title"><?= $arParams['~TITLE']; ?></h1>
                        <?php if ($arResult['TEXT']): ?>
                            <?= $arResult['TEXT']; ?>
                        <? endif; ?>
                        <?php if ($arResult['LIST']): ?>
                            <ul class="prices-main-block__check-items check-items">
                                <?php foreach ($arResult['LIST'] as $listElem): ?>
                                    <li class="check-item"><?= $listElem; ?></li>
                                <?php endforeach; ?>
                            </ul>
                        <?php endif; ?>
                    </div>
                </div>
                <div class="col-12 col-lg-6">
                    <div class="prices-main-block__pic pic-wrapper">
                        <? if (is_array($arParams['IMG'])): ?>
                            <?= Nastart\Pict::getPicture($arParams['IMG'], 800, 500, false, '_center'); ?>
                        <? else: ?>
                            <img class="_center" src="<?= makeWebp($arParams['IMG']); ?>" alt="<?= $arParams['~TITLE']; ?>" loading="lazy">
                        <? endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>