<?php
/** @var $block \Banyo\CustomProduct\Block\Product\ReviewTab */
$title = strip_tags($block->getDynamicTitle());

$this->getLayout()->getBlock('review.section')->setTitle($title);

?>

<section class="space-y-4">
    <div class="review-summary">
        <?= $block->getChildHtml('summary.product.reviews') ?>
    </div>

    <div class="review-list">
        <?= $block->getChildHtml('review_list') ?>
    </div>

    <div class="review-form">
        <?= $block->getChildHtml('review_form') ?>
    </div>
</section>
