<?php
/**
 * Hyvä Themes - https://hyva.io
 * Copyright © Hyvä Themes 2020-present. All rights reserved.
 * This product is licensed per Magento install
 * See https://hyva.io/license
 */

declare(strict_types=1);

use Magento\Catalog\Block\Product\View;

/** @var View $block */

$product = $block->getProduct();
?>
<section class="text-gray-700 body-font">

    <div class="flex md:py-6 lg:flex-row flex-col items-center">

        <div class="grid grid-rows-auto grid-cols-1 md:gap-x-5 md:grid-cols-[42%_minmax(0,_1fr)] md:grid-rows-[min-content_minmax(0,_1fr)] lg:gap-x-10 lg:grid-cols-2 w-full">
            <?= $block->getChildHtml('product.title') ?>
            <div class="relative w-full md:pt-0 md:h-auto md:row-start-1 md:row-span-2 md:col-start-1">
                <?= $block->getChildHtml('product.media') ?>

                <?php

                    echo $block->getLayout()
                        ->createBlock(\Mirasvit\Brand\Block\LogoProductAdapter::class)
                        ->setTemplate('Hyva_MirasvitBrand::logo/logo.phtml')
                        ->toHtml();
                 ?>
            </div>
            <?= $block->getChildHtml('product.info') ?>
        </div>
    </div>



</section>
<section>
    <?= $block->getChildHtml('product_options_wrapper_bottom') ?>
</section>

<?= $block->getChildHtml('product.info.details'); ?>

<section>
   <!-- <h2 class="font-semibold text-2xl text-[18px] md:text-[22px] container flex flex-col md:flex-row flex-wrap my-6 font-bold lg:mt-8 mt-0 product md:px-0 md:mt-10 md:mb-3">
        Compare with similar products
    </h2>-->

    <?= $block->getChildHtml('related') ?>
    <?= $block->getChildHtml('upsell') ?>
  <!--  <?php /*= $block->getChildHtml('review_list') */?>
    --><?php /*= $block->getChildHtml('review_form') */?>
</section>
