/* store-data.jsx — SOURCE OF TRUTH for FluvexDesigns product catalog.
   All 13 real products are declared below. Every product has full delivery
   metadata used by the store front-end and thank-you page.

   ─── FIELDS ───
     id                   — stable slug (used in URLs, cart, thank-you lookup)
     title                — display name
     category             — human category label
     productType          — "HTML Product" | "PDF Product"
     fileType             — file extension shown to customers (".html" / ".pdf" / ".zip")
     price / oldPrice     — pricing (oldPrice=0 means no strikethrough)
     badge, rating, reviews
     thumbnail            — mock component name (see store-mockups.jsx)
     shortDescription     — one-line pitch used on product card & modal top
     longDescription      — 2–3 sentence pitch used on quick-view modal
     includedFiles        — array of strings shown as "What's included"
     deliveryInstructions — customer-facing "how to open" note
     demoLink             — SAFE public preview URL (points to /demos/ — a
                            copy of the product, exposed by choice as the demo).
                            Swap to a hosted video or read-only preview to
                            fully protect the paid file.  ⚑ REPLACE FOR LAUNCH
     checkoutLink         — Stripe / Gumroad / Payhip / Lemon Squeezy /
                            Shopify checkout URL. Placeholder now.
                            ⚑ REPLACE FOR LAUNCH
     deliveryFile         — protected file reference delivered by the checkout
                            provider AFTER successful payment (webhook /
                            provider-native delivery). Never link publicly.
                            ⚑ REPLACE FOR LAUNCH
     thankYouTitle        — headline on /thank-you.html for this product
     thankYouMessage      — warm premium note shown on thank-you page

   A static HTML site alone CANNOT securely deliver paid files. Connect one of:
   Gumroad · Payhip · Lemon Squeezy · Shopify Digital Downloads ·
   Stripe Checkout + serverless webhook · WooCommerce digital downloads.
   The checkout provider serves `deliveryFile` to paying customers only. */

