<?php $pageTitle = htmlspecialchars($service['name']) . ' - PET SPA'; require BASE_PATH . '/app/views/layouts/header.php'; require BASE_PATH . '/app/views/layouts/navbar.php'; ?>
<main class="container py-5"><a href="<?= BASE_URL ?>/?url=services" class="text-decoration-none">← Dịch vụ</a><div class="row g-5 mt-1"><div class="col-md-6"><?php if ($service['featured_image']): ?><img class="img-fluid rounded shadow-sm w-100" src="<?= BASE_URL ?>/<?= htmlspecialchars(ltrim($service['featured_image'], '/')) ?>" alt=""><?php endif; ?></div><div class="col-md-6"><small class="text-primary"><?= htmlspecialchars($service['category_name'] ?? 'Spa') ?></small><h1><?= htmlspecialchars($service['name']) ?></h1><p class="lead"><?= htmlspecialchars($service['short_description'] ?? '') ?></p><p><?= nl2br(htmlspecialchars($service['description'] ?? '')) ?></p><p><strong><?= number_format((float) $service['price'], 0, ',', '.') ?>đ</strong> · <?= (int) $service['duration_minutes'] ?> phút</p><a class="btn btn-primary btn-lg" href="<?= BASE_URL ?>/?url=customer/booking/create&service_id=<?= (int) $service['id'] ?>">Đặt lịch dịch vụ này</a></div></div></main>
<?php require BASE_PATH . '/app/views/layouts/footer.php'; ?>
