import{o as e}from"./useStore-B9WcefOa.js";import{t}from"./link-CSxX31-N.js";import{a as n,r}from"./index-VYIssuI_.js";import{i,t as a}from"./Layout-uiA8q21U.js";import{n as o}from"./Collection-BGyZxlEk.js";var s=e();function c(){let{product:e}=r.useLoaderData(),c=n.filter(t=>t.category===e.category&&t.slug!==e.slug).slice(0,3);return(0,s.jsx)(i,{children:(0,s.jsxs)(a,{children:[(0,s.jsxs)(`nav`,{className:`mb-6 text-sm text-muted-foreground`,children:[(0,s.jsx)(t,{to:`/`,className:`hover:text-maroon`,children:`Home`}),` `,`/`,` `,(0,s.jsx)(t,{to:`/browse-all`,className:`hover:text-maroon`,children:`Shop`}),` `,`/ `,e.title]}),(0,s.jsxs)(`div`,{className:`grid gap-10 lg:grid-cols-2`,children:[(0,s.jsx)(`div`,{className:`border border-border bg-card p-6`,children:(0,s.jsx)(`img`,{src:e.image,alt:e.title,className:`mx-auto max-h-[560px] w-auto object-contain`})}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`h1`,{className:`font-display text-3xl text-maroon sm:text-4xl`,children:e.title}),(0,s.jsx)(`p`,{className:`mt-4 text-2xl text-foreground`,children:e.price}),(0,s.jsxs)(`div`,{className:`mt-6 space-y-4 text-[17px] leading-relaxed text-foreground/90`,children:[(0,s.jsx)(`p`,{children:`An original piece from the Art Source International collection in Boulder, Colorado. Each item is examined by our staff, described accurately and guaranteed authentic.`}),(0,s.jsxs)(`p`,{children:[`Conservation-quality`,` `,(0,s.jsx)(t,{to:`/custom-framing`,className:`text-maroon underline`,children:`custom framing`}),` `,`is available in-house. Contact us for exact measurements, condition notes or additional photography.`]})]}),(0,s.jsxs)(`dl`,{className:`mt-8 grid grid-cols-2 gap-y-3 border-t border-border pt-6 text-[15px]`,children:[(0,s.jsx)(`dt`,{className:`text-muted-foreground`,children:`Category`}),(0,s.jsx)(`dd`,{children:e.category.replace(/-/g,` `)}),(0,s.jsx)(`dt`,{className:`text-muted-foreground`,children:`Availability`}),(0,s.jsx)(`dd`,{children:`In stock — Boulder gallery`}),(0,s.jsx)(`dt`,{className:`text-muted-foreground`,children:`Shipping`}),(0,s.jsx)(`dd`,{children:`Free on orders over $100`})]}),(0,s.jsx)(t,{to:`/contact-us`,className:`mt-8 inline-block bg-maroon px-6 py-3 uppercase tracking-wide text-primary-foreground hover:bg-maroon-dark`,children:`Enquire about this item`})]})]}),c.length>0&&(0,s.jsxs)(`section`,{className:`mt-16`,children:[(0,s.jsx)(`h2`,{className:`font-display text-3xl text-maroon`,children:`Related items`}),(0,s.jsx)(`div`,{className:`mt-6 grid gap-6 sm:grid-cols-2 xl:grid-cols-3`,children:c.map(e=>(0,s.jsx)(o,{product:e},e.slug))})]})]})})}export{c as component};