import type { Metadata } from "next";
import Link from "next/link";

export const metadata: Metadata = {
  title: "Returns & Refunds Policy",
  description:
    "The Pet Loft returns policy: how to return items, refund process, and conditions for easy returns.",
};

export default function ReturnsPolicyPage() {
  return (
    <main className="mx-auto max-w-3xl px-4 py-8 md:px-6 md:py-12">
      <Link
        href="/shop"
        className="mb-6 inline-flex items-center gap-1 text-sm text-[#3d5554] transition-colors hover:text-[#236f6b]"
      >
        ← Back to Shop
      </Link>
      <article className="prose prose-[#1a2e2d] max-w-none">
        <h1 className="font-[family-name:var(--font-fraunces)] text-2xl font-bold text-[#1a2e2d] md:text-3xl">
          Returns & Refunds Policy
        </h1>
        <p className="mt-2 text-[#3d5554]">Last updated: 02 February 2026</p>

        <section className="mt-6 space-y-4">
          <h2 className="font-[family-name:var(--font-fraunces)] text-lg font-semibold text-[#236f6b]">
            Right of Withdrawal
          </h2>
          <p className="text-[#1a2e2d] leading-relaxed">
            You have the right to withdraw from your contract within 14 days
            without giving any reason. The withdrawal period expires 14 days
            from the day on which you (or a third party indicated by you, other
            than the carrier) acquire physical possession of the goods.
          </p>
        </section>

        <section className="mt-8 space-y-4">
          <h2 className="font-[family-name:var(--font-fraunces)] text-lg font-semibold text-[#236f6b]">
            How to withdraw
          </h2>
          <p className="text-[#1a2e2d] leading-relaxed">
            To exercise the right of withdrawal, you must inform us at The Pet
            Loft UK, Customer Services, 39a Walton Road, Woking, GU21 5DL, or by
            email at{" "}
            <a
              href="mailto:service@thepetloft.co.uk"
              className="font-medium text-[#38a99f] underline transition-colors hover:text-[#236f6b]"
            >
              service@thepetloft.co.uk
            </a>{" "}
            of your decision by an unequivocal statement (e.g. a letter by post
            or email). You may use the model withdrawal form, but it is not
            obligatory. To meet the deadline, it is sufficient for you to send
            your communication before the withdrawal period has expired.
          </p>
        </section>

        <section className="mt-8 space-y-4">
          <h2 className="font-[family-name:var(--font-fraunces)] text-lg font-semibold text-[#236f6b]">
            Effects of withdrawal
          </h2>
          <p className="text-[#1a2e2d] leading-relaxed">
            If you withdraw, we shall reimburse all payments received from you,
            including delivery costs (except supplementary costs from choosing a
            delivery type other than our least expensive standard option),
            without undue delay and in any event not later than 14 days from the
            day we are informed of your withdrawal. The cost of returning the
            goods is borne by you and will be deducted from the refund amount.
            We will use the same means of payment as you used for the initial
            transaction unless you have expressly agreed otherwise. We may
            withhold reimbursement until we have received the goods back or you
            have supplied evidence of having sent them back, whichever is the
            earliest.
          </p>
        </section>

        <section className="mt-8 space-y-4">
          <h2 className="font-[family-name:var(--font-fraunces)] text-lg font-semibold text-[#236f6b]">
            Return address
          </h2>
          <p className="text-[#1a2e2d] leading-relaxed">
            Please send the goods back to: <strong>Fanaaka Ltd</strong>, 39a
            Walton Road, Woking, GU21 5DL without undue delay and in any event
            not later than 14 days from the day you communicate your withdrawal.
            The deadline is met if you send the goods back before the 14-day
            period has expired. You incur the cost of returning the goods; this
            amount will be deducted from your refund. You are only liable for
            any diminished value resulting from handling
            beyond what is necessary to establish the nature, characteristics,
            and functioning of the goods.
          </p>
        </section>

        <section className="mt-8 space-y-4">
          <h2 className="font-[family-name:var(--font-fraunces)] text-lg font-semibold text-[#236f6b]">
            Exclusions
          </h2>
          <p className="text-[#1a2e2d] leading-relaxed">
            The right of withdrawal does not apply to:
          </p>
          <ul className="list-inside list-disc space-y-1 text-[#1a2e2d]">
            <li>
              Goods made to order or clearly tailored to your personal
              requirements
            </li>
            <li>
              Goods that may perish quickly or whose use-by date would expire
              rapidly
            </li>
            <li>
              Goods not suitable for return for reasons of health or hygiene if
              their seal has been broken after delivery
            </li>
            <li>Goods that were, after delivery, inseparably mixed with other goods</li>
          </ul>
        </section>

        <p className="mt-10 text-sm text-[#3d5554]">
          Need help?{" "}
          <Link
            href="/support/contact-us"
            className="font-medium text-[#38a99f] underline transition-colors hover:text-[#236f6b]"
          >
            Contact us
          </Link>
          .
        </p>
      </article>
    </main>
  );
}
