<?php
/**
 * Hyvä Themes - https://hyva.io
 * Copyright © Hyvä Themes. All rights reserved.
 * See COPYING.txt for license details.
 */

declare(strict_types=1);

use Magento\Catalog\Block\Product\View;
use Magento\Framework\Escaper;

/** @var View $block */
/** @var Escaper $escaper */
?>

<section
    class="pb-6 md:py-6 grid grid-cols-1 gap-4 md:items-start md:grid-cols-[42%_minmax(0px,1fr)] lg:grid-cols-2 lg:gap-x-10"
    aria-label="<?= $escaper->escapeHtmlAttr(__('Product Info')) ?>"
>
    <?= $block->getChildHtml('product.media') ?>
    <?= $block->getChildHtml('product.info') ?>
</section>

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

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

<?= $block->getChildHtml('related') ?>

<?= $block->getChildHtml('upsell') ?>

<section aria-label="<?= $escaper->escapeHtmlAttr(__('Product Reviews')) ?>">
    <?= $block->getChildHtml('review_list') ?>
    <?= $block->getChildHtml('review_form') ?>
</section>
