<?php
	if ( ! defined( 'ABSPATH' ) ) {
		exit;
	}

	$page_id = get_queried_object_id();

	$short_description = get_post_meta(
		$page_id,
		'short_description',
		true
	);
?>
<header class="g-0a6333c3" data-bs-fixture="7dbf9f" data-widget-target="8c0e787" data-component-mode="view" data-element-category="commerce" data-block-type="primary">
	<?php if ( has_post_thumbnail( $page_id ) ) : ?>
		<div class="g-f2835e18" id="elem-a1596df1b121d8d2">
			<figure class="g-bca264ac g-e1b31ca9 g-7f49f79d">
				<?php
					echo get_the_post_thumbnail(
						$page_id,
						'',
						[
							'loading' => 'eager',
						]
					);
				?>
			</figure>
		</div>
	<?php endif; ?>
	<div class="g-a2190bc5" data-test-selected="ba5b22bb2bc" data-analytics-fixture="f451aad" data-test-keyboard="26d1bc5d">
		<div class="g-b29d7244" id="elem-3e2c35c81e4996ee">
			<h1 class="g-5d722d94 g-2ec69fc9" data-section-animation="zoom" data-analytics-action="toggle">
				<?php echo esc_html( get_bloginfo( 'name' ) ); ?>
			</h1>
			<?php if ( ! empty( $short_description ) ) : ?>
				<div class="g-d9c7b280 g-4a7c5c5a g-9b9886c1" id="elem-15ec60b6d7fd14ac">
					<?php echo esc_html( $short_description ); ?>
				</div>
			<?php endif; ?>
			<div class="g-c6afbd88 g-065f1332" data-mui-elevation="c49485df93" data-bs-metric="30d9b19bc">
				<?php get_template_part( 'templates/searchform' ); ?>
			</div>
		</div>
	</div>
</header>