import { t as require_jsx_runtime } from "../index.js";
import { t as Link } from "./link-CBS2KtPf.js";
import { a as waLink, r as TREATMENTS } from "./clinic-CiEEmMP0.js";
import { n as InnerPage } from "./InnerPage-D1ekgyfU.js";
import { t as useSearchParams } from "./navigation-Cv-VgJ19.js";
//#region app/treatment-detail/page.tsx
var import_jsx_runtime = require_jsx_runtime();
function Detail() {
	const q = useSearchParams();
	const t = TREATMENTS.find((x) => x.slug === (q.get("slug") || "dental-implants")) || TREATMENTS[0];
	return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(InnerPage, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", {
		className: "detail-hero",
		children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
			/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("small", { children: [
				t.category,
				" · ",
				t.duration
			] }),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { children: t.title }),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: t.summary }),
			/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
				className: "detail-actions",
				children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
					"data-book": true,
					"data-treatment": t.title,
					children: "Book this treatment"
				}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
					href: waLink(`Hello, I want to know more about ${t.title}.`),
					children: "Ask on WhatsApp"
				})]
			})
		] }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", {
			src: `/assets/${t.image}`,
			alt: t.title
		})]
	}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", {
		className: "detail-content",
		children: [
			/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("article", { children: [
				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("small", { children: "WHAT IT IS" }),
				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { children: "Care planned around your smile." }),
				/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [t.summary, " Our team uses digital diagnostics and a comfort-first approach for predictable results."] })
			] }),
			/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("aside", { children: [
				/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Indicative price" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("b", { children: t.price })] }),
				/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Typical duration" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("b", { children: t.duration })] }),
				/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Best suited for" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("b", { children: t.forWhom })] })
			] }),
			/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("article", { children: [
				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("small", { children: "THE JOURNEY" }),
				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { children: "What to expect" }),
				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("ol", { children: t.steps.map((x) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { children: x }, x)) })
			] }),
			/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("article", { children: [
				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("small", { children: "AFTERCARE" }),
				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { children: "Protecting your result" }),
				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: t.aftercare })
			] }),
			/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("article", {
				className: "faq",
				children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("small", { children: "FAQ" }), [
					"Will treatment be painful?",
					"How soon can I return to work?",
					"Are results long-lasting?"
				].map((x, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("details", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("summary", { children: x }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: i === 0 ? "We use modern anaesthesia and comfort protocols to keep treatment gentle." : i === 1 ? "Most patients return to routine activity the same or next day." : "With good hygiene and scheduled reviews, results can remain stable for years." })] }, x))]
			}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
				className: "back-link",
				href: "/treatments",
				children: "← All treatments"
			})
		]
	})] });
}
//#endregion
export { Detail as default };
