<?php

declare(strict_types=1);

/**
 * minimal 全站模版：店家頁（簡約頂欄 + 共用內文 + 淺色內頁樣式）。
 */
/** @var array<string,mixed>|null $storeRow */
/** @var int|null $fatePageHitCount */
require_once dirname(__DIR__, 2) . '/includes/fate_store_map.php';
$fateStoreMap = fate_store_map_prepare_from_row(is_array($storeRow ?? null) ? $storeRow : null);
$fateIncludeStoreMap = $fateStoreMap['fateIncludeStoreMap'];
$storeMapLat = $fateStoreMap['storeMapLat'];
$storeMapLng = $fateStoreMap['storeMapLng'];
$storeMapEmbedUrl = $fateStoreMap['storeMapEmbedUrl'];

$fateMinimalIncludePageStyles = true;
require __DIR__ . '/partials/head.php';
$fateSkipLayoutTopbar = true;
?>
<body class="minimal-body minimal-body--inner">
<?php require __DIR__ . '/partials/bar.php'; ?>
<?php require dirname(__DIR__) . '/default/store_main.php'; ?>
<?php require __DIR__ . '/partials/footer.php'; ?>
