/* ============================================================ HOME ============================================================ */ function PurposePicker({ compact=false }){ const { go } = useContext(Nav); const [sel,setSel] = useState('prosperity'); const matches = RR.PRODUCTS.filter(p=>p.purposes.includes(sel)).slice(0,4); const cur = RR.purpose(sel); return (
{RR.PURPOSES.map(pp=>( ))}
For {cur.label}

{cur.blurb}

{matches.map((p,i)=>)}
); } function HomePage(){ const { go } = useContext(Nav); const featured = ['pyrite-bracelet','citrine-bracelet','5-mukhi-rudraksha','pyrite-frame'].map(RR.byId); const guidanceCards = [ { n:'Purpose first', r:'Guided buying', t:'We start with what the customer is trying to choose for: prosperity, protection, calm, focus, gifting or spiritual routine.' }, { n:'Authenticity visible', r:'Product education', t:'Product pages explain material, care, real-vs-fake checks and certificate language where the product type supports it.' }, { n:'Human support', r:'WhatsApp-first', t:'Customers can ask before purchase, compare options and confirm product suitability without pressure.' }, ]; return (
{/* HERO */}
॥ श्री गणेशाय नमः ॥ {RR.settings.heroHeadline ? {RR.settings.heroHeadline} : Authentic Rudraksha,
Gemstones & Crystals — chosen with guidance.
} {RR.settings.heroLead ? {RR.settings.heroLead} : Buy with trust. Rudraa Ratna helps you select spiritual products by purpose, authenticity and consultation — never guesswork.} Consult on WhatsApp
{['#C49A3F','#8A5FB6','#2F9D6C','#57161B'].map((c,i)=>)}
Guided selection with authenticity-first product notes
Certificate-readyDocumentation where applicable
Pan-India DeliverySafe, insured shipping
Guided on WhatsAppAsk before you buy
{/* TRUST STRIP */}
{[ { ic:'spark', b:'Authentic & Energised', s:'Genuine spiritual products' }, { ic:'hand', b:'Guided Consultation', s:'Choose by purpose, not guesswork' }, { ic:'pin', b:'Noida-Based', s:'A trusted local name' }, { ic:'wa', b:'WhatsApp Support', s:'Real humans, quick replies' }, { ic:'truck', b:'National Delivery', s:'Crystals & gems pan-India' }, ].map((t,i)=>(
{t.b}{t.s}
))}
{/* SHOP BY PURPOSE */}
Shop by Intention · संकल्प

What do you seek?

Tell us your intention and we'll show what fits. Every Rudraa journey begins with purpose — prosperity, protection, peace and more.

{/* CATEGORIES */}
Collections

Explore by category

{RR.CATEGORIES.map((c,i)=>( ))}
{/* BESTSELLERS */}
Most Loved

Bestsellers this month

{featured.map((p,i)=>)}
{/* CONSULTATION BAND */}
Guided Buying · परामर्श

Not sure what to choose?
Speak to us before you buy.

Tell us your purpose and we'll recommend the right Rudraksha, gemstone or crystal — with honest, belief-based guidance. No pressure, ever.

{RR.PURPOSES.map(p=>{p.label})}
Start free consultation
{/* AUTHENTICITY */}
Before You Buy

Real, or just shiny?

The market is full of dyed glass sold as crystals and uncertified Rudraksha. We make authenticity visible — so you never pay genuine prices for fakes.

  • Certificate-supported beads & gems — documentation is shown where applicable and should be confirmed before purchase.
  • Natural, untreated stones — real lustre, weight and inclusions, never painted.
  • Energised with intention — cleansed and prepared before it reaches you.
{/* TESTIMONIALS */}
Guidance Standard

How Rudraa Ratna helps you choose

{guidanceCards.map((t,i)=>(

{t.t}

{t.n[0]}
{t.n}{t.r}
))}
{/* OFFER BAND */}
First order

Begin your journey — {RR.settings.offerText}.

Use code {RR.settings.offerCode} at checkout, or just mention it on WhatsApp.

Claim on WhatsApp
); } /* mini fake-vs-real compare slider (also used standalone) */ function FakeRealMini(){ const [pos,setPos] = useState(52); return (
Genuine Pyrite
Dyed / coated
setPos(+e.target.value)} aria-label="Compare real vs fake"/>

Drag to compare · real Pyrite keeps a deep metallic glow; fakes look flat and over-bright.

); } Object.assign(window, { HomePage, PurposePicker, FakeRealMini });