(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{765:(e,t,s)=>{"use strict";s.d(t,{CustomOrderCTA:()=>x});var a=s(5155),l=s(2115),i=s(8500),r=s.n(i),n=s(6272),o=s(467),c=s(1489),d=s(4734),m=s(7529);function x(){let{media:e}=(0,d.r)(),[t,s]=(0,l.useState)(0),[i,x]=(0,l.useState)(!1),h=e?.customOrder,u=h?.cta_text||"Start a Custom Order",p=h?.cta_link||"/custom-order",g=p.startsWith("/custom-order")&&!p.startsWith("/custom-orders")?"/custom-order":(0,m.nT)(p),b=h?.is_active!==!1,f=(h?.description||"From custom color palettes and personalized initials to unique floral bouquets and character plushies — let's create something made especially for you.").replace(/\s*gdsgwegbcxvsawr32b4gvqrefd\s*/g,"").trim(),v=(0,l.useMemo)(()=>[{badge:h?.badge||"Bespoke Handcrafting",line1:h?.title_line1||"Your Idea.",line2:h?.title_line2||"Our Yarn.",desc:f||"From custom color palettes and personalized initials to unique floral bouquets and character plushies — let's create something made especially for you."},{badge:"Handmade Just For You",line1:"Your Dream.",line2:"Our Craft.",desc:"Turn your favorite inspirations and vision into timeless, handcrafted cotton crochet keepsakes made with love."},{badge:"Custom Artisan Creations",line1:"Your Wish.",line2:"Our Magic.",desc:"Bespoke floral bouquets, custom personalized plushies, and heirloom gifts tailored to your exact style."},{badge:"Crafted With Care",line1:"Your Story.",line2:"Every Stitch.",desc:"Custom color matching, personalized embroidery tags, and bespoke crochet designs crafted exclusively for your moments."}],[h]);if((0,l.useEffect)(()=>{let e=setInterval(()=>{x(!0),setTimeout(()=>{s(e=>(e+1)%v.length),x(!1)},300)},2500);return()=>clearInterval(e)},[v.length]),!b)return null;let w=v[t]||v[0];return(0,a.jsx)("section",{className:"py-16 lg:py-20 bg-[#FFF9F6]",children:(0,a.jsx)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:(0,a.jsxs)("div",{className:"relative rounded-[3rem] bg-gradient-to-b from-[#FCE9E5] via-[#FFF9F6] to-[#FCE9E5] border border-[#E7D1CC] p-6 sm:p-14 lg:p-16 shadow-boutique overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute top-6 left-8 text-[#913638]/20 hidden sm:block",children:(0,a.jsx)(c.vw,{className:"w-12 h-12"})}),(0,a.jsx)("div",{className:"absolute bottom-6 right-8 text-[#913638]/20 hidden sm:block",children:(0,a.jsx)(c.vw,{className:"w-12 h-12"})}),(0,a.jsxs)("div",{className:"max-w-2xl mx-auto space-y-6 relative z-10",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-3.5 py-1.5 rounded-full bg-white border border-[#E7D1CC] text-xs font-semibold text-[#913638] shadow-2xs transition-all duration-300",children:[(0,a.jsx)(n.A,{className:"w-3.5 h-3.5 text-[#C69A5A]"}),(0,a.jsx)("span",{className:`transition-opacity duration-300 ${i?"opacity-0":"opacity-100"}`,children:w.badge})]}),(0,a.jsxs)("div",{className:"space-y-2 min-h-[130px] sm:min-h-[150px] lg:min-h-[170px] flex flex-col justify-center",children:[(0,a.jsxs)("h2",{className:`font-serif-luxury text-3xl sm:text-4xl lg:text-5xl font-bold text-[#2E211E] tracking-tight leading-[1.15] transition-all duration-300 ease-out transform ${i?"opacity-0 -translate-y-2 scale-98":"opacity-100 translate-y-0 scale-100"}`,children:[w.line1,(0,a.jsx)("span",{className:"block text-[#913638] italic",children:w.line2})]}),(0,a.jsx)("div",{className:"flex justify-center pt-1",children:(0,a.jsx)(c.wR,{className:"w-24 h-5 text-[#EFB8B0]"})})]}),(0,a.jsx)("p",{className:`text-base sm:text-lg text-[#786864] leading-relaxed transition-opacity duration-300 min-h-[56px] ${i?"opacity-0":"opacity-100"}`,children:w.desc}),(0,a.jsx)("div",{className:"flex justify-center items-center gap-2 pt-1",children:v.map((e,l)=>(0,a.jsx)("button",{onClick:()=>{x(!0),setTimeout(()=>{s(l),x(!1)},200)},className:`h-1.5 rounded-full transition-all duration-300 cursor-pointer ${t===l?"w-6 bg-[#913638]":"w-1.5 bg-[#E7D1CC] hover:bg-[#EFB8B0]"}`,"aria-label":`Go to slide ${l+1}`},l))}),u&&g&&(0,a.jsx)("div",{className:"pt-2",children:(0,a.jsxs)(r(),{href:g,prefetch:!0,className:"inline-flex items-center gap-2 px-7 sm:px-8 py-3 sm:py-3.5 rounded-full bg-[#913638] text-white text-xs sm:text-sm font-semibold hover:bg-[#74292B] shadow-xs hover:shadow-boutique-hover transition-all active:scale-[0.98] group",children:[(0,a.jsx)("span",{children:u}),(0,a.jsx)(o.A,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})})]})]})})})}},1504:(e,t,s)=>{"use strict";s.d(t,{BestSellers:()=>u});var a=s(5155),l=s(2115),i=s(8500),r=s.n(i),n=s(467),o=s(9356),c=s(7529),d=s(6218),m=s(4734),x=s(2599);let h="knotelle_cache_products";function u(){let{media:e}=(0,m.r)(),[t,s]=(0,l.useState)(o.z),[i,u]=(0,l.useState)("all");(0,l.useEffect)(()=>{let e=(0,x.uK)(h,[]);e&&e.length>0&&s(e);let t=!0,a=()=>{(0,c.j0)({per_page:100}).then(e=>{t&&e.products&&e.products.length>0&&(s(e.products),(0,x.sf)(h,e.products))}).catch(e=>console.warn("Live bestsellers fetch notice:",e))};a();let l=(0,x.yF)(a);return()=>{t=!1,l()}},[]);let p=(0,l.useMemo)(()=>{let e=t.filter(e=>e.isBestSeller||e.isFeatured);if(e.length>=12)return e;let s=new Set(e.map(e=>e.id));return[...e,...t.filter(e=>!s.has(e.id))]},[t]),g=(0,l.useMemo)(()=>{let t=[{id:"all",label:"All"}];return e?.categories&&e.categories.length>0?[...t,...e.categories.slice(0,5).map(e=>({id:e.slug,label:e.name}))]:t},[e?.categories]),b=(0,l.useMemo)(()=>"all"===i?p:p.filter(e=>e.categorySlug===i||e.category.toLowerCase().includes(i.toLowerCase())),[i,p]),f=(0,l.useMemo)(()=>b.slice(0,12),[b]);return(0,a.jsx)("section",{className:"py-12 sm:py-16 bg-[#FFF9F6] relative",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-4 mb-8",children:[(0,a.jsx)("h2",{className:"font-serif-luxury text-2xl sm:text-3xl font-bold text-[#2E211E]",children:"Best Sellers"}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5 sm:gap-2 overflow-x-auto pb-1 no-scrollbar",children:[g.map(e=>(0,a.jsx)("button",{onClick:()=>{u(e.id)},className:`px-3.5 sm:px-4 py-1.5 rounded-full text-xs font-semibold whitespace-nowrap transition-all cursor-pointer ${i===e.id?"bg-[#913638] text-white shadow-xs":"bg-white text-[#2E211E] border border-[#E7D1CC] hover:bg-[#FCE9E5] hover:text-[#913638]"}`,children:e.label},e.id)),(0,a.jsxs)(r(),{href:"/shop",className:"text-xs font-semibold text-[#786864] hover:text-[#913638] flex items-center gap-1 pl-2 whitespace-nowrap",children:[(0,a.jsx)("span",{children:"View All"}),(0,a.jsx)(n.A,{className:"w-3 h-3"})]})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-3 sm:gap-4",children:f.map((e,t)=>(0,a.jsx)(d.A,{product:e,priority:t<6},`${e.id}-${t}`))})]})})}},2727:(e,t,s)=>{"use strict";s.d(t,{BlogReels:()=>S});var a=s(5155),l=s(2115),i=s(5772),r=s(6272),n=s(1811);let o={name:"play",size:24,node:[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]};o.node;let c=(0,n.A)(o);var d=s(4757),m=s(4551);let x={name:"volume-x",size:24,node:[["path",{d:"M11 4.702a.7.7 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.7.7 0 0 0 11 19.298z",key:"1p7khw"}],["path",{d:"m16.5 14.5 5-5",key:"cul3yw"}],["path",{d:"m16.5 9.5 5 5",key:"1akey5"}]]};x.node;let h=(0,n.A)(x),u={name:"volume-2",size:24,node:[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]};u.node;let p=(0,n.A)(u);var g=s(9005);let b={name:"pause",size:24,node:[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]};b.node;let f=(0,n.A)(b),v={name:"music-2",size:24,node:[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]]};v.node;let w=(0,n.A)(v);var y=s(7625),j=s(5937);let N={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};N.node;let k=(0,n.A)(N);var C=s(6721),E=s(1489);let F=[{id:"reel-1",title:"Crafting the Everlasting Sunflower",subtitle:"Watch the petal-by-petal stitch technique & stem wiring",category:"Studio ASMR",duration:"0:48",views:"38.4K",likes:"3.2K",comments:"184",author:{name:"Krina Jani",role:"Lead Artisan",avatar:"https://images.unsplash.com/photo-1534528741775-53994a69daeb?q=80&w=200&auto=format&fit=crop"},audioTrack:"Original Audio • Acoustic Morning",thumbnail:"https://images.unsplash.com/photo-1597848212624-a19eb35e2651?q=80&w=800&auto=format&fit=crop",caption:"Ever wonder how our sunflowers stand tall and bloom forever? Each petal is hand-stitched with double-crochet cotton and subtly wired for flexible styling. \uD83C\uDF3B✨ #crochetflower #knotelle #handmadeart",tags:["#Sunflower","#CrochetArt","#ArtisanStudio"]},{id:"reel-2",title:"5 Chic Ways to Style the Granny Bag",subtitle:"From brunch dates to weekend farmer markets",category:"Style Guide",duration:"0:56",views:"52.1K",likes:"4.8K",comments:"296",author:{name:"Aarohi Verma",role:"Boutique Stylist",avatar:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?q=80&w=200&auto=format&fit=crop"},audioTrack:"Taylor Swift • Cardigan (Acoustic)",thumbnail:"https://images.unsplash.com/photo-1544816155-12df9643f363?q=80&w=800&auto=format&fit=crop",caption:"The Vintage Pastel Granny Square Bag is the ultimate versatile statement piece. Pair it with breezy linen, denim jackets, or summer sundresses! \uD83D\uDC5C\uD83C\uDF3F #crochetbag #grannysquare #outfitideas",tags:["#BoutiqueFashion","#GrannySquare","#OOTD"]},{id:"reel-3",title:"Aesthetic Boutique Packing Routine",subtitle:"Lavender mist, silk blush ribbons & wax seals",category:"Behind The Scenes",duration:"0:39",views:"74.8K",likes:"6.5K",comments:"412",author:{name:"KNOTELLE Atelier",role:"Packaging Team",avatar:"https://images.unsplash.com/photo-1517841905240-472988babdf9?q=80&w=200&auto=format&fit=crop"},audioTrack:"ASMR Studio Ambience • Gentle Rain",thumbnail:"https://images.unsplash.com/photo-1563241527-3004b7be0ffd?q=80&w=800&auto=format&fit=crop",caption:"Every single KNOTELLE order is wrapped like a gift to yourself or a loved one. Spritzed with French lavender and sealed with handwritten love notes. \uD83D\uDC8C\uD83C\uDF38 #packagingasmr #smallbusiness #crochetlove",tags:["#BoutiquePacking","#Unboxing","#MadeWithLove"]},{id:"reel-4",title:"Stitching the Soft Bunny Amigurumi",subtitle:"Secret loops for blush cheeks & gold clasp",category:"Masterclass",duration:"1:05",views:"41.6K",likes:"3.9K",comments:"220",author:{name:"Meera Sen",role:"Master Artisan",avatar:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?q=80&w=200&auto=format&fit=crop"},audioTrack:"Lofi Beats • Cozy Coffee",thumbnail:"https://images.unsplash.com/photo-1590736969955-71cc94801759?q=80&w=800&auto=format&fit=crop",caption:"Meet our most loved fluffy bunny charm! Watch how we sculpt the micro ears, embroider the soft nose, and assemble the gold key ring. \uD83D\uDC30✨ #amigurumi #crochetbunny #cutekeychains",tags:["#Amigurumi","#CuteKeychain","#CrochetHacks"]}];var _=s(7529),A=s(4734);function S(){let{media:e}=(0,A.r)(),t=e?.blogReels,s=(0,l.useMemo)(()=>({title:t?.title||"Behind the Stitches",subtitle:t?.subtitle||"Watch our artisans hand-craft each creation, styling guides, and cozy studio ASMR unboxings.",tag_text:t?.tag_text||"Studio Journal & Video Reels",cta_text:t?.cta_text||"Follow @knotelleindia",cta_link:t?.cta_link||"https://instagram.com/knotelleindia",is_active:t?.is_active!==!1}),[t]),n=(0,l.useMemo)(()=>t&&Array.isArray(t.items)?0===t.items.length?[]:t.items.map(e=>{let t=function(e){if(!e)return"";let t=e.trim();return t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:")||t.startsWith("blob:")?t:(0,_.dy)(t)}(e.video_url||e.videoUrl);return{id:String(e.id),db_id:e.db_id,title:e.title,subtitle:e.subtitle||"",description:e.description||"",caption:e.caption||e.description||e.subtitle||e.title,category:e.category||"Studio ASMR",duration:e.duration||"00:48",views:String(e.views||"0"),likes:String(e.likes||"0"),comments:String(e.comments||"0"),thumbnail:(0,_.Me)(e.thumbnail,"/images/homepage/middleimg.png"),mobile_thumbnail:e.mobile_thumbnail?(0,_.Me)(e.mobile_thumbnail):void 0,videoUrl:t,video_url:t,audioTrack:e.audio_track||e.audioTrack||e.audio_name||"Original Audio",author:e.author||{name:"Krina Jani",role:"Lead Artisan",avatar:"https://images.unsplash.com/photo-1534528741775-53994a69daeb?q=80&w=200&auto=format&fit=crop"},tags:e.tags||["#Crochet","#Handmade","#Knotelle"]}}):F,[t]),[o,x]=(0,l.useState)(null),[u,b]=(0,l.useState)(!0),[v,N]=(0,l.useState)(!1),[S,B]=(0,l.useState)(0),[z,M]=(0,l.useState)(0),[q,L]=(0,l.useState)({}),[T,I]=(0,l.useState)({}),P=(0,l.useRef)(null),D=(0,l.useRef)({});(0,l.useEffect)(()=>{o&&P.current&&(u?P.current.play().catch(()=>{P.current&&(P.current.muted=!0,N(!0),P.current.play().catch(()=>{}))}):P.current.pause())},[u,o]);let $=()=>{P.current&&P.current.pause(),x(null),b(!1)},H=()=>{b(e=>!e)},R=(e,t)=>{t?.stopPropagation(),L(t=>({...t,[e]:!t[e]}))},K=()=>{P.current&&(B(P.current.currentTime),M(P.current.duration||0))};return s.is_active?(0,a.jsxs)("section",{className:"py-14 sm:py-18 bg-[#FFF9F6] relative overflow-hidden",id:"behind-the-stitches",children:[(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"flex flex-col md:flex-row md:items-end justify-between gap-4 mb-10",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-[#FCE9E5] text-[#913638] text-xs font-semibold mb-2.5",children:[(0,a.jsx)(E.oW,{className:"w-3.5 h-3.5"}),(0,a.jsx)("span",{children:s.tag_text||"Studio Journal & Video Reels"})]}),(0,a.jsx)("h2",{className:"font-serif-luxury text-2xl sm:text-3xl lg:text-4xl font-bold text-[#2E211E]",children:s.title||"Behind the Stitches"}),(0,a.jsx)("p",{className:"text-xs sm:text-sm text-[#786864] mt-1.5 max-w-xl",children:s.subtitle||"Watch our artisans hand-craft each creation, styling guides, and cozy studio ASMR unboxings."})]}),s.cta_link&&(0,a.jsxs)("a",{href:s.cta_link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-full bg-white border border-[#E7D1CC] text-xs font-semibold text-[#913638] hover:bg-[#913638] hover:text-white shadow-xs transition-all w-fit active:scale-[0.98]",children:[(0,a.jsx)(r.A,{className:"w-3.5 h-3.5"}),(0,a.jsx)("span",{children:s.cta_text||"Follow @knotelleindia"})]})]}),n.length>0?(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 sm:gap-6",children:n.map(e=>{let t=q[e.id];return(0,a.jsxs)("div",{onClick:()=>{x(e),b(!0),B(0),e.id&&!D.current[e.id]&&(D.current[e.id]=!0,(0,_.Qk)(e.db_id||e.id))},className:"group relative aspect-[9/15] rounded-3xl overflow-hidden bg-[#2E211E] border border-[#E7D1CC] shadow-boutique hover:shadow-xl hover:border-[#EFB8B0] transition-all duration-300 cursor-pointer flex flex-col justify-between p-4",children:[(0,a.jsx)(i.default,{src:e.thumbnail,alt:e.title,fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 25vw",className:"object-cover group-hover:scale-108 transition-transform duration-700 opacity-90 group-hover:opacity-100"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/85 via-black/25 to-black/60 pointer-events-none"}),(0,a.jsxs)("div",{className:"relative z-10 flex items-center justify-between gap-2",children:[(0,a.jsx)("span",{className:"px-3 py-1 rounded-full bg-black/40 backdrop-blur-md text-white text-[11px] font-semibold border border-white/20",children:e.category}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5 px-2.5 py-1 rounded-full bg-black/40 backdrop-blur-md text-white text-[10px] font-medium border border-white/20",children:[(0,a.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[#EFB8B0] animate-pulse"}),(0,a.jsx)("span",{children:e.duration})]})]}),(0,a.jsx)("div",{className:"relative z-10 self-center my-auto",children:(0,a.jsx)("div",{className:"w-13 h-13 rounded-full bg-white/30 backdrop-blur-md border border-white/60 text-white flex items-center justify-center group-hover:scale-115 group-hover:bg-[#913638] group-hover:border-[#913638] transition-all duration-300 shadow-lg",children:(0,a.jsx)(c,{className:"w-5 h-5 fill-current ml-0.5"})})}),(0,a.jsxs)("div",{className:"relative z-10 space-y-2",children:[(0,a.jsx)("h3",{className:"font-serif-luxury text-base font-bold text-white line-clamp-2 leading-snug drop-shadow-sm group-hover:text-[#EFB8B0] transition-colors",children:e.title}),(0,a.jsx)("p",{className:"text-[11px] text-white/80 line-clamp-1",children:e.subtitle}),(0,a.jsxs)("div",{className:"pt-2 border-t border-white/15 flex items-center justify-between text-white/90",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 text-xs",children:[(0,a.jsxs)("button",{type:"button",onClick:t=>R(e.id,t),className:"flex items-center gap-1 hover:text-[#EFB8B0] transition-colors",children:[(0,a.jsx)(d.A,{className:`w-3.5 h-3.5 ${t?"fill-red-500 text-red-500":""}`}),(0,a.jsx)("span",{className:"text-[10px] font-medium",children:e.likes})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(m.A,{className:"w-3.5 h-3.5"}),(0,a.jsx)("span",{className:"text-[10px] font-medium",children:e.comments})]})]}),(0,a.jsxs)("span",{className:"text-[10px] text-white/70 font-medium",children:[e.views," views"]})]})]})]},e.id)})}):(0,a.jsxs)("div",{className:"p-12 text-center rounded-3xl bg-[#FFF9F6] border border-dashed border-[#E7D1CC] text-[#786864]",children:[(0,a.jsx)(r.A,{className:"w-8 h-8 mx-auto mb-2 text-[#913638] opacity-60"}),(0,a.jsx)("p",{className:"font-serif-luxury font-bold text-lg text-[#3A211D]",children:"Fresh Stitches Coming Soon"}),(0,a.jsx)("p",{className:"text-xs text-[#786864] mt-1",children:"Our artisans are recording new behind-the-scenes reels. Check back shortly!"})]})]}),o&&(0,a.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-3 sm:p-6 bg-black/85 backdrop-blur-md animate-fadeIn",children:[(0,a.jsx)("div",{className:"absolute inset-0",onClick:$,"aria-hidden":"true"}),(0,a.jsxs)("div",{className:"relative z-10 w-full max-w-sm sm:max-w-md aspect-[9/16] max-h-[92vh] bg-black rounded-3xl overflow-hidden shadow-2xl border border-white/20 flex flex-col justify-between p-5",children:[o.videoUrl||o.video_url?(()=>{let e=o.videoUrl||o.video_url||"";return e&&(e.includes("instagram.com/reel/")||e.includes("instagram.com/p/")||e.includes("instagram.com/tv/"))?(0,a.jsx)("iframe",{src:function(e){try{let t=e.split("?")[0].replace(/\/+$/,"");return`${t}/embed/`}catch{return e}}(e),className:"absolute inset-0 w-full h-full border-0 z-0",allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share",allowFullScreen:!0}):e&&(e.includes("youtube.com")||e.includes("youtu.be"))?(0,a.jsx)("iframe",{src:function(e){try{if(e.includes("shorts/")){let t=e.split("shorts/")[1]?.split("?")[0]?.split("/")[0];return`https://www.youtube.com/embed/${t}?autoplay=1&loop=1&playsinline=1`}if(e.includes("watch?v=")){let t=e.split("watch?v=")[1]?.split("&")[0];return`https://www.youtube.com/embed/${t}?autoplay=1&loop=1&playsinline=1`}if(e.includes("youtu.be/")){let t=e.split("youtu.be/")[1]?.split("?")[0];return`https://www.youtube.com/embed/${t}?autoplay=1&loop=1&playsinline=1`}}catch{}return e}(e),className:"absolute inset-0 w-full h-full border-0 z-0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):(0,a.jsx)("video",{ref:P,src:e,poster:o.thumbnail,playsInline:!0,autoPlay:!0,loop:!0,muted:v,onTimeUpdate:K,onClick:H,className:"absolute inset-0 w-full h-full object-cover cursor-pointer"})})():(0,a.jsx)(i.default,{src:o.thumbnail,alt:o.title,fill:!0,className:"object-cover",priority:!0}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-black/20 to-black/70 pointer-events-none"}),(0,a.jsxs)("div",{className:"relative z-20 flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"relative w-8 h-8 rounded-full overflow-hidden border border-white/40",children:(0,a.jsx)(i.default,{src:o.author.avatar,alt:o.author.name,fill:!0,className:"object-cover"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"text-xs font-bold text-white leading-tight",children:o.author.name}),(0,a.jsx)("p",{className:"text-[10px] text-white/70",children:o.author.role})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("button",{onClick:()=>{P.current&&(P.current.muted=!v),N(e=>!e)},className:"w-8 h-8 rounded-full bg-black/50 backdrop-blur-md text-white flex items-center justify-center hover:bg-black/80 transition-colors","aria-label":"Toggle mute",children:v?(0,a.jsx)(h,{className:"w-4 h-4"}):(0,a.jsx)(p,{className:"w-4 h-4 text-[#EFB8B0]"})}),(0,a.jsx)("button",{onClick:$,className:"w-8 h-8 rounded-full bg-black/50 backdrop-blur-md text-white flex items-center justify-center hover:bg-black/80 transition-colors","aria-label":"Close modal",children:(0,a.jsx)(g.A,{className:"w-4 h-4"})})]})]}),(0,a.jsx)("button",{onClick:H,className:`relative z-20 self-center my-auto w-16 h-16 rounded-full bg-black/40 backdrop-blur-md border border-white/40 text-white flex items-center justify-center hover:scale-110 transition-all ${u?"opacity-0 hover:opacity-100":"opacity-100 scale-105"}`,"aria-label":u?"Pause video":"Play video",children:u?(0,a.jsx)(f,{className:"w-6 h-6"}):(0,a.jsx)(c,{className:"w-6 h-6 fill-current ml-1"})}),(0,a.jsxs)("div",{className:"relative z-20 flex items-end justify-between gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2 max-w-[78%]",children:[(0,a.jsx)("div",{className:"flex items-center gap-1.5 px-2.5 py-0.5 rounded-full bg-black/50 backdrop-blur-md text-white text-[10px] font-semibold w-fit border border-white/20",children:(0,a.jsx)("span",{children:o.category})}),(0,a.jsx)("h3",{className:"text-sm font-bold text-white leading-snug",children:o.title}),(0,a.jsx)("p",{className:"text-xs text-white/90 leading-relaxed line-clamp-3",children:o.caption}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-[10px] text-[#EFB8B0]",children:[(0,a.jsx)(w,{className:"w-3 h-3 shrink-0"}),(0,a.jsx)("span",{className:"truncate",children:o.audioTrack})]})]}),(0,a.jsxs)("div",{className:"flex flex-col items-center gap-3.5 text-white shrink-0",children:[(0,a.jsxs)("button",{onClick:e=>R(o.id,e),className:"flex flex-col items-center gap-1 group cursor-pointer",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-full bg-black/50 backdrop-blur-md flex items-center justify-center group-hover:bg-[#913638] transition-colors",children:(0,a.jsx)(d.A,{className:`w-5 h-5 ${q[o.id]?"fill-[#EFB8B0] text-[#EFB8B0]":"text-white"}`})}),(0,a.jsx)("span",{className:"text-[10px] font-semibold",children:q[o.id]?"Liked":o.likes})]}),(0,a.jsxs)("button",{className:"flex flex-col items-center gap-1 group cursor-pointer",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-full bg-black/50 backdrop-blur-md flex items-center justify-center group-hover:bg-[#913638] transition-colors",children:(0,a.jsx)(m.A,{className:"w-5 h-5 text-white"})}),(0,a.jsx)("span",{className:"text-[10px] font-semibold",children:o.comments})]}),(0,a.jsxs)("button",{onClick:e=>{var t;return t=o.id,void(e?.stopPropagation(),I(e=>({...e,[t]:!e[t]})))},className:"flex flex-col items-center gap-1 group cursor-pointer",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-full bg-black/50 backdrop-blur-md flex items-center justify-center group-hover:bg-[#913638] transition-colors",children:(0,a.jsx)(y.A,{className:`w-5 h-5 ${T[o.id]?"fill-[#EFB8B0] text-[#EFB8B0]":"text-white"}`})}),(0,a.jsx)("span",{className:"text-[10px] font-semibold",children:"Save"})]}),(0,a.jsxs)("button",{onClick:()=>{navigator.share&&navigator.share({title:o.title,text:o.subtitle,url:window.location.href}).catch(()=>{})},className:"flex flex-col items-center gap-1 group cursor-pointer",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-full bg-black/50 backdrop-blur-md flex items-center justify-center group-hover:bg-[#913638] transition-colors",children:(0,a.jsx)(j.A,{className:"w-5 h-5 text-white"})}),(0,a.jsx)("span",{className:"text-[10px] font-semibold",children:"Share"})]})]})]}),(0,a.jsx)("div",{onClick:e=>{if(e.stopPropagation(),P.current&&z>0){let t=e.currentTarget.getBoundingClientRect(),s=(e.clientX-t.left)/t.width;P.current.currentTime=s*z}},className:"relative z-20 w-full bg-white/20 hover:bg-white/30 h-1.5 rounded-full overflow-hidden mt-3 cursor-pointer transition-all",children:(0,a.jsx)("div",{className:"bg-[#EFB8B0] h-full rounded-full transition-all duration-100",style:{width:z>0?`${S/z*100}%`:u?"65%":"30%"}})}),(0,a.jsx)("button",{onClick:e=>{if(e?.stopPropagation(),!o||0===n.length)return;let t=(n.findIndex(e=>e.id===o.id)-1+n.length)%n.length;x(n[t]),b(!0),B(0);let s=n[t].id;s&&!D.current[s]&&(D.current[s]=!0,(0,_.Qk)(n[t].db_id||s))},className:"absolute -left-12 sm:-left-16 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full bg-white/20 hover:bg-white text-white hover:text-[#913638] backdrop-blur-md flex items-center justify-center transition-all hidden sm:flex cursor-pointer","aria-label":"Previous reel",children:(0,a.jsx)(k,{className:"w-6 h-6"})}),(0,a.jsx)("button",{onClick:e=>{if(e?.stopPropagation(),!o||0===n.length)return;let t=(n.findIndex(e=>e.id===o.id)+1)%n.length;x(n[t]),b(!0),B(0);let s=n[t].id;s&&!D.current[s]&&(D.current[s]=!0,(0,_.Qk)(n[t].db_id||s))},className:"absolute -right-12 sm:-right-16 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full bg-white/20 hover:bg-white text-white hover:text-[#913638] backdrop-blur-md flex items-center justify-center transition-all hidden sm:flex cursor-pointer","aria-label":"Next reel",children:(0,a.jsx)(C.A,{className:"w-6 h-6"})})]})]})]}):null}},3116:(e,t,s)=>{"use strict";s.d(t,{BrandStory:()=>g});var a=s(5155),l=s(2115),i=s(5772),r=s(8500),n=s.n(r),o=s(4757),c=s(6272),d=s(7973),m=s(6915),x=s(467),h=s(4734),u=s(7529);let p="/images/homepage/middleimg.png";function g(){let{media:e}=(0,h.r)(),t=e?.brandStory,s=(0,u.Me)(t?.desktop,p),[r,g]=l.useState(s);l.useEffect(()=>{g((0,u.Me)(t?.desktop,p))},[t?.desktop]);let b=t?.badge||"KNOTELLE Artisanal Crochet Craftsmanship",f=t?.title||"Every Stitch",v=t?.subtitle||"Has a Story",w=t?.description||"More than just crochet, we create memories, happiness and a little bit of magic.",y=t?.cta_text||"Read Our Story",j=t?.cta_link||"/about",N=t?.is_active!==!1,k=[{title:"Handmade with Love",icon:o.A},{title:"Premium Yarn Quality",icon:c.A},{title:"100% Pure Natural Cotton",icon:d.A},{title:"Happiness Guaranteed",icon:m.A}],C={heart:o.A,sparkles:c.A,leaf:d.A,smile:m.A},E=t?.features&&Array.isArray(t.features)&&t.features.length>0?t.features.map(e=>({title:e.title,icon:e.icon&&C[e.icon]?C[e.icon]:o.A})):k;return N?(0,a.jsxs)("section",{className:"relative w-full overflow-hidden bg-[#FCE9E5] border-y border-[#E7D1CC]/70 py-12 sm:py-16 lg:py-20",children:[(0,a.jsxs)("div",{className:"absolute inset-0 z-0 w-full h-full",children:[(0,a.jsx)(i.default,{src:r,alt:"KNOTELLE Artisanal Crochet Craftsmanship",fill:!0,quality:95,sizes:"100vw",className:"object-cover object-center lg:object-right",onError:()=>{r!==p&&g(p)}}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-[#FFF5F2]/95 via-[#FFF5F2]/85 sm:via-[#FFF5F2]/60 to-transparent w-full md:w-[60%]"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-l from-[#FFF5F2]/90 via-[#FFF5F2]/60 to-transparent w-full md:w-[45%] ml-auto hidden lg:block"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FFF5F2]/70 via-transparent to-transparent sm:hidden"})]}),(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-10 items-center justify-between",children:[(0,a.jsxs)("div",{className:"lg:col-span-6 space-y-4 sm:space-y-5 text-center lg:text-left flex flex-col items-center lg:items-start max-w-lg",children:[b&&(0,a.jsx)("span",{className:"text-[11px] sm:text-xs font-semibold uppercase tracking-wider text-[#A38F8B] font-sans block",children:b}),(0,a.jsxs)("h2",{className:"font-serif-luxury text-3xl sm:text-4xl lg:text-5xl font-bold text-[#2E211E] leading-[1.12] tracking-tight",children:[f," ",(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"text-[#913638] italic font-serif font-normal",children:v})]}),(0,a.jsx)("p",{className:"text-xs sm:text-sm md:text-base text-[#786864] leading-relaxed whitespace-pre-line",children:w}),y&&j&&(0,a.jsx)("div",{className:"pt-2",children:(0,a.jsxs)(n(),{href:(0,u.nT)(j),className:"inline-flex items-center gap-2 px-6 sm:px-7 py-3 rounded-full bg-[#913638] text-white text-xs sm:text-sm font-semibold hover:bg-[#74292B] shadow-xs hover:shadow-boutique-hover transition-all active:scale-[0.98]",children:[(0,a.jsx)("span",{children:y}),(0,a.jsx)(x.A,{className:"w-4 h-4"})]})})]}),(0,a.jsx)("div",{className:"lg:col-span-5 lg:col-start-8 space-y-3.5 sm:space-y-4",children:E.map((e,t)=>{let s=e.icon;return(0,a.jsxs)("div",{className:"flex items-center gap-3.5 px-4 py-2.5 sm:py-3 rounded-2xl bg-white/90 backdrop-blur-md border border-[#E7D1CC]/80 shadow-xs hover:shadow-md hover:border-[#913638]/40 transition-all",children:[(0,a.jsx)("div",{className:"w-9 h-9 sm:w-10 sm:h-10 rounded-full bg-[#FFF9F6] border border-[#E7D1CC] flex items-center justify-center text-[#913638] shrink-0 shadow-2xs",children:(0,a.jsx)(s,{className:"w-4 h-4 sm:w-4.5 sm:h-4.5"})}),(0,a.jsx)("span",{className:"text-xs sm:text-sm font-semibold text-[#2E211E]",children:e.title})]},t)})})]})})]}):null}},4551:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(1811);let l={name:"message-circle",size:24,node:[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]};l.node;let i=(0,a.A)(l)},5235:(e,t,s)=>{"use strict";s.d(t,{Newsletter:()=>d});var a=s(5155),l=s(2115),i=s(4962),r=s(467),n=s(1489),o=s(8221),c=s(4734);function d(){let{media:e}=(0,c.r)(),[t,s]=(0,l.useState)(""),[d,m]=(0,l.useState)(!1),{showToast:x}=(0,o.d)(),h=e?.newsletter?.title||"Join Our Creative Journey",u=e?.newsletter?.description||e?.newsletter?.subtitle||"Get updates on new products, offers and handmade stories.",p=e?.newsletter?.tag_text||"KNOTELLE10";return(e?.newsletter?.cta_text,e?.newsletter?.is_active===!1)?null:(0,a.jsx)("section",{className:"py-6 sm:py-8 bg-[#FFF9F6]",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsx)("div",{className:"rounded-2xl sm:rounded-3xl bg-[#FCE9E5] border border-[#E7D1CC]/80 p-5 sm:p-7 lg:py-6 lg:px-10 shadow-xs",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-5 lg:gap-6 items-center",children:[(0,a.jsxs)("div",{className:"lg:col-span-5 text-center lg:text-left space-y-1",children:[(0,a.jsx)("h2",{className:"font-serif-luxury text-2xl sm:text-3xl font-bold text-[#74292B] tracking-tight",children:h}),(0,a.jsx)("p",{className:"text-xs sm:text-sm text-[#786864]",children:u})]}),(0,a.jsx)("div",{className:"lg:col-span-4 flex justify-center lg:justify-start",children:d?(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-xl bg-white text-[#913638] text-xs font-semibold border border-[#E7D1CC] shadow-xs",children:[(0,a.jsx)(i.A,{className:"w-4 h-4 text-[#913638]"}),(0,a.jsx)("span",{children:"Welcome to the KNOTELLE family!"})]}):(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),t.trim()&&(m(!0),x("Subscribed! \uD83D\uDC8C",`Thank you for joining our creative family. Use code ${p} for 10% off!`,"success"),s(""))},className:"flex flex-col sm:flex-row items-stretch sm:items-center w-full max-w-md shadow-xs rounded-2xl sm:rounded-full overflow-hidden border border-[#E7D1CC] bg-white p-1 sm:p-0",children:[(0,a.jsx)("input",{type:"email",required:!0,value:t,onChange:e=>s(e.target.value),placeholder:"Your email address",className:"flex-1 px-4 py-2.5 bg-transparent text-xs sm:text-sm text-[#2E211E] placeholder-[#786864]/60 focus:outline-none"}),(0,a.jsxs)("button",{type:"submit",className:"px-5 sm:px-6 py-2.5 bg-[#913638] text-white text-xs sm:text-sm font-semibold hover:bg-[#74292B] rounded-full sm:rounded-none transition-colors shrink-0 flex items-center justify-center gap-1.5 active:scale-[0.98] cursor-pointer shadow-xs",children:[(0,a.jsx)("span",{children:"Subscribe"}),(0,a.jsx)(r.A,{className:"w-3.5 h-3.5"})]})]})}),(0,a.jsxs)("div",{className:"hidden lg:flex lg:col-span-3 items-center justify-end gap-3 text-right pt-0",children:[(0,a.jsx)(n.Sn,{className:"w-12 h-12 text-[#EFB8B0] shrink-0"}),(0,a.jsxs)("div",{className:"text-left",children:[(0,a.jsxs)("p",{className:"font-script-boutique text-base sm:text-lg font-bold text-[#913638] leading-tight",children:["A Kinder,",(0,a.jsx)("br",{}),"Cozier World."]}),(0,a.jsx)("span",{className:"text-xs text-[#913638] block",children:"♡"})]})]})]})})})})}},5668:(e,t,s)=>{Promise.resolve().then(s.bind(s,209)),Promise.resolve().then(s.bind(s,1504)),Promise.resolve().then(s.bind(s,2727)),Promise.resolve().then(s.bind(s,3116)),Promise.resolve().then(s.bind(s,6590)),Promise.resolve().then(s.bind(s,9793)),Promise.resolve().then(s.bind(s,765)),Promise.resolve().then(s.bind(s,8822)),Promise.resolve().then(s.bind(s,5235)),Promise.resolve().then(s.bind(s,6314))},5937:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(1811);let l={name:"share-2",size:24,node:[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]};l.node;let i=(0,a.A)(l)},6314:(e,t,s)=>{"use strict";s.d(t,{Testimonials:()=>o});var a=s(5155),l=s(2115),i=s(6572),r=s(4734);let n=[{id:"t-1",name:"Priya Sharma",designation:"Bengaluru, India",rating:5,review:"Absolutely in love with my crochet bouquet! The quality and detailing are breathtaking. It sits on my desk and brightens every single day."},{id:"t-2",name:"Ananya Verma",designation:"Delhi NCR, India",rating:5,review:"The bunny keychain is insanely cute! Perfect for gifting. Beautiful craftsmanship, soft milk cotton yarn, and a super sturdy gold clasp."},{id:"t-3",name:"Riya Patel",designation:"Ahmedabad, India",rating:5,review:"I ordered the vintage granny square tote and it turned out even more gorgeous in person. Sturdy straps and lovely artisan stitchwork!"},{id:"t-4",name:"Sneha Mukherjee",designation:"Kolkata, India",rating:5,review:"The sunflower stem looks forever fresh! The wired petals hold shape beautifully and the warm color tone is so cheerful."},{id:"t-5",name:"Kavita Desai",designation:"Mumbai, India",rating:5,review:"My morning coffee feels so aesthetic with this tulip mug cozy! It protects my hands and feels velvety soft to hold."},{id:"t-6",name:"Tanvi Joshi",designation:"Pune, India",rating:5,review:"The daisy phone sleeve fits my phone snugly with soft velvet yarn protection. Loved the boutique packaging and handwritten note!"}];function o(){let{media:e}=(0,r.r)(),[t,s]=(0,l.useState)(0),[o,c]=(0,l.useState)(!1),d=(0,l.useMemo)(()=>e?.testimonials&&Array.isArray(e.testimonials)&&e.testimonials.length>0?e.testimonials.map(e=>({id:`t-db-${e.id}`,name:e.name,designation:e.designation||"Verified Patron",rating:Number(e.rating)||5,review:e.message})):n,[e?.testimonials]);(0,l.useEffect)(()=>{if(d.length<=3)return;let e=setInterval(()=>{c(!0),setTimeout(()=>{s(e=>(e+1)%d.length),c(!1)},250)},2500);return()=>clearInterval(e)},[d.length]);let m=(0,l.useMemo)(()=>{if(d.length<=3)return d;let e=[];for(let s=0;s<3;s++)e.push(d[(t+s)%d.length]);return e},[d,t]);return(0,a.jsx)("section",{className:"py-14 sm:py-18 bg-[#FFF9F6] relative overflow-hidden",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"text-center max-w-xl mx-auto mb-10",children:[(0,a.jsx)("h2",{className:"font-serif-luxury text-2xl sm:text-3xl lg:text-4xl font-bold text-[#2E211E]",children:"What Our Customers Say"}),(0,a.jsx)("p",{className:"text-xs sm:text-sm text-[#786864] mt-1",children:"Real people. Real stories. Real happiness."})]}),(0,a.jsxs)("div",{className:"relative max-w-5xl mx-auto",children:[(0,a.jsx)("div",{className:`grid grid-cols-1 md:grid-cols-3 gap-5 sm:gap-6 transition-all duration-300 ease-in-out ${o?"opacity-30 scale-[0.98]":"opacity-100 scale-100"}`,children:m.map((e,s)=>{let l=(e.name||"K").trim().charAt(0).toUpperCase();return(0,a.jsxs)("div",{className:"bg-white rounded-3xl border border-[#E7D1CC] p-6 shadow-boutique flex flex-col justify-between hover:shadow-md hover:border-[#EFB8B0] transition-all duration-200 group",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-3.5",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-2xl bg-gradient-to-br from-[#FCE9E5] to-[#F7D8D3] border border-[#E7D1CC] text-[#913638] flex items-center justify-center font-bold text-sm shadow-2xs shrink-0",children:l}),(0,a.jsxs)("div",{className:"truncate flex-1",children:[(0,a.jsx)("div",{className:"flex items-center justify-between gap-1",children:(0,a.jsx)("h3",{className:"text-xs sm:text-sm font-bold text-[#2E211E] truncate",children:e.name})}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-0.5",children:[(0,a.jsx)(i.G,{rating:e.rating,size:"sm"}),(0,a.jsx)("span",{className:"text-[10px] text-[#A89895] truncate",children:e.designation||"Verified Patron"})]})]})]}),(0,a.jsxs)("p",{className:"text-xs text-[#786864] leading-relaxed mb-4 italic min-h-[56px]",children:["“",e.review,"”"]})]}),(0,a.jsxs)("div",{className:"pt-3 border-t border-[#E7D1CC]/60 flex items-center justify-between",children:[(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-[10px] font-bold text-[#913638] bg-[#FCE9E5]/60 px-2.5 py-1 rounded-full border border-[#E7D1CC]/60",children:[(0,a.jsx)("svg",{className:"w-3 h-3 text-[#913638]",fill:"currentColor",viewBox:"0 0 20 20",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})}),"Verified Patron"]}),(0,a.jsx)("span",{className:"text-[10px] text-[#A89895] font-semibold truncate max-w-[120px]",children:e.designation||"Handmade Keepsake"})]})]},`${e.id}-${t}-${s}`)})}),d.length>3&&(0,a.jsx)("div",{className:"flex justify-center items-center gap-2 mt-8",children:d.map((e,l)=>(0,a.jsx)("button",{onClick:()=>{c(!0),setTimeout(()=>{s(l),c(!1)},200)},className:`h-1.5 rounded-full transition-all duration-300 cursor-pointer ${t===l?"w-6 bg-[#913638]":"w-2 bg-[#E7D1CC] hover:bg-[#EFB8B0]"}`,"aria-label":`Go to customer review ${l+1}`},l))})]})]})})}},6590:(e,t,s)=>{"use strict";s.d(t,{CategoryGrid:()=>c});var a=s(5155);s(2115);var l=s(5772),i=s(8500),r=s.n(i),n=s(7007),o=s(4734);function c(){let{media:e}=(0,o.r)(),t=e?.categories&&e.categories.length>0?e.categories:[],s=e?.categorySection,i=s?.title||"Shop by Category",c=s?.subtitle||"Explore our wide range of handmade crochet products.",d=s?.tag_text||"\uD83C\uDF38";return s?.is_active===!1||0===t.length?null:(0,a.jsx)("section",{className:"py-14 sm:py-18 bg-[#FFF9F6]",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"text-center max-w-2xl mx-auto mb-10 sm:mb-12",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2 mb-1.5",children:[(0,a.jsx)("span",{className:"h-px w-10 bg-[#E7D1CC]"}),(0,a.jsx)("span",{className:"text-xs text-[#913638]",children:d}),(0,a.jsx)("h2",{className:"font-serif-luxury text-2xl sm:text-3xl lg:text-4xl font-bold text-[#2E211E] tracking-tight",children:i}),(0,a.jsx)("span",{className:"text-xs text-[#913638]",children:d}),(0,a.jsx)("span",{className:"h-px w-10 bg-[#E7D1CC]"})]}),c&&(0,a.jsx)("p",{className:"text-xs sm:text-sm text-[#786864]",children:c})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-3 sm:gap-4 md:gap-6",children:[t.map(e=>(0,a.jsxs)(r(),{href:`/category/${e.slug}`,className:"group flex flex-col items-center text-center p-2 sm:p-3 rounded-2xl transition-all duration-300 transform hover:-translate-y-1",children:[(0,a.jsx)("div",{className:"relative w-20 h-20 sm:w-24 sm:h-24 md:w-28 md:h-28 rounded-full overflow-hidden bg-[#FCE9E5] border-2 border-[#E7D1CC]/80 group-hover:border-[#913638] shadow-xs group-hover:shadow-md transition-all p-1 mb-2",children:(0,a.jsx)("div",{className:"relative w-full h-full rounded-full overflow-hidden",children:(0,a.jsx)(l.default,{src:e.image||"/images/logo/Logo_1.png",alt:e.name,fill:!0,sizes:"(max-width: 640px) 80px, (max-width: 1024px) 110px, 140px",className:"object-cover group-hover:scale-110 transition-transform duration-500"})})}),(0,a.jsx)("h3",{className:"font-serif-luxury text-xs sm:text-sm md:text-base font-bold text-[#2E211E] group-hover:text-[#913638] transition-colors line-clamp-1",children:e.name}),(0,a.jsx)("span",{className:"text-[10px] sm:text-[11px] text-[#786864] group-hover:text-[#913638] font-medium mt-0.5 transition-colors",children:e.priceFrom||(e.itemCount>0?`${e.itemCount} items`:"Explore →")})]},e.id||e.slug)),(0,a.jsxs)(r(),{href:"/shop",className:"group flex flex-col items-center text-center p-2 sm:p-3 rounded-2xl transition-all duration-300 transform hover:-translate-y-1",children:[(0,a.jsx)("div",{className:"relative w-20 h-20 sm:w-24 sm:h-24 md:w-28 md:h-28 rounded-full bg-[#FCE9E5] border-2 border-[#E7D1CC]/80 group-hover:border-[#913638] shadow-xs group-hover:shadow-md flex items-center justify-center text-[#913638] transition-all mb-2",children:(0,a.jsx)(n.A,{className:"w-8 h-8 sm:w-9 sm:h-9 md:w-10 md:h-10 stroke-[1.3] group-hover:scale-110 transition-transform"})}),(0,a.jsx)("h3",{className:"font-serif-luxury text-xs sm:text-sm md:text-base font-bold text-[#2E211E] group-hover:text-[#913638] transition-colors",children:"More"}),(0,a.jsx)("span",{className:"text-[10px] sm:text-[11px] text-[#786864] group-hover:text-[#913638] font-medium mt-0.5 transition-colors",children:"Explore All →"})]})]})]})})}},7625:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(1811);let l={name:"bookmark",size:24,node:[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]};l.node;let i=(0,a.A)(l)},8822:(e,t,s)=>{"use strict";s.d(t,{Hero:()=>x});var a=s(5155),l=s(2115),i=s(5772),r=s(8500),n=s.n(r),o=s(467),c=s(4734),d=s(7529);let m=[{id:1,titleLine1:"Little",titleLine2:"Stitches",titleHighlight:"Big Happiness",subtitle:"Handmade crochet products that add warmth to your everyday life.",cta_text:"Shop Now",cta_link:"/shop",secondary_cta_text:"Explore Collections",secondary_cta_link:"/shop",bgImage:"/images/hero/hero-enhanced.jpg",bgImageMobile:"/images/hero/hero-enhanced.jpg",cardNote:"Good Things Are Handmade",scriptAccent:"Yarn Crafts Happiness"},{id:2,titleLine1:"Everyday",titleLine2:"Elegance",titleHighlight:"Handcrafted Bags",subtitle:"Artisanal granny square bags & wearable creations woven with love.",cta_text:"Explore Bags",cta_link:"/shop",secondary_cta_text:"Shop Collections",secondary_cta_link:"/shop",bgImage:"/images/hero/2image.png",bgImageMobile:"/images/hero/2image.png",cardNote:"Every Stitch Has A Story",scriptAccent:"Handmade Boutique Quality"},{id:3,titleLine1:"Everlasting",titleLine2:"Blooms",titleHighlight:"Made With Love",subtitle:"Bespoke everlasting flower bouquets crafted to brighten every moment.",cta_text:"Shop Flowers",cta_link:"/shop",secondary_cta_text:"Explore Collections",secondary_cta_link:"/shop",bgImage:"/images/hero/3image.png",bgImageMobile:"/images/hero/3image.png",cardNote:"Crafted Just For You",scriptAccent:"Where Yarn Meets Art"},{id:4,titleLine1:"Bespoke",titleLine2:"Creations",titleHighlight:"Custom Crafted",subtitle:"Personalized crochet treasures tailored specially for your memorable moments.",cta_text:"Request Custom Order",cta_link:"/custom-order",secondary_cta_text:"Shop Now",secondary_cta_link:"/shop",bgImage:"/images/hero/4image.png",bgImageMobile:"/images/hero/4image.png",cardNote:"Pure Artisan Warmth",scriptAccent:"Customized With Love"}];function x(){let{media:e}=(0,c.r)(),[t,s]=(0,l.useState)(0),r=(0,l.useMemo)(()=>e?.hero?.slides&&e.hero.slides.length>0?e.hero.slides.map((e,t)=>{let s=m[t%m.length],a=(e.title||s.titleHighlight).trim().split(/\s+/),l=a[0]||s.titleLine1,i=a.length>2?a[1]:2===a.length?a[0]:s.titleLine2,r=a.length>2?a.slice(2).join(" "):2===a.length?a[1]:e.title||s.titleHighlight;return{id:e.id||t+1,titleLine1:l,titleLine2:i,titleHighlight:r,subtitle:e.description||e.subtitle||s.subtitle,cta_text:e.primary_button_text||e.cta_text||"Shop Now",cta_link:e.primary_button_link||e.cta_link||"/shop",secondary_cta_text:e.secondary_button_text||e.secondary_cta_text||"Explore Collections",secondary_cta_link:e.secondary_button_link||e.secondary_cta_link||"/shop",bgImage:(0,d.Me)(e.desktop_image||e.desktop,s.bgImage),bgImageMobile:(0,d.Me)(e.mobile_image||e.mobile||e.desktop_image||e.desktop,s.bgImageMobile),cardNote:e.tagline||e.tag_text||s.cardNote,scriptAccent:e.tagline||e.tag_text||s.scriptAccent}}):m,[e?.hero?.slides]);(0,l.useEffect)(()=>{if(r.length<=1)return;let e=setInterval(()=>{s(e=>(e+1)%r.length)},2e3);return()=>clearInterval(e)},[r.length]);let x=r[t]||r[0]||m[0];return(0,a.jsx)("section",{className:"relative w-full overflow-hidden bg-[#FFF9F6] border-b border-[#E7D1CC]/60",children:(0,a.jsxs)("div",{className:"relative w-full min-h-[440px] sm:min-h-[520px] md:min-h-[580px] lg:min-h-[640px] xl:min-h-[700px] flex items-center",children:[r.map((e,s)=>(0,a.jsxs)("div",{className:`absolute inset-0 z-0 w-full h-full transition-opacity duration-700 ease-in-out ${t===s?"opacity-100 z-10":"opacity-0 z-0 pointer-events-none"}`,children:[(0,a.jsxs)("picture",{children:[e.bgImageMobile&&(0,a.jsx)("source",{media:"(max-width: 640px)",srcSet:e.bgImageMobile}),(0,a.jsx)(i.default,{src:e.bgImage,alt:e.titleHighlight,fill:!0,priority:0===s,quality:100,sizes:"100vw",className:"object-cover object-right sm:object-center lg:object-right transform scale-100 transition-transform duration-3000"})]}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-[#FFF5F2]/95 via-[#FFF5F2]/85 sm:via-[#FFF5F2]/70 md:via-[#FFF5F2]/50 to-transparent w-full md:w-[65%] lg:w-[55%]"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#FFF5F2]/60 via-transparent to-transparent sm:hidden"})]},e.id)),(0,a.jsxs)("div",{className:"absolute top-4 right-10 sm:top-8 sm:right-16 lg:right-24 text-center hidden sm:block z-20 pointer-events-none select-none transition-all duration-500",children:[(0,a.jsx)("span",{className:"font-script-boutique text-2xl sm:text-3xl lg:text-4xl font-bold text-[#913638] drop-shadow-xs",children:x.scriptAccent}),(0,a.jsx)("span",{className:"text-xs sm:text-sm text-[#913638] block mt-0.5",children:"♡"})]}),(0,a.jsx)("div",{className:"relative z-20 w-full max-w-7xl mx-auto px-4 sm:px-8 lg:px-12 py-10 sm:py-16",children:(0,a.jsxs)("div",{className:"max-w-xl lg:max-w-2xl space-y-4 sm:space-y-6",children:[(0,a.jsxs)("h1",{className:"font-serif-luxury text-2xl sm:text-4xl md:text-5xl lg:text-[64px] font-bold text-[#2E211E] leading-[1.08] tracking-tight transition-all duration-500",children:[x.titleLine1," ",(0,a.jsx)("br",{}),x.titleLine2," ",(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"text-[#913638] italic font-serif font-normal",children:x.titleHighlight})]}),(0,a.jsx)("p",{className:"text-xs sm:text-sm md:text-base lg:text-lg text-[#786864] font-normal leading-relaxed max-w-md lg:max-w-lg transition-all duration-500",children:x.subtitle}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2.5 sm:gap-4 pt-1 sm:pt-2",children:[(0,a.jsxs)(n(),{href:x.cta_link||"/shop",className:"px-5 sm:px-8 py-2.5 sm:py-3.5 rounded-full bg-[#913638] text-white text-xs sm:text-sm md:text-base font-semibold hover:bg-[#74292B] shadow-xs hover:shadow-boutique-hover transition-all flex items-center justify-center gap-2 group active:scale-[0.98]",children:[(0,a.jsx)("span",{children:x.cta_text||"Shop Now"}),(0,a.jsx)(o.A,{className:"w-3.5 h-3.5 sm:w-4 sm:h-4 group-hover:translate-x-1 transition-transform"})]}),(0,a.jsx)(n(),{href:x.secondary_cta_link||"/shop",className:"px-5 sm:px-8 py-2.5 sm:py-3.5 rounded-full bg-white/95 backdrop-blur-xs text-[#2E211E] border border-[#E7D1CC] hover:bg-[#FCE9E5] hover:text-[#913638] hover:border-[#EFB8B0] text-xs sm:text-sm md:text-base font-semibold shadow-xs transition-all flex items-center justify-center active:scale-[0.98]",children:(0,a.jsx)("span",{children:x.secondary_cta_text||"Explore Collections"})})]})]})})]})})}},9793:(e,t,s)=>{"use strict";s.d(t,{CustomBanner:()=>m});var a=s(5155);s(2115);var l=s(5772),i=s(8500),r=s.n(i),n=s(467),o=s(1489),c=s(4734),d=s(7529);function m(){let{media:e}=(0,c.r)(),t=e?.customCrochet,s=(0,d.Me)(t?.desktop,"/images/homepage/middleimg.png"),i=t?.mobile?(0,d.Me)(t?.mobile):null,m=t?.title||"Custom Crochet",x=t?.subtitle||"Just for You",h=t?.description||"Your imagination, our yarn. \nLet's create something special together.",u=t?.cta_text||"Request Your Custom Order",p=t?.cta_link||"/custom-order",g=t?.tag_text||"Turn Your Ideas Into Handmade Reality",b=t?.tag_active!==!1,f=t?.alt_text||"Custom Crochet Banner";return t?.is_active===!1?null:(0,a.jsx)("section",{className:"py-6 sm:py-8 bg-[#FFF9F6]",children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsx)("div",{className:"relative rounded-3xl bg-[#FCE9E5] border border-[#E7D1CC] p-8 sm:p-10 lg:p-12 overflow-hidden shadow-boutique",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-8 items-center relative z-10",children:[(0,a.jsxs)("div",{className:"lg:col-span-7 space-y-4 text-center lg:text-left flex flex-col items-center lg:items-start",children:[(0,a.jsxs)("h2",{className:"font-serif-luxury text-3xl sm:text-4xl lg:text-5xl font-bold text-[#2E211E] tracking-tight leading-[1.15]",children:[m," ",(0,a.jsx)("br",{}),x&&(0,a.jsx)("span",{className:"text-[#913638] italic font-serif font-normal",children:x})]}),(0,a.jsx)("p",{className:"text-xs sm:text-sm text-[#786864] max-w-md leading-relaxed whitespace-pre-line",children:h}),u&&p&&(0,a.jsx)("div",{className:"pt-2",children:(0,a.jsxs)(r(),{href:p,className:"inline-flex items-center gap-2 px-6 sm:px-7 py-3 rounded-full bg-[#913638] text-white text-xs sm:text-sm font-semibold hover:bg-[#74292B] shadow-xs hover:shadow-boutique-hover transition-all group active:scale-[0.98]",children:[(0,a.jsx)("span",{children:u}),(0,a.jsx)(n.A,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})})]}),(0,a.jsx)("div",{className:"lg:col-span-5 relative flex justify-center",children:(0,a.jsxs)("div",{className:"relative w-full max-w-xs sm:max-w-sm aspect-[4/3] rounded-2xl overflow-hidden border-2 border-white shadow-md bg-white",children:[(0,a.jsxs)("picture",{children:[i&&(0,a.jsx)("source",{media:"(max-width: 640px)",srcSet:i}),(0,a.jsx)(l.default,{src:s,alt:f||`${m} - ${x}`,fill:!0,sizes:"(max-width: 1024px) 80vw, 35vw",className:"object-cover"})]}),b&&g&&(0,a.jsx)("div",{className:"absolute bottom-2 right-2 z-10",children:(0,a.jsx)(o.Jp,{text:g})})]})})]})})})})}}},e=>{e.O(0,[422,8437,2077,7529,1507,6218,8979,8441,3794,7358],()=>e(e.s=5668)),_N_E=e.O()}]);