"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3829],{63829:(e,r,t)=>{t.r(r),t.d(r,{default:()=>S});var o=t(95155),a=t(12115),s=t(20063),l=t(73155),n=t(67161),i=t(97378),d=t(20064),c=t(67333),m=t(93499),f=t(37494),h=t(59427),x=t(15239),b=t(52619),p=t.n(b),g=t(5379),u=t(25396),y=t(5421),j=t(80143),v=t(22660),N=t(12976),k=t(32985),w=t(67107),A=t(34170);function C(e,r){return e?"string"==typeof e?e:e[r]||e.en||Object.values(e)[0]||"":""}let P={facebook:l.A,instagram:n.A,twitter:i.A,youtube:d.A,linkedin:c.A};function S(){let{config:e}=(0,v.Ku)(),{t:r}=(0,N.k)(),t=(0,s.usePathname)(),{setTheme:l,resolvedTheme:n}=(0,g.D)(),[i,d]=(0,a.useState)(!1),{locales:c,defaultLocale:b}=(0,A.B)(),S=t.split("/")[1]||"",T=S&&/^[a-z]{2,3}$/.test(S)&&c.includes(S)?S:b;if((0,a.useEffect)(()=>{d(!0)},[]),!e)return null;let{siteConfig:M}=e,_=M.business||{},q=_.stores||[],D=M.links||{},E=C(_.companyName,T)||M.name,L=C(_.companyTagline,T)||C(M.slogan,T)||M.description,O=("dark"===n?M.logoDark:M.logoLight)||M.logo||`https://ui-avatars.com/api/?name=${encodeURIComponent(_.logoText||M.shortName?.substring(0,2).toUpperCase()||"PS")}&background=random&color=fff&size=128`,U=C(_.copyright,T)||`\xa9 ${new Date().getFullYear()} ${E}. All rights reserved.`,$={information:r("footer.information","Information"),delivery:r("footer.delivery","Delivery"),faq:r("footer.faq","FAQ"),guarantee:r("footer.guarantee","Guarantee"),privacy:r("footer.privacy","Privacy Policy"),returns:r("footer.returns","Returns"),stores:r("footer.stores","Stores"),terms:r("footer.terms","Terms & Conditions"),about:r("footer.about","About Us"),help:r("footer.help","Help"),contact:r("footer.contact","Contact Us"),hours:r("footer.hours","Working Hours"),cookiePolicy:r("footer.cookiePolicy","Cookie Policy"),legal:r("footer.legal","Legal"),email:r("footer.email","Email"),visitStores:r("footer.visitStores","Our Locations"),selectStore:r("footer.selectStore","Select store"),address:r("footer.address","Address"),mapTitle:r("footer.mapTitle","{{storeName}} on map"),paymentMethods:r("footer.paymentMethods","We accept")},H=Object.entries(P).filter(([e])=>!!D[e]);return(0,o.jsxs)("footer",{className:"bg-background text-foreground border-t border-border",children:[(0,o.jsx)("div",{className:"h-1 w-full bg-brand-primary"}),(0,o.jsx)(y.A,{business:_,currentLocale:T,stores:q,variant:2}),(0,o.jsx)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-12",children:(0,o.jsxs)("div",{className:"grid grid-cols-1 gap-10 md:grid-cols-2 lg:grid-cols-5",children:[(0,o.jsxs)("div",{className:"lg:col-span-2 space-y-5",children:[(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-xl ring-1 ring-border bg-muted",children:i&&(0,o.jsx)(x.default,{fill:!0,alt:E,className:"object-contain",src:O})}),(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:"font-heading text-base font-bold leading-tight",children:E}),L&&(0,o.jsx)("p",{className:"font-primary text-xs text-muted-foreground mt-0.5",children:L})]})]}),H.length>0&&(0,o.jsxs)("div",{className:"flex flex-wrap gap-2",children:[H.map(([e,r])=>(0,o.jsx)("a",{"aria-label":e,className:"flex h-9 w-9 items-center justify-center rounded-lg border border-border bg-muted text-foreground transition-all hover:border-brand-primary hover:bg-brand-primary hover:text-white",href:D[e],rel:"noopener noreferrer",target:"_blank",children:(0,o.jsx)(r,{className:"h-4 w-4"})},e)),Object.entries(D).filter(([e,r])=>!P[e]&&!!r).map(([e,r])=>(0,o.jsx)("a",{"aria-label":e,className:"flex h-9 w-9 items-center justify-center rounded-lg border border-border bg-muted text-foreground transition-all hover:border-brand-primary hover:bg-brand-primary hover:text-white",href:r,rel:"noopener noreferrer",target:"_blank",children:(0,o.jsx)(m.A,{className:"h-4 w-4"})},e))]})]}),[{title:$.information,links:[{label:$.delivery,href:(0,k.nb)("/info/delivery",T)},{label:$.stores,href:(0,k.nb)("/info/stores",T)},{label:$.about,href:(0,k.nb)("/info/about",T)}]},{title:$.help,links:[{label:$.faq,href:(0,k.nb)("/info/faq",T)},{label:$.returns,href:(0,k.nb)("/info/return-policy",T)},{label:$.guarantee,href:(0,k.nb)("/info/guarantee",T)}]},{title:$.legal,links:[{label:$.privacy,href:(0,k.nb)("/info/privacy-policy",T)},{label:$.terms,href:(0,k.nb)("/info/terms-and-conditions",T)},{label:$.cookiePolicy,href:(0,k.nb)("/cookie-policy",T)}]}].map(({title:e,links:r})=>(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:"font-heading mb-4 text-[10px] font-bold uppercase tracking-widest text-brand-primary",children:e}),(0,o.jsx)("ul",{className:"space-y-3",children:r.map(({label:e,href:r})=>(0,o.jsx)("li",{children:(0,o.jsxs)(p(),{className:"font-primary group inline-flex items-center gap-2 text-sm text-muted-foreground transition-colors hover:text-foreground",href:r,children:[(0,o.jsx)("span",{className:"h-px w-0 shrink-0 bg-brand-primary transition-all duration-200 group-hover:w-3"}),e]})},r))})]},e))]})}),_.paymentMethods&&_.paymentMethods.length>0&&(0,o.jsx)("div",{className:"border-t border-border",children:(0,o.jsx)("div",{className:"mx-auto max-w-7xl px-4 py-4 sm:px-6 lg:px-8",children:(0,o.jsx)(j.Ay,{align:"between",label:$.paymentMethods,methods:_.paymentMethods})})}),(0,o.jsx)("div",{className:"border-t border-border",children:(0,o.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col items-center justify-between gap-3 px-4 py-4 sm:flex-row sm:px-6 lg:px-8",children:[(0,o.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:gap-6",children:[(0,o.jsx)("p",{className:"font-primary text-xs text-muted-foreground",children:U}),(0,o.jsx)(u.A,{})]}),(0,o.jsxs)("div",{className:"flex items-center gap-2",children:[(0,o.jsx)("button",{"aria-label":r("footer.toggleTheme","Toggle theme"),className:"flex h-8 w-8 items-center justify-center rounded-lg border border-border bg-muted text-foreground transition-colors hover:border-brand-primary hover:text-brand-primary",onClick:()=>l("light"===n?"dark":"light"),children:"light"===n?(0,o.jsx)(f.A,{className:"h-3.5 w-3.5"}):(0,o.jsx)(h.A,{className:"h-3.5 w-3.5"})}),c.length>1&&(0,o.jsx)("div",{className:"rounded-lg border border-border",children:(0,o.jsx)(w.H,{})})]})]})})]})}}}]);