<?php
/**
 * Title: 404 — Page not found body
 * Slug: iconvert-shoply/404-body
 * Categories: iconvert-shoply
 * Description: 404 page body.
 * Keywords: 404, not found, error
 * Inserter: no
 */

$iconvert_shoply_shop_url = home_url( '/' );
?>
<!-- wp:group {"tagName":"main","className":"iconvert-shoply-404","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained","contentSize":"640px"}} -->
<main class="wp-block-group iconvert-shoply-404" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:heading {"textAlign":"center","level":6} -->
<h6 class="wp-block-heading has-text-align-center">404</h6>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"huge"} -->
<h1 class="wp-block-heading has-text-align-center has-huge-font-size"><?php esc_html_e( 'Page not found', 'iconvert-shoply' ); ?></h1>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","textColor":"muted-contrast","fontSize":"medium"} -->
<p class="has-text-align-center has-muted-contrast-color has-text-color has-medium-font-size"><?php esc_html_e( "We couldn't find what you were looking for. Try a search, or head back to the shop.", 'iconvert-shoply' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:search {"label":"Search","showLabel":false,"placeholder":"Search the site…","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}}} /-->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="<?php echo esc_url( $iconvert_shoply_shop_url ); ?>"><?php esc_html_e( 'Back to shop', 'iconvert-shoply' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></main>
<!-- /wp:group -->
