1import{o as e,t}from"./jsx-runtime-cvnAX2Ol.js";import{t as n}from"./react-DwkaDh8i.js";import{v as r,w as i,y as a}from"./labReports-Cw3oqDSY.js";import{c as o}from"./marshmallows-poster.jpg.asset-BqtVdme6.js";import{i as s,n as c,r as l,t as u}from"./Footer-V77q32RO.js";import{t as d}from"./ProductCard-0ixM-mFp.js";import{t as f}from"./proxy-DPs3nGei.js";import{n as p}from"./lifestylePhotos-DyqduinT.js";import{t as m}from"./StockistStrip-CLaHvF1b.js";import{t as h}from"./CbdBand-BCvZfMHx.js";import{t as g}from"./QuizBand-D41PUVwl.js";var _=e(n(),1),v=t(),y=[{label:`All`,value:`all`},{label:`Drinks`,value:`drinks`},{label:`Capsules`,value:`capsules`},{label:`Gummies`,value:`gummies`},{label:`Powders`,value:`powders`},{label:`CBD`,value:`cbd`}],b=[`drinks`,`capsules`,`gummies`,`powders`],x=()=>{let[e,t]=i(),n=e.get(`category`),x=n&&b.concat(`cbd`).includes(n)?n:`all`,S=e=>{t(e===`all`?{}:{category:e},{replace:!0})};(0,_.useEffect)(()=>{},[]);let C=(0,_.useMemo)(()=>x===`cbd`?[]:x===`all`?[...o.filter(e=>e.category===`drinks`),...o.filter(e=>e.category!==`drinks`)]:o.filter(e=>e.category===x),[x]);return(0,v.jsxs)(`div`,{className:`min-h-screen bg-sand text-foreground`,children:[(0,v.jsx)(r,{title:`Shop Functional Mushrooms & Drinks | Grass & Co.`,description:`The full Grass & Co. range: capsules, gummies, powders and sparkling drinks for focus, relax, energy and dream. Buy on Amazon UK.`,path:`/shop`,image:p.focusCapsBreakfast,breadcrumbs:[{name:`Shop`,path:`/shop`}]}),(0,v.jsx)(c,{}),(0,v.jsx)(`section`,{className:`px-6 pt-16 md:pt-24 pb-10`,children:(0,v.jsxs)(`div`,{className:`max-w-6xl mx-auto text-center`,children:[(0,v.jsx)(f.span,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.5},className:`font-kicker text-xs text-foreground/60 block mb-6`,children:`The Apothecary`}),(0,v.jsx)(f.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},className:`font-title italic text-5xl md:text-7xl text-foreground leading-[0.95]`,children:`Shop the range`}),(0,v.jsx)(f.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},className:`text-foreground/60 mt-5 max-w-2xl mx-auto leading-relaxed`,children:`Explore the full range by function or format. Every product page explains what's inside, how we use it and the evidence behind it; when you're ready, buy through Amazon UK.`}),(0,v.jsx)(f.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3},className:`mt-10 flex flex-wrap justify-center gap-3`,children:y.map(e=>(0,v.jsx)(`button`,{onClick:()=>S(e.value),className:`font-kicker text-xs px-5 py-3.5 rounded-full border transition-colors ${x===e.value?`bg-forest text-white border-forest`:`border-foreground
1/25 text-foreground hover:border-foreground`}`,children:e.label},e.value))})]})}),(0,v.jsxs)(`section`,{className:`px-6 pb-16`,children:[(0,v.jsx)(`h2`,{className:`sr-only`,children:`Shop by function`}),(0,v.jsx)(`div`,{className:`max-w-6xl mx-auto flex flex-wrap justify-center gap-3`,children:s.map(e=>(0,v.jsx)(a,{to:`/${e}`,className:`font-kicker text-xs px-4 py-3 rounded-full border border-foreground/15 text-foreground/70 hover:text-foreground hover:border-foreground transition-colors`,children:l[e].name},e))})]}),(0,v.jsx)(`section`,{className:`px-6 pb-16`,children:(0,v.jsx)(`div`,{className:`max-w-6xl mx-auto`,children:(0,v.jsx)(g,{compact:!0})})}),x===`cbd`?(0,v.jsx)(h,{className:`pt-0`}):(0,v.jsx)(`section`,{className:`px-6 pb-24`,children:(0,v.jsxs)(`div`,{className:`max-w-6xl mx-auto`,children:[(0,v.jsx)(`h2`,{className:`font-kicker text-xs text-foreground/60 text-center mb-8`,children:`The range`}),(0,v.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8`,children:C.map((e,t)=>(0,v.jsx)(f.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-60px`},transition:{duration:.5,delay:t%3*.08},children:(0,v.jsx)(d,{product:e})},e.slug))}),C.length===0&&(0,v.jsx)(`p`,{className:`text-center font-serif italic text-foreground/60 py-20`,children:`Nothing in this format yet, try another filter.`})]})}),(0,v.jsx)(m,{}),x!==`cbd`&&(0,v.jsx)(h,{className:`bg-cream border-t border-border`}),(0,v.jsx)(u,{})]})};export{x as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.