import { n as __toESM } from "../_runtime.mjs";
import { u as require_react } from "../_libs/@floating-ui/react-dom+[...].mjs";
import { p as require_jsx_runtime } from "../_libs/@radix-ui/react-checkbox+[...].mjs";
import { l as Header, n as CheckoutFlow, t as CartDrawer, u as SignInModal } from "./Modals-PUPoXlMv.mjs";
import { t as Footer } from "./Footer-VqEE5AJo.mjs";
//#region node_modules/.nitro/vite/services/ssr/assets/faq-D9Y78C7q.js
var import_react = /* @__PURE__ */ __toESM(require_react());
var import_jsx_runtime = require_jsx_runtime();
function FAQPage() {
	const [signInOpen, setSignInOpen] = (0, import_react.useState)(false);
	const [cartOpen, setCartOpen] = (0, import_react.useState)(false);
	const [checkoutOpen, setCheckoutOpen] = (0, import_react.useState)(false);
	return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
		className: "min-h-screen bg-neutral-50 flex flex-col",
		children: [
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SignInModal, {
				open: signInOpen,
				onOpenChange: setSignInOpen
			}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CartDrawer, {
				open: cartOpen,
				onOpenChange: setCartOpen,
				onCheckout: () => {
					setCartOpen(false);
					setCheckoutOpen(true);
				}
			}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CheckoutFlow, {
				open: checkoutOpen,
				onOpenChange: setCheckoutOpen
			}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Header, {
				onOpenCart: () => setCartOpen(true),
				onOpenSignIn: () => setSignInOpen(true)
			}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("main", {
				className: "flex-1 max-w-[800px] w-full mx-auto px-4 py-12",
				children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", {
					className: "text-3xl font-bold mb-6 text-neutral-900",
					children: "Frequently Asked Questions"
				}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
					className: "bg-white p-8 rounded-lg border prose max-w-none text-neutral-600 space-y-6",
					children: [
						/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", {
							className: "text-lg font-bold text-neutral-900 mb-1",
							children: "How do I place an order?"
						}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "Simply browse our categories or use the search bar, add items to your cart, and proceed to checkout where you can enter your shipping and payment details." })] }),
						/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", {
							className: "text-lg font-bold text-neutral-900 mb-1",
							children: "Is it safe to pay online?"
						}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "Yes, all payments are securely processed by our payment partners like Paystack. We do not store your credit card information." })] }),
						/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", {
							className: "text-lg font-bold text-neutral-900 mb-1",
							children: "Can I become a vendor?"
						}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
							"Absolutely! Head over to the ",
							/* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
								href: "/vendor",
								className: "text-orange-600 hover:underline",
								children: "Sell on SulejaMarket"
							}),
							" page to submit your application. Our team will review it within 48 hours."
						] })] }),
						/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", {
							className: "text-lg font-bold text-neutral-900 mb-1",
							children: "How can I contact customer service?"
						}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
							"You can reach us by email at ",
							/* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
								href: "mailto:support@sulejamarket.ng",
								className: "text-orange-600 hover:underline",
								children: "support@sulejamarket.ng"
							}),
							" or call us at 081 0265 8259."
						] })] })
					]
				})]
			}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Footer, {})
		]
	});
}
//#endregion
export { FAQPage as component };
