<?php

declare(strict_types=1);

/**
 * DC Inside 風格店家頁：內文與 default 相同，head/footer 走 default（含主題 CSS）。
 */
/** @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'];

require dirname(__DIR__) . '/default/partials/head.php';
require dirname(__DIR__) . '/default/store_main.php';
require dirname(__DIR__) . '/default/partials/footer.php';
