1import{j as s,L as t}from"./index-42OYDF60.js";import{L as c,u as m,H as l,A as x,c as h}from"./Layout-CvY-dOeA.js";import{d as g}from"./demoProducts-Cec3h00k.js";import{B as i}from"./button-EfpS49lo.js";import{T as p}from"./trash-2-B3_ksNI2.js";import"./phone-CUz94ybs.js";import"./menu-CkpBHtij.js";import"./mail-T8cR2-w0.js";import"./dialog-BPqr1XfL.js";import"./minus-LiessKcH.js";import"./plus-UlO-Lz9K.js";const u=()=>{const{wishlist:r,toggleWishlist:o,addToCart:n}=m(),a=g.filter(e=>r.includes(e.id));return s.jsxs("div",{className:"container max-w-6xl mx-auto px-4 py-8 md:py-12",children:[s.jsxs("div",{className:"mb-8 animate-fade-in-up",children:[s.jsxs("h1",{className:"text-3xl md:text-5xl font-extrabold tracking-tight flex items-center gap-3",children:[s.jsx(l,{className:"h-8 w-8 text-accent-glow"}),s.jsx("span",{className:"font-serif italic font-normal",children:"Your "}),s.jsx("span",{className:"gradient-hero-text",children:"Wishlist"})]}),s.jsxs("p",{className:"text-muted-foreground mt-2",children:[a.length,"à¦à¦¿ পণà§à¦¯ সà¦à¦°à¦à§à¦·à¦¿à¦¤"]})]}),a.length===0?s.jsxs("div",{className:"glass-card rounded-3xl p-12 text-center space-y-4",children:[s.jsx("div",{className:"inline-flex h-20 w-20 items-center justify-center rounded-3xl gradient-accent opacity-80 mx-auto",children:s.jsx(l,{className:"h-9 w-9 text-accent-foreground"})}),s.jsx("h2",{className:"text-2xl font-bold",children:"Wishlist à¦à¦¾à¦²à¦¿"}),s.jsx("p",{className:"text-muted-foreground",children:"à¦à¦ªà¦¨à¦¾à¦° পà¦à¦¨à§à¦¦à§à¦° পণà§à¦¯ সà¦à¦°à¦à§à¦·à¦£ à¦à¦°à¦¤à§ শপ পà§à¦à§ ⤠à¦à¦à¦à¦¨à§ à¦à§à¦²à¦¿à¦ à¦à¦°à§à¦¨à¥¤"}),s.jsx(i,{asChild:!0,className:"gradient-primary rounded-xl h-12 px-6 font-bold shadow-glow",children:s.jsxs(t,{to:"/shop",children:["Shop দà§à¦à§à¦¨ ",s.jsx(x,{className:"h-4 w-4"})]})})]}):s.jsx("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:a.map((e,d)=>s.jsxs("div",{className:"glass-card rounded-3xl overflow-hidden group animate-fade-in-up",style:{animationDelay:`${d*50}ms`},children:[s.jsx(t,{to:`/product/${e.id}`,className:"block aspect-square overflow-hidden",children:s.jsx("img",{src:e.image,alt:e.name,loading:"lazy",className:"h-full w-full object-cover transition-smooth group-hover:scale-110"})}),s.jsxs("div",{className:"p-4 space-y-3",children:[s.jsx("div",{className:"text-[11px] uppercase tracking-wider text-primary-glow font-bold",children:e.brand}),s.jsx(t,{to:`/product/${e.id}`,className:"font-bold leading-tight line-clamp-2 hover:gradient-hero-text transition-fast",children:e.name}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("span",{className:"text-lg font-extrabold gradient-hero-text",children:["à§³",e.price]}),e.oldPrice&&s.jsxs("span",{className:"text-xs text-muted-foreground line-through",children:["à§³",e.oldPrice]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[s.jsxs(i,{onClick:()=>n(e),size:"sm",className:"gradient-primary rounded-lg font-bold",children:[s.jsx(h,{className:"h-3.5 w-3.5"})," Add"]}),s.jsxs(i,{onClick:()=>o(e.id),size:"sm",variant:"outline",className:"rounded-lg glass",children:[s.jsx(p,{className:"h-3.5 w-3.5"})," Remove"]})]})]})]},e.id))})]})},z=()=>s.jsx(c,{children:s.jsx(u,{})});export{z as default};
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.