/* ---------- PRODUCTS ---------- */
const PRODUCTS = [
  {
    id: "teacher-planner",
    title: "Editable Teacher Planner Studio 2026–2027",
    category: "HTML Planners",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["planners", "student"],
    price: 9, oldPrice: 22,
    badge: "Best Seller", rating: 5.0, reviews: 1518,
    thumbnail: "MkPlanner", mock: "MkPlanner",
    shortDescription: "A full teacher planner for the 2026–2027 school year — editable in your browser.",
    longDescription: "A complete teacher planner built as a single interactive HTML file. Plan lessons, track assignments, log grades, and organise the whole school year without spreadsheets or Canva. Open in any modern browser and edit directly on the page.",
    includedFiles: ["Fluvex_Teacher_Planner.html", "Quick-start guide (inside the file)", "Editable weekly, monthly, and yearly views"],
    deliveryInstructions: "Download the HTML file and open it in Chrome, Edge, Safari or Firefox. All fields are editable directly in the browser.",
    demoLink: "/demos/demo-shell.html?id=teacher-planner",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/28E3cu48PfllgVjgtr87K01",
    deliveryFile: "protected-download-after-payment/Fluvex_Teacher_Planner.zip",
    thankYouTitle: "Your Teacher Planner Studio is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Teacher Planner Studio. Open the HTML file in your browser, personalise it with your classes and schedule, and use it every week of the 2026–2027 school year.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=teacher-planner`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "teacher-planner",
    successRedirect: "thank-you.html?id=teacher-planner",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/28E3cu48PfllgVjgtr87K01",
  },
  {
    id: "business-card",
    title: "Fluvex Business Card Studio",
    category: "Business HTML Tools",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["business"],
    price: 7, oldPrice: 18,
    badge: "", rating: 4.8, reviews: 246,
    thumbnail: "MkCard", mock: "MkCard",
    shortDescription: "Design print-ready business cards in your browser — no Canva, no design software.",
    longDescription: "Type your details, choose a layout, tweak the accent colour and export a clean, print-ready card. Everything runs inside a single HTML file, so you own the tool forever.",
    includedFiles: ["Fluvex_Business_Card.html", "Multiple card layouts", "Print & export controls built in"],
    deliveryInstructions: "Open the HTML file in a modern browser. Fill in your details, then print or export directly from the built-in controls.",
    demoLink: "/demos/demo-shell.html?id=business-card",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/7sYcN48p5c9948x3GF87K02",
    deliveryFile: "protected-download-after-payment/Fluvex_Business_Card.zip",
    thankYouTitle: "Your Business Card Studio is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Business Card Studio. Open the file, add your details, and export a card that looks like it came from a real print shop.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=business-card`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "business-card",
    successRedirect: "thank-you.html?id=business-card",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/7sYcN48p5c9948x3GF87K02",
  },
  {
    id: "content-calendar",
    title: "Fluvex Content Calendar & Growth Dashboard",
    category: "Creator Dashboards",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["social", "business"],
    price: 12, oldPrice: 29,
    badge: "New", rating: 5.0, reviews: 743,
    thumbnail: "MkCalendar", mock: "MkCalendar",
    shortDescription: "Plan posts, track growth, and manage every platform from one browser dashboard.",
    longDescription: "A single interactive dashboard for planning content and tracking creator growth. Plot posts across platforms, log performance, and see momentum at a glance — all inside one HTML file.",
    includedFiles: ["Fluvex_Content_Calendar.html", "Multi-platform planning grid", "Growth & performance panels"],
    deliveryInstructions: "Open the HTML file in any modern browser. Add your content, save your progress in-browser, and revisit any time.",
    demoLink: "/demos/demo-shell.html?id=content-calendar",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/9B6fZg8p58WX7kJ1yx87K03",
    deliveryFile: "protected-download-after-payment/Fluvex_Content_Calendar.zip",
    thankYouTitle: "Your Content Calendar & Growth Dashboard is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Content Calendar. Open the file, plan your next four weeks, and let the dashboard show you exactly where your growth is coming from.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=content-calendar`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "content-calendar",
    successRedirect: "thank-you.html?id=content-calendar",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/9B6fZg8p58WX7kJ1yx87K03",
  },
  {
    id: "life-tracker",
    title: "Fluvex Life Tracker Pro",
    category: "Productivity Dashboards",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["planners"],
    price: 12, oldPrice: 28,
    badge: "", rating: 4.9, reviews: 295,
    thumbnail: "MkDashboard", mock: "MkDashboard",
    shortDescription: "A premium life dashboard for habits, goals, health, and focus — in one HTML file.",
    longDescription: "Track habits, set weekly goals, log health and focus data, and see momentum in a clean editorial dashboard. Runs entirely in your browser — no accounts, no sync, no subscription.",
    includedFiles: ["Fluvex_Life_Tracker.html", "Habit, goal, health & focus modules", "Weekly & monthly review views"],
    deliveryInstructions: "Open the HTML file in your browser and start with the weekly view. All fields are editable in-place.",
    demoLink: "/demos/demo-shell.html?id=life-tracker",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/4gM00i5cT3CDgVjcdb87K05",
    deliveryFile: "protected-download-after-payment/Fluvex_Life_Tracker.zip",
    thankYouTitle: "Your Life Tracker Pro is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Life Tracker Pro. Open the file, set your first three habits, and watch a real weekly rhythm build in the dashboard.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=life-tracker`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "life-tracker",
    successRedirect: "thank-you.html?id=life-tracker",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/4gM00i5cT3CDgVjcdb87K05",
  },
  {
    id: "budget-tracker",
    title: "Fluvex Budget Tracker Studio",
    category: "Finance Trackers",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["business"],
    price: 11, oldPrice: 25,
    badge: "", rating: 4.9, reviews: 410,
    thumbnail: "MkBudget", mock: "MkBudget",
    shortDescription: "A serious budget tracker with categories, cashflow, and reports — all in your browser.",
    longDescription: "Track income, expenses, categories, and monthly cashflow with a real financial dashboard. Live totals, category breakdowns, and monthly reports — all inside one HTML file with no software required.",
    includedFiles: ["Fluvex_Budget_Tracker.html", "Income & expense entry", "Category breakdown + monthly reports"],
    deliveryInstructions: "Open the HTML file in your browser. Enter income and expenses; totals and charts update instantly.",
    demoLink: "/demos/demo-shell.html?id=budget-tracker",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/28EcN4axdddd8oN90Z87K06",
    deliveryFile: "protected-download-after-payment/Fluvex_Budget_Tracker.zip",
    thankYouTitle: "Your Budget Tracker Studio is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Budget Tracker Studio. Open the file, add this month's numbers, and see your real cashflow within minutes.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=budget-tracker`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "budget-tracker",
    successRedirect: "thank-you.html?id=budget-tracker",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/28EcN4axdddd8oN90Z87K06",
  },
  {
    id: "wedding-rose",
    title: "Editable Wedding Invitation Studio — Rose Edition",
    category: "Wedding HTML Studios",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["wedding"],
    price: 14, oldPrice: 32,
    badge: "Value", rating: 4.9, reviews: 180,
    thumbnail: "MkWedding", mock: "MkWedding",
    shortDescription: "A rose-toned editable wedding invitation studio you customise directly in your browser.",
    longDescription: "A romantic rose-toned invitation studio. Edit names, dates, venue, and RSVP details right in the browser, then print or export the finished invitation. No Canva or design skills needed.",
    includedFiles: ["Fluvex_Wedding_Rose.html", "Editable invitation fields", "Print & export layout"],
    deliveryInstructions: "Open the HTML file in any modern browser. Edit the fields, choose your layout, and print or export directly.",
    demoLink: "/demos/demo-shell.html?id=wedding-rose",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/5kQeVcgVB3CD9sR2CB87K07",
    deliveryFile: "protected-download-after-payment/Fluvex_Wedding_Rose.zip",
    thankYouTitle: "Your Rose Edition Wedding Studio is ready",
    thankYouMessage: "Thank you for choosing the Rose Edition Wedding Invitation Studio. Open the file, add your details, and create an invitation your guests will keep.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=wedding-rose`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "wedding-rose",
    successRedirect: "thank-you.html?id=wedding-rose",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/5kQeVcgVB3CD9sR2CB87K07",
  },
  {
    id: "wedding-floral",
    title: "Editable Floral Wedding Invitation Studio",
    category: "Wedding HTML Studios",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["wedding"],
    price: 12, oldPrice: 28,
    badge: "Elegant Design", rating: 4.9, reviews: 156,
    thumbnail: "MkFloralWedding", mock: "MkFloralWedding",
    shortDescription: "A floral editable wedding invitation studio that runs entirely in your browser.",
    longDescription: "A soft, floral invitation studio with editable names, dates, venue details, and RSVP fields. Print-ready and export-ready straight from the browser.",
    includedFiles: ["Fluvex_Wedding_Floral.html", "Editable invitation fields", "Print & export layout"],
    deliveryInstructions: "Open the HTML file in any modern browser. Edit the fields, choose your layout, then print or export.",
    demoLink: "/demos/demo-shell.html?id=wedding-floral",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/28E3cu9t95KLeNb6SR87K08",
    deliveryFile: "protected-download-after-payment/Fluvex_Wedding_Floral.zip",
    thankYouTitle: "Your Floral Wedding Studio is ready",
    thankYouMessage: "Thank you for choosing the Floral Wedding Invitation Studio. Open the file, personalise every detail, and print or export whenever you are ready.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=wedding-floral`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "wedding-floral",
    successRedirect: "thank-you.html?id=wedding-floral",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/28E3cu9t95KLeNb6SR87K08",
  },
  {
    id: "photo-resume",
    title: "Fluvex Photo Resume Studio",
    category: "Resume & Career Tools",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["resume"],
    price: 9, oldPrice: 22,
    badge: "Most Loved", rating: 4.9, reviews: 892,
    thumbnail: "MkResume", mock: "MkResume",
    shortDescription: "A modern photo resume with an ATS-ready layout — edit and export from your browser.",
    longDescription: "A polished photo resume you edit directly in the browser. ATS-aware structure with a modern layout, photo slot, and clean typography. Export to PDF using your browser's print dialog.",
    includedFiles: ["Fluvex_Photo_Resume.html", "Editable experience, education & skills", "Print-to-PDF layout"],
    deliveryInstructions: "Open the HTML file in your browser. Edit each section, then print or save as PDF from the browser menu.",
    demoLink: "/demos/demo-shell.html?id=photo-resume",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/7sYdR8gVB4GHdJ7fpn87K09",
    deliveryFile: "protected-download-after-payment/Fluvex_Photo_Resume.zip",
    thankYouTitle: "Your Photo Resume Studio is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Photo Resume Studio. Open the file, add your story, and send an application that actually looks the part.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=photo-resume`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "photo-resume",
    successRedirect: "thank-you.html?id=photo-resume",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/7sYdR8gVB4GHdJ7fpn87K09",
  },
  {
    id: "media-kit",
    title: "Fluvex Media Kit Studio",
    category: "Creator Dashboards",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["social"],
    price: 13, oldPrice: 29,
    badge: "Trending", rating: 4.9, reviews: 621,
    thumbnail: "MkMediaKit", mock: "MkMediaKit",
    shortDescription: "A premium creator media kit — brand story, stats, packages — in one editable HTML file.",
    longDescription: "Introduce your brand, showcase your platforms, stats, packages, and past collaborations in a single editable media kit. Send the file, or export as a PDF straight from the browser.",
    includedFiles: ["Fluvex_Media_Kit.html", "Editable brand story, stats, packages", "PDF-ready layout"],
    deliveryInstructions: "Open the HTML file in your browser and edit every section in-place. Export as PDF from your browser to send to brands.",
    demoLink: "/demos/demo-shell.html?id=media-kit",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/14AeVcfRxddd7kJgtr87K0a",
    deliveryFile: "protected-download-after-payment/Fluvex_Media_Kit.zip",
    thankYouTitle: "Your Media Kit Studio is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Media Kit Studio. Open the file, tell your story, and send brands something that finally matches your work.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=media-kit`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "media-kit",
    successRedirect: "thank-you.html?id=media-kit",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/14AeVcfRxddd7kJgtr87K0a",
  },
  {
    id: "invoice-studio",
    title: "Fluvex Invoice Studio",
    category: "Business HTML Tools",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["business"],
    price: 10, oldPrice: 22,
    badge: "Best Seller", rating: 4.9, reviews: 1245,
    thumbnail: "MkInvoice", mock: "MkInvoice",
    shortDescription: "Create professional invoices and estimates — instantly, in your browser.",
    longDescription: "A clean invoice and estimate generator that runs entirely in-browser. Add your logo and details, itemise services, calculate totals and tax, then print or export as PDF.",
    includedFiles: ["Fluvex_Invoice_Studio.html", "Invoice + estimate layouts", "Auto totals, tax & print-to-PDF"],
    deliveryInstructions: "Open the HTML file in any modern browser. Fill in client and line items — totals calculate automatically. Print or save as PDF to send.",
    demoLink: "/demos/demo-shell.html?id=invoice-studio",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/fZu5kC34L7STgVj1yx87K0b",
    deliveryFile: "protected-download-after-payment/Fluvex_Invoice_Studio.zip",
    thankYouTitle: "Your Invoice Studio is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Invoice Studio. Open the file, send your first professional invoice today, and start getting paid faster.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=invoice-studio`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "invoice-studio",
    successRedirect: "thank-you.html?id=invoice-studio",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/fZu5kC34L7STgVj1yx87K0b",
  },
  {
    id: "cover-letter",
    title: "Fluvex Cover Letter Studio",
    category: "Resume & Career Tools",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["resume"],
    price: 9, oldPrice: 24,
    badge: "Best Seller", rating: 5.0, reviews: 356,
    thumbnail: "MkCoverLetter", mock: "MkCoverLetter",
    shortDescription: "An ATS-ready cover letter studio — edit, preview and export in your browser.",
    longDescription: "Write a compelling cover letter using a proven structure with editorial typography. ATS-aware layout, live preview, and one-click print-to-PDF — all inside a single HTML file.",
    includedFiles: ["Fluvex_Cover_Letter.html", "ATS-aware layout", "Live preview + print-to-PDF"],
    deliveryInstructions: "Open the HTML file in a modern browser. Write, preview, and print or save as PDF directly.",
    demoLink: "/demos/demo-shell.html?id=cover-letter",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/00w9AS8p55KLbAZ6SR87K0c",
    deliveryFile: "protected-download-after-payment/Fluvex_Cover_Letter.zip",
    thankYouTitle: "Your Cover Letter Studio is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Cover Letter Studio. Open the file, write with the built-in structure, and send a letter that lands.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=cover-letter`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "cover-letter",
    successRedirect: "thank-you.html?id=cover-letter",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/00w9AS8p55KLbAZ6SR87K0c",
  },
  {
    id: "resume-studio",
    title: "Fluvex Resume Studio",
    category: "Resume & Career Tools",
    catLabel: "HTML Product",
    productType: "HTML Product",
    fileType: ".html",
    cat: ["resume"],
    price: 9, oldPrice: 22,
    badge: "", rating: 4.8, reviews: 540,
    thumbnail: "MkResume", mock: "MkResume",
    shortDescription: "A clean, ATS-friendly resume builder — edit everything directly in your browser.",
    longDescription: "A minimalist resume studio built for the ATS era. Editable experience, education, and skills sections, with a print-to-PDF layout that keeps its shape in any browser.",
    includedFiles: ["Fluvex_Resume_Studio.html", "Editable sections", "Print-to-PDF layout"],
    deliveryInstructions: "Open the HTML file in any modern browser. Fill in each section and export to PDF using the browser print dialog.",
    demoLink: "/demos/demo-shell.html?id=resume-studio",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/00w8wOgVB1uv9sR4KJ87K0e",
    deliveryFile: "protected-download-after-payment/Fluvex_Resume_Studio.zip",
    thankYouTitle: "Your Resume Studio is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Resume Studio. Open the file, tell your story clearly, and send a resume that finally reads the way it should.",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=resume-studio`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "resume-studio",
    successRedirect: "thank-you.html?id=resume-studio",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/00w8wOgVB1uv9sR4KJ87K0e",
  },
  {
    id: "ai-academic-pack",
    title: "AI Academic Mastery Prompt Pack",
    category: "Student Tools",
    catLabel: "PDF Product",
    productType: "PDF Product",
    fileType: ".pdf",
    cat: ["student"],
    price: 25, oldPrice: 35,
    badge: "Student Pick", rating: 5.0, reviews: 132,
    thumbnail: "MkAIPrompts", mock: "MkAIPrompts",
    shortDescription: "43 carefully built AI prompts for students and researchers — delivered as a PDF.",
    longDescription: "43 carefully built prompts designed to help students and researchers use AI with more clarity, honesty and control. Use them to sharpen thinking, organise ideas, and build stronger academic habits — not to replace your own mind.",
    includedFiles: ["AI-Academic-Mastery-Prompt-Pack-by-Fluvex.pdf", "43 categorised prompts", "How-to-use guide inside the PDF"],
    deliveryInstructions: "Download the PDF and open it with any PDF reader. Choose the prompt that matches your current challenge, fill in the brackets honestly, and make the final work truly yours.\n\nAfter payment verification, your secure PDF download link will be delivered instantly.",
    demoLink: "/demos/ai-academic-pack-preview.html",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/3cI8wO7l16OPdJ7elj87K0j",
    deliveryFile: "protected-download-after-payment/AI_Academic_Mastery_Prompt_Pack.pdf",
    thankYouTitle: "Your AI Academic Mastery Prompt Pack is ready",
    thankYouMessage: "Thank you for choosing the AI Academic Mastery Prompt Pack by Fluvex.\n\nYour PDF is ready for delivery after payment verification. Inside, you will find 43 carefully built prompts designed to help students and researchers use AI with more clarity, honesty, and control.\n\nUse this pack to sharpen your thinking, organize your ideas, improve your work, and build stronger academic habits — not to replace your own mind.\n\nDownload your PDF, choose the prompt that matches your current challenge, fill in the brackets honestly, and make the final work truly yours.\n\nAfter payment verification, your secure PDF download link will be delivered instantly.",
    thankYouButtonLabel: "Download AI Prompt Pack",
    /* ─── Stripe delivery mapping ───
       ⚑ REPLACE checkoutLink with the real Stripe Payment Link for this SKU.
       ⚑ In Stripe, set the Payment Link's success URL to:  `<origin>/thank-you.html?id=ai-academic-pack`
       ⚑ Deliver deliveryFile via Stripe webhook OR provider-native delivery.
         Never link the raw file publicly. */
    productId: "ai-academic-pack",
    successRedirect: "thank-you.html?id=ai-academic-pack",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For HTML products: Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox.",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/3cI8wO7l16OPdJ7elj87K0j",
  },
  {
    id: "thinking-copywriters-ai-arsenal",
    title: "The Thinking Copywriter’s AI Arsenal",
    category: "Copywriting & Marketing",
    catLabel: "PDF Product",
    productType: "PDF Product",
    fileType: ".pdf",
    cat: ["copywriting", "business"],
    keywords: "copywriting ai copywriting marketing prompts sales copy headlines audience research market research awareness funnel copywork direct response claude prompts chatgpt prompts copywriting education caples halbert schwartz sugarman persuasion",
    price: 30, oldPrice: 49,
    badge: "New", rating: 0, reviews: 0,
    thumbnail: "MkArsenal", mock: "MkArsenal",
    shortDescription: "48 battle-tested AI prompts and 13 copywork drills for writing clearer, more persuasive, more human copy.",
    longDescription: "Most AI prompt packs hand you commands. This one teaches you how to think. Every prompt comes with the principle behind it and the human judgment you must add to turn generic AI output into persuasive, honest copy — built on the timeless work of Caples, Halbert, Schwartz, and Sugarman. Use the prompts with Claude, ChatGPT, or another capable AI.",
    includedFiles: ["48-page professionally designed PDF", "48 practical AI copywriting prompts", "13 handwriting & copywork drills", "Seven structured learning sections", "Why each prompt works + human-thinking guidance", "Instant digital access after purchase"],
    deliveryInstructions: "Instant PDF download delivered securely by Stripe after payment. Open it in any PDF reader, choose the prompt that matches your task, and bring your own judgment to the output.\n\nAfter payment verification, your secure PDF download link is delivered instantly.",
    demoLink: "/demos/thinking-copywriters-ai-arsenal-preview.html",
    isDemoAvailable: true,
    checkoutLink: "https://buy.stripe.com/4gMdR88p5c9934tgtr87K0i",
    deliveryFile: "protected-download-after-payment/Fluvex_Thinking_Copywriters_AI_Arsenal.pdf",
    thankYouTitle: "Your Thinking Copywriter’s AI Arsenal is ready",
    thankYouMessage: "Thank you for choosing The Thinking Copywriter’s AI Arsenal by Fluvex.\n\nInside you’ll find 48 battle-tested AI prompts and 13 copywork drills across seven structured sections — each prompt paired with the principle behind it and the human thinking you must add.\n\nOpen the PDF, pick the prompt that fits your current task, use it with Claude, ChatGPT, or another capable AI, and shape the output with your own audience knowledge and judgment. AI gives you speed. You give it soul.\n\nAfter payment verification, your secure PDF download link is delivered instantly.",
    thankYouButtonLabel: "Download the Arsenal",
    /* ─── Stripe delivery mapping ───
       Stripe Payment Link: https://buy.stripe.com/4gMdR88p5c9934tgtr87K0i
       ⚑ Set this Payment Link's success URL to: `<origin>/thank-you.html?id=thinking-copywriters-ai-arsenal`
       ⚑ Add the product's Stripe PRICE ID (price_...) to delivery/config.php so the
         webhook delivers delivery/protected/Fluvex_Thinking_Copywriters_AI_Arsenal.pdf.
         Never link the raw file publicly. */
    productId: "thinking-copywriters-ai-arsenal",
    successRedirect: "thank-you.html?id=thinking-copywriters-ai-arsenal",
    emailSubject: "Your FluvexDesigns digital product is ready",
    emailBody: [
      "Hi,",
      "",
      "Thank you for your purchase from FluvexDesigns.",
      "",
      "Your product is ready:",
      "[PRODUCT NAME]",
      "",
      "You can access your digital file using the secure download link below:",
      "[SECURE DOWNLOAD LINK]",
      "",
      "Please remember: this is a digital product. No physical item will be shipped.",
      "",
      "For PDF products: Open the PDF file with any PDF reader.",
      "",
      "Thank you for trusting FluvexDesigns. We hope this product helps you work smarter, look more professional, and save time.",
      "",
      "With appreciation,",
      "FluvexDesigns"
    ].join("\n"),
    link: "https://buy.stripe.com/4gMdR88p5c9934tgtr87K0i",
  },
];

/* ---------- BUNDLE ---------- */
/* Delivered as a single ZIP containing all 13 product files after payment. */
const BUNDLE = {
  id: "complete-toolkit",
  title: "The Complete Fluvex Digital Toolkit",
  price: 29.99,
  oldPrice: 128,
  badge: "Best Value",
  savingsLabel: "Save 75%",
  productType: "HTML + PDF Bundle",
  fileType: ".zip",
  includedIds: [
    "teacher-planner", "business-card", "content-calendar", "life-tracker",
    "budget-tracker", "wedding-rose", "wedding-floral", "photo-resume",
    "media-kit", "invoice-studio", "cover-letter", "resume-studio",
    "ai-academic-pack",
  ],
  productId: "complete-toolkit",
  successRedirect: "thank-you.html?bundle=1",
  /* ⚑ REPLACE checkoutLink with the real Stripe Payment Link for the bundle.
     ⚑ Stripe Payment Link success URL: <origin>/thank-you.html?bundle=1  */
  checkoutLink: "https://buy.stripe.com/cNibJ0eNt0qrdJ7gtr87K0g",
  emailSubject: "Your FluvexDesigns Complete Toolkit is ready",
  emailBody: "See thank-you.html?bundle=1 for the full customer note.",
  deliveryFile: "protected-download-after-payment/Complete-Fluvex-Digital-Toolkit.zip",
  thankYouTitle: "Your Complete Fluvex Digital Toolkit is ready",
  thankYouMessage: "Thank you for choosing the Complete Fluvex Digital Toolkit.\n\nYou now have access to a full collection of premium FluvexDesigns digital products built for planning, business, productivity, career, content, students, weddings, and professional workflows.\n\nAfter payment verification, you will receive secure access to the full bundle ZIP file. Download the ZIP, unzip it, and open each HTML product in your browser. The AI Academic Mastery Prompt Pack is included as a PDF file.\n\nEverything is digital. No physical product will be shipped.",
};



/* ---------- EXTRA BUNDLES (delivery-ready, not yet displayed on the store) ----------
   These follow the same shape as BUNDLE. When you decide to surface them, render
   them in js/store-shop.jsx alongside the main bundle. Each includedIds list
   should map to real PRODUCTS ids above.

   ⚑ Replace each checkoutLink with the real Stripe Payment Link before launch.
   ⚑ Each Stripe Payment Link's success URL:
        <origin>/thank-you.html?id=<bundle-productId>
*/
const EXTRA_BUNDLES = [
  {
    productId: "starter-pack",
    id: "starter-pack",
    title: "Fluvex Starter Pack",
    price: 6.99, oldPrice: 34, savingsLabel: "Save 79%", badge: "Best Deal",
    productType: "HTML Bundle", fileType: ".zip",
    includedIds: ["business-card", "resume-studio", "cover-letter", "ai-academic-pack"],
    checkoutLink: "#stripe-payment-link-starter-pack",
    successRedirect: "thank-you.html?id=starter-pack",
    deliveryFile: "protected-download-after-payment/Fluvex-Starter-Pack.zip",
    thankYouTitle: "Your Fluvex Starter Pack is ready",
    thankYouMessage: "Thank you for choosing the Fluvex Starter Pack. After payment verification, you will receive secure access to the full ZIP file containing every product in this bundle. Everything is digital — no physical product will be shipped.",
    emailSubject: "Your FluvexDesigns Starter Pack is ready",
  },
  {
    productId: "business-growth-bundle",
    id: "business-growth-bundle",
    title: "Business Growth Bundle",
    price: 19.99, oldPrice: 55, savingsLabel: "Save 64%", badge: "Growth Pack",
    productType: "HTML Bundle", fileType: ".zip",
    includedIds: ["business-card", "invoice-studio", "media-kit", "content-calendar"],
    checkoutLink: "#stripe-payment-link-business-growth-bundle",
    successRedirect: "thank-you.html?id=business-growth-bundle",
    deliveryFile: "protected-download-after-payment/Business-Growth-Bundle.zip",
    thankYouTitle: "Your Business Growth Bundle is ready",
    thankYouMessage: "Thank you for choosing the Business Growth Bundle. After payment verification, you will receive secure access to the full ZIP file containing every HTML product in this bundle. Everything is digital — no physical product will be shipped.",
    emailSubject: "Your FluvexDesigns Business Growth Bundle is ready",
  },
  {
    productId: "career-success-bundle",
    id: "career-success-bundle",
    title: "Career Success Bundle",
    price: 19.99, oldPrice: 48, savingsLabel: "Save 58%", badge: "Career Pack",
    productType: "HTML Bundle", fileType: ".zip",
    includedIds: ["resume-studio", "photo-resume", "cover-letter"],
    checkoutLink: "#stripe-payment-link-career-success-bundle",
    successRedirect: "thank-you.html?id=career-success-bundle",
    deliveryFile: "protected-download-after-payment/Career-Success-Bundle.zip",
    thankYouTitle: "Your Career Success Bundle is ready",
    thankYouMessage: "Thank you for choosing the Career Success Bundle. After payment verification, you will receive secure access to the full ZIP file containing every HTML product in this bundle. Everything is digital — no physical product will be shipped.",
    emailSubject: "Your FluvexDesigns Career Success Bundle is ready",
  },
  {
    productId: "creator-planning-bundle",
    id: "creator-planning-bundle",
    title: "Creator Planning Bundle",
    price: 22.99, oldPrice: 60, savingsLabel: "Save 62%", badge: "Creator Pack",
    productType: "HTML Bundle", fileType: ".zip",
    includedIds: ["content-calendar", "media-kit", "life-tracker", "budget-tracker"],
    checkoutLink: "#stripe-payment-link-creator-planning-bundle",
    successRedirect: "thank-you.html?id=creator-planning-bundle",
    deliveryFile: "protected-download-after-payment/Creator-Planning-Bundle.zip",
    thankYouTitle: "Your Creator Planning Bundle is ready",
    thankYouMessage: "Thank you for choosing the Creator Planning Bundle. After payment verification, you will receive secure access to the full ZIP file containing every HTML product in this bundle. Everything is digital — no physical product will be shipped.",
    emailSubject: "Your FluvexDesigns Creator Planning Bundle is ready",
  },
  {
    productId: "wedding-template-bundle",
    id: "wedding-template-bundle",
    title: "Wedding Template Bundle",
    price: 14.99, oldPrice: 46, savingsLabel: "Save 67%", badge: "Wedding Pack",
    productType: "HTML Bundle", fileType: ".zip",
    includedIds: ["wedding-rose", "wedding-floral"],
    checkoutLink: "#stripe-payment-link-wedding-template-bundle",
    successRedirect: "thank-you.html?id=wedding-template-bundle",
    deliveryFile: "protected-download-after-payment/Wedding-Template-Bundle.zip",
    thankYouTitle: "Your Wedding Template Bundle is ready",
    thankYouMessage: "Thank you for choosing the Wedding Template Bundle. After payment verification, you will receive secure access to the full ZIP file containing every HTML product in this bundle. Everything is digital — no physical product will be shipped.",
    emailSubject: "Your FluvexDesigns Wedding Template Bundle is ready",
  },
];

/* the hand-picked best sellers shown in that section */
const BEST_IDS = ["thinking-copywriters-ai-arsenal", "ai-academic-pack", "teacher-planner", "content-calendar"];

/* ---------- FILTERS ---------- */
const FILTERS = [
  { key: "all",       label: "All" },
  { key: "planners",  label: "HTML Planners" },
  { key: "business",  label: "Business Tools" },
  { key: "copywriting", label: "Copywriting & AI" },
  { key: "social",    label: "Creator Kits" },
  { key: "resume",    label: "Career Tools" },
  { key: "wedding",   label: "Wedding Studios" },
  { key: "student",   label: "Student Tools" },
];

/* ---------- CATEGORIES ---------- */
const CATEGORIES = [
  { title: "HTML Planners",           count: 1, icon: "planner",   mock: "MkPlanner",     filter: "planners" },
  { title: "Business HTML Tools",     count: 2, icon: "briefcase", mock: "MkInvoice",     filter: "business" },
  { title: "Creator Dashboards",      count: 2, icon: "share",     mock: "MkMediaKit",    filter: "social" },
  { title: "Productivity Dashboards", count: 1, icon: "grid",      mock: "MkDashboard",   filter: "planners" },
  { title: "Finance Trackers",        count: 1, icon: "clock",     mock: "MkBudget",      filter: "business" },
  { title: "Resume & Career Tools",   count: 3, icon: "doc",       mock: "MkResume",      filter: "resume" },
  { title: "Wedding HTML Studios",    count: 2, icon: "heart",     mock: "MkWedding",     filter: "wedding" },
  { title: "Student Tools",           count: 1, icon: "sparkle",   mock: "MkAIPrompts",   filter: "student" },
  { title: "Copywriting & Marketing", count: 1, icon: "edit",      mock: "MkArsenal",     filter: "copywriting" },
];

/* ---------- TRUST BAR ---------- */
const TRUST = [
  { icon: "download", title: "Instant Digital Download", text: "Access your file immediately after purchase." },
  { icon: "grid",     title: "Works In Your Browser",    text: "Open the HTML file — no software required." },
  { icon: "edit",     title: "Interactive Digital Tools", text: "Text, fields, and settings you can edit in-product." },
  { icon: "sparkle",  title: "Beginner Friendly",        text: "Clean layouts made for non-designers." },
  { icon: "gem",      title: "Digital Product Only",     text: "No physical product will be shipped." },
];

/* ---------- BENEFITS ---------- */
const BENEFITS = [
  ["download", "Instant access after purchase"],
  ["edit", "Interactive HTML you can edit"],
  ["gem", "Premium digital product quality"],
  ["clock", "Saves hours of setup work"],
  ["grid", "Works directly in your browser"],
  ["heart", "Perfect for creators & entrepreneurs"],
  ["sparkle", "No software or design skills needed"],
  ["print", "Print or export where included"],
];

/* ---------- HOW IT WORKS ---------- */
const STEPS = [
  ["Choose your product", "Browse HTML tools, dashboards, planners, and bundles."],
  ["Complete secure checkout", "Pay through the connected checkout provider."],
  ["Receive instant access", "Your HTML file, PDF, or ZIP download arrives right after payment."],
  ["Open and use your product", "Open HTML files in any browser or PDFs in any reader — start using it immediately."],
];

/* ---------- REVIEWS ---------- */
const REVIEWS = [
  { name: "Jessica M.", role: "Entrepreneur",    grad: "#c9b6f5,#533afd", text: "These HTML tools made my business look more professional in one afternoon." },
  { name: "Daniel K.",  role: "Freelancer",      grad: "#f7b986,#ea2261", text: "Clean, easy to use in the browser, and worth every penny. The instant download made everything simple." },
  { name: "Sophia L.",  role: "Content Creator", grad: "#b9b9f9,#665efd", text: "The content calendar dashboard and media kit saved me hours every week." },
  { name: "Marcus T.",  role: "Small Business Owner", grad: "#9ad1c9,#533afd", text: "Finally, invoices that look like they came from a real company. My clients noticed." },
  { name: "Amara O.",   role: "Coach",           grad: "#f96bee,#533afd", text: "The cover letter and resume studios made my applications feel premium from day one." },
  { name: "Liam P.",    role: "Student",         grad: "#f7b986,#c9b6f5", text: "The AI prompt pack made research and essays so much faster. Genuinely useful." },
];

/* ---------- FAQ ---------- */
const FAQS = [
  ["Are these Canva templates?", "No. FluvexDesigns products are downloadable HTML digital products and PDF digital resources. Most HTML products open directly in your browser."],
  ["Do I need Canva to use them?", "No. These are not Canva templates. HTML products open in any modern browser; the AI Prompt Pack opens with any PDF reader."],
  ["What do I receive after purchase?", "You receive instant access to the purchased HTML file, PDF file, or ZIP package through the connected checkout platform or protected delivery system."],
  ["How do I open the HTML products?", "Download the file or ZIP package, unzip it if needed, then open the HTML file in a modern browser like Chrome, Edge, Safari, or Firefox."],
  ["Is anything shipped to me?", "No. All products are digital downloads. No physical item will be shipped."],
  ["Can I edit the products?", "Yes. Many products are interactive — you can edit fields, enter your own data, customise settings, and use built-in export or print features depending on the product."],
  ["How does instant delivery work?", "After successful payment, the checkout platform or protected delivery system gives you immediate access to your download."],
  ["Can I resell these files?", "No. You may use the products for personal or business use, but you may not resell, redistribute, upload, or claim the original files as your own."],
  ["Do you offer refunds?", "Because these are digital products delivered instantly, refunds are limited and depend on the final store policy. Please contact support if you have a delivery issue."],
  ["What if I need help?", "Reach the FluvexDesigns support team from the footer contact area for product access or file help."],
];

/* ---------- MARQUEE ---------- */
const MARQUEE = ["Teacher Planner", "Invoice Studio", "Content Calendar", "Photo Resume", "Media Kit Studio", "Budget Tracker", "Cover Letter Studio", "AI Academic Prompt Pack"];

/* ---------- ICONS (thin stroke, Lucide-style) ---------- */
const ICON_PATHS = {
  download:  <><path d="M12 3v12M7 11l5 5 5-5" /><path d="M5 21h14" /></>,
  edit:      <><path d="M12 20h9" /><path d="M16.5 3.5a2.1 2.1 0 013 3L7 19l-4 1 1-4 12.5-12.5z" /></>,
  print:     <><path d="M6 9V3h12v6" /><rect x="4" y="9" width="16" height="8" rx="2" /><path d="M8 17h8v4H8z" /></>,
  sparkle:   <><path d="M12 3l1.8 4.6L18.4 9l-4.6 1.4L12 15l-1.8-4.6L5.6 9l4.6-1.4L12 3z" /></>,
  gem:       <><path d="M6 3h12l3 6-9 12L3 9l3-6z" /><path d="M3 9h18M12 3l-3 6 3 12 3-12-3-6z" /></>,
  clock:     <><circle cx="12" cy="12" r="9" /><path d="M12 7v5l3 2" /></>,
  grid:      <><rect x="3" y="3" width="7" height="7" rx="1.5" /><rect x="14" y="3" width="7" height="7" rx="1.5" /><rect x="3" y="14" width="7" height="7" rx="1.5" /><rect x="14" y="14" width="7" height="7" rx="1.5" /></>,
  heart:     <><path d="M12 21s-7-4.5-9.5-9A5 5 0 0112 5.5 5 5 0 0121.5 12c-2.5 4.5-9.5 9-9.5 9z" /></>,
  planner:   <><rect x="4" y="4" width="16" height="16" rx="2" /><path d="M4 9h16M9 4v16" /></>,
  briefcase: <><rect x="3" y="7" width="18" height="13" rx="2" /><path d="M8 7V5a2 2 0 012-2h4a2 2 0 012 2v2" /></>,
  share:     <><circle cx="6" cy="12" r="2.5" /><circle cx="17" cy="6" r="2.5" /><circle cx="17" cy="18" r="2.5" /><path d="M8.2 10.8l6.6-3.6M8.2 13.2l6.6 3.6" /></>,
  doc:       <><path d="M6 2h8l4 4v16H6z" /><path d="M14 2v4h4M9 13h6M9 17h6" /></>,
  cart:      <><circle cx="9" cy="20" r="1.5" /><circle cx="18" cy="20" r="1.5" /><path d="M2 3h3l2.5 13h11l1.5-8H6" /></>,
};

function StoreIcon({ name, size = 22, stroke = "var(--primary)", sw = 1.6 }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={stroke} strokeWidth={sw} strokeLinecap="round" strokeLinejoin="round">
      {ICON_PATHS[name] || null}
    </svg>
  );
}

Object.assign(window, { PRODUCTS, BUNDLE, EXTRA_BUNDLES, BEST_IDS, FILTERS, CATEGORIES, TRUST, BENEFITS, STEPS, REVIEWS, FAQS, MARQUEE, StoreIcon });
