<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/**
 * @see \Magento\Checkout\Block\Cart\Totals
 */
?>
<?php if ($block->getTotals()) : ?>
    <?php $_colspan = 3; ?>
    <?= /* @noEscape */ $block->renderTotals(null, $_colspan) ?>
    <?= /* @noEscape */ $block->renderTotals('footer', $_colspan) ?>
    <?php if ($block->needDisplayBaseGrandtotal()) : ?>
    <tr class="totals charge">
        <th class="mark" colspan="<?= /* @noEscape */ $_colspan ?>" scope="row">
            <?= $block->escapeHtml(__('Your credit card will be charged for')) ?>
        </th>
        <td class="amount" data-th="<?= $block->escapeHtml(__('Your credit card will be charged for')) ?>">
            <?= /* @noEscape */ $block->displayBaseGrandtotal() ?>
        </td>
    </tr>
    <?php endif?>
<?php endif; ?>
