import { createFileRoute } from "@tanstack/react-router";
import { PolicyPage } from "@/components/PolicyPage";

export const Route = createFileRoute("/shipping-policy")({
  head: () => ({
    meta: [
      { title: "Shipping Policy — Right On Gloss" },
      { name: "description", content: "Where Right On Gloss ships, delivery times, tracking, and what to do if a parcel goes missing." },
      { property: "og:title", content: "Shipping Policy — Right On Gloss" },
      { property: "og:description", content: "Dispatch in 1–2 business days, delivery in 3–7." },
      { property: "og:type", content: "website" },
      { name: "twitter:card", content: "summary" },
    ],
  }),
  component: () => (
    <PolicyPage
      title="Shipping Policy"
      updated="19 October 2026"
      intro="Every order is packed by hand and sent with a tracked carrier, so you always know where your gloss is."
      sections={[
        {
          title: "Where we ship",
          body: [
            "We currently deliver to Nigeria, the United Kingdom, the United States and Canada. If you'd like us to come to your country, tell us through the contact form — demand decides where we open next.",
          ],
        },
        {
          title: "Timings",
          items: [
            "Dispatch: orders are picked, packed and handed to the carrier within 1–2 business days.",
            "Standard delivery: 3–7 business days after dispatch.",
            "Wholesale and distributor cases: 5–10 business days, because cases are packed and checked separately.",
            "Business days are Monday to Friday, excluding public holidays.",
          ],
        },
        {
          title: "Tracking",
          body: [
            "You'll get a tracking link by email the moment your parcel leaves us. If it hasn't arrived within 7 business days of dispatch, email us with your order number and we'll open a search with the carrier.",
          ],
        },
        {
          title: "Shipping charges",
          body: [
            "The shipping cost for your address is shown at checkout before you pay, in Nigerian Naira (₦). Wholesale shipping is quoted on your order confirmation, since it depends on the number of cases and the delivery address.",
          ],
        },
        {
          title: "Customs and duties",
          body: [
            "For deliveries outside Nigeria, any import duty or customs clearance charged by your country is payable by you. We'll mark the parcel correctly and tell you the value on the paperwork, but the carrier will collect any duty before handing it over.",
          ],
        },
        {
          title: "Address problems",
          body: [
            "Double-check your address at checkout. If a parcel is returned to us because the address was incomplete or nobody was available to receive it, we'll resend it once you've paid the shipping again. If the address was ours to blame, the resend is free.",
          ],
        },
        {
          title: "Lost or damaged parcels",
          body: [
            "If your parcel arrives damaged, email a photo within 7 days and we'll replace it at our cost. If it never arrives, we'll refund or resend once the carrier search is closed — usually within a few days of you reporting it.",
          ],
        },
      ]}
    />
  ),
});
