1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vendor-sonner-B4xRPcGp.js","assets/vendor-react-DfuUMW5T.js","assets/Servicios-B8ICWtR1.js","assets/vendor-motion-ClrvqLdR.js","assets/Nosotros-B6jmeC3T.js","assets/Recursos-CrzFaho7.js","assets/Blog-B9phnN03.js","assets/Alianza-MmQBdW7z.js"])))=>i.map(i=>d[i]); 2import{j as e,A as X,m as F}from"./vendor-motion-ClrvqLdR.js";import{r as Fo}from"./vendor-sonner-B4xRPcGp.js";import{r as p,L as q,u as Qt,d as Re,R as eo,f as Do,e as zo,B as Ao,b as Lo,a as xe}from"./vendor-react-DfuUMW5T.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const a of n)if(a.type==="childList")for(const c of a.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function r(n){const a={};return n.integrity&&(a.integrity=n.integrity),n.referrerPolicy&&(a.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?a.credentials="include":n.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(n){if(n.ep)return;n.ep=!0;const a=r(n);fetch(n.href,a)}})();var Te={},wt;function No(){if(wt)return Te;wt=1;var t=Fo();return Te.createRoot=t.createRoot,Te.hydrateRoot=t.hydrateRoot,Te}var Ro=No();const Bo="modulepreload",To=function(t){return"/"+t},kt={},fe=function(o,r,i){let n=Promise.resolve();if(r&&r.length>0){let c=function(m){return Promise.all(m.map(g=>Promise.resolve(g).then(w=>({status:"fulfilled",value:w}),w=>({status:"rejected",reason:w}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),s=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));n=c(r.map(m=>{if(m=To(m),m in kt)return;kt[m]=!0;const g=m.endsWith(".css"),w=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${w}`))return;const I=document.createElement("link");if(I.rel=g?"stylesheet":Bo,g||(I.as="script"),I.crossOrigin="",I.href=m,s&&I.setAttribute("nonce",s),document.head.appendChild(I),g)return new Promise((v,h)=>{I.addEventListener("load",v),I.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${m}`)))})}))}function a(c){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=c,window.dispatchEvent(l),!l.defaultPrevented)throw c}return n.then(c=>{for(const l of c||[])l.status==="rejected"&&a(l.reason);return o().catch(a)})},K={ink:"#0F0F0D",inkSoft:"#1C1C19",inkMuted:"#3A3A36",cream:"#F7F4EC",sig:"#6B9E1F",sigDark:"#4E7815",sigLight:"#C8E095",sigXLight:"#E8F3D4",blue:"#2E4B9E"},to={display:"'Montserrat', system-ui, sans-serif",sans:"'Montserrat', system-ui, sans-serif"};function G(t,o){return`data:image/svg+xml;utf8,${encodeURIComponent(`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'> 3 <defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'> 4 <stop offset='0' stop-color='hsl(${o},20%,22%)'/> 5 <stop offset='1' stop-color='hsl(${o},30%,10%)'/> 6 </linearGradient></defs> 7 <rect width='400' height='300' fill='url(#g)'/>
8 <circle cx='200' cy='130' r='60' fill='hsl(${o},70%,65%)' opacity='0.35'/> 9 <circle cx='200' cy='130' r='35' fill='hsl(${o},80%,78%)' opacity='0.55'/> 10 <text x='200' y='230' fill='rgba(255,255,255,0.75)' font-family='Montserrat,sans-serif' font-size='14' font-weight='600' text-anchor='middle' letter-spacing='2'>${t}</text> 11 </svg>`)}`}const oo=[{id:"art-emp-7w",model:"ART-EMP-007",name:"Empotrable Artlite Pro 7W",brand:"Artlite",cat:"Empotrables",application:"Residencial · Interior",sku:"ART-EMP-007-30K",slug:"empotrable-artlite-pro-7w",description:"Empotrable LED de 7W para techos de yeso. Acabado blanco mate, haz ajustable 30°.",watts:"7W",lm:"700 lm",temp:"3000K",cri:"CRI 92+",ip:"IP20",powerW:7,hue:55,mainImage:G("ART-EMP-007",55),img:G("ART-EMP-007",55)},{id:"art-panel-40w",model:"ART-PNL-40W",name:"Panel LED Artlite 60x60 40W",brand:"Artlite",cat:"Paneles LED",application:"Oficina · Comercial",sku:"ART-PNL-40W-40K",slug:"panel-led-artlite-60x60",description:"Panel LED de superficie uniforme para oficinas. Difusor opal de alta transmitancia.",watts:"40W",lm:"4 400 lm",temp:"4000K",cri:"CRI 90+",ip:"IP40",powerW:40,hue:45,mainImage:G("ART-PNL-40W",45),img:G("ART-PNL-40W",45)},{id:"win-tira-24v",model:"WIN-TRA-2400",name:"Tira LED WINLED24V Premium",brand:"WINLED",cat:"Tiras & Perfiles",application:"Decorativo · Lineal",sku:"WIN-TRA-2400-60K",slug:"tira-led-winles-24v",description:"Tira LED de alta densidad (120 LEDs/m) con perfil de aluminio incluido y difusor mate.",watts:"24W/m",lm:"2 400 lm/m",temp:"6000K",cri:"CRI 95+",ip:"IP65",powerW:24,hue:210,mainImage:G("WIN-TRA-2400",210),img:G("WIN-TRA-2400",210)},{id:"win-refl-50w",model:"WIN-REF-050",name:"Reflector WINLEDExterior 50W",brand:"WINLED",cat:"Reflectores",application:"Industrial · Exterior",sku:"WIN-REF-050-65K",slug:"reflector-winles-exterior-50w",description:"Reflector LED para exteriores con carcasa aluminio fundido. Apto para intemperie severa.",watts:"50W",lm:"6 000 lm",temp:"6500K",cri:"CRI 80+",ip:"IP66",powerW:50,hue:195,mainImage:G("WIN-REF-050",195),img:G("WIN-REF-050",195)},{id:"hnv-hb-150w",model:"HNV-HB-150W",name:"Campana High-Bay Hannover 150W",brand:"Hannover",cat:"Campanas",application:"Industrial · Almacén",sku:"HNV-HB-150W-65K",slug:"campana-highbay-hannover-150w",description:"Campana industrial de 150W para naves con alturas de 8-14m. Driver Meanwell incluido.",watts:"150W",lm:"19 500 lm",temp:"6500K",cri:"CRI 80+",ip:"IP65",powerW:150,hue:180,mainImage:G("HNV-HB-150W",180),img:G("HNV-HB-150W",180)},{id:"hnv-hb-200w",model:"HNV-HB-200W",name:"Campana High-Bay Hannover 200W",brand:"Hannover",cat:"Campanas",application:"Industrial · Almacén",sku:"HNV-HB-200W-65K",slug:"campana-highbay-hannover-200w",description:"Versión de 200W para instalaciones con alturas superiores a los 14m. Alta eficiencia 130 lm/W.",watts:"200W",lm:"26 000 lm",temp:"6500K",cri:"CRI 80+",ip:"IP65",powerW:200,hue:170,mainImage:G("HNV-HB-200W",170),img:G("HNV-HB-200W",170)},{id:"art-refl-100w",model:"ART-REF-100W",name:"Reflector Artlite Stadium 100W",brand:"Artlite",cat:"Reflectores",application:"Exterior · Deportivo",sku:"ART-REF-100W-57K",slug:"reflector-artlite-stadium-100w",description:"Reflector de alta potencia para campos deportivos y estadios. Ãptica asimétrica disponible.",watts:"100W",lm:"13 000 lm",temp:"5700K",cri:"CRI 90+",ip:"IP67",powerW:100,hue:80,mainImage:G("ART-REF-100W",80),img:G("ART-REF-100W",80)},{id:"win-solar-30w",model:"WIN-SOL-030",name:"Luminario Solar WINLED30W",brand:"WINLED",cat:"Solares",application:"Exterior · Ahorro",sku:"WIN-SOL-030-65K",slug:"luminario-solar-winles-30w",description:"Luminario solar todo-en-uno con sensor PIR. Panel monocristalino de alta eficiencia y baterÃa LiFePO4.",watts:"30W",lm:"3 600 lm",temp:"6500K",cri:"CRI 70+",ip:"IP65",powerW:30,hue:100,mainImage:G("WIN-SOL-030",100),img:G("WIN-SOL-030",100)},{id:"hnv-ctrl-dali",model:"HNV-CTR-DALI",name:"Controlador Hannover DALI 2.0",brand:"Hannover",cat:"Smart & Control",application:"Domótica · DALI",sku:"HNV-CTR-DALI-2",slug:"controlador-hannover-dali",description:"Controlador DALI 2.0 para sistemas de iluminación inteligente. Compatible con KNX y Modbus.",watts:"5W",lm:"â",temp:"â",cri:"â",ip:"IP20",powerW:5,hue:260,mainImage:G("HNV-CTR-DALI",260),img:G("HNV-CTR-DALI",260)},{id:"art-emp-15w-cob",model:"ART-EMP-015C",name:"Empotrable COB Artlite 15W",brand:"Artlite",cat:"Empotrables",application:"Arquitectónico · Acento",sku:"ART-EMP-015C-27K",slug:"empotrable-cob-artlite-15w",description:"Empotrable COB de alta CRI para iluminación de acento en museos y galerÃas de arte.",watts:"15W",lm:"1 500 lm",temp:"2700K",cri:"CRI 97+",ip:"IP20",powerW:15,hue:35,mainImage:G("ART-EMP-015C",35),img:G("ART-EMP-015C",35)},{id:"win-driver-100w",model:"WIN-DRV-100W",name:"Driver WINLEDDimeable 100W",brand:"WINLED",cat:"Acce
11sorios",application:"Drivers · Módulos",sku:"WIN-DRV-100W-CC",slug:"driver-winles-dimeable-100w",description:"Driver corriente constante dimeable (0-10V / TRIAC / DALI) para luminarios de hasta 100W.",watts:"100W",lm:"â",temp:"â",cri:"â",ip:"IP20",powerW:100,hue:220,mainImage:G("WIN-DRV-100W",220),img:G("WIN-DRV-100W",220)},{id:"hnv-refl-200w",model:"HNV-REF-200W",name:"Reflector Industrial Hannover 200W",brand:"Hannover",cat:"Reflectores",application:"Industrial · Exterior",sku:"HNV-REF-200W-65K",slug:"reflector-hannover-200w",description:"Reflector de 200W para perÃmetros industriales y parques logÃsticos. Aprobado NOM y UL.",watts:"200W",lm:"24 000 lm",temp:"6500K",cri:"CRI 80+",ip:"IP67",powerW:200,hue:160,mainImage:G("HNV-REF-200W",160),img:G("HNV-REF-200W",160)}],io="https://www.innlite.com/api",He="https://www.innlite.com/api/images/",Mo="https://www.innlite.com",Wo={"Corporativo & Oficina":["PANEL","GABINETE","TUBO","LUMINARIA","TECHO","INTERIOR"],"Retail & Hospitalidad":["DECORATIVO","COLGANTE","TIRA","PERFIL","KIT PERFIL","MANGUERA","AROS","EMPOTRAR","PREMIUM","LUXURY","POP-UP"],Industrial:["INDUSTRIAL","CAMPANA","REFLECTOR","PROFESIONAL"],"Exterior & Paisajismo":["EXTERIOR","SOLAR","PISO","JARDIN","PUNTA POSTE","PARED"],Residencial:["LAMPARA","SMART","CORTESIA","PLACA","PORTATIL"],Componentes:["COMPLEMENTO","ACCESORIO","ADAPTADOR","ELIMINADOR","MODULO","ENCHUFE","GFCI","12.0V","24.0V","127.0V"]};function Po(t){for(const[o,r]of Object.entries(Wo))if(r.includes(t))return o;return"General"}function de(t,...o){var r;for(const i of o){const n=(r=t.find(c=>c.label.toUpperCase()===i.toUpperCase()))==null?void 0:r.value;if(!n)continue;const a=n.trim();if(!["-","â","â","","N/A","n/a"].includes(a))return a}}function Et(t){if(!t)return{sm:"",lg:"",xl:""};if(t.startsWith("http"))return{sm:t,lg:t,xl:t};const o=t.replace(/\.[^/.]+$/,"");return{sm:`${He}${o}_400w.webp`,lg:`${He}${o}_800w.webp`,xl:`${He}${o}_1200w.webp`}}function qe(t){if(!t)return;if(t.startsWith("http"))return t;const o=`${Mo}/api/pdf`;if(t.startsWith("/"))return`${o}${t}`;const r=t.replace(/\.pdf$/i,"");return`${o}/${r}.pdf`}function ro(t){var A,P,z,T;if(!t.id)return console.error("[innlite] Producto sin ID recibido de la API:",t),null;let o=[],r=[],i=[];try{o=JSON.parse(t.specifications||"[]")}catch{console.warn(`[innlite] Specs rotos en SKU: ${t.sku}`)}try{r=JSON.parse(t.images||"[]")}catch{}try{i=JSON.parse(t.categories||"[]")}catch{console.warn(`[innlite] CategorÃas rotas en SKU: ${t.sku}`)}const a={ARTLITE:"Artlite",WINLES:"WINLED",WINLED:"WINLED",HANNOVER:"Hannover"}[(A=t.brand)==null?void 0:A.toUpperCase()]??"Artlite",c=r[0]??"",l=Et(c),s=r.map(N=>Et(N)),m=qe(t.technicalSheet),g=qe(t.ies??null),w=qe(t.instructive??null),I=de(o,"POTENCIA","WATTAJE"),v=parseFloat((I??"").replace(/[^0-9.]/g,""))||0,h=((P=i[0])==null?void 0:P.name)??"General";return{id:t.id,sku:t.sku,model:t.sku,slug:t.id,name:((z=t.name)==null?void 0:z.trim())||t.sku,brand:a,cat:h,macroCat:Po(h),application:de(o,"APLICACIÃN"),description:((T=t.description)==null?void 0:T.replace(/\n/g," ").trim())||"",mainImage:l.lg,img:l.sm,img_sm:l.sm,img_lg:l.lg,img_xl:l.xl,gallery:s,watts:I,lm:de(o,"FLUJO LUMINOSO","LÃMENES"),temp:de(o,"TEMPERATURA DE COLOR","TEMPERATURA"),cri:de(o,"CRI / IRC","CRI"),ip:de(o,"PROTECCIÃN IP","PROTECCIÃN"),powerW:v,type:de(o,"TIPO","TIPO DE PRODUCTO"),material:de(o,"MATERIAL"),dimensions:de(o,"DIMENSIONES","MEDIDAS"),specs:o.map(N=>{var D;const V=(D=N.value)==null?void 0:D.trim(),$=!V||["-","â","â","N/A","n/a"].includes(V);return[N.label,$?void 0:V]}).filter(N=>N[1]!==void 0),files:{pdf:m,ies:g,guide:w}}}let Ge=null,Ve=null;async function ao(){return Ge||(Ve||(Ve=(async()=>{const t=await Pe({page:1}),o=t.pagination.total_pages,r=await Promise.all(Array.from({length:o-1},(n,a)=>Pe({page:a+2}))),i=[t.data,...r.map(n=>n.data)].flat();return Ge=i,i})()),Ve)}function $o(t){const{page:o=1,limit:r=12,search:i="",brand:n="",category:a=""}=t;let c=[...oo];if(i){const m=i.toLowerCase();c=c.filter(g=>g.name.toLowerCase().includes(m)||g.sku.toLowerCase().includes(m))}n&&(c=c.filter(m=>m.brand.toLowerCase()===n.toLowerCase())),a&&(c=c.filter(m=>m.cat.toLowerCase().includes(a.toLowerCase())));const l=c.length,s=(o-1)*r;return{data:c.slice(s,s+r),pagination:{total:l,page:o,limit:r,total_pages:Math.max(1,Math.ceil(l/r))}}}function _o(t){const o=oo.find(r=>r.id===t);if(!o)throw console.warn(`[API] Product not found for id="${t}". Check that the link uses product.id.`),new Error("Producto no encontrado");return o}async function Pe(t={}){const{page:o=1,limit:r=1e3,search:i="",brand:n="",category:a=""}=t,c=new URLSearchParams;c.set("page",String(o)),c.set("limit",String(r)),i&&c.set("search",i),n&&c.set("brand",n.toUpperCase()),a&&c.set("category",a);try{const l=await fetch(`${io}/products?${c}`);if(!l.ok)throw new Error(`API error ${l.status}`);const s=await l.json();return{data:s.data.map(ro).filter(m=>m!==null),pagination:s.pagination}}
11catch(l){return console.warn("[innlite] API no disponible, usando datos de demostración:",l),$o(t)}}async function Oo(t){if(!t||t==="undefined")throw new Error("ID de producto inválido");try{const o=await fetch(`${io}/products/${t}`);if(o.ok){const n=await o.json(),a=ro(n);if(!a)throw new Error("Producto sin ID");return a}const i=(await ao()).find(n=>String(n.id)===String(t));if(!i)throw new Error("Producto no encontrado");return i}catch(o){return console.warn("[innlite] API no disponible, usando datos de demostración:",o),_o(t)}}function no(){const[t,o]=p.useState([]),[r,i]=p.useState(!0),[n,a]=p.useState(null);return p.useEffect(()=>{let c=!0;async function l(){try{i(!0);const s=await Pe({limit:50,page:1});let m=[...s.data];const g=s.pagination.total_pages;if(g>1){const w=[];for(let v=2;v<=g;v++)w.push(Pe({limit:50,page:v}));(await Promise.all(w)).forEach(v=>{m=[...m,...v.data]})}if(c){o(m),a(null);const w=m.filter(I=>!I.img);console.groupCollapsed(`ð¸ AuditorÃa: ${w.length} productos SIN imagen (Clic para ver)`),w.length>0?console.table(w.map(I=>({SKU:I.sku,Nombre:I.name,CategorÃa:I.cat}))):console.log("¡Felicidades! Todos los 511 productos tienen imagen...."),console.groupEnd()}}catch(s){c&&a(s.message)}finally{c&&i(!1)}}return l(),()=>{c=!1}},[]),{products:t,isLoading:r,error:n}}function Ho(){const[t,o]=p.useState([]);return p.useEffect(()=>{const a=localStorage.getItem("innlite_compare_list");if(a)try{o(JSON.parse(a))}catch(c){console.error("Error cargando comparativa",c)}},[]),p.useEffect(()=>{localStorage.setItem("innlite_compare_list",JSON.stringify(t))},[t]),{items:t,toggleItem:a=>{if(t.find(l=>l.id===a.id))o(l=>l.filter(s=>s.id!==a.id));else{if(t.length>=3){fe(async()=>{const{toast:l}=await import("./vendor-sonner-B4xRPcGp.js").then(s=>s.i);return{toast:l}},__vite__mapDeps([0,1])).then(({toast:l})=>{l.warning("LÃmite alcanzado",{description:"Solo puedes comparar hasta 3 productos a la vez."})});return}o(l=>[...l,a])}},removeItem:a=>{o(c=>c.filter(l=>l.id!==a))},clearList:()=>{o([])},count:t.length,isInCompare:a=>t.some(c=>c.id===a)}}function qo(){const[t,o]=p.useState(!1);return p.useEffect(()=>{const r=i=>{i.key==="k"&&(i.metaKey||i.ctrlKey)&&(i.preventDefault(),o(n=>!n))};return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[]),{isSearchOpen:t,setSearchOpen:o}}const Go=p.createContext({cartRef:{current:null},fireToast:()=>{}});function Vo({children:t,cartRef:o}){const r=({title:i,message:n,variant:a="info"})=>{fe(async()=>{const{toast:c}=await import("./vendor-sonner-B4xRPcGp.js").then(l=>l.i);return{toast:c}},__vite__mapDeps([0,1])).then(({toast:c})=>{a==="success"?c.success(i,{description:n}):a==="warning"?c.warning(i,{description:n}):a==="error"?c.error(i,{description:n}):c(i,{description:n})})};return e.jsx(Go.Provider,{value:{cartRef:o,fireToast:r},children:t})}const so=p.createContext(null),lo="innlitev7_quote_v1",Uo={projectName:"",projectType:"Comercial",city:"",timeline:"Inmediato",budget:"Por definir",notes:""},Ko={name:"",email:"",phone:"",company:""},Ue=()=>{try{const t=typeof window<"u"?window.localStorage.getItem(lo):null;return t?JSON.parse(t):null}catch{return null}},Jo=({children:t})=>{const[o,r]=p.useState(()=>{var h;return((h=Ue())==null?void 0:h.items)??[]}),[i,n]=p.useState(!1),[a,c]=p.useState(()=>{var h;return((h=Ue())==null?void 0:h.project)??Uo}),[l,s]=p.useState(()=>{var h;return((h=Ue())==null?void 0:h.customer)??Ko});p.useEffect(()=>{try{localStorage.setItem(lo,JSON.stringify({items:o,project:a,customer:l}))}catch{}},[o,a,l]);const m=h=>r(A=>A.find(z=>z.sku===h.sku)?A.map(z=>z.sku===h.sku?{...z,qty:z.qty+1}:z):[...A,{...h,qty:1}]),g=h=>r(A=>A.filter(P=>P.sku!==h)),w=(h,A)=>r(P=>P.map(z=>z.sku===h?{...z,qty:Math.max(1,A)}:z)),I=()=>r([]),v=p.useMemo(()=>({items:o,drawerOpen:i,project:a,customer:l,add:m,remove:g,setQty:w,clear:I,openDrawer:()=>n(!0),closeDrawer:()=>n(!1),setProject:c,setCustomer:s,count:o.length,totalUnits:o.reduce((h,A)=>h+A.qty,0),has:h=>o.some(A=>A.sku===h)}),[o,i,a,l]);return e.jsx(so.Provider,{value:v,children:t})},me=()=>{const t=p.useContext(so);if(!t)throw new Error("useQuote must be used within QuoteProvider");return t},co=p.createContext({theme:"light",toggle:()=>{},isDark:!1});function Yo({children:t}){const[o,r]=p.useState(()=>{try{return localStorage.getItem("innlite-theme")==="dark"?"dark":"light"}catch{return"light"}});p.useEffect(()=>{document.documentElement.classList.toggle("dark",o==="dark");try{localStorage.setItem("innlite-theme",o)}catch{}},[o]);const i=()=>r(n=>n==="light"?"dark":"light");return e.jsx(co.Provider,{value:{theme:o,toggle:i,isDark:o==="dark"},children:t})}const Xo=()=>p.useContext(co),Ke=[{text:"Representantes exclusivos de ARTLITE y WINLED en Occidente de México",href:"/nosotros",icon:e.jsx("svg",{viewBox:"0 0 20 20",fill:"currentColor",className:"w-3.5 h-3.5 shrink-0",children:e.jsx("path",{fillRule:"evenodd",d:"M16.403 12.652a3 3 0 0 0 0-5.304 3 3 0 0 0-3.75-3.751 3 3 0 0 0-5.305 0 3 3 0 0 0-3.751 3.75 3 3 0 0 0 0 5.305 3 3 0 0 0 3.75 3.751 3 3 0 0 0 5.305 0 3 3 0 0 0 3.751-3.75Zm-2.546-4.46a.75.75 0 0 0-1.214-.883l-3.483 4.79-1.88-1.88a.75.75 0 1 0-1.06 1.061l2.5 2.5a.75.75 0 0 0 1.137-.089l4-5.5Z",clipRule:"evenodd"})})},{text:"Hasta 25% de descuento en productos seleccionados",href:"/catalogo",icon:e.jsx("svg",{viewBox:"0 0 20 20",fill:"currentColor",className:"w-3.5 h-3.5 shrink-0",children:e.jsx("path",{fillRule:"evenodd",d:"M5.5 3A2.5 2.5 0 0 0 3 5.5v2.879a2.5 2.5 0 0 0 .732 1.767l6.5 6.5a2.5 2.5 0 0 0 3.536 0l2.878-2.878a2.5 2.5 0 0 0 0-3.536l-6.5-6.5A2.5 2.5 0 0 0 8.38 3H5.5ZM6 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"})})},{text:"+30 años de experiencia en iluminación LED profesional",href:"/nosotros",icon:e.jsx("svg",{viewBox:"0 0 20 20",fill:"currentColor",className:"w-3.5 h-3.5 shrink-0",children:e.jsx("path",{fillRule:"evenodd",d:"M11.3 1.046A1 1 0 0 1 12 2v5
11h4a1 1 0 0 1 .82 1.573l-7 10A1 1 0 0 1 8 18v-5H4a1 1 0 0 1-.82-1.573l7-10a1 1 0 0 1 1.12-.38Z",clipRule:"evenodd"})})}];function Zo(){const[t,o]=p.useState(0);p.useEffect(()=>{const i=setInterval(()=>{o(n=>(n+1)%Ke.length)},4e3);return()=>clearInterval(i)},[]);const r=Ke[t];return e.jsxs("div",{className:"flex h-8 md:h-9 text-white items-center justify-center overflow-hidden relative px-4 md:px-6",style:{background:"linear-gradient(270deg, #062E18, #0B7B3E, #0a6534, #0B7B3E, #062E18)",backgroundSize:"300% 100%",animation:"annGradient 6s ease infinite",borderBottom:"1px solid rgba(255,255,255,0.08)"},children:[e.jsx("style",{children:"@keyframes annGradient { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }"}),e.jsx(X,{mode:"wait",children:e.jsx(F.div,{initial:{y:10,opacity:0},animate:{y:0,opacity:1},exit:{y:-10,opacity:0},transition:{duration:.45,ease:[.22,1,.36,1]},children:e.jsxs(q,{to:r.href,className:"flex items-center gap-2 text-[11px] font-semibold uppercase tracking-[0.12em] text-white hover:text-[#76BC21] transition-colors",children:[e.jsx("span",{className:"text-[#76BC21]",children:r.icon}),e.jsx("span",{children:r.text}),e.jsx("span",{className:"text-[#76BC21] opacity-70",children:"â"})]})},t)}),e.jsx("div",{className:"absolute right-6 flex gap-1 items-center",children:Ke.map((i,n)=>e.jsx("button",{onClick:()=>o(n),"aria-label":`Ir al mensaje ${n+1}`,"aria-current":n===t?"true":void 0,className:"relative w-1.5 h-1.5 rounded-full transition-all duration-300 before:content-[''] before:absolute before:-inset-3",style:{background:n===t?"#fff":"rgba(255,255,255,0.35)"}},n))})]})}/** 12 * @license lucide-react v0.487.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const Qo=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ei=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,r,i)=>i?i.toUpperCase():r.toLowerCase()),Ct=t=>{const o=ei(t);return o.charAt(0).toUpperCase()+o.slice(1)},po=(...t)=>t.filter((o,r,i)=>!!o&&o.trim()!==""&&i.indexOf(o)===r).join(" ").trim();/** 17 * @license lucide-react v0.487.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */var ti={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 22 * @license lucide-react v0.487.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */const oi=p.forwardRef(({color:t="currentColor",size:o=24,strokeWidth:r=2,absoluteStrokeWidth:i,className:n="",children:a,iconNode:c,...l},s)=>p.createElement("svg",{ref:s,...ti,width:o,height:o,stroke:t,strokeWidth:i?Number(r)*24/Number(o):r,className:po("lucide",n),...l},[...c.map(([m,g])=>p.createElement(m,g)),...Array.isArray(a)?a:[a]]));/** 27 * @license lucide-react v0.487.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */const R=(t,o)=>{const r=p.forwardRef(({className:i,...n},a)=>p.createElement(oi,{ref:a,iconNode:o,className:po(`lucide-${Qo(Ct(t))}`,`lucide-${t}`,i),...n}));return r.displayName=Ct(t),r};/** 32 * @license lucide-react v0.487.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */const ii=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],St=R("arrow-left",ii);/** 37 * @license lucide-react v0.487.0 - ISC 38 * 39 * This source code is licensed under the ISC license. 40 * See the LICENSE file in the root directory of this source tree. 41 */const ri=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],oe=R("arrow-right",ri);/** 42 * @license lucide-react v0.487.0 - ISC 43 * 44 * This source code is licensed under the ISC license. 45 * See the LICENSE file in the root directory of this source tree. 46 */const ai=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],ni=R("arrow-up-down",ai);/** 47 * @license lucide-react v0.487.0 - ISC 48 * 49 * This source code is licensed under the ISC license. 50 * See the LICENSE file in the root directory of this source tree. 51 */const si=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],li=R("book-open",si);/** 52 * @license lucide-react v0.487.0 - ISC 53 * 54 * This source code is licensed under the ISC license. 55 * See the LICENSE file in the root directory of this source tree. 56 */const ci=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],di=R("book",ci);/** 57 * @license lucide-react v0.487.0 - ISC 58 * 59 * This source code is licensed under the ISC license. 60 * See the LICENSE file in the root directory of this source tree. 61 */const pi=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],mi=R("box",pi);/** 62 * @license lucide-react v0.487.0 - ISC 63 * 64 * This source code is licensed under the ISC license. 65 * See the LICENSE file in the root directory of this source tree. 66 */const ui=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
66],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],gi=R("building-2",ui);/** 67 * @license lucide-react v0.487.0 - ISC 68 * 69 * This source code is licensed under the ISC license. 70 * See the LICENSE file in the root directory of this source tree. 71 */const xi=[["path",{d:"M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1",key:"10bnsj"}],["path",{d:"M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9",key:"1eqmu1"}],["path",{d:"M21 21v-2h-4",key:"14zm7j"}],["path",{d:"M3 5h4V3",key:"z442eg"}],["path",{d:"M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3",key:"ebdjd7"}]],hi=R("cable",xi);/** 72 * @license lucide-react v0.487.0 - ISC 73 * 74 * This source code is licensed under the ISC license. 75 * See the LICENSE file in the root directory of this source tree. 76 */const fi=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],It=R("chevron-down",fi);/** 77 * @license lucide-react v0.487.0 - ISC 78 * 79 * This source code is licensed under the ISC license. 80 * See the LICENSE file in the root directory of this source tree. 81 */const bi=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],bt=R("chevron-left",bi);/** 82 * @license lucide-react v0.487.0 - ISC 83 * 84 * This source code is licensed under the ISC license. 85 * See the LICENSE file in the root directory of this source tree. 86 */const yi=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ae=R("chevron-right",yi);/** 87 * @license lucide-react v0.487.0 - ISC 88 * 89 * This source code is licensed under the ISC license. 90 * See the LICENSE file in the root directory of this source tree. 91 */const vi=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Ee=R("circle-check",vi);/** 92 * @license lucide-react v0.487.0 - ISC 93 * 94 * This source code is licensed under the ISC license. 95 * See the LICENSE file in the root directory of this source tree. 96 */const ji=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],Ft=R("clock",ji);/** 97 * @license lucide-react v0.487.0 - ISC 98 * 99 * This source code is licensed under the ISC license. 100 * See the LICENSE file in the root directory of this source tree. 101 */const wi=[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]],ki=R("cookie",wi);/** 102 * @license lucide-react v0.487.0 - ISC 103 * 104 * This source code is licensed under the ISC license. 105 * See the LICENSE file in the root directory of this source tree. 106 */const Ei=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]],$e=R("download",Ei);/** 107 * @license lucide-react v0.487.0 - ISC 108 * 109 * This source code is licensed under the ISC license. 110 * See the LICENSE file in the root directory of this source tree. 111 */const Ci=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],mo=R("eye",Ci);/** 112 * @license lucide-react v0.487.0 - ISC 113 * 114 * This source code is licensed under the ISC license. 115 * See the LICENSE file in the root directory of this source tree. 116 */const Si=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],ve=R("file-text",Si);/** 117 * @license lucide-react v0.487.0 - ISC 118 * 119 * This source code is licensed under the ISC license. 120 * See the LICENSE file in the root directory of this source tree. 121 */const Ii=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],uo=R("grid-3x3",Ii);/** 122 * @license lucide-react v0.487.0 - ISC 123 * 124 * This source code is licensed under the ISC license. 125 * See the LICENSE file in the root directory of this source tree. 126 */const Fi=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],Di=R("house",Fi);/** 127 * @license lucide-react v0.487.0 - ISC 128 * 129 * This source code is licensed under the ISC license. 130 * See the LICENSE file in the root directory of this source tree. 131 */const zi=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],Ai=R("layers",zi);/** 132 * @license lucide-react v0.487.0 - ISC 133 * 134 * This source code is licensed under the ISC license. 135 * See the LICENSE file in the root directory of this source tree. 136 */const Li=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Ni=R("lightbulb",Li);/** 137 * @license lucide-react v0.487.0 - ISC 138 * 139 * This source code is licensed under the ISC license. 140 * See the LICENSE file in the root directory of this source tree. 141 */const Ri=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]],go=R("mail",Ri);/** 142 * @license lucide-react v0.487.0 - ISC 143 * 144 * This source code is licensed under the ISC license. 145 * See the LICENSE file in the root directory of this source tree. 146 */const Bi=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Ti=R("map-pin",Bi);/** 147 * @license lucide-react v0.487.0 - ISC 148 * 149 * This source code is licensed under the ISC license. 150 * See the LICENSE file in the root directory of this source tree. 151 */const Mi=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],Wi=R("menu",Mi);/** 152 * @license lucide-react v0.487.0 - ISC 153 * 154 * This source code is licensed under the ISC license. 155 * See the LICENSE file in the root directory of this source tree. 156 */const Pi=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],$i=R("message-circle",Pi);/** 157 * @license lucide-react v0.487.0 - ISC 158 * 159 * This source code is licensed under the ISC license. 160 * See the LICENSE file in the root directory of this source tree. 161 */const _i=[["path",{d:"M5 12h14",key:"1ays0h"}]],Oi=R("minus",_i);/** 162 * @license lucide-react v0.487.0 - ISC 163 * 164 * This source code is licensed under the ISC license. 165 * See the LICENSE file in the root directory of this source tree. 166 */const Hi=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Dt=R("package",Hi);/** 167 * @license lucide-react v0.487.0 - ISC 168 * 169 * This source code is licensed under the ISC license. 170 * See the LICENSE file in the root directory of this source tree. 171 */const qi=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],Gi=R("phone",qi);/** 172 * @license lucide-react v0.487.0 - ISC 173 * 174 * This source code is licensed under the ISC license. 175 * See the LICENSE file in the root directory of this source tree. 176 */const Vi=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Le=R("plus",Vi);/** 177 * @license lucide-react v0.487.0 - ISC 178 * 179 * This source code is licensed under the ISC license. 180 * See the LICENSE file in the root directory of this source tree. 181 */const Ui=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Ki=R("rotate-ccw",Ui);/** 182 * @license lucide-react v0.487.0 - ISC 183 * 184 * This source code is licensed under the ISC license. 185 * See the LICENSE file in the root directory of this source tree. 186 */const Ji=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],De=R("search",Ji);/** 187 * @license lucide-react v0.487.0 - ISC 188 * 189 * This source code is licensed under the ISC license. 190 * See the LICENSE file in the root directory of this source tree. 191 */const Yi=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Xi=R("send",Yi);/** 192 * @license lucide-react v0.487.0 - ISC 193 * 194 * This source code is licensed under the ISC license. 195 * See the LICENSE file in the root directory of this source tree. 196 */const Zi=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Qi=R("settings",Zi);/** 197 * @license lucide-react v0.487.0 - ISC 198 * 199 * This source code is licensed under the ISC license. 200 * See the LICENSE file in the root directory of this source tree. 201 */const er=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 4,508 bytes, lines 201-241
201y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],xo=R("shield-check",er);/** 202 * @license lucide-react v0.487.0 - ISC 203 * 204 * This source code is licensed under the ISC license. 205 * See the LICENSE file in the root directory of this source tree. 206 */const tr=[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]],ut=R("shopping-bag",tr);/** 207 * @license lucide-react v0.487.0 - ISC 208 * 209 * This source code is licensed under the ISC license. 210 * See the LICENSE file in the root directory of this source tree. 211 */const or=[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]],zt=R("sliders-horizontal",or);/** 212 * @license lucide-react v0.487.0 - ISC 213 * 214 * This source code is licensed under the ISC license. 215 * See the LICENSE file in the root directory of this source tree. 216 */const ir=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],rr=R("sparkles",ir);/** 217 * @license lucide-react v0.487.0 - ISC 218 * 219 * This source code is licensed under the ISC license. 220 * See the LICENSE file in the root directory of this source tree. 221 */const ar=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],At=R("sun",ar);/** 222 * @license lucide-react v0.487.0 - ISC 223 * 224 * This source code is licensed under the ISC license. 225 * See the LICENSE file in the root directory of this source tree. 226 */const nr=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],sr=R("trash-2",nr);/** 227 * @license lucide-react v0.487.0 - ISC 228 * 229 * This source code is licensed under the ISC license. 230 * See the LICENSE file in the root directory of this source tree. 231 */const lr=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]],cr=R("wrench",lr);/** 232 * @license lucide-react v0.487.0 - ISC 233 * 234 * This source code is licensed under the ISC license. 235 * See the LICENSE file in the root directory of this source tree. 236 */const dr=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],re=R("x",dr);/** 237 * @license lucide-react v0.487.0 - ISC 238 * 239 * This source code is licensed under the ISC license. 240 * See the LICENSE file in the root directory of this source tree. 241 */const pr=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Be=R("zap",pr);function ho(t){var o,r,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(o=0;o<n;o++)t[o]&&(r=ho(t[o]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}function mr(){for(var t,o,r=0,i="",n=arguments.length;r<n;r++)(t=arguments[r])&&(o=ho(t))&&(i&&(i+=" "),i+=o);return i}const yt="-",ur=t=>{const o=xr(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:c=>{const l=c.split(yt);return l[0]===""&&l.length!==1&&l.shift(),fo(l,o)||gr(c)},getConflictingClassGroupIds:(c,l)=>{const s=r[c]||[];
vendor: 4,388 bytes, line 241
241return l&&i[c]?[...s,...i[c]]:s}}},fo=(t,o)=>{var c;if(t.length===0)return o.classGroupId;const r=t[0],i=o.nextPart.get(r),n=i?fo(t.slice(1),i):void 0;if(n)return n;if(o.validators.length===0)return;const a=t.join(yt);return(c=o.validators.find(({validator:l})=>l(a)))==null?void 0:c.classGroupId},Lt=/^\[(.+)\]$/,gr=t=>{if(Lt.test(t)){const o=Lt.exec(t)[1],r=o==null?void 0:o.substring(0,o.indexOf(":"));if(r)return"arbitrary.."+r}},xr=t=>{const{theme:o,classGroups:r}=t,i={nextPart:new Map,validators:[]};for(const n in r)gt(r[n],i,n,o);return i},gt=(t,o,r,i)=>{t.forEach(n=>{if(typeof n=="string"){const a=n===""?o:Nt(o,n);a.classGroupId=r;return}if(typeof n=="function"){if(hr(n)){gt(n(i),o,r,i);return}o.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,c])=>{gt(c,Nt(o,a),r,i)})})},Nt=(t,o)=>{let r=t;return o.split(yt).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},hr=t=>t.isThemeGetter,fr=t=>{if(t<1)return{get:()=>{},set:()=>{}};let o=0,r=new Map,i=new Map;const n=(a,c)=>{r.set(a,c),o++,o>t&&(o=0,i=r,r=new Map)};return{get(a){let c=r.get(a);if(c!==void 0)return c;if((c=i.get(a))!==void 0)return n(a,c),c},set(a,c){r.has(a)?r.set(a,c):n(a,c)}}},xt="!",ht=":",br=ht.length,yr=t=>{const{prefix:o,experimentalParseClassName:r}=t;let i=n=>{const a=[];let c=0,l=0,s=0,m;for(let h=0;h<n.length;h++){let A=n[h];if(c===0&&l===0){if(A===ht){a.push(n.slice(s,h)),s=h+br;continue}if(A==="/"){m=h;continue}}A==="["?c++:A==="]"?c--:A==="("?l++:A===")"&&l--}const g=a.length===0?n:n.substring(s),w=vr(g),I=w!==g,v=m&&m>s?m-s:void 0;return{modifiers:a,hasImportantModifier:I,baseClassName:w,maybePostfixModifierPosition:v}};if(o){const n=o+ht,a=i;i=c=>c.startsWith(n)?a(c.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(r){const n=i;i=a=>r({className:a,parseClassName:n})}return i},vr=t=>t.endsWith(xt)?t.substring(0,t.length-1):t.startsWith(xt)?t.substring(1):t,jr=t=>{const o=Object.fromEntries(t.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const n=[];let a=[];return i.forEach(c=>{c[0]==="["||o[c]?(n.push(...a.sort(),c),a=[]):a.push(c)}),n.push(...a.sort()),n}},wr=t=>({cache:fr(t.cacheSize),parseClassName:yr(t),sortModifiers:jr(t),...ur(t)}),kr=/\s+/,Er=(t,o)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:n,sortModifiers:a}=o,c=[],l=t.trim().split(kr);let s="";for(let m=l.length-1;m>=0;m-=1){const g=l[m],{isExternal:w,modifiers:I,hasImportantModifier:v,baseClassName:h,maybePostfixModifierPosition:A}=r(g);if(w){s=g+(s.length>0?" "+s:s);continue}let P=!!A,z=i(P?h.substring(0,A):h);if(!z){if(!P){s=g+(s.length>0?" "+s:s);continue}if(z=i(h),!z){s=g+(s.length>0?" "+s:s);continue}P=!1}const T=a(I).join(":"),N=v?T+xt:T,V=N+z;if(c.includes(V))continue;c.push(V);const $=n(z,P);for(let D=0;D<$.length;++D){const j=$[D];c.push(N+j)}s=g+(s.length>0?" "+s:s)}return s};function Cr(){let t=0,o,r,i="";for(;t<arguments.length;)(o=arguments[t++])&&(r=bo(o))&&(i&&(i+=" "),i+=r);return i}const bo=t=>{if(typeof t=="string")return t;let o,r="";for(let i=0;i<t.length;i++)t[i]&&(o=bo(t[i]))&&(r&&(r+=" "),r+=o);return r};function Sr(t,...o){let r,i,n,a=c;function c(s){const m=o.reduce((g,w)=>w(g),t());return r=wr(m),i=r.cache.get,n=r.cache.set,a=l,l(s)}function l(s){const m=i(s);if(m)return m;const g=Er(s,r);return n(s,g),g}return function(){return a(Cr.apply(null,arguments))}}const Y=t=>{const o=r=>r[t]||[];return o.isThemeGetter=!0,o},yo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,vo=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ir=/^\d+\/\d+$/,Fr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Dr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ar=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Lr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,we=t=>Ir.test(t),M=t=>!!t&&!Number.isNaN(Number(t)),he=t=>!!t&&Number.isInteger(Number(t)),Je=t=>t.endsWith("%")&&M(t.slice(0,-1)),pe=t=>Fr.test(t),Nr=()=>!0,Rr=t=>Dr.test(t)&&!zr.test(t),jo=()=>!1,Br=t=>Ar.test(t),Tr=t=>Lr.test(t),Mr=t=>!k(t)&&!E(t),Wr=t=>Ce(t,Eo,jo),k=t=>yo.test(t),be=t=>Ce(t,Co,Rr),Ye=t=>Ce(t,Hr,M),Rt=t=>Ce(t,wo,jo),Pr=t=>Ce(t,ko,Tr),Me=t=>
vendor: 4,555 bytes, line 241
241Ce(t,So,Br),E=t=>vo.test(t),Ie=t=>Se(t,Co),$r=t=>Se(t,qr),Bt=t=>Se(t,wo),_r=t=>Se(t,Eo),Or=t=>Se(t,ko),We=t=>Se(t,So,!0),Ce=(t,o,r)=>{const i=yo.exec(t);return i?i[1]?o(i[1]):r(i[2]):!1},Se=(t,o,r=!1)=>{const i=vo.exec(t);return i?i[1]?o(i[1]):r:!1},wo=t=>t==="position"||t==="percentage",ko=t=>t==="image"||t==="url",Eo=t=>t==="length"||t==="size"||t==="bg-size",Co=t=>t==="length",Hr=t=>t==="number",qr=t=>t==="family-name",So=t=>t==="shadow",Gr=()=>{const t=Y("color"),o=Y("font"),r=Y("text"),i=Y("font-weight"),n=Y("tracking"),a=Y("leading"),c=Y("breakpoint"),l=Y("container"),s=Y("spacing"),m=Y("radius"),g=Y("shadow"),w=Y("inset-shadow"),I=Y("text-shadow"),v=Y("drop-shadow"),h=Y("blur"),A=Y("perspective"),P=Y("aspect"),z=Y("ease"),T=Y("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...V(),E,k],D=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],u=()=>[E,k,s],_=()=>[we,"full","auto",...u()],ae=()=>[he,"none","subgrid",E,k],C=()=>["auto",{span:["full",he,E,k]},he,E,k],B=()=>[he,"auto",E,k],O=()=>["auto","min","max","fr",E,k],te=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Z=()=>["start","end","center","stretch","center-safe","end-safe"],Q=()=>["auto",...u()],ee=()=>[we,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...u()],S=()=>[t,E,k],ue=()=>[...V(),Bt,Rt,{position:[E,k]}],ne=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ge=()=>["auto","cover","contain",_r,Wr,{size:[E,k]}],se=()=>[Je,Ie,be],U=()=>["","none","full",m,E,k],d=()=>["",M,Ie,be],f=()=>["solid","dashed","dotted","double"],x=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],b=()=>[M,Je,Bt,Rt],L=()=>["","none",h,E,k],H=()=>["none",M,E,k],ie=()=>["none",M,E,k],ce=()=>[M,E,k],je=()=>[we,"full",...u()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[pe],breakpoint:[pe],color:[Nr],container:[pe],"drop-shadow":[pe],ease:["in","out","in-out"],font:[Mr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[pe],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[pe],shadow:[pe],spacing:["px",M],text:[pe],"text-shadow":[pe],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",we,k,E,P]}],container:["container"],columns:[{columns:[M,k,E,l]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{start:_()}],end:[{end:_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[he,"auto",E,k]}],basis:[{basis:[we,"full","auto",l,...u()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[M,we,"auto","initial","none",k]}],grow:[{grow:["",M,E,k]}],shrink:[{shrink:["",M,E,k]}],order:[{order:[he,"first","last","none",E,k]}],"grid-cols":[{"grid-cols":ae()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":B()}
vendor: 10,905 bytes, line 241
241],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":ae()}],"row-start-end":[{row:C()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:u()}],"gap-x":[{"gap-x":u()}],"gap-y":[{"gap-y":u()}],"justify-content":[{justify:[...te(),"normal"]}],"justify-items":[{"justify-items":[...Z(),"normal"]}],"justify-self":[{"justify-self":["auto",...Z()]}],"align-content":[{content:["normal",...te()]}],"align-items":[{items:[...Z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Z(),{baseline:["","last"]}]}],"place-content":[{"place-content":te()}],"place-items":[{"place-items":[...Z(),"baseline"]}],"place-self":[{"place-self":["auto",...Z()]}],p:[{p:u()}],px:[{px:u()}],py:[{py:u()}],ps:[{ps:u()}],pe:[{pe:u()}],pt:[{pt:u()}],pr:[{pr:u()}],pb:[{pb:u()}],pl:[{pl:u()}],m:[{m:Q()}],mx:[{mx:Q()}],my:[{my:Q()}],ms:[{ms:Q()}],me:[{me:Q()}],mt:[{mt:Q()}],mr:[{mr:Q()}],mb:[{mb:Q()}],ml:[{ml:Q()}],"space-x":[{"space-x":u()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":u()}],"space-y-reverse":["space-y-reverse"],size:[{size:ee()}],w:[{w:[l,"screen",...ee()]}],"min-w":[{"min-w":[l,"screen","none",...ee()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[c]},...ee()]}],h:[{h:["screen",...ee()]}],"min-h":[{"min-h":["screen","none",...ee()]}],"max-h":[{"max-h":["screen",...ee()]}],"font-size":[{text:["base",r,Ie,be]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,E,Ye]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Je,k]}],"font-family":[{font:[$r,k,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,E,k]}],"line-clamp":[{"line-clamp":[M,"none",E,Ye]}],leading:[{leading:[a,...u()]}],"list-image":[{"list-image":["none",E,k]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",E,k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...f(),"wavy"]}],"text-decoration-thickness":[{decoration:[M,"from-font","auto",E,be]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[M,"auto",E,k]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:u()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",E,k]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",E,k]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ue()}],"bg-repeat":[{bg:ne()}],"bg-size":[{bg:ge()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},he,E,k],radial:["",E,k],conic:[he,E,k]},Or,Pr]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:se()}],"gradient-via-pos":[{via:se()}],"gradient-to-pos":[{to:se()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:d()}],"border-w-x":[{"border-x":d()}],"border-w-y":[{"border-y":d()}],"border-w-s":[{"border-s":d()}],"border-w-e":[{"border-e":d()}],"border-w-t":[{"border-t":d()}],"border-w-r":[{"border-r":d()}],"border-w-b":[{"border-b":d()}],"border-w-l":[{"border-l":d()}],"divide-x":[{"divide-x":d()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":d()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...f(),"hidden","none"]}],"divide-style":[{divide:[...f(),"hidden","none"]}],"border-color":[{border:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:[...f(),"none","hidden"]}],"outline-offset":[{"outline-offset":[M,E,k]}],"outline-w":[{outline:["",M,Ie,be]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",g,We,Me]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",w,We,Me]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:d()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[M,be]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":d()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",I,We,Me]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[M,E,k]}],"mix-blend":[{"mix-blend":[...x(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":x()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[M]}],"mask-image-linear-from-pos":[{"mask-linear-from":b()}],"mask-image-linear-to-pos":[{"mask-linear-to":b()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":b()}],"mask-image-t-to-pos":[{"mask-t-to":b()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":b()}],"mask-image-r-to-pos":[{"mask-r-to":b()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":b()}],"mask-image-b-to-pos":[{"mask-b-to":b()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":b()}],"mask-image-l-to-pos":[{"mask-l-to":b()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":b()}],"mask-image-x-to-pos":[{"mask-x-to":b()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":b()}],"mask-image-y-to-pos":[{"mask-y-to":b()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[E,k]}],"mask-image-radial-from-pos":[{"mask-radial-from":b()}],"mask-image-radial-to-pos":[{"mask-radial-to":b()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[M]}],"mask-image-conic-from-pos":[{"mask-conic-from":b()}],"mask-image-conic-to-pos":[{"mask-conic-to":b()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ue()}],"mask-repeat":[{mask:ne()}],"mask-size":[{mask:ge()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",E,k]}],filter:[{filter:["","none",E,k]}],blur:[{blur:L()}],brightness:[{brightness:[M,E,k]}],contrast:[{contrast:[M,E,k]}],"drop-shadow":[{"drop-shadow":["","none",v,We,Me]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",M,E,k]}],"hue-rotate":[{"hue-rotate":[M,E,k]}],invert:[{invert:["",M,E,k]}],saturate:[{saturate:[M,E,k]}],sepia:[{sepia:["",M,E,k]}],"backdrop-filter":[{"backdrop-filter":["","none",E,k]}],"backdrop-blur":[{"backdrop-blur":L()}],"backdrop-brightness":[{"backdrop-brightness":[M,E,k]}],"backdrop-contrast":[{"backdrop-contrast":[M,E,k]}],"backdrop-grayscale":[{"backdrop-grayscale":["",M,E,k]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M,E,k]}],"backdrop-invert":[{"backdrop-invert":["",M,E,k]}],"backdrop-opacity":[{"backdrop-opacity":[M,E,k]}],"backdrop-saturate":[{"backdrop-saturate":[M,E,k]}],"backdrop-sepia":[{"backdrop-sepia":["",M,E,k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":u()}],"border-spacing-x":[{"border-spacing-x":u()}],"border-spacing-y":[{"border-spacing-y":u()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",E,k]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[M,"initial",E,k]}],ease:[{ease:["linear","initial",z,E,k]}],delay:[{delay:[M,E,k]}],animate:[{animate:["none",T,E,k]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,E,k]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:H()}],"rotate-x":[{"rotate-x":H()}],"rotate-y":[{"rotate-y":H()}],"rotate-z":[{"rotate-z":H()}],scale:[{scale:ie()}],"scale-x":[{"scale-x":ie()}],"scale-y":[{"scale-y":ie()}],"scale-z":[{"scale-z":ie()}],"scale-3d":["scale-3d"],skew:[{skew:ce()}],"skew-x":[{"skew-x":ce()}],"skew-y":[{"skew-y":ce()}],transform:[{transform:[E,k,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:je()}],"translate-x":[{"translate-x":je()}],"translate-y":[{"translate-y":je()}],"translate-z":[{"translate-z":je()}],"translate-none":["translate-none"],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}
241],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",E,k]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",E,k]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[M,Ie,be,Ye]}],stroke:[{stroke:["none",...S()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Vr=Sr(Gr);function Tt(...t){return Vr(mr(t))}const Mt=[{group:"Interior & Arquitectónico",items:[{icon:Be,title:"Empotrables",subtitle:"Arquitectónico ⢠Interior",href:"/catalogo?cat=empotrables"},{icon:uo,title:"Paneles LED",subtitle:"Oficina ⢠Comercial",href:"/catalogo?cat=paneles"},{icon:Ni,title:"Lámparas",subtitle:"Bulbo ⢠MR16 ⢠GU10",href:"/catalogo?cat=lamparas"},{icon:rr,title:"Tiras & Perfiles",subtitle:"Decorativo ⢠Lineal",href:"/catalogo?cat=tiras"}]},{group:"Industrial & Exterior",items:[{icon:Dt,title:"Reflectores",subtitle:"Industrial ⢠Exterior",href:"/catalogo?cat=reflectores"},{icon:At,title:"Campanas High-Bay",subtitle:"Industrial ⢠Almacén",href:"/catalogo?cat=campanas"},{icon:At,title:"Solares",subtitle:"Exterior ⢠Autónomo",href:"/catalogo?cat=solares"},{icon:Dt,title:"Gabinetes",subtitle:"Tableros ⢠Distribución",href:"/catalogo?cat=gabinetes"}]},{group:"Control & Complementos",items:[{icon:Qi,title:"Smart & Control",subtitle:"Domótica ⢠DALI",href:"/catalogo?cat=control"},{icon:hi,title:"Accesorios",subtitle:"Drivers ⢠Módulos",href:"/catalogo?cat=accesorios"}]}],Xe=[{to:"/",label:"Inicio"},{to:"/servicios",label:"Servicios"},{to:"/recursos",label:"Recursos"},{to:"/nosotros",label:"Nosotros"}];function Ur({onSearchClick:t,onCartClick:o,quoteCount:r,cartRef:i}){const[n,a]=p.useState(null),[c,l]=p.useState(!1),[s,m]=p.useState(!1),[g,w]=p.useState(!1),[I,v]=p.useState(!0),h=p.useRef(0),{count:A,openDrawer:P}=me(),{isDark:z}=Xo(),T=r??A,N=Qt(),{pathname:V}
241=N,$=Re(),D={ink:z?"#F0EDE5":"#2D2D2E",cream:z?"#1A1A17":"#F7F4EC",creamDeep:z?"#252520":"#EDE9DF",sigGreen:"#76BC21",gray:z?"#9A9DA1":"#636569"};p.useEffect(()=>{a(null),l(!1)},[N]),p.useEffect(()=>{const C=()=>{const B=window.scrollY,O=B-h.current;O>6?v(!1):O<-6&&v(!0),h.current=B};return window.addEventListener("scroll",C,{passive:!0}),()=>window.removeEventListener("scroll",C)},[]);const j=C=>C==="/"?V==="/":V.startsWith(C),u=()=>{o==null||o(),P()},_=()=>{l(!1),t==null||t()},ae=e.jsxs("div",{className:"relative",onMouseEnter:()=>a("catalogo"),onMouseLeave:()=>a(null),children:[e.jsxs("button",{onClick:()=>$("/catalogo"),style:{padding:"9px 16px",borderRadius:999,border:"none",cursor:"pointer",fontWeight:n==="catalogo"?700:500,fontSize:14,color:n==="catalogo"?D.ink:D.gray,background:n==="catalogo"?D.creamDeep:"transparent",display:"inline-flex",alignItems:"center",gap:5,transition:"all 0.2s ease"},children:["Productos",e.jsx(It,{size:13,style:{transition:"transform 0.3s ease",transform:n==="catalogo"?"rotate(180deg)":"none"}})]}),e.jsx(X,{children:n==="catalogo"&&e.jsx(F.div,{initial:{opacity:0,y:14},animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.22},className:"absolute top-full left-1/2 -translate-x-1/2 mt-3 w-[820px] rounded-[28px] border border-[#E4E7E1] bg-white shadow-[0_40px_100px_-20px_rgba(0,0,0,0.15)] overflow-hidden",style:{zIndex:200},children:e.jsxs("div",{className:"grid grid-cols-12",children:[e.jsxs("div",{className:"col-span-4 bg-[#FBFBF9] p-8 border-r border-[#EEF1EB]",children:[e.jsx("span",{className:"text-[10px] font-bold uppercase tracking-widest text-[#4E7815] bg-[#F5FAEC] px-3 py-1 rounded-full border border-[#D9E6C6]",children:"Buscar por"}),e.jsx("h3",{className:"mt-5 text-lg font-bold text-[#2D2D2E] leading-tight",children:"Encuentra lo que necesitas."}),e.jsxs("div",{className:"mt-6 space-y-4",children:[e.jsxs(q,{to:"/catalogo",className:"group flex items-start gap-3 p-2.5 rounded-2xl hover:bg-white transition-all border border-transparent hover:border-[#EEF1EB]",children:[e.jsx("div",{className:"p-1.5 rounded-lg bg-white border border-[#EEF1EB]",children:e.jsx(Ai,{size:14,className:"text-[#6B6E72] group-hover:text-[#76BC21]"})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-bold text-[#2D2D2E] group-hover:text-[#76BC21]",children:"Todas las familias"}),e.jsx("div",{className:"text-[11px] text-[#6B6E72]",children:"Ver catálogo completo"})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[10px] font-bold uppercase tracking-widest text-[#6B6E72] mb-2 px-1",children:"Por marca"}),e.jsxs("div",{className:"flex gap-1.5",children:[e.jsxs(q,{to:"/catalogo?brand=Artlite",className:"flex items-center gap-1.5 px-3 py-1.5 rounded-xl bg-[#EAF3DE] border border-[#D9E6C6] hover:bg-white hover:border-[#76BC21] transition-all text-xs font-semibold text-[#3B6D11]",style:{textDecoration:"none"},children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-[#639922] shrink-0"}),"ARTLITE"]}),e.jsxs(q,{to:"/catalogo?brand=WINLED",className:"flex items-center gap-1.5 px-3 py-1.5 rounded-xl bg-[#E6F1FB] border border-[#C6DCF3] hover:bg-white hover:border-[#185FA5] transition-all text-xs font-semibold text-[#185FA5]",style:{textDecoration:"none"},children:[e.jsx("span",{className:"w-2 h-2 rounded-full bg-[#185FA5] shrink-0"}),"WINLED"]})]})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[10px] font-bold uppercase tracking-widest text-[#6B6E72] mb-2 px-1",children:"Por aplicación"}),e.jsx("div",{className:"space-y-1",children:[{label:"Residencial",href:"/catalogo?aplicacion=residencial"},{label:"Comercial",href:"/catalogo?aplicacion=comercial"},{label:"Industrial",href:"/catalogo?aplicacion=industrial"}].map(({label:C,href:B})=>e.jsxs(q,{to:B,className:"group flex items-center gap-2.5 p-2 rounded-xl hover:bg-white transition-all border border-transparent hover:border-[#EEF1EB]",style:{textDecoration:"none"},children:[e.jsx("div",{className:"p-1 bg-[#F5F6F3] rounded-lg group-hover:bg-white group-hover:shadow-sm border border-transparent group-hover:border-[#EEF1EB]",children:e.jsx(gi,{size:12,className:"text-[#6B6E72] group-hover:text-[#76BC21]"})}),e.jsx("div",{className:"text-sm font-semibold text-[#2D2D2E] group-hover:text-[#76BC21]",children:C})]},C))})]})]})]}),e.jsxs("div",{className:"col-span-8 p-8",children:[e.jsx("div",{className:"grid grid-cols-2 gap-x-8 gap-y-6",children:Mt.map(C=>e.jsxs("div",{className:Tt("space-y-3",C.group.includes("Control")&&"col-span-2"),children:[e.jsx("h4",{className:"text-[10px] font-bold uppercase tracking-widest text-[#6B6E72] border-b border-[#F1F3EE] pb-2",children:C.group}),e.jsx("div",{className:Tt("grid gap-1",C.group.includes("Control")?"grid-cols-2":"grid-cols-1"),children:C.items.map(B=>e.jsxs(q,{to:B.href,className:"group flex items-center gap-3 p-2 rounded-xl hover:bg-[#FBFBF9] transition-all",children:[e.jsx("div",{className:"p-1.5 bg-[#F5F6F3] rounded-lg group-hover:bg-white group-hover:shadow-sm border border-transparent group-hover:border-[#
241EEF1EB]",children:e.jsx(B.icon,{size:14,className:"text-[#6B6E72] group-hover:text-[#76BC21]"})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-bold text-[#2D2D2E] group-hover:text-[#76BC21]",children:B.title}),e.jsx("div",{className:"text-[11px] text-[#6B6E72]",children:B.subtitle})]})]},B.title))})]},C.group))}),e.jsxs(q,{to:"/catalogo",className:"mt-6 w-full py-3 rounded-full text-center text-sm flex items-center justify-center gap-2 group",style:{background:"linear-gradient(to right, #76BC21 50%, #2D2D2E 50%)",backgroundSize:"200% 100%",backgroundPosition:"100% 50%",color:"white",fontWeight:600,textDecoration:"none",transition:"background-position 0.38s cubic-bezier(.32,0,.18,1)"},onMouseEnter:C=>{C.currentTarget.style.backgroundPosition="0% 50%"},onMouseLeave:C=>{C.currentTarget.style.backgroundPosition="100% 50%"},children:["Ver todos los productos"," ",e.jsx(oe,{size:15,className:"group-hover:translate-x-1 transition-transform"})]})]})]})})})]});return e.jsxs(e.Fragment,{children:[e.jsx(F.nav,{initial:{y:-16,opacity:0},animate:{y:0,opacity:1},transition:{duration:.5,ease:[.22,1,.36,1]},"data-testid":"innlite-navbar",style:{background:"rgba(255,255,255,0.96)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",borderBottom:"1px solid #E8E5DC",fontFamily:"Montserrat, sans-serif"},className:"hidden md:block w-full sticky top-0 z-[100] px-5 lg:px-10 py-4",children:e.jsxs("div",{className:"max-w-[1400px] mx-auto flex items-center justify-between relative",children:[e.jsx(q,{to:"/","data-testid":"logo-home",style:{textDecoration:"none",display:"flex",alignItems:"center"},children:e.jsx("img",{src:"/logo-innlite.svg",alt:"Innlite",style:{height:52,width:"auto",display:"block"}})}),e.jsxs("div",{className:"hidden lg:flex items-center gap-0.5",children:[Xe.slice(0,1).map(C=>{const B=j(C.to);return e.jsxs(q,{to:C.to,"data-testid":`nav-${C.label.toLowerCase()}`,style:{position:"relative",padding:"9px 16px",textDecoration:"none",fontWeight:B?700:500,fontSize:14,color:B?D.ink:D.gray,borderRadius:999,transition:"all 0.2s ease",display:"inline-flex",alignItems:"center"},onMouseEnter:O=>{O.currentTarget.style.background=D.creamDeep},onMouseLeave:O=>{O.currentTarget.style.background="transparent"},children:[C.label,B&&e.jsx(F.span,{layoutId:"nav-dot",style:{position:"absolute",bottom:3,left:"50%",transform:"translateX(-50%)",width:4,height:4,borderRadius:4,background:D.sigGreen}})]},C.to)}),ae,Xe.slice(1).map(C=>{const B=j(C.to);return e.jsxs(q,{to:C.to,"data-testid":`nav-${C.label.toLowerCase()}`,style:{position:"relative",padding:"9px 16px",textDecoration:"none",fontWeight:B?700:500,fontSize:14,color:B?D.ink:D.gray,borderRadius:999,transition:"all 0.2s ease",display:"inline-flex",alignItems:"center"},onMouseEnter:O=>{O.currentTarget.style.background=D.creamDeep},onMouseLeave:O=>{O.currentTarget.style.background="transparent"},children:[C.label,B&&e.jsx(F.span,{layoutId:"nav-dot",style:{position:"absolute",bottom:3,left:"50%",transform:"translateX(-50%)",width:4,height:4,borderRadius:4,background:D.sigGreen}})]},C.to)})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("button",{onClick:_,"data-testid":"nav-search-desktop","aria-label":"Buscar (âK)",style:{padding:"10px 8px 10px 18px",borderRadius:999,background:"rgba(118,188,33,0.06)",border:"2px solid rgba(118,188,33,0.65)",cursor:"pointer",alignItems:"center",gap:10,transition:"all 0.2s ease",minWidth:44},className:"hidden lg:inline-flex",onMouseEnter:C=>{C.currentTarget.style.background="#EDFADD",C.currentTarget.style.borderColor="#76BC21",C.currentTarget.style.boxShadow="0 0 0 3px rgba(118,188,33,0.15)"},onMouseLeave:C=>{C.currentTarget.style.background="rgba(118,188,33,0.06)",C.currentTarget.style.borderColor="rgba(118,188,33,0.65)",C.currentTarget.style.boxShadow="none"},children:[e.jsx(De,{size:17,strokeWidth:2.2,color:"#76BC21"}),e.jsx("span",{style:{letterSpacing:"-0.01em",color:"#8A9096",minWidth:120,flexShrink:1,fontSize:13},children:"Buscar producto o SKUâ¦"}),e.jsx("span",{style:{background:"#76BC21",color:"#fff",letterSpacing:"0.01em",fontSize:12,fontWeight:"bold",padding:"6px 12px",borderRadius:999},children:"Buscar"}),e.jsx("span",{style:{color:"#8A9096",marginLeft:-4,fontSize:11,fontFamily:"monospace"},children:"(âK)"})]}),e.jsxs("button",{ref:i,onClick:u,"data-testid":"nav-cotizar",onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1),style:{marginLeft:4,padding:"9px 18px 9px 20px",borderRadius:999,fontWeight:600,fontSize:13,border:"none",cursor:"pointer",alignItems:"center",gap:9,background:`linear-gradient(to right, ${D.sigGreen} 50%, ${z?"#2A2A25":"#2D2D2E"} 50%)`,backgroundSize:"200% 100%",backgroundPosition:g?"0% 50%":"100% 50%",color:D.cream,transition:"background-position 0.38s cubic-bezier(.32,0,.18,1), color 0.22s ease"},className:"hidden lg:inline-flex innlite-cotizar-btn",children:["Cotizar",e.jsx("span",{"data-testid":"nav-cotizar-count",style:{minWidth:20,height:20,padding:"0 6px",borderRadius:999,background:T>0?D.sigGreen:"rgba(247,244,236,0.18)",color:D.cream,fontWeight:800,fontSize:10,display:"inline-flex",alignItems:"center",justifyContent:"center",transition:"background 0.3s ease"},children:T})]}),e.jsx("button",{onClick:_,"data-testid":"nav-search-mobile","aria-label":"Buscar",type:"button",className:"lg:hidden",style:{background:"none",border:"none",cursor:"pointer",color:D.ink,padding:8,WebkitAppearance:"none",WebkitTapHighlightColor:"transparent",outline:"none"},children:e.jsx(De,{size:20,strokeWidth:2})}),e.jsxs("button",{onClick:u,"data-testid":"nav-cart-mobile","aria-label":"Mi lista de cotización",className:"lg:hidden relative",style:{background:"none",border:"none",cursor:"pointer",color:D.ink,padding:8},children:[e.jsx(ut,{size:22,strokeWidth:2}),T>0&&e.jsx("span",{style:{position:"absolute",top:2,right:2,minWidth:16,height:16,borderRadius:999,background:D.sigGreen,color:"#fff",fontSize:9,fontWeight:800,display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0 3px"},children:T})]}),e.jsx("button",{onClick:()=>l(!c),"data-testid":"nav-hamburger","aria-label":"Menú",className:"lg:hidden",style:{background:"none",border:"none",cursor:"pointer",color:D.ink,padding:8},children:c?e.jsx(re,{size:22}):e.jsx(Wi,{size:22})})]})]})}),e.jsx(X,{children:c&&e.jsx(F.div,{initial:{opacity:0,y:-14}
241,animate:{opacity:1,y:0},exit:{opacity:0,y:-14},transition:{duration:.25,ease:[.22,1,.36,1]},className:"fixed inset-x-4 z-[90] lg:hidden",style:{top:100},children:e.jsx("div",{style:{background:"rgba(255,255,255,0.98)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",borderRadius:28,border:"1px solid #E8E5DC",boxShadow:"0 24px 60px rgba(15,15,13,0.18)",padding:24,fontFamily:"Montserrat, sans-serif",display:"flex",flexDirection:"column",gap:0,height:"calc(100dvh - 120px)",overflowY:"auto",WebkitOverflowScrolling:"touch"},children:e.jsx("nav",{style:{display:"flex",flexDirection:"column",gap:4},children:Xe.map((C,B)=>e.jsxs(eo.Fragment,{children:[B===1&&e.jsxs("div",{children:[e.jsxs("button",{onClick:()=>m(!s),style:{width:"100%",textAlign:"left",padding:"12px 16px",borderRadius:14,background:s?D.creamDeep:"transparent",border:"none",cursor:"pointer",fontWeight:600,fontSize:17,color:D.ink,display:"flex",alignItems:"center",justifyContent:"space-between"},children:["Productos",e.jsx(It,{size:16,style:{transform:s?"rotate(180deg)":"none",transition:"0.2s",color:D.sigGreen}})]}),e.jsx(X,{children:s&&e.jsx(F.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.18},children:e.jsxs("div",{style:{padding:"8px 0 8px 16px",display:"flex",flexDirection:"column",gap:4},children:[Mt.flatMap(O=>O.items).map(O=>e.jsxs(q,{to:O.href,onClick:()=>l(!1),style:{padding:"9px 14px",borderRadius:12,color:D.gray,textDecoration:"none",fontSize:14,fontWeight:500,display:"flex",alignItems:"center",gap:10},children:[e.jsx(O.icon,{size:14,color:D.sigGreen}),O.title]},O.title)),e.jsxs(q,{to:"/catalogo",onClick:()=>l(!1),style:{marginTop:8,padding:"12px 16px",borderRadius:12,background:D.ink,color:"#F7F4EC",textDecoration:"none",fontSize:14,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",gap:8},children:["Ver catálogo general",e.jsx(oe,{size:14})]})]})})})]}),e.jsx(q,{to:C.to,style:{padding:"12px 16px",borderRadius:14,textDecoration:"none",color:j(C.to)?D.sigGreen:D.ink,fontWeight:j(C.to)?700:600,fontSize:17,background:j(C.to)?"#F0F7E6":"transparent"},children:C.label})]},C.to))})})})}),e.jsxs(F.nav,{className:"md:hidden",initial:!1,animate:{y:I?0:120},transition:{duration:.28,ease:[.22,1,.36,1]},style:{position:"fixed",bottom:0,left:0,right:0,zIndex:200,fontFamily:"Montserrat, sans-serif"},children:[e.jsx("style",{children:` 242 @media (max-width: 767px) { 243 body { padding-bottom: calc(104px + env(safe-area-inset-bottom)); } 244 } 245 `}),e.jsx("div",{style:{background:"rgba(255,255,255,0.97)",backdropFilter:"blur(24px)",WebkitBackdropFilter:"blur(24px)",borderTop:"1px solid #E8E5DC",paddingBottom:"env(safe-area-inset-bottom)"},children:e.jsx("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-around",paddingTop:10,paddingBottom:10},children:[{to:"/",label:"Inicio",Icon:Di},{to:"/catalogo",label:"Catálogo",Icon:uo},{to:"search",label:"Buscar",Icon:De},{to:"/recursos",label:"Recursos",Icon:di},{to:null,label:"Cotizar",Icon:ve}].map(({to:C,label:B,Icon:O})=>{const Z=(C&&C!=="search"?j(C):!1)?D.sigGreen:D.gray;return C?C==="search"?e.jsxs("button",{type:"button",onClick:_,style:{display:"flex",flexDirection:"column",alignItems:"center",gap:3,padding:"4px 12px",background:"none",border:"none",cursor:"pointer",color:Z,WebkitTapHighlightColor:"transparent",outline:"none",boxShadow:"none",appearance:"none"},children:[e.jsx(O,{size:22,strokeWidth:1.5}),e.jsx("span",{style:{fontSize:10,fontWeight:600,letterSpacing:"0.03em"},children:B})]},B):e.jsxs(q,{to:C,style:{display:"flex",flexDirection:"column",alignItems:"center",gap:3,padding:"4px 12px",textDecoration:"none",color:Z,WebkitTapHighlightColor:"transparent"},children:[e.jsx(O,{size:22}),e.jsx("span",{style:{fontSize:10,fontWeight:600,letterSpacing:"0.03em"},children:B})]},B):e.jsxs("button",{type:"button",onClick:u,style:{display:"flex",flexDirection:"column",alignItems:"center",gap:3,padding:"4px 12px",background:"none",border:"none",cursor:"pointer",color:Z,WebkitTapHighlightColor:"transparent",outline:"none",boxShadow:"none",appearance:"none"},children:[e.jsx(O,{size:22,strokeWidth:1.5}),e.jsx("span",{style:{fontSize:10,fontWeight:600,letterSpacing:"0.03em"},children:B})]},B)})})})]})]})}function vt({open:t,onClose:o,sku:r,title:i,pdfUrl:n}){const[a,c]=p.useState("loading"),[l,s]=p.useState(!1),[m,g]=p.useState(!1),w=p.useRef(null),I=n||`https://www.innlite.com/api/pdf/${r}.pdf`;return p.useEffect(()=>{if(t){if(!n){c("missing");return}c("available")}},[t,n]),p.useEffect(()=>{!t||!w.current||(s(!1),requestAnimationFrame(()=>{w.current&&g(w.current.scrollHeight>w.current.clientHeight+2)}))},[t,i]),p.useEffect(()=>{if(!t)return;const v=h=>{h.key==="Escape"&&o()};return window.addEventListener("keydown",v),document.body.style.overflow="hidden",()=>{window.removeEventListener("keydown",v),document.body.style.overflow=""}}
245,[t,o]),e.jsx(X,{children:t&&e.jsx(F.div,{"data-testid":"pdf-modal-overlay",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:o,style:{position:"fixed",inset:0,zIndex:200,background:"rgba(15,15,13,0.75)",backdropFilter:"blur(10px)",display:"flex",alignItems:"center",justifyContent:"center",padding:24},children:e.jsxs(F.div,{"data-testid":"pdf-modal",initial:{scale:.93,opacity:0,y:24},animate:{scale:1,opacity:1,y:0},exit:{scale:.95,opacity:0,y:12},transition:{type:"spring",damping:22,stiffness:260},onClick:v=>v.stopPropagation(),style:{width:"100%",maxWidth:1080,height:"min(86vh, 820px)",background:"#F7F4EC",borderRadius:22,overflow:"hidden",display:"flex",flexDirection:"column",boxShadow:"0 30px 80px rgba(0,0,0,0.5)",fontFamily:"Montserrat, sans-serif"},children:[e.jsx("style",{children:` 246 .pdf-header { padding: 16px 22px; border-bottom: 1px solid #E0DDD5; background: #EDE9DF; flex-shrink: 0; } 247 .pdf-header-row1 { display: flex; align-items: center; justify-content: space-between; gap: 12px; } 248 .pdf-header-meta { display: flex; align-items: center; gap: 12px; min-width: 0; } 249 .pdf-header-text { min-width: 0; } 250 .pdf-header-sku { font-size: 10px; font-weight: 800; letter-spacing: 0.2em; color: #76BC21; text-transform: uppercase; } 251 .pdf-header-title { font-weight: 700; font-size: 16px; margin-top: 2px; color: #2D2D2E; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; } 252 .pdf-header-title.clamped { -webkit-line-clamp: 2; } 253 .pdf-header-title.expanded { display: block; } 254 .pdf-title-toggle { display: inline; background: none; border: none; padding: 0; margin-left: 4px; font-size: 12px; font-weight: 600; color: #76BC21; cursor: pointer; vertical-align: baseline; white-space: nowrap; } 255 .pdf-header-ctas { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; } 256 @media (min-width: 640px) { 257 .pdf-header { padding: 18px 26px; } 258 .pdf-header-row1 { gap: 16px; } 259 .pdf-header-title { font-size: 17px; } 260 .pdf-header-ctas { margin-top: 0; flex-wrap: nowrap; } 261 .pdf-header-inner { display: flex; align-items: center; justify-content: space-between; } 262 .pdf-header-ctas-wrap { display: flex; align-items: center; gap: 10px; } 263 } 264 `}),e.jsxs("div",{className:"pdf-header",children:[e.jsxs("div",{className:"pdf-header-row1",children:[e.jsxs("div",{className:"pdf-header-meta",children:[e.jsx("div",{style:{width:38,height:38,borderRadius:10,background:"#F0F7E6",border:"1px solid #D9E6C6",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:e.jsx(ve,{size:18,style:{color:"#76BC21"}})}),e.jsxs("div",{className:"pdf-header-text",children:[e.jsxs("div",{className:"pdf-header-sku",children:["PDF · ",r]}),e.jsx("div",{ref:w,className:`pdf-header-title ${l?"expanded":"clamped"}`,children:i}),m&&e.jsx("button",{className:"pdf-title-toggle",onClick:()=>s(v=>!v),children:l?"Ver menos â":"Ver más â"})]})]}),e.jsx("button",{"data-testid":"pdf-modal-close",onClick:o,"aria-label":"Cerrar",style:{width:38,height:38,borderRadius:999,border:"1px solid #C8C4BC",background:"transparent",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"#2D2D2E",flexShrink:0},children:e.jsx(re,{size:17})})]}),a==="available"&&e.jsx("div",{className:"pdf-header-ctas",children:e.jsx("a",{href:I,target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:7,padding:"9px 16px",borderRadius:999,background:"#76BC21",color:"#0F0F0D",fontWeight:700,fontSize:12,textDecoration:"none",border:"none"},children:"â Abrir en nueva pestaña"})})]}),e.jsxs("div",{style:{flex:1,background:"#E5DFCE",position:"relative",overflow:"hidden"},children:[a==="loading"&&e.jsxs("div",{style:{position:"absolute",inset:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:14},children:[e.jsx("div",{style:{width:36,height:36,border:"3px solid #C8C4BC",borderTopColor:"#76BC21",borderRadius:"50%",animation:"pdfSpin 0.9s linear infinite"}}),e.jsx("span",{style:{fontSize:13,color:"#636569"},children:"Cargando documentoâ¦"}),e.jsx("style",{children:"@keyframes pdfSpin { to { transform: rotate(360deg); } }"})]}),a==="available"&&e.jsx("iframe",{"data-testid":"pdf-iframe",title:i,src:I,style:{width:"100%",height:"100%",border:"none"},onError:()=>c("missing")}),a==="missing"&&e.jsxs("div",{"data-testid":"pdf-empty-state",style:{position:"absolute",inset:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",padding:32},children:[e.jsx("div",{style:{width:80,height:80,borderRadius:24,background:"#F0F7E6",border:"1px solid #D9E6C6",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:24},children:e.jsx(Ft,{size:36,style:{color:"#76BC21"}})}),e.jsxs("h3",{style:{fontWeight:800,fontSize:22,color:"#2D2D2E",marginBottom:10},children:["No"," ",e.jsx("span",{style:{fontStyle:"italic",color:"#76BC21"},children:"disponible"})," ","por el momento"]}),e.jsx("p",{style:{fontSize:14,color:"#636569",maxWidth:400,lineHeight:1.6,marginBottom:24},children:"Estamos preparando este documento. Contáctanos y con gusto te enviamos la versión más reciente."}),e.jsxs("div",{style:{display:"flex",gap:10,flexWrap:"wrap",justifyContent:"center"},children:[n&&e.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:7,padding:"10px 20px",borderRadius:999,background:"#76BC21",color:"#0F0F0D",fontWeight:700,fontSize:13,textDecoration:"none"},children:"â Abrir en nueva pestaña"}),e.jsxs("a",{"data-testid":"pdf-empty-contact",href:"mailto:[email protected]?subject=Solicitud%20ficha%20técnica",style:{display:"inline-flex",alignItems:"center",gap:7,padding:"10px 20px",borderRadius:999,border:"1px solid #C8C4BC",background:"transparent",color:"#2D2D2E",fontWeight:700,fontSize:13,textDecoration:"none"},children:[e.jsx(Ft,{size:14})," Solicitar por correo"]}),e.jsx("button",{"data-testid":"pdf-empty-close",onClick:o,style:{padding:"10px 20px",borderRadius:999,border:"1px solid #C8C4BC",background:"transparent",fontWeight:700,fontSize:13,cursor:"pointer",color:"#2D2D2E"},children:"Cerrar"})]})]})]})]})})})}function Kr({open:t,onClose:o}){return t?e.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":"Aviso de Privacidad",style:{position:"fixed",inset:0,zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center",padding:"16px"},children:[e.jsx("div",{onClick:o,style:{position:"absolute",inset:0,background:"rgba(0,0,0,0.6)",backdropFilter:"blur(4px)"}}),e.jsxs("div",{style:{position:"relative",background:"#fff",borderRadius:16,width:"100%",maxWidth:680,maxHeight:"85vh",display:"flex",flexDirection:"column",boxShadow:"0 24px 64px rgba(0,0,0,0.18)",overflow:"hidden"},children:[e.jsxs("div",{style:{padding:"20px 24px 16px",borderBottom:"1px solid #E8E8E4",display:"flex",alignItems:"center",justifyContent:"space-between",flexShrink:0},children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:10,fontWeight:700,letterSpacing:"0.2em",color:"#76BC21",textTransform:"uppercase",marginBottom:4},children:"INNLITE MEXICO SA DE CV"}),e.jsx("h2",{style:{margin:0,fontSize:18,fontWeight:700,color:"#1A1D20",letterSpacing:"-0.01em"},children:"Aviso de Privacidad"})]}),e.jsx("button",{onClick:o,"aria-label":"Cerrar aviso de privacidad",style:{width:36,height:36,borderRadius:999,background:"#F4F4F0",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"#555",flexShrink:0},children:e.jsx(re,{size:16})})]}),e.jsxs("div",{style:{overflowY:"auto",padding:"24px",fontSize:13,lineHeight:1.8,color:"#3A3A38",display:"flex",flexDirection:"column",gap:16},children:[e.jsxs("p",{children:[e.jsx("strong",{children:"INNLITE MEXICO SA DE CV"}),", mejor conocido como ",e.jsx("strong",{children:"INNLITE"}),", con domicilio en Av. Lázaro Cárdenas 810, colonia 8 de Julio, ciudad Guadalajara, municipio o delegación Guadalajara, C.P. 44910, Jalisco, México, y portal de internet ",e.jsx("strong",{children:"www.innlite.com"}),", es el responsable del uso y protección de sus datos personales."]}),e.jsxs(ye,{title:"¿Para qué fines utilizaremos sus datos personales?",children:[e.jsx("p",{children:"De manera adicional, utilizaremos su información personal para las siguientes finalidades secundarias que no son necesarias para el servicio solicitado, pero que nos permiten y facilitan brindarle una mejor atención:"}),e.jsxs("ul",{children:[e.jsx("li",{children:"Datos de Facturación"}),e.jsx("li",{children:"Promoción de Productos"})]}),e.jsxs("p",{children:["En caso de que no desee que sus datos personales sean tratados para estos fines secundarios, puede comunicarlo mediante correo electrónico a ",e.jsx("a",{href:"mailto:[email protected]",style:{color:"#76BC21"},children:"[email protected]"}),"."]}),e.jsx("p",{children:"La negativa para el uso de sus datos personales para estas finalidades no podrá ser un motivo para que le neguemos los servicios y productos que solicita o contrata con nosotros."})]}),e.jsx(ye,{title:"¿Qué datos personales utilizaremos?",children:e.jsxs("ul",{children:[e.jsx("li",{children:"Datos de identificación"}),e.jsx("li",{children:"Datos de contacto"}),e.jsx("li",{children:"Datos fiscales para facturación CFDi"})]})}),e.jsxs(ye,{title:"¿Cómo puede ejercer sus derechos ARCO?",children:[e.jsxs("p",{children:["Usted t
264iene derecho a ",e.jsx("strong",{children:"Acceder, Rectificar, Cancelar u Oponerse"})," al tratamiento de sus datos personales (derechos ARCO). Para ejercerlos, envÃe su solicitud a ",e.jsx("a",{href:"mailto:[email protected]",style:{color:"#76BC21"},children:"[email protected]"})," con su nombre, dirección y motivo."]}),e.jsxs("p",{children:["Le daremos respuesta en un plazo de ",e.jsx("strong",{children:"3 dÃas hábiles"})," por correo electrónico."]}),e.jsx("p",{children:e.jsx("strong",{children:"Contacto del responsable de datos personales:"})}),e.jsxs("ul",{children:[e.jsx("li",{children:"Nombre: Omar Peregrina"}),e.jsx("li",{children:"Domicilio: Av. Lázaro Cárdenas 810, Col. 8 de Julio, Guadalajara, Jalisco, C.P. 44910"}),e.jsxs("li",{children:["Correo: ",e.jsx("a",{href:"mailto:[email protected]",style:{color:"#76BC21"},children:"[email protected]"})]}),e.jsx("li",{children:"Teléfono: 33 3825 4560"})]})]}),e.jsxs(ye,{title:"Revocación del consentimiento",children:[e.jsxs("p",{children:["Puede revocar su consentimiento para el tratamiento de sus datos personales enviando una solicitud a ",e.jsx("a",{href:"mailto:[email protected]",style:{color:"#76BC21"},children:"[email protected]"})," con su nombre, dirección y motivo. Responderemos en 3 dÃas hábiles."]}),e.jsx("p",{children:"Tenga en cuenta que en algunos casos no podremos atender la solicitud de inmediato por obligaciones legales, o que la revocación implique la conclusión del servicio contratado."})]}),e.jsxs(ye,{title:"Limitación del uso o divulgación",children:[e.jsx("p",{children:"Para limitar el uso y divulgación de su información, contamos con el siguiente mecanismo:"}),e.jsxs("table",{style:{width:"100%",borderCollapse:"collapse",fontSize:12},children:[e.jsx("thead",{children:e.jsxs("tr",{style:{background:"#F4F4F0"},children:[e.jsx("th",{style:{padding:"8px 12px",textAlign:"left",borderBottom:"1px solid #E0E0DA",fontWeight:600},children:"Listado"}),e.jsx("th",{style:{padding:"8px 12px",textAlign:"left",borderBottom:"1px solid #E0E0DA",fontWeight:600},children:"Finalidad"}),e.jsx("th",{style:{padding:"8px 12px",textAlign:"left",borderBottom:"1px solid #E0E0DA",fontWeight:600},children:"Medio"})]})}),e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsx("td",{style:{padding:"8px 12px",borderBottom:"1px solid #E0E0DA"},children:"Listado de Exclusión"}),e.jsx("td",{style:{padding:"8px 12px",borderBottom:"1px solid #E0E0DA"},children:"Dejar de recibir promociones"}),e.jsx("td",{style:{padding:"8px 12px",borderBottom:"1px solid #E0E0DA"},children:"Correo electrónico"})]})})]})]}),e.jsxs(ye,{title:"Uso de tecnologÃas de rastreo",children:[e.jsx("p",{children:"En nuestra página de internet utilizamos cookies y web beacons para monitorear su comportamiento como usuario y brindarle una mejor experiencia. Los datos que recabamos incluyen:"}),e.jsxs("ul",{children:[e.jsx("li",{children:"Idioma preferido"}),e.jsx("li",{children:"Región del usuario"}),e.jsx("li",{children:"Tipo de navegador"}),e.jsx("li",{children:"Sistema operativo"})]}),e.jsx("p",{children:"Estos datos se usan únicamente para mejorar el desempeño del sitio web."})]}),e.jsx(ye,{title:"Cambios en este aviso de privacidad",children:e.jsxs("p",{children:["El presente aviso puede sufrir modificaciones. Nos comprometemos a mantenerlo informado a través de nuestra página de internet ",e.jsx("strong",{children:"www.innlite.com"}),"."]})}),e.jsx("p",{style:{fontSize:11,color:"#888",marginTop:8},children:"Ãltima actualización: 09/01/2025"})]})]})]}):null}function ye({title:t,children:o}){return e.jsxs("div",{children:[e.jsx("h3",{style:{margin:"0 0 8px",fontSize:13,fontWeight:700,color:"#1A1D20",borderLeft:"3px solid #76BC21",paddingLeft:10},children:t}),e.jsx("div",{style:{paddingLeft:10},children:o})]})}const Ze=t=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...t,children:[e.jsx("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),e.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),e.jsx("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})]}),Qe=t=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...t,children:e.jsx("path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"})}),et=t=>e.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...t,children:e.jsx("path",{d:"M9 12a4 4 0 1 0 4 4V4a
2645 5 0 0 0 5 5"})}),Jr=t=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...t,children:[e.jsx("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.95-1.97C18.88 4 12 4 12 4s-6.88 0-8.59.45A2.78 2.78 0 0 0 1.46 6.42 29 29 0 0 0 1 12a29 29 0 0 0 .46 5.58 2.78 2.78 0 0 0 1.95 1.97C5.12 20 12 20 12 20s6.88 0 8.59-.45a2.78 2.78 0 0 0 1.95-1.97A29 29 0 0 0 23 12a29 29 0 0 0-.46-5.58z"}),e.jsx("polygon",{points:"9.75 15.02 15.5 12 9.75 8.98 9.75 15.02"})]}),Yr=t=>e.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...t,children:[e.jsx("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),e.jsx("rect",{x:"2",y:"9",width:"4",height:"12"}),e.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),Xr=[{brand:"Innlite",logo:"/logo-innlite-white.svg",links:[{label:"Instagram",href:"https://www.instagram.com/innlitemx/",Icon:Ze},{label:"Facebook",href:"https://www.facebook.com/innlitemx/",Icon:Qe},{label:"TikTok",href:"https://www.tiktok.com/@innlite_mexico",Icon:et},{label:"LinkedIn",href:"https://mx.linkedin.com/company/innlite-mx",Icon:Yr},{label:"YouTube",href:"https://www.youtube.com/@grupoinnlite370",Icon:Jr}]},{brand:"Artlite",logo:"/artlite-logo.svg",links:[{label:"Instagram",href:"https://www.instagram.com/artlitemx/",Icon:Ze},{label:"Facebook",href:"https://www.facebook.com/ar7litemx/",Icon:Qe},{label:"TikTok",href:"https://www.tiktok.com/@ar7lite.mx",Icon:et}]},{brand:"WinLED",logo:"/winled-logo.svg",links:[{label:"Instagram",href:"https://www.instagram.com/winledmx/",Icon:Ze},{label:"Facebook",href:"https://www.facebook.com/winledmx",Icon:Qe},{label:"TikTok",href:"https://www.tiktok.com/@winled.mx",Icon:et}]}];function Zr(){const[t,o]=p.useState(!1),[r,i]=p.useState(!1);return e.jsxs("footer",{className:"bg-[#1A1D20] text-white pt-16 pb-10 px-4 sm:px-6 border-t border-white/5",style:{paddingBottom:"max(2.5rem, env(safe-area-inset-bottom))"},children:[e.jsxs("div",{className:"max-w-7xl mx-auto",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-8 lg:gap-10 mb-10",children:[e.jsxs("div",{className:"space-y-5 sm:col-span-2 lg:col-span-6",children:[e.jsx("img",{src:"/logo-innlite-white.svg",alt:"Innlite",style:{height:44,width:"auto",display:"block"}}),e.jsx("p",{className:"text-gray-400 text-xs leading-relaxed max-w-xs pr-2",children:"Distribuidores exclusivos de ARTLITE y WINLED en la zona occidente de México. Soluciones LED para iluminación residencial, comercial e industrial â empotrables arquitectónicos, campanas industriales, reflectores exteriores, tiras RGB y sistemas de control inteligente."}),e.jsx("div",{className:"space-y-3 pt-1",children:Xr.map(({brand:n,links:a})=>e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx("span",{className:"text-[10px] font-bold uppercase tracking-widest text-gray-500 w-14 flex-shrink-0",children:n}),e.jsx("div",{className:"flex gap-1.5",children:a.map(({label:c,href:l,Icon:s})=>e.jsx("a",{href:l,target:"_blank",rel:"noopener noreferrer","aria-label":`${n} en ${c}`,className:"w-8 h-8 rounded-full bg-white/5 flex items-center justify-center hover:bg-[#76BC21] hover:text-black transition-all",children:e.jsx(s,{className:"w-3.5 h-3.5"})},c))})]},n))})]}),e.jsxs("div",{className:"space-y-3 lg:col-span-3 sm:col-span-1",children:[e.jsx("h4",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-[#76BC21]",children:"Navegación"}),e.jsxs("div",{className:"grid grid-cols-1 gap-1.5 text-[13px] text-gray-400",children:[e.jsx("a",{href:"/catalogo",className:"hover:text-white transition-colors py-0.5",children:"Catálogo Completo"}),e.jsx("a",{href:"/servicios",className:"hover:text-white transition-colors py-0.5",children:"Servicios"}),e.jsx("a",{href:"/recursos",className:"hover:text-white transition-colors py-0.5",children:"Centro de Recursos"}),e.jsx("a",{href:"/nosotros",className:"hover:text-white transition-colors py-0.5",children:"Nosotros"}),e.jsx("a",{href:"/alianza",className:"hover:text-white transition-colors py-0.5",children:"Nuestra Alianza"})]})]}),e.jsxs("div",{className:"space-y-3 lg:col-span-3 sm:col-span-1",children:[e.jsx("h4",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-[#76BC21]",children:"Contacto"}),e.jsxs("ul",{className:"space-y-2.5",children:[e.jsxs("li",{className:"flex items-start gap-2.5 text-[13px] text-gray-300",children:[e.jsx(Ti,{size:14,className:"text-[#76BC21] mt-0.5 flex-shrink-0"}),e.jsx("span",{className:"leading-snug",children:"Calz. Lázaro Cárdenas #810, Col. 8 Julio, CP 44910"})]}),e.jsxs("li",{className:"flex items-center gap-2.5 text-[13px] text-gray-300",children:[e.jsx(Gi,{size:14,className:"text-[#76BC21] flex-shrink-0"})," 33 3825 4560"]}),e.jsxs("li",{className:"flex items-center gap-2.5 text-[13px] text-gray-300",children:[e.jsx(go,{size:14,className:"text-[#76BC21] flex-shrink-0"})," [email protected]"]})]})]})]}),e.jsxs("div",{className:"pt-4 border-t border-white/5 flex flex-col md:flex-row justify-between items-center gap-3 text-[9px] font-bold text-gray-500 uppercase tracking-widest",children:[e.jsx("p",{children:"© 2026 Innlite. Todos los derechos reservados."}),e.jsxs("div",{className:"flex gap-5",children:[e.jsx("button",{onClick:()=>o(!0),className:"hover:text-white transition-colors cursor-pointer bg-transparent border-0 p-0 text-[9px] font-bold text-gray-500 uppercase tracking-widest",children:"Términos y Condiciones"}),e.jsx("button",{onClick:()=>i(!0),className:"hover:text-white transition-colors cursor-pointer bg-transparent border-0 p-0 text-[9px] font-bold text-gray-500 uppercase tracking-widest",children:"Aviso de Privacidad"})]})]})]}),e.jsx(vt,{open:t,onClose:()=>o(!1),sku:"TYC-2026",title:"Términos y Condiciones",pdfUrl:"/terminos-y-condiciones.pdf"}),e.jsx(Kr,{open:r,onClose:()=>i(!1)})]})}const y={colors:{ink:"#0F0F0D",cream:"#F7F4EC",creamSoft:"#EFEBDF",creamDeep:"#E5DFCE",white:"#FFFFFF",sigGreen:"#76BC21",sigGreenLight:"#EFF7E2",sigGreenDark:"#4E7815",amber:"#D4973A",gray:"#636569",border:"#E4E7E1",borderStrong:"#C8C4BC"},font:{family:"'Montserrat', system-ui, sans-serif",mono:"'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace"},radius:{pill:"999px",card:"20px"},shadow:{card:"0 4px 20px rgba(15,15,13,0.08)"}},Wt={Artlite:{bg:"#EFF7E2",fg:"#4E7815",border:"#76BC21"}
264,WINLED:{bg:"#DCE3F4",fg:"#2E4B9E",border:"#2E4B9E"},Hannover:{bg:"#ECEAE5",fg:"#2D2D2E",border:"#4A4A4A"},Innlite:{bg:"#F5F6F3",fg:"#636569",border:"#C8C4BC"}},tt=768;function Qr(){const[t,o]=p.useState(void 0);return p.useEffect(()=>{const r=window.matchMedia(`(max-width: ${tt-1}px)`),i=()=>{o(window.innerWidth<tt)};return r.addEventListener("change",i),o(window.innerWidth<tt),()=>r.removeEventListener("change",i)},[]),!!t}const ea={ficha:ve,catalogo:li,instructivo:cr},ta={ficha:"Ficha Técnica",catalogo:"Catálogo",instructivo:"Instructivo"};function oa({onClose:t}){const{items:o,remove:r,setQty:i,count:n,clear:a}=me(),c=Qr();return e.jsxs(e.Fragment,{children:[e.jsx(F.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:t,className:"fixed inset-0 z-[90] bg-black/40 backdrop-blur-sm"}),e.jsxs(F.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:25,stiffness:200},className:"fixed top-0 right-0 bottom-0 z-[100] w-full max-w-md bg-white shadow-2xl flex flex-col",style:{fontFamily:y.font.family},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"20px 24px",borderBottom:`1px solid ${y.colors.border}`},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[e.jsx("div",{style:{width:40,height:40,borderRadius:12,background:y.colors.sigGreenLight,border:`1px solid ${y.colors.sigGreen}30`,display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(ut,{size:18,style:{color:y.colors.sigGreen}})}),e.jsxs("div",{children:[e.jsx("div",{style:{fontWeight:800,fontSize:16,color:y.colors.ink},children:"Mi Lista de Cotización"}),e.jsxs("div",{style:{fontSize:12,color:y.colors.gray,marginTop:1},children:[n," ",n===1?"documento":"documentos"," · ",o.reduce((l,s)=>l+s.qty,0)," unidades"]})]})]}),e.jsx("button",{onClick:t,"aria-label":"Cerrar carrito de cotización",style:{width:36,height:36,borderRadius:999,border:`1px solid ${y.colors.border}`,background:"transparent",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:y.colors.gray},children:e.jsx(re,{size:18})})]}),e.jsx("div",{style:{flex:1,overflowY:"auto",padding:"16px 24px"},children:n===0?e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:200,textAlign:"center",gap:12},children:[e.jsx(ut,{size:40,style:{color:y.colors.borderStrong}}),e.jsx("div",{style:{fontWeight:700,color:y.colors.gray},children:"Tu lista está vacÃa"}),e.jsx("div",{style:{fontSize:13,color:y.colors.borderStrong},children:"Agrega fichas, catálogos o instructivos"})]}):e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:10},children:o.map(l=>{const s=l.brand==="ARTLITE"?"Artlite":l.brand==="WINLES"?"WINLED":l.brand,m=Wt[s]||Wt.Artlite,g=ea[l.type];return e.jsxs("div",{style:{display:"flex",gap:12,padding:16,borderRadius:16,border:`1px solid ${y.colors.border}`,background:y.colors.creamSoft,transition:"border-color 0.2s ease"},children:[e.jsx("div",{style:{width:44,height:44,borderRadius:12,background:m.bg,color:m.fg,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:e.jsx(g,{size:18})}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{fontSize:10,fontWeight:800,letterSpacing:"0.12em",textTransform:"uppercase",color:m.fg,marginBottom:3},children:[l.brand," · ",ta[l.type]]}),e.jsx("div",{style:{fontWeight:700,fontSize:14,color:y.colors.ink,lineHeight:1.3,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:l.title}),l.meta&&e.jsx("div",{style:{fontSize:11,color:y.colors.gray,marginTop:3},children:l.meta}),e.jsxs("div",{style:{marginTop:8,display:"flex",alignItems:"center",gap:8},children:[e.jsx("button",{onClick:()=>i(l.sku,l.qty-1),"aria-label":`Disminuir cantidad de ${l.title}`,style:{width:24,height:24,borderRadius:999,border:`1px solid ${y.colors.border}`,background:y.colors.white,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(Oi,{size:10})}),e.jsx("span",{style:{fontWeight:700,fontSize:13,width:24,textAlign:"center",color:y.colors.ink},children:l.qty}),e.jsx("button",{onClick:()=>i(l.sku,l.qty+1),"aria-label":`Aumentar cantidad de ${l.title}`,style:{width:24,height:24,borderRadius:999,border:`1px solid ${y.colors.border}`,background:y.colors.white,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsx(Le,{size:10})})]})]}),e.jsx("button",{onClick:()=>r(l.sku),"aria-label":`Eliminar ${l.title} de la lista`,style:{padding:6,borderRadius:8,border:"none",background:"transparent",curs
264or:"pointer",color:y.colors.borderStrong,alignSelf:"flex-start",transition:"all 0.2s ease"},onMouseEnter:w=>{w.currentTarget.style.background="#FEE2E2",w.currentTarget.style.color="#EF4444"},onMouseLeave:w=>{w.currentTarget.style.background="transparent",w.currentTarget.style.color=y.colors.borderStrong},children:e.jsx(sr,{size:15})})]},l.sku)})})}),n>0&&e.jsxs("div",{style:{padding:"16px 24px",paddingBottom:c?"calc(16px + 80px + env(safe-area-inset-bottom, 0px))":"16px",borderTop:`1px solid ${y.colors.border}`},children:[e.jsxs("a",{href:`mailto:[email protected]?subject=Solicitud%20de%20cotización%20Innlite&body=${encodeURIComponent(`Hola, me interesa cotizar los siguientes documentos/productos: 265 266`+o.map(l=>`⢠${l.qty}x ${l.title} (${l.sku}) â ${l.brand}`).join(` 267`)+` 268 269Por favor envÃen propuesta técnica y precios.`)}`,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:8,width:"100%",padding:"14px",borderRadius:999,background:y.colors.sigGreen,color:"#0F0F0D",fontWeight:800,fontSize:14,textDecoration:"none",boxShadow:"0 8px 24px rgba(118,188,33,0.3)",transition:"all 0.2s ease"},onMouseEnter:l=>{l.currentTarget.style.background="#8ED432",l.currentTarget.style.transform="translateY(-1px)"},onMouseLeave:l=>{l.currentTarget.style.background=y.colors.sigGreen,l.currentTarget.style.transform="translateY(0)"},children:[e.jsx(Xi,{size:16})," Enviar solicitud de cotización"]}),e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginTop:10,alignItems:"center"},children:[e.jsx("div",{style:{fontSize:11,color:y.colors.gray},children:"Respuesta en <24 horas hábiles"}),e.jsx("button",{onClick:a,"aria-label":"Limpiar lista de cotización",style:{fontSize:11,color:y.colors.gray,background:"none",border:"none",cursor:"pointer",textDecoration:"underline"},children:"Limpiar lista"})]})]})]})]})}const ia={sm:{padding:"8px 18px",fontSize:12,gap:6,iconSz:14},md:{padding:"10px 22px",fontSize:13,gap:7,iconSz:15},lg:{padding:"14px 30px",fontSize:14,gap:8,iconSz:16}},Pt={primary:{from:K.sig,to:K.ink,textFrom:"#fff",textTo:"#fff",border:"none",shadow:`0 6px 20px ${K.sig}44`},secondary:{from:"#fff",to:K.sig,textFrom:K.ink,textTo:"#fff",border:`1px solid ${K.ink}20`,shadow:"none"},ghost:{from:K.sigXLight,to:K.sig,textFrom:K.sigDark,textTo:"#fff",border:`1px solid ${K.sigLight}`,shadow:"none"},dark:{from:K.ink,to:K.sig,textFrom:"#fff",textTo:"#fff",border:"none",shadow:"none"},outline:{from:"transparent",to:"rgba(255,255,255,.18)",textFrom:"rgba(255,255,255,.9)",textTo:"#fff",border:"1px solid rgba(255,255,255,.28)",shadow:"none"},outlineInk:{from:"transparent",to:K.ink,textFrom:K.ink,textTo:"#fff",border:`1px solid ${K.ink}35`,shadow:"none"}};function $t({children:t,variant:o="primary",size:r="md",icon:i,iconRight:n,onClick:a,disabled:c=!1,className:l="",type:s="button",style:m={}}){const[g,w]=p.useState(!1),I=ia[r],v=Pt[o]??Pt.primary,h=`linear-gradient(to right, ${v.to} 50%, ${v.from} 50%)`;return e.jsxs("button",{type:s,onClick:a,disabled:c,onMouseEnter:()=>w(!0),onMouseLeave:()=>w(!1),className:`inline-flex items-center rounded-full cursor-pointer ${l}`,style:{fontFamily:to.sans,fontWeight:600,letterSpacing:"0.01em",padding:I.padding,fontSize:I.fontSize,gap:I.gap,background:h,backgroundSize:"200% 100%",backgroundPosition:g?"0% 50%":"100% 50%",color:g?v.textTo:v.textFrom,border:v.border||"none",boxShadow:g?"none":v.shadow,transition:"background-position 0.38s cubic-bezier(.32,0,.18,1), color 0.22s ease, box-shadow 0.2s ease",outline:"none",opacity:c?.5:1,...m},children:[i&&e.jsx(i,{size:I.iconSz,strokeWidth:2}),t,n&&e.jsx(n,{size:I.iconSz,strokeWidth:2})]})}const ra={Artlite:{bg:"#EDF5DB",text:K.sigDark,border:"#9EC257"},WINLED:{bg:"#E4EBF6",text:K.blue,border:"#8CA1D0"},Hannover:{bg:"#ECEAE5",text:K.inkSoft,border:"#B8B5AD"}},aa=[{label:"SKU / Modelo",key:"model",mono:!0},{label:"Marca",key:"brand",mono:!1},{label:"CategorÃa",key:"cat",mono:!1},{label:"Aplicación",key:"application",mono:!1},{label:"Potencia",key:"watts",mono:!0,highlight:"lower",numKey:"powerW"},{label:"Flujo luminoso",key:"lm",mono:!0,highlight:"higher"},{label:"Temperatura",key:"temp",mono:!0},{label:"CRI / IRC",key:"cri",mono:!0,highlight:"higher"},{label:"Protección IP",key:"ip",mono:!0},{label:"GarantÃa",key:"brand",mono:!1,render:t=>t==="Hannover"?"2 años":"3 años"}];function na({items:t,onClose:o}){if(t.length<2)return null;const r=t.length;return e.jsx(F.div,{initial:{opacity:0}
269,animate:{opacity:1},exit:{opacity:0},onClick:o,className:"fixed inset-0 z-[100] grid place-items-center p-4 md:p-6 bg-[#0F0F0D]/80 backdrop-blur-md",children:e.jsxs(F.div,{initial:{scale:.95,y:20},animate:{scale:1,y:0},exit:{scale:.95,opacity:0},onClick:i=>i.stopPropagation(),className:"w-full max-w-[1000px] max-h-[90vh] bg-white rounded-[32px] flex flex-col overflow-hidden shadow-2xl shadow-[#76BC21]/10",children:[e.jsxs("div",{className:"bg-[#0F0F0D] p-8 md:p-10 relative overflow-hidden shrink-0",children:[e.jsx("div",{className:"absolute top-0 left-1/4 w-[300px] h-[300px] bg-[#76BC21]/20 rounded-full blur-[80px] pointer-events-none"}),e.jsxs("div",{className:"relative z-10 flex items-start justify-between",children:[e.jsxs("div",{className:"flex gap-5 items-center",children:[e.jsx("div",{className:"w-14 h-14 rounded-2xl bg-[#1C1C19] border border-[#3A3A36] flex items-center justify-center shadow-lg",children:e.jsx(ni,{size:24,className:"text-[#76BC21]"})}),e.jsxs("div",{children:[e.jsx("h2",{style:{fontFamily:to.display},className:"text-3xl md:text-4xl font-bold text-white tracking-tight leading-none mb-2",children:"Análisis Técnico"}),e.jsxs("p",{className:"text-[#6B6E72] text-sm font-light",children:["Comparando"," ",e.jsx("span",{className:"text-white font-bold",children:r})," ","luminarios seleccionados"]})]})]}),e.jsx("button",{onClick:o,className:"w-10 h-10 rounded-full bg-white/5 border border-white/10 flex items-center justify-center text-white/50 hover:bg-white/10 hover:text-white transition-all",children:e.jsx(re,{size:18})})]})]}),e.jsxs("div",{className:"overflow-y-auto flex-1 bg-white",children:[e.jsxs("div",{className:"grid gap-0 border-b-4 border-[#76BC21]",style:{gridTemplateColumns:`180px repeat(${r}, 1fr)`},children:[e.jsx("div",{className:"bg-[#FBFBF9]"}),t.map(i=>{const n=ra[i.brand]||{bg:K.cream,text:K.ink,border:K.inkMuted};return e.jsxs("div",{className:"p-6 text-center bg-white border-l border-[#EEF1EB] relative group",children:[e.jsx("div",{className:"w-24 h-24 mx-auto mb-4 bg-[#FBFBF9] rounded-full p-2 border border-[#EEF1EB] group-hover:scale-105 transition-transform duration-500",children:e.jsx("img",{src:i.img||i.mainImage,alt:i.name,className:"w-full h-full object-contain mix-blend-multiply"})}),e.jsx("span",{className:"inline-block px-3 py-1 rounded-full text-[9px] font-black uppercase tracking-widest mb-3",style:{background:n.bg,color:n.text,border:`1px solid ${n.border}`},children:i.brand}),e.jsx("h3",{className:"font-bold text-[#2D2D2E] text-sm leading-tight mb-1 line-clamp-2",children:i.name}),e.jsx("p",{className:"font-mono text-[10px] text-[#6B6E72]",children:i.model})]},i.model)})]}),e.jsx("div",{className:"bg-[#FBFBF9]",children:aa.map(({label:i,key:n,mono:a,render:c,highlight:l,numKey:s},m)=>{const g=v=>parseFloat(String(v[s||n]||"0").replace(/[^\d.]/g,"")),w=l==="higher"?Math.max(...t.map(g)):null,I=l==="lower"?Math.min(...t.filter(v=>g(v)>0).map(g)):null;return e.jsxs("div",{className:`grid border-b border-[#EEF1EB] ${m%2===0?"bg-white":"bg-[#FBFBF9]"}`,style:{gridTemplateColumns:`180px repeat(${r}, 1fr)`},children:[e.jsx("div",{className:"p-4 md:p-5 flex items-center text-[11px] font-bold text-[#6B6E72] uppercase tracking-widest",children:i}),t.map((v,h)=>{const A=v[n],P=c?c(A,v):A,z=!P||P==="â",T=g(v),N=!z&&(l==="higher"&&T===w||l==="lower"&&T===I);return e.jsxs("div",{className:"p-4 md:p-5 flex flex-col items-center justify-center border-l border-[#EEF1EB] relative",children:[N&&e.jsxs("div",{className:"absolute top-1 flex items-center gap-1 text-[8px] font-black text-[#4E7815] uppercase tracking-widest bg-[#F5FAEC] px-2 py-0.5 rounded-full border border-[#D9E6C6]",children:[e.jsx(Ee,{size:10})," ","Destacado"]}),e.jsx("span",{className:`text-sm text-center ${a?"font-mono":"font-sans"} ${N?"font-bold text-[#2D2D2E] mt-3":"font-medium text-[#636569]"} ${z?"text-[#D1D5DB]":""}`,children:z?"â":P})]},v.model+h)})]},n+m)})})]}),e.jsxs("div",{className:"bg-white p-6 border-t border-[#EEF1EB] flex flex-col md:flex-row items-center justify-between gap-4 shrink-0",children:[e.jsxs("p",{className:"text-[11px] text-[#6B6E72] flex items-center gap-2",children:[e.jsx(Ee,{size:14,className:"text-[#76BC21]"})," ","El sistema resalta automáticamente el mejor valor."]}),e.jsxs("div",{className:"flex gap-3 w-full md:w-auto",children:[e.jsx($t,{variant:"secondary",icon:$e,className:"flex-1 md:flex-none justify-center",children:"PDF"}),e.jsx($t,{icon:go,className:"flex-1 md:flex-none justify-center",children:"Cotizar selección"})]})]})]})})}const sa=[{label:"Campanas High-Bay",href:"/catalogo?cat=campanas"},{label:"Paneles LED 60x60",href:"/catalogo?cat=paneles"},{label:"Tiras LED",href:"/catalogo?cat=tiras"},{label:"Reflectores Exteriores",href:"/catalogo?cat=reflectores"},{label:"Curvas IES ARTLITE",href:"/recursos"}],la={Artlite:"text-[#4E7815]",ARTLITE:"text-[#4E7815]",WINLED:"text-blue-600"};function ca({isOpen:t,onClose:o}){const[r,i]=p.useState(""),[n,a]=p.useState([]),c=p.useRef(null);p.useEffect(()=>{ao().then(a).catch(()=>{})},[]),p.useEffect(()=>{t?setTimeout(()=>{var s;return(s=c.current)==null?void 0:s.focus()},100):i("")},[t]),p.useEffect(()=>{const s=m=>{m.key==="Escape"&&o()};return window.addEventListener("keydown",s),()=>window.removeEventListener("keydown",s)}
269,[o]);const l=p.useMemo(()=>{if(!r.trim())return[];const s=r.toLowerCase();return n.filter(m=>{var g;return(m.sku??"").toLowerCase().includes(s)||m.name.toLowerCase().includes(s)||(m.brand??"").toLowerCase().includes(s)||(m.cat??"").toLowerCase().includes(s)||(m.model??"").toLowerCase().includes(s)||(((g=m.application)==null?void 0:g.toLowerCase().includes(s))??!1)||(m.description??"").toLowerCase().includes(s)}).slice(0,6)},[r,n]);return e.jsx(X,{children:t&&e.jsxs("div",{className:"fixed inset-0 z-[200] flex md:items-start md:justify-center md:pt-[12vh] md:px-4",children:[e.jsx(F.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:o,className:"absolute inset-0 bg-[#2D2D2E]/50 backdrop-blur-md"}),e.jsxs(F.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.2},className:"bg-white w-full md:max-w-2xl md:rounded-[32px] shadow-2xl overflow-hidden relative z-10 border-b md:border border-[#EEF1EB] rounded-b-3xl",style:{maxHeight:"calc(100dvh - env(keyboard-inset-height, 0px) - 80px)"},children:[e.jsxs("div",{className:"flex items-center gap-4 border-b border-[#EEF1EB]",style:{padding:"16px 24px",paddingTop:"calc(16px + env(safe-area-inset-top, 0px))"},children:[e.jsx(De,{className:"text-[#76BC21] shrink-0",size:20}),e.jsx("label",{htmlFor:"search-modal-input",className:"sr-only",children:"Buscar productos"}),e.jsx("input",{id:"search-modal-input",ref:c,value:r,onChange:s=>i(s.target.value),placeholder:"Buscar por nombre, SKU, modelo, categorÃa...",className:"flex-1 outline-none text-[#2D2D2E] placeholder:text-[#C4C7CE] bg-transparent text-[15px]"}),r?e.jsx("button",{onClick:()=>i(""),"aria-label":"Limpiar búsqueda",className:"p-2.5 rounded-full hover:bg-[#F1F3EE] text-[#6B6E72]",children:e.jsx(re,{size:16})}):e.jsx("kbd",{className:"hidden sm:inline-flex items-center gap-1 px-2 py-1 rounded-lg border border-[#E0DDD5] bg-[#F7F4EC] text-[10px] font-bold text-[#6B6E72] font-mono select-none",children:"âK"}),e.jsx("button",{onClick:o,className:"p-3 rounded-full hover:bg-[#F1F3EE] text-[#6B6E72]","aria-label":"Cerrar búsqueda",children:e.jsx(re,{size:18})})]}),l.length>0?e.jsxs("div",{className:"max-h-[55dvh] md:max-h-[400px] overflow-y-auto",children:[e.jsxs("p",{className:"px-6 pt-4 pb-2 text-[10px] font-bold uppercase tracking-widest text-[#6B6E72]",children:[l.length," resultado",l.length!==1?"s":""]}),l.map(s=>e.jsxs(q,{to:`/producto/${s.id}`,onClick:o,className:"flex items-center gap-4 px-6 py-4 hover:bg-[#FBFBF9] transition-colors border-b border-[#F5F6F3] last:border-0",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#F3F6FA] flex items-center justify-center shrink-0 overflow-hidden",children:e.jsx("img",{src:s.mainImage||s.img,alt:s.name,className:"w-full h-full object-cover mix-blend-multiply"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:`text-[10px] font-black uppercase tracking-widest ${la[s.brand]||"text-[#4E7815]"}`,children:s.brand}),e.jsx("span",{className:"text-[10px] font-mono text-[#6B6E72] bg-[#F5F6F3] px-1.5 py-0.5 rounded",children:s.sku})]}),e.jsx("div",{className:"font-bold text-[#2D2D2E] truncate",children:s.name}),e.jsxs("div",{className:"text-xs text-[#6B6E72]",children:[s.cat,s.watts?` · ${s.watts}`:""]})]}),e.jsxs("div",{className:"flex items-center gap-1 text-xs font-bold text-[#4E7815] shrink-0",children:["Ver ",e.jsx(oe,{size:12})]})]},s.id)),e.jsx("div",{className:"p-4 text-center",children:e.jsxs(q,{to:`/catalogo?q=${encodeURIComponent(r)}`,onClick:o,className:"inline-flex items-center gap-2 text-sm font-bold text-[#4E7815] hover:underline",children:["Ver todos los resultados en catálogo ",e.jsx(oe,{size:14})]})})]}):r.trim()?e.jsxs("div",{className:"p-10 text-center",children:[e.jsx(Be,{size:32,className:"text-[#EEF1EB] mx-auto mb-4"}),e.jsxs("p",{className:"font-bold text-[#6B6E72]",children:['Sin resultados para "',r,'"']}),e.jsx("p",{className:"text-sm text-[#C4C7CE] mt-1",children:"Intenta con otro término o explora el catálogo"})]}):e.jsxs("div",{className:"p-6",children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-widest text-[#6B6E72] mb
269-4",children:"Búsquedas frecuentes"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:sa.map(s=>e.jsxs(q,{to:s.href,onClick:o,className:"flex items-center gap-1.5 px-4 py-2 rounded-full bg-[#F5F6F3] text-sm font-medium text-[#636569] hover:bg-[#F5FAEC] hover:text-[#76BC21] transition-all",children:[e.jsx(oe,{size:12}),s.label]},s.label))})]})]})]})})}const _t="5213318492515",Ot=encodeURIComponent("Hola Innlite, me gustarÃa recibir información sobre sus productos de iluminación LED.");function da({hideOnMobile:t=!1}){const[o,r]=p.useState(!1);return e.jsxs("div",{className:`fixed left-4 z-[130] flex flex-col items-start gap-3${t?" max-sm:hidden":""}`,style:{bottom:"calc(80px + env(safe-area-inset-bottom, 0px))"},onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[e.jsx(X,{children:o&&e.jsxs(F.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},exit:{opacity:0,x:-10},className:"bg-white rounded-2xl shadow-2xl border border-[#EEF1EB] p-4 max-w-[220px] relative",children:[e.jsx("button",{onClick:()=>r(!1),"aria-label":"Cerrar mensaje",className:"absolute top-1 right-1 p-2.5 rounded-full hover:bg-[#F1F3EE] text-[#6B6E72]",children:e.jsx(re,{size:12})}),e.jsx("p",{className:"text-xs font-bold text-[#2D2D2E] mb-1",children:"¿Necesitas asesorÃa?"}),e.jsx("p",{className:"text-[11px] text-[#636569] leading-relaxed",children:"Chatea con un asesor técnico Innlite. Respondemos en minutos."}),e.jsxs("a",{href:`https://wa.me/${_t}?text=${Ot}`,target:"_blank",rel:"noopener noreferrer",className:"mt-3 flex items-center gap-2 bg-[#25D366] text-white text-xs font-bold px-4 py-2 rounded-full hover:bg-[#1ebe5b] transition-colors",children:[e.jsx($i,{size:14}),"Iniciar chat"]})]})}),e.jsx(F.a,{href:`https://wa.me/${_t}?text=${Ot}`,target:"_blank",rel:"noopener noreferrer",initial:{scale:0,y:20},animate:{scale:1,y:0},transition:{delay:1.5,type:"spring",stiffness:200},whileHover:{scale:1.1},whileTap:{scale:.95},onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),className:"w-14 h-14 rounded-full flex items-center justify-center shadow-2xl",style:{background:"linear-gradient(135deg, #25D366 0%, #1ebe5b 100%)",boxShadow:"0 8px 32px rgba(37,211,102,0.4)"},"aria-label":"Contactar por WhatsApp",children:e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"white",width:"28",height:"28",children:e.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.890-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})})})]})}const ot={get(t){try{const o=localStorage.getItem(t);return o?JSON.parse(o):null}catch{return null}},set(t,o){try{return localStorage.setItem(t,JSON.stringify(o)),!0}catch{return!1}}};function pa(){const[t,o]=p.useState({accepted:!1,timestamp:null}),[r,i]=p.useState(!1);p.useEffect(()=>{const c=ot.get("innlite-cookie-v1");c&&o(c),i(!0)},[]);const n=p.useCallback(()=>{const c={accepted:!0,timestamp:Date.now()};o(c),ot.set("innlite-cookie-v1",c)},[]),a=p.useCallback(()=>{const c={accepted:!1,timestamp:Date.now()};o(c),ot.set("innlite-cookie-v1",c)},[]);return{consent:t,accept:n,reject:a,shouldPrompt:r&&t.timestamp===null}}function ma(){const{shouldPrompt:t,accept:o,reject:r}=pa();return e.jsx(X,{children:t&&e.jsx(F.div,{initial:{y:120,opacity:0}
269,animate:{y:0,opacity:1},exit:{y:120,opacity:0},transition:{type:"spring",damping:26,stiffness:300},style:{position:"fixed",bottom:24,left:24,width:"min(calc(100% - 48px), 420px)",zIndex:200},children:e.jsxs("div",{style:{background:"#1A1C1A",borderRadius:20,padding:"20px 24px",boxShadow:"0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.07)",display:"flex",gap:16,alignItems:"flex-start"},children:[e.jsx("div",{style:{width:40,height:40,borderRadius:12,background:"rgba(118,188,33,0.15)",border:"1px solid rgba(118,188,33,0.3)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,marginTop:2},children:e.jsx(ki,{size:18,color:"#76BC21",strokeWidth:2})}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsx("div",{style:{fontFamily:"'Montserrat', system-ui, sans-serif",fontSize:14,fontWeight:700,color:"#fff",marginBottom:6,letterSpacing:"-0.01em"},children:"Tu privacidad nos importa"}),e.jsx("p",{style:{fontFamily:"system-ui, sans-serif",fontSize:12,lineHeight:1.6,color:"rgba(255,255,255,0.5)",margin:0},children:"Usamos cookies para mejorar tu experiencia en Innlite, analizar el tráfico y personalizar contenido. Puedes aceptar todas o rechazar las no esenciales."}),e.jsxs("div",{style:{display:"flex",gap:8,marginTop:14,flexWrap:"wrap"},children:[e.jsxs("button",{onClick:o,style:{display:"flex",alignItems:"center",gap:6,background:"#76BC21",color:"#fff",border:"none",borderRadius:40,padding:"9px 20px",fontFamily:"'Montserrat', system-ui, sans-serif",fontSize:12,fontWeight:700,cursor:"pointer",letterSpacing:"-0.01em",boxShadow:"0 4px 16px rgba(118,188,33,0.35)",transition:"all 0.2s"},onMouseEnter:i=>i.currentTarget.style.background="#4E7815",onMouseLeave:i=>i.currentTarget.style.background="#76BC21",children:[e.jsx(xo,{size:13,strokeWidth:2.5}),"Aceptar todas"]}),e.jsx("button",{onClick:r,style:{background:"rgba(255,255,255,0.07)",color:"rgba(255,255,255,0.55)",border:"1px solid rgba(255,255,255,0.1)",borderRadius:40,padding:"9px 20px",fontFamily:"'Montserrat', system-ui, sans-serif",fontSize:12,fontWeight:600,cursor:"pointer",transition:"all 0.2s"},onMouseEnter:i=>{i.currentTarget.style.background="rgba(255,255,255,0.12)",i.currentTarget.style.color="rgba(255,255,255,0.85)"},onMouseLeave:i=>{i.currentTarget.style.background="rgba(255,255,255,0.07)",i.currentTarget.style.color="rgba(255,255,255,0.55)"},children:"Solo esenciales"})]})]}),e.jsx("button",{onClick:r,style:{width:28,height:28,borderRadius:"50%",background:"rgba(255,255,255,0.06)",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"rgba(255,255,255,0.3)",flexShrink:0,transition:"all 0.15s"},onMouseEnter:i=>{i.currentTarget.style.background="rgba(255,255,255,0.14)",i.currentTarget.style.color="#fff"},onMouseLeave:i=>{i.currentTarget.style.background="rgba(255,255,255,0.06)",i.currentTarget.style.color="rgba(255,255,255,0.3)"},"aria-label":"Cerrar",children:e.jsx(re,{size:13,strokeWidth:2.5})})]})})})}const Ht=["Certificación NOM-031","Calificación ENER","Protección IP65/IP67","CRI 90+ disponible","Driver Meanwell","GarantÃa 3 años","EnvÃo nacional","Cálculo Dialux gratuito","Fichas IES descargables","Soporte técnico 24h","Stock disponible CDMX","Stock disponible GDL"];function Io(){return e.jsxs("section",{style:{position:"relative",overflow:"hidden",background:"linear-gradient(180deg, #090B09 0%, #0D100C 100%)",padding:"22px 0",fontFamily:"Montserrat, sans-serif"},children:[e.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:1,zIndex:4,background:"linear-gradient(90deg, transparent 0%, rgba(118,188,33,0.0) 5%, rgba(118,188,33,0.55) 35%, rgba(118,188,33,0.85) 50%, rgba(118,188,33,0.55) 65%, rgba(118,188,33,0.0) 95%, transparent 100%)"}}),e.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:1,zIndex:4,background:"linear-gradient(90deg, transparent 0%, rgba(118,188,33,0.0) 10%, rgba(118,188,33,0.3) 40%, rgba(118,188,33,0.45) 50%, rgba(118,188,33,0.3) 60%, rgba(118,188,33,0.0) 90%, transparent 100%)"}}),e.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",background:"radial-gradient(ellipse 60% 200% at 50% 50%, rgba(118,188,33,0.09) 0%, transparent 70%)"}}),e.jsx(F.div,{animate:{x:["-35%","135%"]},transition:{repeat:1/0,duration:2.2,ease:[.25,.46,.45,.94],repeatDelay:5.8},style:{position:"absolute",top:-10,bottom:-10,width:"18%",zIndex:2,pointerEvents:"none",background:"linear-gradient(105deg, transparent 0%, rgba(247,244,236,0.01) 25%, rgba(118,188,33,0.14) 45%, rgba(247,244,236,0.08) 50%, rgba(118,188,33,0.1) 55%, rgba(247,244,236,0.01) 75%, transparent 100%)",filter:"blur(10px)"}}),e.jsx(F.div,{animate:{x:["-20%","120%"]},transition:{repeat:1/0,duration:14,ease:"linear",delay:3},style:{position:"absolute",top:0,bottom:0,width:"40%",zIndex:1,pointerEvents:"none",background:"linear-gradient(90deg, transparent 0%, rgba(247,244,236,0.012) 50%, transparent 100%)"}}),e.jsx(F.div,{animate:{x:"-50%"},transition:{repeat:1/0,duration:26,ease:"linear"},style:{display:"flex",whiteSpace:"nowrap",position:"relative",zIndex:3,alignItems:"center"},children:[...Ht,...Ht].map((t,o)=>e.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:10,padding:"0 28px",flexShrink:0},children:[e.jsx(Be,{size:10,style:{color:"#76BC21",opacity:.85,flexShrink:0},fill:"#76BC21"}),e.jsx("span",{style:{fontSize:10,fontWeight:700,letterSpacing:"0.18em",textTransform:"uppercase",color:"rgba(247,244,236,0.55)"},children:t}),e.jsx("span",{style:{fontSize:5,color:"rgba(118,188,33,0.3)",lineHeight:1},children:"â"})]},o))}),e.jsx("div",{style:{position:"absolute",inset:0,zIndex:5,pointerEvents:"none",background:"linear-gradient(90deg, #090B09 0%, rgba(9,11,9,0) 8%, rgba(9,11,9,0) 92%, #090B09 100%)"}})]})}function jt({p:t,inList:o,inCompare:r,onQuote:i,onCompare:n}){const{add:a,has:c,openDrawer:l}=me(),s=o??c(t.sku),[m,g]=p.useState(!1),[w,I]=p.useState(!1),[v,h]=p.useState(!1),A=`/producto/${t.id}`,P=t.name===t.model||t.name===t.sku||!t.name,z=j=>j.charAt(0).toUpperCase()+j.slice(1).toLowerCase(),T=t.name&&t.name!==t.sku&&t.name!=="-"?t.name:`${z(t.cat)} ${t.model||t.sku}`,N={TIRA:[t.watts,t.temp,t.ip],PERFIL:[t.dimensions,t.material,t.ip],COMPLEMENTO:[t.type,t.dimensions,t.ip],ACCESORIO:[t.type,t.dimensions,t.ip],PANEL:[t.watts,t.temp,t.ip],REFLECTOR:[t.watts,t.temp,t.ip],CAMPANA:[t.watts,t.temp,t.ip],Default:[t.watts,t.temp,t.ip]},$=(N[t.cat]||N.Default).filter(j=>{if(!j)return!1;const u=String(j).trim().toLowerCase();return u!==""&&u!=="-"&&u!=="â"&&u!=="--"&&u!=="mm"&&u!=="n/a"}).slice(0,4),D=j=>{j.preventDefault(),j.stopPropagation(),i?i(t):s||a({sku:t.sku,title:t.name||t.sku,brand:t.brand,type:"ficha",meta:$.join(" · ")||"Accesorio"}),s||(I(!0),setTimeout(()=>I(!1),1200)),l()};
269return e.jsxs("div",{className:"group bg-white border border-[#EEF1EB] rounded-[28px] p-5 hover:shadow-2xl hover:shadow-[#76BC21]/5 transition-all duration-500 flex flex-col",children:[e.jsxs(q,{to:A,className:"block flex-1 flex flex-col space-y-5 no-underline",children:[e.jsxs("div",{className:"aspect-square rounded-2xl bg-[#F2F2F2] overflow-hidden relative flex items-center justify-center",children:[(t.mainImage||t.img)&&!v?e.jsx("img",{src:t.mainImage||t.img,alt:T,onError:()=>h(!0),className:"w-full h-full object-contain group-hover:scale-105 transition-transform duration-700 p-3"}):e.jsx("div",{className:"w-full h-full flex items-center justify-center p-8 bg-[#F2F2F2]",children:e.jsx("img",{src:t.brand==="WINLED"?"/winled-logo.svg":"/artlite-logo.svg",alt:t.brand,className:"w-full max-w-[70%] max-h-[60%] object-contain opacity-25",onError:j=>{j.currentTarget.style.display="none"}})}),e.jsx("div",{className:"absolute inset-0 bg-black/5 opacity-0 group-hover:opacity-100 pointer-events-none group-hover:pointer-events-auto transition-opacity flex items-end justify-end p-3 gap-1.5",children:e.jsx("span",{"aria-hidden":"true",className:"p-2 rounded-full bg-white text-[#2D2D2E] group-hover:bg-[#76BC21] group-hover:text-white transition-colors shadow-lg",children:e.jsx(mo,{size:15})})})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-start",children:[e.jsx("span",{className:"text-[9px] font-semibold uppercase tracking-widest text-[#4E7815] bg-[#F5FAEC] px-2 py-0.5 rounded border border-[#D9E6C6]",children:t.brand}),!P&&t.model&&e.jsx("span",{className:"text-[9px] text-[#6B6E72] font-mono",children:t.model})]}),e.jsxs("div",{className:"relative group/name",children:[e.jsx("h3",{className:"font-bold text-[#2D2D2E] leading-tight group-hover:text-[#76BC21] transition-colors line-clamp-2",children:T}),T.length>44&&e.jsx("div",{className:"pointer-events-none absolute bottom-full left-0 mb-2 z-50 opacity-0 group-hover/name:opacity-100 transition-opacity duration-200",children:e.jsx("div",{className:"bg-[#0F0F0D] text-[#F7F4EC] text-[11px] rounded-lg px-3 py-2 shadow-2xl max-w-[220px] leading-snug whitespace-normal",children:T})})]}),e.jsx("div",{className:"flex gap-1.5 flex-wrap",children:$.length>0?$.map((j,u)=>e.jsx("span",{className:"text-[10px] font-mono bg-[#F5F6F3] text-[#636569] px-2 py-0.5 rounded",children:j},u)):e.jsx("span",{className:"text-[10px] font-mono bg-[#F5F6F3] text-[#636569] px-2 py-0.5 rounded",children:"Accesorio"})})]})]}),e.jsx(F.button,{onClick:D,onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),whileTap:{scale:.96},className:"mt-4 flex items-center justify-center gap-1.5 text-xs rounded-xl w-full relative overflow-hidden",style:{padding:"10px 16px",fontWeight:600,cursor:"pointer",border:s?"1px solid #D9E6C6":"none",backgroundColor:s?"#F5FAEC":"transparent",backgroundImage:s?"none":"linear-gradient(to right, #0F0F0D 50%, #F5F6F3 50%)",backgroundSize:"200% 100%",backgroundPosition:s?"100% 50%":m?"0% 50%":"100% 50%",color:s?"#76BC21":m?"#fff":"#2D2D2E",transition:"background-position 0.35s cubic-bezier(.32,0,.18,1), color 0.2s ease"},children:e.jsx(X,{mode:"wait",children:w?e.jsxs(F.span,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},transition:{type:"spring",stiffness:500,damping:25},className:"flex items-center gap-1.5",children:[e.jsx(Ee,{size:13,style:{color:"#76BC21"}}),e.jsx("span",{style:{color:"#76BC21"},children:"¡Añadido!"})]},"added"):e.jsxs(F.span,{initial:{opacity:0}
269,animate:{opacity:1},exit:{opacity:0},className:"flex items-center gap-1.5",children:[s?e.jsx(Ee,{size:13}):e.jsx(Le,{size:13}),s?"En mi lista":"Añadir a lista"]},"default")})})]})}const it=4,ua=4500;function ga({products:t,compareList:o}){const{has:r}=me(),[i,n]=p.useState(0),a=Math.ceil(t.length/it),c=i*it,l=t.slice(c,c+it);return p.useEffect(()=>{if(a<=1)return;const s=setInterval(()=>{n(m=>(m+1)%a)},ua);return()=>clearInterval(s)},[a]),t.length?e.jsx("section",{className:"py-24 px-6 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto",children:[e.jsxs("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-16 gap-6",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-[10px] font-black uppercase tracking-[0.3em] text-[#4E7815]",children:"Catálogo destacado"}),e.jsx("h2",{className:"mt-4 text-3xl md:text-4xl lg:text-5xl font-black text-[#2D2D2E] tracking-tight leading-tight",children:"Productos más solicitados"})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsx("button",{onClick:()=>n(s=>Math.max(0,s-1)),disabled:i===0,"aria-label":"Página anterior",className:"w-11 h-11 rounded-full border border-[#EEF1EB] flex items-center justify-center hover:border-[#76BC21] hover:text-[#76BC21] transition-all disabled:opacity-30",children:e.jsx(bt,{size:18})}),e.jsx("button",{onClick:()=>n(s=>Math.min(a-1,s+1)),disabled:i===a-1,"aria-label":"Página siguiente",className:"w-11 h-11 rounded-full border border-[#EEF1EB] flex items-center justify-center hover:border-[#76BC21] hover:text-[#76BC21] transition-all disabled:opacity-30",children:e.jsx(Ae,{size:18})})]}),e.jsxs(q,{to:"/catalogo",className:"inline-flex items-center gap-2 text-sm font-bold text-[#4E7815] hover:gap-3 transition-all",children:["Ver todos ",e.jsx(oe,{size:16})]})]})]}),e.jsx(X,{mode:"wait",children:e.jsx(F.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},exit:{opacity:0,x:-30},transition:{duration:.3},className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",style:{overflow:"hidden"},children:l.map(s=>e.jsx(jt,{p:s,inList:r(s.sku),inCompare:o.isInCompare(s.id),onCompare:m=>o.toggleItem(m)},s.id))},i)}),e.jsx("div",{className:"flex justify-center gap-2 mt-10",children:Array.from({length:a}).map((s,m)=>e.jsx("button",{onClick:()=>n(m),"aria-label":`Ir a la página ${m+1}`,"aria-current":m===i?"true":void 0,className:`relative h-2 rounded-full transition-all before:content-[''] before:absolute before:-inset-3 ${m===i?"w-8 bg-[#76BC21]":"w-2 bg-[#EEF1EB]"}`},m))})]})}):null}const J="https://www.innlite.com/api/sliders",ke=[{id:1,title:"Iluminación LED",accentT:"Para proyectos ambiciosos",sub:"Distribuidores exclusivos ARTLITE y WINLED en la zona occidente de México.",img:`${J}/1-Slider-Sitio-Mundiual-Desktop.jpg`,imgDesktop:`${J}/1-Slider-Sitio-Mundiual-Desktop.jpg`,imgTablet:`${J}/1-Slider-Sitio-Mundiual-Tablet.jpg`,imgMobile:`${J}/1-Slider-Sitio-Mundiual-Mobile.jpg`,overlayStrength:.78,action:"/catalogo?q=Paneles+LED"},{id:2,title:"Placas LED",accentT:"Diseño de alta gama",sub:"Soluciones de iluminación de superficie con acabados premium para cada espacio.",img:`${J}/1-Slider-Sitio-Placa-Luxury-Desktop.jpg`,imgDesktop:`${J}/1-Slider-Sitio-Placa-Luxury-Desktop.jpg`,imgTablet:`${J}/2-Slider-Sitio-Placa-Luxury-Tablet.jpg`,imgMobile:`${J}/2-Slider-Sitio-Placa-Luxury-Mobile.jpg`,overlayStrength:.75,action:"/catalogo?q=Placas"},{id:3,title:"Control inteligente.",accentT:"Placa Smart.",sub:"Iluminación LED adaptable a cada escena, con tecnologÃa de atenuación avanzada.",img:`${J}/3-Slider-Sitio-Placa-Smart-Desktop.jpg`,imgDesktop:`${J}/3-Slider-Sitio-Placa-Smart-Desktop.jpg`,imgTablet:`${J}/3-Slider-Sitio-Placa-Smart-Tablet.jpg`,imgMobile:`${J}/3-Slider-Sitio-Placa-Smart-Mobile.jpg`,overlayStrength:.8,action:"/catalogo?q=Placa+smart"},{id:4,title:"Potencia y precisión.",accentT:"Reflectores LED.",sub:"Reflectores de alto rendimiento para exteriores, fachadas y espacios comerciales.",img:`${J}/4-Slider-Sitio-Reflectores-Desktop.jpg`,imgDesktop:`${J}/4-Slider-Sitio-Reflectores-Desktop.jpg`,imgTablet:`${J}/4-Slider-Sitio-Reflectores-Tablet.jpg`,imgMobile:`${J}/4-Slider-Sitio-Reflectores-Mobile.jpg`,overlayStrength:.76,action:"/catalogo?family=Reflectores"},{id:5,title:"Flexibilidad total.",accentT:"Tiras LED.",sub:"Tiras LED de alta densidad para ambientación, retail y arquitectura de interiores.",img:`${J}/5-Slider-Sitio-Tira-LED-Desktop.jpg`,imgDesktop:`${J}/5-Slider-Sitio-Tira-LED-Desktop.jpg`,imgTablet:`${J}/5-Slider-Sitio-Tira-LED-Tablet.jpg`,imgMobile:`${J}/5-Slider-Sitio-Tira-LED-Mobile.jpg`,overlayStrength:.78,action:"/catalogo?q=tiras+led"}];function xa(){const t=Re(),[o,r]=p.useState(0),i=p.useRef(null),n=p.useCallback(()=>r(m=>(m+1)%ke.length),[]);p.useEffect(()=>(i.current=setInterval(n,7e3),()=>clearInterval(i.current)),[n]);const a=ke[o],c=p.useCallback(m=>{m.stopPropagation(),clearInterval(i.current),r(g=>(g+1)%ke.length),i.current=setInterval(n,7e3)},[n]),l=p.useCallback(m=>{m.stopPropagation(),clearInterval(i.current),r(g=>(g-1+ke.length)%ke.length),i.current=setInterval(n,7e3)},[n]),s=()=>{a.action&&t(a.action)};return e.jsxs("section",{onClick:s,className:"hero-section",style:{position:"relative",overflow:"hidden",
269width:"100%",maxWidth:"100%",background:"#2a2820",cursor:a.action?"pointer":"default"},children:[e.jsx(X,{mode:"sync",children:e.jsx(F.div,{initial:{opacity:0,scale:1.06},animate:{opacity:1,scale:1},exit:{opacity:0},transition:{duration:1.4,ease:[.32,0,.18,1]},style:{position:"absolute",inset:0,zIndex:0},children:e.jsxs("picture",{style:{width:"100%",height:"100%",display:"block"},children:[e.jsx("source",{media:"(min-width: 1024px)",srcSet:a.imgDesktop}),e.jsx("source",{media:"(min-width: 768px)",srcSet:a.imgTablet}),e.jsx("source",{srcSet:a.imgMobile}),e.jsx("img",{src:a.img,alt:"",fetchpriority:o===0?"high":"auto",loading:"eager",decoding:"async",style:{width:"100%",height:"100%",objectFit:"cover"}})]})},a.id)}),e.jsx("button",{onClick:l,className:"hero-arrow hero-arrow-prev","aria-label":"Anterior",style:{position:"absolute",top:"50%",left:24,transform:"translateY(-50%)",zIndex:6,background:"rgba(0,0,0,.35)",border:"1px solid rgba(255,255,255,.18)",borderRadius:"50%",width:44,height:44,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",backdropFilter:"blur(6px)",transition:"background .2s"},children:e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"white",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),e.jsx("button",{onClick:c,className:"hero-arrow hero-arrow-next","aria-label":"Siguiente",style:{position:"absolute",top:"50%",right:24,transform:"translateY(-50%)",zIndex:6,background:"rgba(0,0,0,.35)",border:"1px solid rgba(255,255,255,.18)",borderRadius:"50%",width:44,height:44,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",backdropFilter:"blur(6px)",transition:"background .2s"},children:e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:e.jsx("path",{d:"M7.5 5L12.5 10L7.5 15",stroke:"white",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),e.jsx("div",{onClick:m=>m.stopPropagation(),style:{position:"absolute",bottom:28,left:72,display:"flex",gap:6,zIndex:6},className:"hero-dots",children:ke.map((m,g)=>e.jsx("button",{onClick:()=>r(g),"aria-label":`Ir a la diapositiva ${g+1}`,"aria-current":g===o?"true":void 0,className:"hero-dot",style:{width:g===o?24:6,height:6,borderRadius:3,background:g===o?"#E8C832":"rgba(255,255,255,.35)",border:"none",cursor:"pointer",padding:0,transition:"all .35s ease"}},g))}),e.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:2,background:"rgba(255,255,255,.08)",zIndex:6},children:e.jsx(F.div,{initial:{width:"0%"},animate:{width:"100%"},transition:{duration:7,ease:"linear"},style:{height:"100%",background:"#E8C832",opacity:.7}},`pb${o}`)}),e.jsx("style",{children:` 270 .hero-section { 271 width: 100%; 272 /* Mobile default: portrait images 768Ã1024 (3:4) */ 273 aspect-ratio: 3 / 4; 274 max-height: 94dvh; 275 min-height: 360px; 276 } 277 @media (min-width: 768px) { 278 /* Tablet: landscape images 1024Ã768 (4:3) */ 279 .hero-section { aspect-ratio: 4 / 3; max-height: 92dvh; min-height: 420px; } 280 } 281 @media (min-width: 1024px) { 282 /* Desktop: images 1920Ã1080 (16:9) */ 283 .hero-section { aspect-ratio: 16 / 9; max-height: 94dvh; min-height: 480px; } 284 } 285 /* iPhone landscape */ 286 @media screen and (orientation: landscape) and (max-height: 500px) { 287 .hero-section { aspect-ratio: unset; height: 100svh; min-height: 280px; } 288 } 289 290 .hero-arrow:hover { background: rgba(0,0,0,.6) !important; } 291 .hero-dot { position: relative; } 292 .hero-dot::before { content: ''; position: absolute; inset: -13px; } 293 @media (max-width: 768px) { 294 .hero-dots { left: 24px !important; } 295 .hero-arrow { width: 44px !important; height: 44px !important; } 296 .hero-arrow-prev { left: 12px !important; } 297 .hero-arrow-next { right: 12px !important; } 298 } 299 @media (max-width: 430px) { .hero-dots { left: 18px !important; } } 300 @media (max-width: 390px) { .hero-dots { left: 16px !important; } } 301 `})]})}const Ne={cream:y.colors.cream,sig:y.colors.sigGreen},ze={display:"'Montserrat', system-ui, sans-serif",sans:"'Montserrat', system-ui, sans-serif",body:"system-ui, sans-serif"},ha={color:Ne.sig,fontStyle:"italic"};function fa({icon:t,children:o}){return e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:20}
301,children:[e.jsx(t,{size:14,color:Ne.sig,strokeWidth:2.5}),e.jsx("span",{style:{fontFamily:ze.sans,fontSize:10,fontWeight:800,letterSpacing:"0.2em",textTransform:"uppercase",color:Ne.sig},children:o})]})}const qt=["confianza","experiencia","calidad","precisión","resultados"],ba=[{num:500,suffix:"+",label:"Proyectos entregados",sub:"Residencial, comercial e industrial"},{num:15,suffix:"+",label:"Años de experiencia",sub:"Distribuidores desde 2011"},{num:24,suffix:"h",label:"Tiempo de respuesta",sub:"Promedio de cotización"},{num:513,suffix:"+",label:"SKUs en catálogo",sub:"Actualizados para 2026"}];function ya(t,o=1800,r=!1){const[i,n]=p.useState(0);return p.useEffect(()=>{if(!r)return;let a=null;const c=l=>{a||(a=l);const s=Math.min((l-a)/o,1),m=1-Math.pow(1-s,3);n(Math.round(m*t)),s<1&&requestAnimationFrame(c)};requestAnimationFrame(c)},[r,t,o]),i}function va({s:t,active:o}){const r=ya(t.num,1800,o);return e.jsxs("div",{style:{fontFamily:ze.display,fontWeight:700,fontSize:"clamp(2rem, 3.5vw, 2.75rem)",color:Ne.sig,letterSpacing:"-.03em"},children:[r,t.suffix]})}function ja(){const[t,o]=p.useState(0),[r,i]=p.useState(!1),n=eo.useRef(null);return p.useEffect(()=>{const a=setInterval(()=>o(c=>(c+1)%qt.length),2400);return()=>clearInterval(a)},[]),p.useEffect(()=>{const a=n.current;if(!a)return;const c=new IntersectionObserver(([l])=>{l.isIntersecting&&(i(!0),c.disconnect())},{threshold:.3});return c.observe(a),()=>c.disconnect()},[]),e.jsxs("section",{ref:n,style:{background:"#0F0F0D",position:"relative",overflow:"hidden"},className:"py-20 lg:py-28",children:[e.jsx("div",{style:{position:"absolute",inset:0,pointerEvents:"none",backgroundImage:"radial-gradient(circle, rgba(118,188,33,0.12) 1px, transparent 1px)",backgroundSize:"32px 32px",opacity:.6}}),e.jsx("div",{style:{position:"absolute",top:-120,right:-80,width:480,height:480,background:"radial-gradient(circle, rgba(118,188,33,0.18) 0%, transparent 70%)",pointerEvents:"none"}}),e.jsx("div",{className:"max-w-6xl mx-auto px-6 lg:px-12",style:{position:"relative",zIndex:1},children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_1.2fr] gap-10 lg:gap-20 items-center",children:[e.jsxs("div",{children:[e.jsx(fa,{icon:xo,children:"Sobre Innlite"}),e.jsxs("h2",{style:{fontFamily:ze.display,fontWeight:700,fontSize:"clamp(1.5rem, 4vw, 3.25rem)",lineHeight:1.15,letterSpacing:"-.02em",color:Ne.cream},children:["Construido sobre la"," ",e.jsx(X,{mode:"wait",children:e.jsx(F.span,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.35},style:{display:"inline-block",...ha},children:qt[t]},t)})," ","de quienes nos eligen."]})]}),e.jsxs("div",{style:{borderTop:"1px solid rgba(247,244,236,0.12)"},children:[e.jsx("div",{className:"stats-grid",children:ba.map((a,c)=>e.jsxs(F.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{delay:c*.08,duration:.45},className:`stats-cell stats-cell-${c}`,children:[e.jsx(va,{s:a,active:r}),e.jsx("div",{style:{fontFamily:ze.sans,fontSize:12,fontWeight:700,color:"#F0F4F0",marginTop:10},children:a.label}),e.jsx("div",{style:{fontFamily:ze.body,fontSize:11,color:"rgba(240,244,240,0.75)",marginTop:4,lineHeight:1.5},children:a.sub})]},a.label))}),e.jsx("style",{children:` 302 .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; } 303 .stats-cell { padding: 24px 20px 16px; } 304 .stats-cell-0 { border-right: 1px solid rgba(247,244,236,0.1); border-bottom: 1px solid rgba(247,244,236,0.1); padding-left: 0; } 305 .stats-cell-1 { border-bottom: 1px solid rgba(247,244,236,0.1); } 306 .stats-cell-2 { border-right: 1px solid rgba(247,244,236,0.1); padding-left: 0; } 307 .stats-cell-3 { } 308 @media (max-width: 640px) { 309 .stats-cell { padding: 16px 12px; } 310 } 311 `})]})]})})]})}const wa=[{name:"ARTLITE",tagline:"Iluminación Arquitectónica",desc:"Transforma la iluminación en diseño, eficiencia y tecnologÃa. Con soluciones LED innovadoras para hogar, comercio e industria. Ofrece
311calidad, ahorro de energÃa y estilo para dar vida a cualquier espacio.",specialties:["CRI 90+","Empotrables","Decorativo","Tiras LED"],accent:"#76BC21",accentLight:"#F0F8E2",dotColor:"#639922",href:"/catalogo?brand=Artlite",logo:"/artlite-logo.svg"},{name:"WINLED",tagline:"Color y Creatividad",desc:"La marca que llena tus espacios de color y creatividad. Ofrece efectos dinámicos y una amplia gama de colores para transformar cualquier ambiente con un estilo moderno, juvenil y lleno de energÃa.",specialties:["RGB / RGBW","Efectos dinámicos","IP65/IP66","Drivers"],accent:"#2E4B9E",accentLight:"#EBF0FB",dotColor:"#185FA5",href:"/catalogo?brand=WINLED",logo:"/winled-logo.svg"},{name:"INNLITE ENERGY",tagline:"División de Proyectos",desc:"Llevamos la eficiencia al siguiente nivel. Ejecución de proyectos de iluminación integral e instalación de paneles solares, brindando soluciones de energÃa limpia y sustentable para cada obra.",specialties:["Paneles Solares","Proyectos integrales","EnergÃa limpia","Diagnóstico energético"],accent:"#E8921A",accentLight:"#FEF3E2",dotColor:"#C4780F",href:"/alianza",logo:"/innlite-energy-logo.png"}];function ka({brand:t,i:o}){const[r,i]=p.useState(!1);return e.jsxs(F.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.55,ease:[.22,1,.36,1],delay:o*.08},onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),style:{background:"#fff",border:r?`1.5px solid ${t.accent}`:"1px solid #EEF1EB",borderRadius:24,padding:"32px 28px",display:"flex",flexDirection:"column",gap:20,cursor:"default",transform:r?"scale(1.03)":"scale(1)",boxShadow:r?`0 24px 60px ${t.accent}22, 0 0 0 1px ${t.accent}33`:"0 1px 3px rgba(15,15,13,0.04)",transition:"all 0.3s ease"},children:[e.jsx("div",{style:{background:r?`${t.accent}0A`:"#F7F8F5",border:`1px solid ${r?t.accent+"33":"#EAEDE6"}`,borderRadius:14,padding:"20px 24px",display:"flex",alignItems:"center",justifyContent:"center",minHeight:88,transition:"all 0.3s ease"},children:e.jsx("img",{src:t.logo,alt:t.name,style:{height:44,objectFit:"contain",maxWidth:"75%"}})}),e.jsx("span",{style:{fontSize:10,fontWeight:500,color:t.accent,background:`${t.accent}18`,border:`1px solid ${t.accent}33`,padding:"4px 12px",borderRadius:999,letterSpacing:"0.04em",whiteSpace:"nowrap",alignSelf:"flex-start"},children:t.tagline}),e.jsx("p",{style:{fontSize:14,color:"#636569",lineHeight:1.65,margin:0},children:t.desc}),e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:6},children:t.specialties.map(n=>e.jsx("span",{style:{fontSize:11,fontWeight:500,padding:"4px 10px",borderRadius:999,background:"#F5F6F3",border:"0.5px solid #E0DDD5",color:"#636569",letterSpacing:"0.02em"},children:n},n))}),e.jsxs(q,{to:t.href,style:{display:"inline-flex",alignItems:"center",gap:6,fontSize:13,fontWeight:600,color:t.accent,textDecoration:"none",marginTop:"auto",transition:"gap 0.2s ease"},children:["Explorar ",t.name," ",e.jsx(oe,{size:14})]})]},t.name)}function Ea(){return e.jsxs("section",{style:{padding:"80px 24px",background:"#fff",fontFamily:"Montserrat, sans-serif"},children:[e.jsx("style",{children:` 312 @media (max-width: 767px) { .brands-grid { grid-template-columns: 1fr !important; } } 313 @media (min-width: 768px) and (max-width: 1023px) { .brands-grid { grid-template-columns: repeat(2, 1fr) !important; } } 314 `}),e.jsxs("div",{style:{maxWidth:1280,margin:"0 auto"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"flex-end",justifyContent:"space-between",flexWrap:"wrap",gap:16,marginBottom:48},children:[e.jsxs("div",{children:[e.jsx("span",{style:{fontSize:10,fontWeight:700,letterSpacing:"0.26em",textTransform:"uppercase",color:"#76BC21",display:"block",marginBottom:10},children:"Distribuidores exclusivos"}),e.jsxs("h2",{style:{fontWeight:800,fontSize:"clamp(28px, 4vw, 46px)",letterSpacing:"-0.03em",lineHeight:1.05,color:"#0F0F0D"},children:["Soluciones LED de alto desempeño"," ",e.jsx("span",{style:{fontStyle:"italic",color:"#76BC21"},children:"para cada aplicación"})]}),e.jsx("p",{style:{fontSize:14,color:"#636569",lineHeight:1.65,maxWidth:440,marginTop:14},children:"ARTLITE y WINLED cubren toda la gama: empotrables arquitectónicos, campanas
314industriales, reflectores exteriores, tiras RGB y sistemas de control. Todo en un solo proveedor, con respaldo técnico en Jalisco."})]}),e.jsxs(q,{to:"/catalogo",style:{display:"inline-flex",alignItems:"center",gap:6,fontSize:13,fontWeight:600,color:"#636569",textDecoration:"none"},children:["Ver catálogo completo ",e.jsx(oe,{size:14,style:{color:"#76BC21"}})]})]}),e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:16},className:"brands-grid",children:wa.map((t,o)=>e.jsx(ka,{brand:t,i:o},t.name))})]})]})}function Oe(t,o){const r=`https://images.unsplash.com/${t}?${o}`;return{src:`${r}&w=900`,srcSet:`${r}&w=600 600w, ${r}&w=900 900w, ${r}&w=1200 1200w, ${r}&w=1800 1800w`}}const Ca=Oe("photo-1497366216548-37526070297c","crop=entropy&cs=tinysrgb&fit=max&fm=webp&q=68"),Sa=Oe("photo-1441984904996-e0b6ba687e04","crop=entropy&cs=tinysrgb&fit=max&fm=webp&q=68"),Ia=Oe("photo-1558618666-fcd25c85cd64","crop=entropy&cs=tinysrgb&fit=max&fm=webp&q=68"),Fa=Oe("photo-1611892440504-42a792e24d32","crop=entropy&cs=tinysrgb&fit=max&fm=webp&q=68"),Da=[{label:"Corporativo & Oficina",sub:"Paneles LED · UGR<19 · Lineales",href:`/catalogo?aplicacion=${encodeURIComponent("Corporativo & Oficina")}`,img:Ca,span:"large",badge:"Más popular"},{label:"Retail & Hospitalidad",sub:"Spots · Magnéticos · Alta CRI",href:`/catalogo?aplicacion=${encodeURIComponent("Retail & Hospitalidad")}`,img:Sa,span:"small",badge:void 0},{label:"Exterior & Vial",sub:"Reflectores · IP65 · Solares",href:`/catalogo?aplicacion=${encodeURIComponent("Exterior & Paisajismo")}`,img:Ia,span:"small",badge:void 0},{label:"Hoteles & Restaurantes",sub:"Decorativo · Cálido · Ambiental",href:`/catalogo?aplicacion=${encodeURIComponent("Retail & Hospitalidad")}`,img:Fa,span:"large",badge:void 0}];function za(){return e.jsxs("section",{"data-testid":"home-categories-editorial",style:{padding:"80px 24px",background:"#F7F4EC"},children:[e.jsxs("div",{style:{maxWidth:1280,margin:"0 auto"},children:[e.jsxs("div",{className:"editorial-header",style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",alignItems:"flex-end",gap:16,marginBottom:40},children:[e.jsxs("div",{children:[e.jsx("span",{style:{fontSize:10,fontWeight:800,letterSpacing:"0.22em",textTransform:"uppercase",color:"#76BC21"},children:"Aplicaciones"}),e.jsxs("h2",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(28px, 4vw, 46px)",letterSpacing:"-0.025em",marginTop:10,lineHeight:1.05,color:"#2D2D2E"},children:["La luz correcta para"," ",e.jsx("span",{style:{fontStyle:"italic",color:"#76BC21"},children:"cada escena"}),"."]})]}),e.jsxs(q,{to:"/catalogo",style:{display:"inline-flex",alignItems:"center",gap:6,fontSize:13,fontWeight:700,color:"#2D2D2E",textDecoration:"none"},children:["Ver catálogo completo"," ",e.jsx(oe,{size:15,style:{color:"#76BC21"}})]})]}),e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:14},className:"editorial-grid",children:Da.map((t,o)=>e.jsx(F.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:o*.07,duration:.55,ease:[.22,1,.36,1]},whileHover:{y:-4},style:{position:"relative",borderRadius:24,overflow:"hidden",aspectRatio:t.span==="large"?"16/9":"4/3",gridColumn:t.span==="large"?"span 2":"span 1",boxShadow:"0 4px 24px rgba(15,15,13,0.1)",border:"1px solid rgba(15,15,13,0.06)",cursor:"pointer"},className:"editorial-tile",children:e.jsxs(q,{to:t.href,style:{position:"absolute",inset:0,textDecoration:"none",display:"block"},children:[e.jsx("img",{src:t.img.src,srcSet:t.img.srcSet,sizes:t.span==="large"?"(max-width: 640px) 100vw, (max-width: 900px) 100vw, 66vw":"(max-width: 640px) 100vw, (max-width: 900px) 50vw, 33vw",alt:t.label,loading:"lazy",decoding:"async",fetchpriority:"low",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",transition:"transform 0.6s ease"},className:"tile-img"}),e.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(180deg, rgba(15,15,13,0.05) 0%, rgba(15,15,13,0.68) 100%)"}}),t.badge&&e.jsx("div",{style:{position:"absolute",top:18,left:18,padding:"5px 12px",borderRadius:999,background:"#76BC21",color:"#0F0F0D",fontSize:10,fontWeight:800,letterSpacing:"0.1em",textTransform:"uppercase"},children:t.badge}),e.jsxs("div",{style:{position:"absolute",bottom:0,left:0,right:0,padding:22},children:[e.jsx("div",{style:{fontSize:10,fontWeight:700,letterSpacing:"0.15em",textTransform:"uppercase",color:"rgba(247,244,236,0.65)",marginBottom:6},children:t.sub}),e.jsxs("div",{style:{fontSize:"clamp(16px, 2vw, 22px)",fontWeight:800,color:"#F7F4EC",letterSpacing:"-0.01em",display:"flex",alignItems:"center",gap:8},children:[t.label,e.jsx(oe,{size:16,style:{color:"#76BC21",flexShrink:0}})]})]})]})},t.label))})]}),e.jsx("style",{children:` 315 @media (max-width: 640px) { 316 .editorial-grid { grid-template-columns: 1fr !important; gap: 10px !important; } 317 .editorial-tile { grid-column: span 1 !important; aspect-ratio: 4/3 !important; } 318 .editorial-header { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; } 319 } 320 @media (max-width: 430px) { 321 .editorial-tile { aspect-ratio: 3/2 !important; } 322 } 323 @media (min-width: 641px) and (max-width: 900px) { 324 .editorial-grid { grid-template-columns: repeat(2, 1fr) !important; } 325 .editorial-tile { grid-column: span 1 !important; } 326 } 327 .editorial-tile:hover .tile-img { transform: scale(1.04); } 328 `})]})}const rt=[{sku:"CAT-2026-ILUM",year:2026,title:"Catálogo de Iluminación 2026",subtitle:"Artlite & WINLED · 394 luminarios",pages:88,products:394,format:"horizontal",accent:"#76BC21",featured:!0,isNew:!0,cover:"linear-gradient(145deg, #2a4d0f 0%, #0F0F0D 100%)",coverImage:"/catalog-iluminacion-2026.jpg",pdfUrl:"https://innlite.com/api/catalog/Catalogo-Iluminacion_Artlite-Winled_2026_V2.pdf"},{sku:"CAT-2026-PLACAS",year:2026,title:"Catálogo de Placas 2026",subtitle:"Artlite & WINLED · 113 placas",pages:52,products:113,format:"square",accent:"#185FA5",featured:!1,isNew:!0,cover:"linear-gradient(145deg, #0d2e5a 0%, #0F0F0D 100%)",coverImage:"/catalog-placas-2026.jpg",pdfUrl:"https://innlite.com/api/catalog/Catalogo_PLACAS-2026_V2.pdf"}],Gt=["Decorativo","Industrial","Comercial","Lineal","Empotrable","Suspendido"],Aa=["Reflector LED 50W","Lámpara colgante esférica","Panel ultra delgado 60x60","Spot empotrable 12W","Luminario lineal 1.2m","Plafón decorativo redondo","Aplique de pared minimalista","Wall washer arquitectónico","High Bay industrial 200W","Tubo T8 18W","Bombilla A19 9W","Strip flexible 24V","Downlight giratorio","Riel magnético 48V","Spot de muro IP65","Luminario suburbano","Reflector deportivo 400W","Pendant decorativo cristal","Lámpara de piso lectura","Sconce vintage","Empotrable cuadrado 24W","Panel UGR<19 oficina","Linear pendant arquitectónico","Reflector de piso jardÃn","Lámpara mesa diseña
328dor","Aplique exterior IP54","Track light cabezal","Suspendida tubular cobre","Plafón cocina 36W","Foco direccionable","Tira RGB 5050","Driver dimerizable 0-10V","Sensor de movimiento","Luminario emergencia","Spot de cara baja","Lámpara colgante esfera bronce","Pendant geométrico","Aplique tubular dorado","Wall sconce circular","Floor lamp tripod","Decorativo escalera","Cilindro suspendido","Linterna de piso jardÃn","Empotrable trimless","Magnético spot pequeño","Panel slim 30x120","Tubo retrofit 2 pin","Foco MR16 GU10","Reflector mástil 600W","Luminario solar urbano"],_e=["Artlite","WINLED","Innlite"],kn=Aa.map((t,o)=>({sku:`INS-${1001+o}`,title:t,brand:_e[o%_e.length],family:Gt[o%Gt.length],pages:4+o%6,size:`${(.6+o%9*.18).toFixed(1)} MB`})),La={"Decorativos de Pared":["Aplique Lineal Aurora","Wall Sconce Bronze","Up&Down Cilindro","Tubular Cobre","Lectura Articulada","Cuadro de Luz Indirecta","Bañador de Muro","Aplique Geométrico","Sconce Minimal","Wall LED Plate","Tira de Pared Curva","Lámpara Cabecera Hotel"],"Decorativos de Piso":["Floor Lamp Tripod","Lámpara de Piso Lectura","Linterna de JardÃn","Spot de Piso Empotrable","Bañador Suelo Lineal","Up-Light de Mármol","Pedestal Cilindro Bronce","Tótem Modular LED","Floor Reader Industrial","Estela de Suelo Hotel"],"Decorativos Colgantes":["Pendant Esfera Cristal","Suspendida Tubular Cobre","Cluster Geométrico","Pendant Cono Negro","Lámpara Anillo 60cm","Suspendida Lineal 1.2m","Pendant Domo Mate","Clúster Burbujas Vidrio","Lámpara Colgante Industrial","Linear Pendant Office","Pendant Hotel Lobby","Anillo Doble Negro","Pendant Tradicional Bronce"]};let Vt=100;const En=Object.entries(La).flatMap(([t,o])=>o.map((r,i)=>{Vt+=1;const n=_e[i%_e.length];return{sku:`${n.slice(0,3).toUpperCase()}-${Vt}`,title:r,brand:n,category:t,watts:[9,12,18,24,36,50,80,100][i%8],lumens:800+i*220,cct:["2700K","3000K","4000K","5000K"][i%4],cri:[80,85,90,95][i%4]}})),le=["https://images.unsplash.com/photo-1513506003901-1e6a229e2d15?auto=format&fit=crop&w=1200&q=80","https://images.unsplash.com/photo-1565636291708-6b5b9bc1ae27?auto=format&fit=crop&w=1200&q=80","https://images.unsplash.com/photo-1521017432531-fbd92d768814?auto=format&fit=crop&w=1200&q=80","https://images.unsplash.com/photo-1545153996-66f08ce19c64?auto=format&fit=crop&w=1200&q=80","https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1200&q=80","https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1200&q=80","https://images.unsplash.com/photo-1493663284031-b7e3aefcae8e?auto=format&fit=crop&w=1200&q=80","https://images.unsplash.com/photo-1604328698692-f76ea9498e76?auto=format&fit=crop&w=1200&q=80","https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80","https://images.unsplash.com/photo-1569263835889-eb74dabb46e1?auto=format&fit=crop&w=1200&q=80"],Cn=[{slug:"guia-temperatura-color-led",title:"GuÃa completa de temperatura de color en LED",category:"INFORMACIÃN LED",excerpt:"Cómo elegir entre 2700K, 3000K, 4000K y 5000K para cada espacio: residencial, comercial e industrial.",date:"2026-01-08",readTime:7,image:le[0],featured:!0,tags:["CCT","Diseño","Residencial"]},{slug:"iluminacion-arquitectonica-tendencias-2026",title:"Iluminación arquitectónica: tendencias 2026",category:"ILUMINACIÃN LED",excerpt:"Linealidad, perfiles ocultos, control DALI-2 y la importancia del UGR<19 en oficinas modernas.",date:"2026-01-02",readTime:6,image:le[1],featured:!0,tags:["Tendencias","Arquitectura","DALI"]},{slug:"ahorro-energetico-led-vs-fluorescente",title:"LED vs fluorescente: el ahorro energético real",category:"ECOLÃGICO",excerpt:"Comparativa con números reales: consumo, vida útil y huella de carbono en proyectos de retrofit.",date:"2025-12-22",readTime:5,image:le[2],tags:["Ahorro","Sustentabilidad","Retrofit"]},{slug:"cri-importancia-iluminacion-comercial",title:"¿Por qué el CRI importa en iluminación comercial?",category:"INFORMACIÃN LED",excerpt:"CRI 80, 90, 95: cuándo vale la pena el premium y cómo afecta la percepción del cliente en retail.",date:"2025-12-14",readTime:6,image:le[3],tags:["CRI","Retail"]},{slug:"control-iluminacion-dali-vs-zigbee",title:"Control de iluminación: DALI-2 vs Zigbee 3.0",category:"ILUMINACIÃN LED",excerpt:"Cuándo usar cada protocolo, costos de instalación y compatibilidad con sistemas BMS.",date:"2025-12-06",readTime:8,image:le[4],tags:["DALI","Zigbee","Smart"]},{slug:"reflectores-led-canchas-deportivas",title:"Reflectores LED para canchas deportivas",category:"ILUMINACIÃN LED",excerpt:"Cálculos de uniformidad, deslumbramiento y cumplimiento de normas FIFA Cat. III.",date:"2025-11-28",readTime:7,image:le[5],tags:["Deportivo","Reflector"]},{slug:"iluminacion-residencial-confort",title:"Iluminación residencial centrada en el confort",category:"ILUMINACIÃN LED",excerpt:"Layered lighting, escenas y temperatura cálida para mejorar el descanso y productividad.",date:"2025-11-18",readTime:5,image:le[6],tags:["Residencial","Bienestar"]},{slug:"normativa-led-mexico-nom-031",title:"Normativa LED en México: NOM-031-ENER",category:"Sin categorÃa",excerpt:"Lo que distribuidores e integradores deben saber sobre eficiencia y certificación de luminarios.",date:"2025-11-04",readTime:6,image:le[7],tags:["Normativa","NOM"]},{slug:"circadiano-tunable-white-oficinas",title:"Tunable White y ritmo circadiano en oficinas",category:"INFORMACIÃN LED",excerpt:"Cómo programar escenas que c
328ambian a lo largo del dÃa para mejorar productividad.",date:"2025-10-22",readTime:7,image:le[8],tags:["Tunable","Oficinas"]},{slug:"iluminacion-museos-galerias",title:"Iluminación de museos y galerÃas de arte",category:"ECOLÃGICO",excerpt:"CRI 95+, control de UV/IR y por qué el LED reemplazó al halógeno en museografÃa.",date:"2025-10-08",readTime:6,image:le[9],tags:["Museos","Arte"]}],Sn={"ILUMINACIÃN LED":{bg:"#E8F1D6",fg:"#577F18"},"INFORMACIÃN LED":{bg:"#DCE3F4",fg:"#2E4B9E"},ECOLÃGICO:{bg:"#F5E4C9",fg:"#A66B1F"},"Sin categorÃa":{bg:"#E5E2D9",fg:"#5C5C56"}};function Na(){const t=Re(),[o,r]=p.useState(null),[i,n]=p.useState(!1),[a,c]=p.useState(null),[l,s]=p.useState(""),[m,g]=p.useState(void 0),w=(h,A,P)=>{c(h),s(A),g(P)},I=rt.reduce((h,A)=>h+(A.products??0),0),v=rt.reduce((h,A)=>h+A.pages,0);return e.jsxs("section",{style:{padding:"0 24px 64px",fontFamily:y.font.family},children:[e.jsx("div",{style:{maxWidth:1280,margin:"0 auto"},children:e.jsxs(F.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},style:{position:"relative",borderRadius:28,overflow:"hidden",background:y.colors.ink,boxShadow:"0 30px 80px rgba(15,15,13,0.25)"},children:[e.jsx("div",{style:{position:"absolute",top:-80,left:"28%",width:400,height:400,borderRadius:"50%",background:y.colors.sigGreen,opacity:.13,filter:"blur(90px)",pointerEvents:"none"}}),e.jsxs("div",{className:"featured-catalog-body",style:{position:"relative",padding:"clamp(32px,5vw,56px)",display:"grid",gridTemplateColumns:"1.2fr 1fr",gap:48,alignItems:"center",color:y.colors.cream},children:[e.jsxs("div",{children:[e.jsxs("div",{style:{display:"inline-flex",gap:8,marginBottom:22,flexWrap:"wrap"},children:[e.jsx("span",{style:{padding:"6px 12px",borderRadius:y.radius.pill,background:y.colors.sigGreen,color:y.colors.cream,fontWeight:800,fontSize:10,letterSpacing:"0.18em"},children:"CATÃLOGOS 2026"}),e.jsx("span",{style:{padding:"6px 12px",borderRadius:y.radius.pill,background:"rgba(247,244,236,0.08)",color:"rgba(247,244,236,0.65)",fontWeight:700,fontSize:10,letterSpacing:"0.06em",border:"1px solid rgba(247,244,236,0.14)"},children:"2 VOLÃMENES"})]}),e.jsxs("h2",{style:{fontWeight:800,fontSize:"clamp(30px,4.6vw,58px)",letterSpacing:"-0.03em",lineHeight:.97},children:["Toda la lÃnea"," ",e.jsx("span",{style:{fontStyle:"italic",color:y.colors.sigGreen},children:"Innlite"}),e.jsx("br",{}),"en dos volúmenes."]}),e.jsx("p",{style:{fontSize:"clamp(13px,1.3vw,15px)",color:"rgba(247,244,236,0.68)",marginTop:18,lineHeight:1.65,maxWidth:440},children:"Especificaciones técnicas completas de Artlite y WINLED â iluminación general y placas decorativas. Actualizados para 2026."}),e.jsx("div",{className:"featured-specs",style:{marginTop:28,display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:16,maxWidth:400},children:[{label:"PRODUCTOS",value:String(I)},{label:"PÃGINAS",value:String(v)},{label:"MARCAS",value:"2"}].map(h=>e.jsxs("div",{style:{borderLeft:`3px solid ${y.colors.sigGreen}`,paddingLeft:14},children:[e.jsx("div",{style:{fontWeight:800,fontSize:9,letterSpacing:"0.18em",color:"rgba(247,244,236,0.42)",textTransform:"uppercase"},children:h.label}),e.jsx("div",{style:{fontWeight:800,fontSize:20,marginTop:6,letterSpacing:"-0.02em"},children:h.value})]},h.label))}),e.jsxs("button",{onClick:()=>t("/catalogo"),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),style:{marginTop:32,padding:"13px 22px",borderRadius:y.radius.pill,border:"1px solid rgba(247,244,236,0.28)",cursor:"pointer",display:"inline-flex",alignItems:"center",gap:8,fontWeight:600,fontSize:13,backgroundImage:"linear-gradient(to right, rgba(247,244,236,0.18) 50%, rgba(247,244,236,0.06) 50%)",backgroundSize:"200% 100%",backgroundPosition:i?"0% 50%":"100% 50%",backgroundColor:"transparent",color:y.colors.cream,transition:"background-position 0.38s cubic-bezier(.32,0,.18,1)",fontFamily:y.font.family},children:["Ver catálogo en lÃnea ",e.jsx(oe,{size:14})]})]}),e.jsx("div",{className:"featured-cards",style:{display:"flex",flexDirection:"column",gap:14},children:rt.map((h,A)=>{const P=o===A,z=h.accent??y.colors.sigGreen,T=h.pdfUrl;return e.jsxs(F.div,{onHoverStart:()=>r(A),onHoverEnd:()=>r(null),whileHover:{y:-5},transition:{type:"spring",damping:20},style:{background:y.colors.cream,borderRadius:18,padding:"16px 16px 14px",color:y.colors.ink,boxShadow:P?"0 24px 56px rgba(0,0,0,0.45)":"0 8px 28px rgba(0,0,0,0.28)",display:"flex",gap:14,alignItems:"center",transition:"box-shadow 0.25s ease"},children:[e.jsx("div",{className:"cat-card-thumb",style:{flexShrink:0,width:88,aspectRatio:"4/3",borderRadius:10,background:h.cover,overflow:"hidden",position:"relative"},children:h.coverImage?e.jsx("img",{src:h.coverImage,alt:h.title,onError:$=>{$.currentTarget.style.display="none"},style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center top",display:"block",background:"#fff"}}):e.jsxs("div",{style:{display:"flex",flexDirection:"column",justifyContent:"flex-end",padding:"8px 10px",height:"100%"},children:[e.jsx("div",{style:{fontWeight:800,fontSize:7,letterSpacing:"0.2em",color:z,textTransform:"uppercase"},children:"INNLITE"}),e.jsx("div",{style:{fontWeight:800,fontSize:18,lineHeight:1,color:y.colors.cream,marginTop:2,letterSpacing:"-0.02em"},children:"2026"})]})}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsx("div",{style:{fontWeight:800,fontSize:9,letterSpacing:"0.16em",color:z,textTransform:"uppercase",marginBottom:3}
328,children:h.format==="square"?"PLACAS":"ILUMINACIÃN"}),e.jsx("div",{className:"cat-card-title",style:{fontWeight:800,fontSize:14,letterSpacing:"-0.01em",lineHeight:1.2,marginBottom:7},children:h.title}),e.jsx("div",{style:{display:"flex",gap:4,flexWrap:"wrap",marginBottom:10},children:[`${h.pages} págs.`,h.products!=null?`${h.products} prod.`:null].filter(Boolean).map($=>e.jsx("span",{style:{padding:"2px 7px",borderRadius:5,background:"#EEF1EB",fontWeight:700,fontSize:10,color:y.colors.gray},children:$},$))}),e.jsxs("button",{onClick:()=>w(h.sku,h.title,T),style:{display:"inline-flex",alignItems:"center",gap:5,padding:"6px 12px",borderRadius:y.radius.pill,background:z,color:"#fff",fontWeight:700,fontSize:11,border:"none",cursor:"pointer",letterSpacing:"0.02em",fontFamily:y.font.family},children:[e.jsx($e,{size:11})," Ver PDF"]})]})]},h.sku)})})]})]})}),e.jsx("style",{children:` 329 @media (max-width: 768px) { 330 .featured-catalog-body { grid-template-columns: 1fr !important; gap: 28px !important; } 331 .featured-specs { grid-template-columns: repeat(3,1fr) !important; } 332 .featured-cards { gap: 10px !important; } 333 } 334 @media (max-width: 480px) { 335 .featured-specs { grid-template-columns: repeat(2,1fr) !important; } 336 .cat-card-thumb { width: 68px !important; } 337 .cat-card-title { white-space: normal !important; overflow: visible !important; text-overflow: unset !important; font-size: 13px !important; } 338 } 339 @media (max-width: 400px) { 340 .featured-catalog-body { padding: 24px 16px !important; } 341 .cat-card-thumb { width: 56px !important; } 342 .cat-card-title { font-size: 12px !important; } 343 } 344 `}),e.jsx(vt,{open:a!==null,onClose:()=>c(null),sku:a??"",title:l,pdfUrl:m})]})}const W={ink:"#2D2D2E",cream:"#F7F4EC",creamSoft:"#F2EFE7",sigGreen:"#76BC21",gray:"#636569",border:"#E0DDD5",borderStrong:"#C8C4BC"},at=[{id:"oficina",label:"Oficina",labelFull:"Oficina Corporativa",icon:"ð¢",scene:"Oficina Corporativa",desc:"Espacio de trabajo moderno con ventanales amplios. Ideal para concentración y productividad sostenida.",bg:"https://innlite.com/api/baner/2-Formato-WedP/2-Banner-Oficina-Desktop-.webp",bg2x:"https://innlite.com/api/baner/2-Formato-WedP/2-Banner-Oficina-Desktop-2x-.webp",bg3x:"https://innlite.com/api/baner/2-Formato-WedP/2-Banner-Oficina-Desktop-3x-.webp",bgTablet:"https://innlite.com/api/baner/2-Formato-WedP/2-Banner-Oficina-Tablet-.webp",bgMobile:"https://innlite.com/api/baner/2-Formato-WedP/2-Banner-Oficina-Mobile-.webp",baseLumens:1e3,baseLux:500,tempK:6500,tempLabel:"Neutro",tempColor:"#5A8FD9",bloomColor:"rgba(220,235,255,0.9)",bloomOrigins:["30% 0%","70% 0%","50% 0%"],savingsPct:42,baseWatts:140,recommendedSku:"ADO-003",recommendedName:"Panel LED Redondo Slim 12W",catLink:"/catalogo?cat=paneles",productPool:[{id:111,sku:"ADO-003",name:"Panel LED Redondo Slim 12W",brand:"Artlite",watts:"12W",lm:"1 000 lm"}]},{id:"hogar",label:"Ambiente",labelFull:"Ambiente Residencial",icon:"ð¯ï¸",scene:"Ambiente Residencial",desc:"Ambiente cálido y acogedor. Tonos dorados que abrazan materiales naturales y textiles.",bg:"https://innlite.com/api/baner/2-Formato-WedP/3-Banner-Residencial-Desktop-.webp",bg2x:"https://innlite.com/api/baner/2-Formato-WedP/3-Banner-Residencial-Desktop-2x-.webp",bg3x:"https://innlite.com/api/baner/2-Formato-WedP/3-Banner-Residencial-Desktop-3x-.webp",bgTablet:"https://innlite.com/api/baner/2-Formato-WedP/3-Banner-Residencial-Tablet-.webp",bgMobile:"https://innlite.com/api/baner/2-Formato-WedP/3-Banner-Residencial-Mobile-.webp",baseLumens:900,baseLux:180,tempK:3e3,tempLabel:"Blanco cálido",tempColor:"#D4975F",bloomColor:"rgba(255,220,120,0.85)",bloomOrigins:["50% 0%"],savingsPct:38,baseWatts:85,recommendedSku:"ADE-011",recommendedName:"Luminaria LED Pared Curva Negra 10W",catLink:"/catalogo?cat=empotrables",productPool:[{id:20,sku:"ADE-011",name:"Luminaria LED Pared Curva Negra 10W",brand:"Artlite",watts:"10W",lm:"800 lm"}]},{id:"restaurante",label:"Restaurante",labelFull:"Restaurante & Hospital
344ity",icon:"ð½ï¸",scene:"Restaurante & Hospitality",desc:"Atmósfera Ãntima con luz de acento. Cada rincón invita a la conversación y al disfrute.",bg:"https://innlite.com/api/baner/2-Formato-WedP/4-Banner-Restaurante-Desktop-.webp",bg2x:"https://innlite.com/api/baner/2-Formato-WedP/4-Banner-Restaurante-Desktop-2x-.webp",bg3x:"https://innlite.com/api/baner/2-Formato-WedP/4-Banner-Restaurante-Desktop-3x-.webp",bgTablet:"https://innlite.com/api/baner/2-Formato-WedP/4-Banner-Restaurante-Tablet-.webp",bgMobile:"https://innlite.com/api/baner/2-Formato-WedP/4-Banner-Restaurante-Mobile-.webp",baseLumens:360,baseLux:120,tempK:2400,tempLabel:"Muy cálido",tempColor:"#E8A35A",bloomColor:"rgba(255,200,80,0.9)",bloomOrigins:["25% 0%","50% 0%","75% 0%"],savingsPct:48,baseWatts:95,recommendedSku:"ADE-601",recommendedName:"Decorativo Colgante Cilindro E26",catLink:"/catalogo?q=decorativo",productPool:[{id:85,sku:"ADE-601",name:"Decorativo Colgante Cilindro E26",brand:"Artlite",watts:"â",lm:"â"},{id:151,sku:"ALA-022",name:"Lámpara Filamento ST64 4W 2000K",brand:"Artlite",watts:"4W",lm:"~300 lm"}]},{id:"exterior",label:"Exterior",labelFull:"Exterior & Vial",icon:"ð",scene:"Alumbrado Exterior",desc:"Iluminación vial y paisajÃstica. Eficiencia máxima con control inteligente por zonas.",bg:"https://innlite.com/api/baner/2-Formato-WedP/1-Banner-Calle-Desktop-.webp",bg2x:"https://innlite.com/api/baner/2-Formato-WedP/1-Banner-Calle-Desktop-2x-.webp",bg3x:"https://innlite.com/api/baner/2-Formato-WedP/1-Banner-Calle-Desktop-3x-.webp",bgTablet:"https://innlite.com/api/baner/2-Formato-WedP/1-Banner-Calle-Tablet-.webp",bgMobile:"https://innlite.com/api/baner/2-Formato-WedP/1-Banner-Calle-Mobile-.webp",baseLumens:7800,baseLux:50,tempK:6500,tempLabel:"Luz dÃa frÃa",tempColor:"#B0C8E8",bloomColor:"rgba(255,240,180,0.85)",bloomOrigins:[],savingsPct:65,baseWatts:320,recommendedSku:"ARE-019",recommendedName:"Luminario LED para Muro Tipo Calle ST 60W IP66",catLink:"/catalogo?q=ARE-019",productPool:[{id:286,sku:"ARE-019",name:"Luminario LED para Muro Tipo Calle ST 60W IP66",brand:"Artlite",watts:"60W",lm:"7 500 lm"}]},{id:"industrial",label:"Industrial",labelFull:"Nave Industrial",icon:"ð",scene:"Nave Industrial",desc:"Alta intensidad para naves y almacenes. Cobertura uniforme con máxima eficiencia energética.",bg:"https://innlite.com/api/baner/2-Formato-WedP/5-Banner-Industrial-Desktop-3x-.webp",bgTablet:"https://innlite.com/api/baner/2-Formato-WedP/5-Banner-Industrial-Tablet-.webp",bgMobile:"https://innlite.com/api/baner/2-Formato-WedP/5-Banner-Industrial-Mobile-.webp",baseLumens:15e3,baseLux:300,tempK:6500,tempLabel:"Luz dÃa frÃa",tempColor:"#7FA8D9",bloomColor:"rgba(210,230,255,0.9)",bloomOrigins:["20% 0%","50% 0%","80% 0%"],savingsPct:55,baseWatts:240,recommendedSku:"ARE-101",recommendedName:"Campana Lineal Modular 100W IP65",catLink:"/catalogo?q=ARE-101",productPool:[{id:297,sku:"ARE-101",name:"Campana Lineal Modular 100W IP65",brand:"Artlite",watts:"100W",lm:"15 000 lm"}]}],Ut=t=>Math.round(t)>=1e3?Math.round(t).toLocaleString("es-MX"):Math.round(t).toString();function Ra(t){const o=()=>({w:typeof window<"u"?window.innerWidth:1440,dpr:typeof window<"u"&&window.devicePixelRatio||1}),[r,i]=p.useState(o);p.useEffect(()=>{const c=()=>i(o());return window.addEventListener("resize",c,{passive:!0}),()=>window.removeEventListener("resize",c)},[]);const{w:n,dpr:a}=r;return n<640&&t.bgMobile?t.bgMobile:n<768&&t.bgTablet?t.bgTablet:a>=2.5&&t.bg3x?t.bg3x:a>=1.5&&t.bg2x?t.bg2x:t.bg}function Ba(t){const[o,r]=p.useState({a:t,b:t,front:"a"});return p.useEffect(()=>{r(i=>{const n=i.front==="a"?"b":"a";return{...i,[n]:t,front:n}})},[t]),o}const nt=({label:t,value:o,unit:r,pct:i,tempLabel:n,tempColor:a,className:c})=>e.jsxs("div",{className:`sim-metric-card${c?" "+c:""}`,style:{background:"rgba(15,15,13,0.5)",backdropFilter:"blur(14px)",WebkitBackdropFilter:"blur(14px)",border:"1px solid rgba(247,244,236,0.14)",borderRadius:16,padding:"14px 16px",display:"flex",flexDirection:"column",justifyContent:"space-between",minHeight:88},children:[e.jsx("div",{className:"sim-metric-label",style:{fontWeight:600,fontSize:10,letterSpacing:"0.18em",textTransform:"uppercase",color:"rgba(247,244,236,0.55)"},children:t}),e.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:4,marginTop:6},children:[e.jsx("span",{className:"sim-metric-val",style:{fontWeight:800,fontSize:24,letterSpacing:"-0.02em",color:W.cream}
344,children:o}),e.jsx("span",{style:{fontWeight:600,fontSize:11,color:"rgba(247,244,236,0.55)"},children:r})]}),i!==void 0&&e.jsx("div",{style:{marginTop:8,height:3,background:"rgba(247,244,236,0.12)",borderRadius:3,overflow:"hidden"},children:e.jsx(F.div,{animate:{width:`${Math.max(2,i*100)}%`},transition:{duration:.4},style:{height:"100%",background:"#9DD848",borderRadius:3}})}),n&&e.jsx("span",{style:{marginTop:6,alignSelf:"flex-start",padding:"3px 9px",borderRadius:999,background:"rgba(247,244,236,0.1)",color:a||W.cream,fontWeight:700,fontSize:10,letterSpacing:"0.05em"},children:n})]});function Kt(t){return t.length?t[Math.floor(Math.random()*t.length)]:null}function Ta({onAddRecommended:t}){const{add:o,openDrawer:r}=me(),i=Re(),[n,a]=p.useState(at[0]),[c,l]=p.useState(60),[s,m]=p.useState(!1),[g,w]=p.useState(()=>Kt(at[0].productPool)),I=Ra(n),v=Ba(I);p.useEffect(()=>{w(Kt(n.productPool))},[n]);const h=c/100,A=(.18+h*.95).toFixed(2),P=(.6+h*.7).toFixed(2),z=(.85+h*.25).toFixed(2),T=s?"0.08s ease":"0.35s ease",N=`brightness(${A}) saturate(${P}) contrast(${z})`,V=Math.round(n.baseLumens*h),$=Math.round(n.baseLux*h),D=Math.round(n.baseWatts*h*(n.savingsPct/100)),j=p.useCallback(u=>l(Number(u.target.value)),[]);return e.jsxs("section",{"data-testid":"photometric-simulator",style:{padding:"80px 24px 80px",fontFamily:"Montserrat, sans-serif",overflow:"hidden",width:"100%"},children:[e.jsxs("div",{style:{maxWidth:1280,margin:"0 auto"},children:[e.jsxs("div",{style:{marginBottom:32},children:[e.jsx("div",{style:{fontWeight:800,fontSize:10,letterSpacing:"0.2em",color:W.sigGreen,textTransform:"uppercase",marginBottom:14},children:"Simulador fotométrico"}),e.jsxs("h2",{style:{fontWeight:800,fontSize:"clamp(28px, 4vw, 48px)",letterSpacing:"-0.025em",lineHeight:1.05,color:W.ink,maxWidth:720,margin:0},children:["¿Cuánta ",e.jsx("span",{style:{fontStyle:"italic",color:W.sigGreen},children:"luz"})," necesita tu espacio?"]}),e.jsx("p",{style:{fontSize:15,color:W.gray,marginTop:12,maxWidth:580,lineHeight:1.65},children:"Cambia la escena, ajusta la intensidad y mira en tiempo real los lúmenes, lux y watts ahorrados con LED Innlite."})]}),e.jsxs("div",{className:"sim-scene-card",style:{position:"relative",borderRadius:28,overflow:"hidden",minHeight:420,boxShadow:"0 30px 80px rgba(15,15,13,0.22)",border:`1px solid ${W.borderStrong}`},children:[["a","b"].map(u=>e.jsx(F.div,{animate:{opacity:v.front===u?1:0,scale:v.front===u?1:1.05},transition:{duration:.7,ease:[.22,1,.36,1]},style:{position:"absolute",inset:0,backgroundImage:`url("${v[u]}")`,backgroundSize:"cover",backgroundPosition:"center",filter:N,transition:`filter ${T}`}},u)),e.jsx(X,{mode:"sync",children:e.jsxs(F.div,{initial:{opacity:0}
344,animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.22,1,.36,1]},style:{position:"absolute",inset:0,pointerEvents:"none"},children:[n.bloomOrigins.map((u,_)=>e.jsx(F.div,{animate:{opacity:.05+h*.55},transition:{duration:s?.08:.35},style:{position:"absolute",inset:0,background:`radial-gradient(ellipse 55% 45% at ${u}, ${n.bloomColor}, transparent 80%)`,mixBlendMode:"screen"}},_)),e.jsx(F.div,{animate:{opacity:.08+h*.18},transition:{duration:s?.08:.35},style:{position:"absolute",inset:0,background:`radial-gradient(ellipse 80% 70% at 50% 20%, ${n.tempColor}, transparent 90%)`,mixBlendMode:"overlay"}})]},n.id)}),e.jsx(F.div,{animate:{opacity:.72-h*.52},transition:{duration:s?.08:.35},style:{position:"absolute",inset:0,background:"radial-gradient(ellipse 90% 80% at 50% 50%, transparent 30%, rgba(10,8,6,0.92) 100%)",mixBlendMode:"multiply",pointerEvents:"none"}}),e.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(to bottom, transparent 55%, rgba(10,8,6,0.7) 100%)",pointerEvents:"none"}}),e.jsxs("div",{className:"sim-inner-layout",style:{position:"absolute",inset:0,padding:24,display:"grid",gridTemplateRows:"auto 1fr auto",gap:12,color:W.cream},children:[e.jsx("div",{style:{display:"flex",gap:6,flexWrap:"wrap"},children:at.map(u=>{const _=u.id===n.id;return e.jsxs("button",{"data-testid":`sim-mode-${u.id}`,onClick:()=>a(u),style:{display:"inline-flex",alignItems:"center",gap:6,padding:"7px 13px",borderRadius:999,border:`1px solid ${_?"transparent":"rgba(247,244,236,0.22)"}`,background:_?W.cream:"rgba(15,15,13,0.42)",color:_?W.ink:W.cream,fontFamily:"Montserrat, sans-serif",fontWeight:_?700:500,fontSize:12,cursor:"pointer",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",transition:"all 0.25s ease"},children:[e.jsx("span",{children:u.icon}),e.jsx("span",{className:"hidden sm:inline",children:u.labelFull}),e.jsx("span",{className:"sm:hidden",children:u.label})]},u.id)})}),e.jsx(X,{mode:"wait",children:e.jsxs(F.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},transition:{duration:.4,ease:[.22,1,.36,1]},style:{display:"flex",flexDirection:"column",justifyContent:"flex-end",maxWidth:500},children:[e.jsx("h3",{style:{fontFamily:"Montserrat, sans-serif",fontWeight:800,fontSize:"clamp(22px, 3.5vw, 40px)",letterSpacing:"-0.02em",lineHeight:1.05,color:W.cream,margin:0},children:n.scene}),e.jsx("p",{style:{fontSize:13,color:"rgba(247,244,236,0.75)",marginTop:6,lineHeight:1.55},children:n.desc})]},n.id+"-text")}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"minmax(0,1.2fr) minmax(0,1fr)",gap:12},className:"sim-bottom-grid",children:[e.jsxs("div",{style:{background:"rgba(15,15,13,0.5)",backdropFilter:"blur(14px)",WebkitBackdropFilter:"blur(14px)",border:"1px solid rgba(247,244,236,0.14)",borderRadius:18,padding:18},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",marginBottom:10},children:[e.jsx("span",{style:{fontWeight:600,fontSize:10,letterSpacing:"0.16em",textTransform:"uppercase",color:"rgba(247,244,236,0.6)"},children:"Intensidad lumÃnica"}),e.jsxs("span",{style:{fontWeight:800,fontSize:20,letterSpacing:"-0.02em",color:W.cream},children:[c,e.jsx("span",{style:{color:"rgba(247,244,236,0.5)",fontSize:13,marginLeft:2},children:"%"})]})]}),e.jsx("input",{"data-testid":"sim-intensity",type:"range",min:10,max:100,value:c,onChange:j,onMouseDown:()=>m(!0),onMouseUp:()=>m(!1),onTouchStart:()=>m(!0),onTouchEnd:()=>m(!1),className:"innlite-range"}),e.jsxs("div",{style:{marginTop:8,display:"flex",justifyContent:"space-between",fontSize:10,fontWeight:600,color:"rgba(247,244,236,0.4)",letterSpacing:"0.08em",textTransform:"uppercase"},children:[e.jsx("span",{children:"Tenue"}),e.jsx("span",{children:"Ambiental"}),e.jsx("span",{children:"Máximo"})]})]}),e.jsxs("div",{className:"sim-metrics-grid",style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:8},children:[e.jsx(nt,{label:"Lúmenes",value:Ut(V),unit:"lm",pct:h}),e.jsx(nt,{label:"Lux",value:Ut($),unit:"lx",pct:Math.min(1,$/1500)}),e.jsx(nt,{label:"Temp.",value:String(n.tempK),unit:"K",tempLabel:n.tempLabel,tempColor:n.tempColor})]})]})]}),e.jsxs(F.div,{initial:{scale:.9,opacity:0}
344,animate:{scale:1,opacity:1},className:"sim-savings-badge",style:{position:"absolute",top:24,right:24,padding:"9px 15px",borderRadius:999,background:"rgba(107,158,31,0.18)",color:"#9DD848",border:"1px solid rgba(107,158,31,0.4)",backdropFilter:"blur(10px)",fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:12,letterSpacing:"0.04em"},children:["â ",D,"W ahorrados con LED"]},n.id+c)]}),g&&e.jsxs(F.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},style:{marginTop:20,padding:"18px 22px",background:W.creamSoft,borderRadius:18,border:`1px solid ${W.border}`,display:"flex",justifyContent:"space-between",alignItems:"center",gap:18,flexWrap:"wrap"},className:"sim-product-strip",children:[e.jsxs("div",{className:"sim-product-info",style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:6,flexWrap:"wrap"},children:[e.jsx("div",{style:{fontWeight:800,fontSize:10,letterSpacing:"0.2em",color:W.sigGreen,textTransform:"uppercase"},children:"Recomendación Innlite para esta escena"}),n.productPool.length>1&&e.jsx("div",{style:{display:"flex",gap:6},children:n.productPool.map(u=>e.jsx("button",{onClick:()=>w(u),style:{padding:"3px 10px",borderRadius:999,fontSize:11,fontWeight:700,border:`1.5px solid ${(g==null?void 0:g.sku)===u.sku?W.ink:W.border}`,background:(g==null?void 0:g.sku)===u.sku?W.ink:"white",color:(g==null?void 0:g.sku)===u.sku?"white":W.gray,cursor:"pointer",transition:"all 0.15s ease"},children:u.sku},u.sku))})]}),e.jsx("div",{className:"sim-product-name",style:{fontWeight:700,fontSize:17,letterSpacing:"-0.01em",color:W.ink},children:g.name}),e.jsxs("div",{style:{display:"flex",gap:12,marginTop:6,flexWrap:"wrap",alignItems:"center"},children:[e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",borderRadius:6,overflow:"hidden",border:`1px solid ${W.border}`,fontSize:11,fontWeight:600},children:[e.jsx("span",{style:{padding:"3px 7px",background:"#E8EFF7",color:"#6B7A8F",letterSpacing:"0.12em",textTransform:"uppercase",fontSize:9,borderRight:`0.5px solid ${W.border}`},children:"SKU"}),e.jsx("span",{style:{padding:"3px 8px",fontFamily:"'JetBrains Mono','IBM Plex Mono',ui-monospace,monospace",fontWeight:700,color:W.ink},children:g.sku})]}),g.watts&&g.watts!=="â"&&e.jsx("span",{style:{fontSize:12,color:W.gray},children:g.watts}),g.lm&&g.lm!=="â"&&e.jsx("span",{style:{fontSize:12,color:W.gray},children:g.lm}),e.jsxs("span",{style:{fontSize:12,color:W.gray},children:["Ahorro estimado"," ",e.jsxs("strong",{style:{color:W.sigGreen},children:[n.savingsPct,"%"]})]})]})]}),e.jsxs("div",{className:"sim-product-ctas",style:{display:"flex",gap:10,flexShrink:0,flexWrap:"wrap"},children:[e.jsx("button",{type:"button",onClick:()=>{i(`/producto/${g.id}`)},style:{padding:"11px 18px",borderRadius:999,border:`1.5px solid ${W.borderStrong}`,background:"white",color:W.ink,fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:13,cursor:"pointer",display:"inline-flex",alignItems:"center",gap:6,transition:"border-color 0.2s, color 0.2s"},onMouseEnter:u=>{u.currentTarget.style.borderColor=W.sigGreen,u.currentTarget.style.color=W.sigGreen},onMouseLeave:u=>{u.currentTarget.style.borderColor=W.borderStrong,u.currentTarget.style.color=W.ink},children:"Ver producto â"}),e.jsx("button",{type:"button",onClick:()=>{o({sku:g.sku,title:g.name,brand:g.brand??"Artlite",type:"ficha",meta:[g.watts,g.lm].filter(u=>u&&u!=="â").join(" · ")}),r()},style:{padding:"11px 18px",borderRadius:999,border:"none",background:W.ink,color:W.cream,fontFamily:"Montserrat, sans-serif",fontWeight:700,fontSize:13,cursor:"pointer",display:"inline-flex",alignItems:"center",gap:6,transition:"background 0.2s ease"},onMouseEnter:u=>u.currentTarget.style.background=W.sigGreen,onMouseLeave:u=>u.currentTarget.style.background=W.ink,children:"+ Cotizar"})]})]},n.id+g.sku),e.jsx("p",{style:{marginTop:10,fontSize:11,color:"#9A9A9A",textAlign:"center",lineHeight:1.5},children:"** Estimación orientativa. Solicita cálculo lumÃnico profesional en Innlite sin costo."})]}),e.jsx("style",{children:` 345 .innlite-range { 346 width: 100%; height: 4px; 347 background: rgba(247,244,236,0.16); 348 border-radius: 4px; 349 outline: none; 350 -webkit-appearance: none; 351 appearance: none; 352 cursor: pointer; 353 } 354 .innlite-range::-webkit-slider-thumb { 355 -webkit-appearance: none; 356 appearance: none; 357 width: 22px; height: 22px; 358 border-radius: 50%; 359 background: #76BC21; 360 border: 3px solid #F7F4EC; 361 box-shadow: 0 2px 8px rgba(0,0,0,0.4); 362 cursor: pointer; 363 transition: transform 0.15s ease; 364 } 365 .innlite-range::-webkit-slider-thumb:hover { transform: scale(1.15); } 366 .innlite-range::-moz-range-thumb { 367 width: 22px; height: 22px; 368 border-radius: 50%; 369 background: #76BC21; 370 border: 3px solid #F7F4EC; 371 box-shadow: 0 2px 8px rgba(0,0,0,0.4); 372 cursor: pointer; 373 } 374 .sim-scene-card { aspect-ratio: 16 / 9; } 375 @media (min-width: 641px) and (max-width: 1023px) { 376 .sim-scene-card { 377 aspect-ratio: 4 / 3 !important; 378 min-height: 360px !important; 379 } 380 .sim-bottom-grid { 381 grid-template-columns: 1fr !important; 382 } 383 } 384 @media (max-width: 640px) { 385 .sim-bottom-grid { 386 grid-template-columns: 1fr !important; 387 } 388 .sim-scene-card { 389 aspect-ratio: 3 / 4 !important; 390 min-height: 420px !important; 391 border-radius: 18px !important; 392 } 393 .sim-inner-layout { 394 padding: 14px !important; 395 gap: 8px !important; 396 } 397 .sim-savings-badge { 398 display: none !important; 399 } 400 .sim-product-strip { 401 flex-direction: column !important; 402 align-items: flex-start !important; 403 gap: 12px !important; 404 padding: 14px 16px !important; 405 } 406 .sim-product-info { 407 width: 100% !important; 408 } 409 .sim-product-name { 410 font-size: 15px !important; 411 overflow: hidden; 412 display: -webkit-box; 413 -webkit-line-clamp: 2; 414 -webkit-box-orient: vertical; 415 } 416 .sim-product-ctas { 417 width: 100% !important; 418 flex-wrap: nowrap !important; 419 flex-shrink: 1 !important; 420 } 421 .sim-product-ctas button { 422 flex: 1; 423 justify-content: center; 424 font-size: 12px !important; 425 padding: 10px 12px !important; 426 } 427 .sim-metric-card { 428 min-height: 72px !important; 429 padding: 8px 8px !important; 430 border-radius: 10px !important; 431 } 432 .sim-metric-label { 433 font-size: 9px !important; 434 letter-spacing: 0.1em !important; 435 } 436 .sim-metric-val { 437 font-size: 18px !important; 438 } 439 .sim-metrics-grid { 440 gap: 5px !important; 441 } 442 } 443 @media (max-width: 400px) { 444 .sim-metric-val { 445 font-size: 16px !important; 446 } 447 .sim-metric-card { 448 padding: 6px 6px !important; 449 } 450 } 451 `})]})}const Jt=[{id:1,quote:"Sentir la confianza y el apoyo del equipo de Innlite es algo que motiva mucho. Un equipo profesional con actitud de servicio excepcional y una gama de soluciones aplicable a cualquier proyecto. Es un honor trabajar con ellos.",name:"Belén Cervantes",position:"Proyectos de iluminación",company:"Grupo Ascencio",photo:"https://i.pravatar.cc/150?img=47",accentColor:"#1B4F72",stars:5},{id:2,quote:"La atención y servicio del personal es altamente satisfactorio. Su respuesta para aclarar dudas sobre productos es rápida y puntual. Cuentan con una amplia gama para dar soluciones a nuestros clientes finales.",name:"Silvia Rubalcaba",position:"Gerente Comercial",company:"Eléctrica Variedades",photo:"https://i.pravatar.cc/150?img=44",accentColor:"#6C3483",stars:5},{id:3,quote:"Los verdaderos y buenos principios acompañados del esfuerzo y un excelente manejo traen muchas recompensas. Innlite es sin duda el mejor aliado para proyectos de iluminación en Jalisco. ¡Feliz XI Aniversario!",name:"LAE. Carlos Márquez",position:"Presidente",company:"Acome Jalisco",photo:"https://i.pravatar.cc/150?img=12",accentColor:"#1A5276",stars:5},{id:4,quote:"Queremos agradecer a Innlite por su excelente servicio y su gran disposición durante todo el año. La calidad de sus productos y el soporte técnico superan cualquier expectativa. Esperamos seguir esta relación por muchos años.",name:"Distribuidora JOMY",position:"Distribuidor Master",company:"Jalisco",photo:"https://i.pravatar.cc/150?img=33",accentColor:"#784212",stars:5},{id:5,quote:"Innlite nos ha acompañado en más de 20 proyectos residenciales de gran envergadura. Sus soluciones LED son impecables y el equipo técnico siempre está disponible. Definitivamente el mejor proveedor de iluminación del mercado.",name:"Arq. Fernanda SolÃs",position:"Directora Creativa",company:"Studio FS Arquitectura",photo:"https://i.pravatar.cc/150?img=49",accentColor:"#76BC21",stars:5},{id:6,quote:"Desde que empezamos a trabajar con Innlite la eficiencia de nuestros proyectos industriales mejoró notablemente. Los productos Hannover tienen una durabilidad incre
451Ãble y el ahorro energético es real y medible.",name:"Ing. Roberto Castañeda",position:"Jefe de Planta",company:"Grupo Industrial Norteño",photo:"https://i.pravatar.cc/150?img=14",accentColor:"#2E4053",stars:5},{id:7,quote:"Lugar increÃble, lleno de innovación y tecnologÃa de la iluminación y energÃas sustentables. Excelente para soluciones a proyectos residenciales, industriales o de desarrollo urbano.",name:"Salvador Orozco",position:"Cliente verificado",company:"Guadalajara, Jal.",photo:"https://i.pravatar.cc/150?img=51",accentColor:"#1E8449",stars:5},{id:8,quote:"Tiene una gran variedad de productos y accesorios LED, el trato es muy amable y sus productos me han funcionado muy bien.",name:"Piscila Villaseñor",position:"Cliente verificada",company:"Usuario Innlite",photo:"https://i.pravatar.cc/150?img=45",accentColor:"#76448A",stars:5},{id:9,quote:"Excelentes productos y servicio, productos de alta calidad que destacan en el mercado. Brindan no solamente el producto, sino asesorÃa hasta el último minuto de instalación y recomendaciones con un amplio catálogo de iluminación.",name:"Alan Ruiz",position:"Contratista eléctrico",company:"Sector Residencial",photo:"https://i.pravatar.cc/150?img=22",accentColor:"#1A5276",stars:5}];function Ma({count:t}){return e.jsx("div",{style:{display:"flex",gap:3},children:Array.from({length:5}).map((o,r)=>e.jsx("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:r<t?y.colors.sigGreen:"#E0DDD5",children:e.jsx("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})},r))})}const st=3,Wa=5500;function Pa(){const[t,o]=p.useState(0),r=Math.ceil(Jt.length/st),i=t*st,n=Jt.slice(i,i+st);p.useEffect(()=>{if(r<=1)return;const s=setInterval(()=>{o(m=>(m+1)%r)},Wa);return()=>clearInterval(s)},[r]);const a=p.useCallback(s=>o(s),[]),c=p.useCallback(()=>o(s=>Math.max(0,s-1)),[]),l=p.useCallback(()=>o(s=>Math.min(r-1,s+1)),[r]);return e.jsxs("section",{"data-testid":"home-testimonials",style:{padding:"80px 24px",background:"#F7F4EC",borderTop:`1px solid ${y.colors.border}`,fontFamily:y.font.family},children:[e.jsxs("div",{style:{maxWidth:1280,margin:"0 auto"},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-end",marginBottom:48,gap:24,flexWrap:"wrap"},children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:10,fontWeight:700,letterSpacing:"0.26em",color:y.colors.sigGreen,textTransform:"uppercase",marginBottom:10},children:"Testimonios"}),e.jsxs("h2",{style:{fontWeight:800,fontSize:"clamp(28px,4vw,46px)",letterSpacing:"-0.025em",lineHeight:1.05},children:["Lo que dicen"," ",e.jsx("span",{style:{fontStyle:"italic",color:y.colors.sigGreen},children:"nuestros clientes"}),"."]})]}),e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[e.jsx("div",{style:{display:"flex",gap:6},children:Array.from({length:r}).map((s,m)=>e.jsx("button",{onClick:()=>a(m),"aria-label":`Ir a la página ${m+1} de testimonios`,"aria-current":m===t?"true":void 0,className:"testi-dot",style:{position:"relative",width:m===t?28:8,height:8,borderRadius:999,border:"none",background:m===t?y.colors.sigGreen:y.colors.borderStrong,cursor:"pointer",padding:0,transition:"all 0.3s ease"}},m))}),e.jsx("button",{onClick:c,disabled:t===0,"aria-label":"Testimonios anteriores",style:{width:44,height:44,borderRadius:999,background:y.colors.ink,color:y.colors.cream,border:"none",cursor:t===0?"not-allowed":"pointer",display:"flex",alignItems:"center",justifyContent:"center",opacity:t===0?.35:1,transition:"all 0.2s ease"},children:e.jsx(bt,{size:16})}),e.jsx("button",{onClick:l,disabled:t===r-1,"aria-label":"Siguientes testimonios",style:{width:44,height:44,borderRadius:999,background:y.colors.ink,color:y.colors.cream,border:"none",cursor:t===r-1?"not-allowed":"pointer",display:"flex",alignItems:"center",justifyContent:"center",opacity:t===r-1?.35:1,transition:"all 0.2s ease"},children:e.jsx(Ae,{size:16})})]})]}),e.jsx(X,{mode:"wait",children:e.jsx(F.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-16},transition:{duration:.42,ease:[.22,1,.36,1]},style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(280px, 1fr))",gap:20},children:n.map((s,m)=>e.jsxs(F.article,{initial:{opacity:0,y:24}
451,animate:{opacity:1,y:0},transition:{duration:.45,ease:[.22,1,.36,1],delay:m*.07},style:{background:"#fff",borderRadius:20,padding:"28px 26px",border:`1px solid ${y.colors.border}`,display:"flex",flexDirection:"column",gap:18,boxShadow:"0 4px 20px rgba(15,15,13,0.05)"},children:[e.jsx(Ma,{count:s.stars}),e.jsxs("p",{style:{fontSize:14,fontWeight:300,lineHeight:1.78,color:"#555B52",margin:0,flex:1,fontStyle:"italic",letterSpacing:"0.005em"},children:["â",s.quote,"â"]}),e.jsx("div",{style:{height:"0.5px",background:y.colors.border}}),e.jsx("div",{children:e.jsxs("div",{children:[e.jsx("div",{style:{fontWeight:600,fontSize:13,color:y.colors.ink,lineHeight:1.25},children:s.name}),e.jsxs("div",{style:{fontSize:11,color:y.colors.gray,marginTop:3,lineHeight:1.35},children:[s.position,e.jsx("br",{}),e.jsx("span",{style:{fontWeight:600,color:y.colors.sigGreenDark},children:s.company})]})]})})]},s.id))},t)})]}),e.jsx("style",{children:".testi-dot::before { content: ''; position: absolute; inset: -13px; }"})]})}function $a(){const{openDrawer:t}=me(),[o,r]=p.useState(!1);return e.jsx("section",{"data-testid":"home-final-cta",style:{padding:"32px 24px 80px",fontFamily:y.font.family},children:e.jsx("div",{style:{maxWidth:1280,margin:"0 auto"},children:e.jsxs(F.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7},style:{position:"relative",background:y.colors.ink,borderRadius:28,padding:"clamp(48px,8vw,96px) clamp(32px,6vw,80px)",color:y.colors.cream,overflow:"hidden",textAlign:"center"},children:[e.jsx("div",{style:{position:"absolute",top:-120,left:"20%",width:360,height:360,borderRadius:"50%",background:y.colors.sigGreen,opacity:.22,filter:"blur(80px)",pointerEvents:"none"}}),e.jsx("div",{style:{position:"absolute",bottom:-120,right:"15%",width:320,height:320,borderRadius:"50%",background:y.colors.amber,opacity:.18,filter:"blur(80px)",pointerEvents:"none"}}),e.jsx("div",{style:{position:"absolute",inset:0,backgroundImage:"radial-gradient(circle at 2px 2px, rgba(247,244,236,0.08) 1px, transparent 1px)",backgroundSize:"24px 24px",opacity:.4,pointerEvents:"none"}}),e.jsxs("div",{style:{position:"relative",maxWidth:820,margin:"0 auto"},children:[e.jsx("div",{style:{fontSize:11,fontWeight:800,letterSpacing:"0.28em",color:y.colors.sigGreen,textTransform:"uppercase"},children:"Comencemos"}),e.jsxs("h2",{style:{fontWeight:800,fontSize:"clamp(36px,6vw,72px)",letterSpacing:"-0.03em",lineHeight:.98,marginTop:20},children:["¿ESTÃS LISTO",e.jsx("br",{}),"PARA COMENZAR",e.jsx("br",{}),e.jsx("span",{style:{fontStyle:"italic",fontWeight:700,color:y.colors.sigGreen},children:"TU PROYECTO?"})]}),e.jsxs("p",{style:{fontWeight:500,fontSize:"clamp(15px,2vw,19px)",color:"rgba(247,244,236,0.72)",marginTop:22,lineHeight:1.55,maxWidth:560,marginLeft:"auto",marginRight:"auto"},children:["¡Te ",e.jsx("span",{style:{fontStyle:"italic",color:y.colors.amber},children:"ayudamos"})," a hacerlo realidad!"]}),e.jsxs("button",{"data-testid":"home-final-cta-btn",onClick:t,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),style:{marginTop:36,padding:"17px 40px",borderRadius:y.radius.pill,border:"none",cursor:"pointer",fontWeight:600,fontSize:15,letterSpacing:"0.04em",display:"inline-flex",alignItems:"center",gap:10,background:`linear-gradient(to right, ${y.colors.ink} 50%, ${y.colors.sigGreen} 50%)`,backgroundSize:"200% 100%",backgroundPosition:o?"0% 50%":"100% 50%",color:y.colors.cream,boxShadow:o?"none":"0 10px 30px rgba(107,158,31,0.45)",transition:"background-position 0.38s cubic-bezier(.32,0,.18,1), color 0.22s ease, box-shadow 0.2s ease"},children:["EscrÃbenos ",e.jsx(oe,{size:18})]}),e.jsx("div",{style:{marginTop:16,fontSize:12,color:"rgba(247,244,236,0.45)"},children:"Arma tu lista de productos y recibe una propuesta en 24 hrs"})]})]})})})}function _a({products:t,compareList:o}){return e.jsxs("main",{children:[e.jsx(xa,{}),e.jsx(Ea,{}),e.jsx(za,{}),e.jsx(ja,{}),e.jsx(Ta,{}),e.jsx(Na,{}),e.jsx(ga,{products:t,compareList:o}),e.jsx(Pa,{}),e.jsx(Io,{}),e.jsx($a,{})]})}const Oa=["ARTLITE","WINLED"],lt={ARTLITE:"#639922",WINLED:"#185FA5"},Ha=["Empotrables","Paneles LED","Lámparas","Tiras & Perfiles","Reflectores","Campanas","Solares","Gabinetes","Smart & Control","Accesorios"],Yt={Empotrables:["empotr"],"Paneles LED":["panel"],Lámparas:["lamp","bulbo","mr16","gu10"],"Tiras & Perfiles":["tira","perfil","manguera","decorativo"],Reflectores:["reflector"],Campanas:["campana","high bay","highbay"],Solares:["solar"],Gabinetes:["gabinete"],"Smart & Control":["smart","control","dali"],Accesorios:["accesorio","complemento","adaptador","eliminador","modulo","driver"]},Xt=["IP20","IP44","IP65","IP66","IP67"],qa=[{value:"relevance",label:"Relevancia"},{value:"power-asc",label:"Menor potencia"},{value:"power-desc",label:"Mayor potencia"},{value:"az",label:"Nombre AâZ"}],ct=12,dt={residencial:["residencial","lamp","bulbo","gu10","mr16","tira","perfil","strip","rgb","manguera","decorativo"],comercial:["comercial","panel","empotr","downlight","spot","spot","lineal","ugr","oficina","retail","hospital
451idad","cri","magnético"],industrial:["industrial","campana","high bay","highbay","proyector","reflector","ip65","ip66","ip67","solar","exterior","vial"],"corporativo & oficina":["panel","lineal","ugr","oficina"],"retail & hospitalidad":["empotr","spot","magnético","cri","retail"],"exterior & paisajismo":["reflector","solar","ip65","ip66","ip67"],"exterior & vial":["reflector","solar","ip65","ip66","vial"],"hoteles & restaurantes":["decorativo","pendant","cálido","ambiental","empotr"]},Ga={empotrables:["empotr"],paneles:["panel"],tiras:["tira","perfil","manguera","decorativo"],lamparas:["lamp","bulbo","mr16","gu10"],reflectores:["reflector"],campanas:["campana","high bay","highbay"],solares:["solar"],gabinetes:["gabinete"],control:["smart","control","dali"],accesorios:["accesorio","complemento","adaptador","eliminador","modulo","driver"]};function pt({active:t,onClick:o,children:r,color:i,style:n}){return e.jsx("button",{onClick:o,type:"button",style:{display:"inline-flex",alignItems:"center",gap:5,padding:"8px 14px",borderRadius:20,borderWidth:t?1.5:1,borderStyle:"solid",borderColor:t?i||"#76BC21":"#D4D0C8",fontSize:11,fontWeight:t?700:500,cursor:"pointer",background:t?i?`${i}22`:"#DCF0BF":"#F2EFE7",color:t?i||"#3B6D11":"#555250",transition:"all 0.15s ease",userSelect:"none",touchAction:"manipulation",WebkitTapHighlightColor:"transparent",boxShadow:t?`0 0 0 3px ${i?i+"22":"rgba(118,188,33,0.15)"}`:"none",minHeight:36,...n},children:r})}function Va({products:t,compareList:o}){const[r,i]=Do(),{add:n,has:a,openDrawer:c}=me(),l=p.useRef(null),s=r.getAll("brand"),m=r.getAll("family"),g=r.getAll("ip"),w=r.getAll("temp"),I=r.get("sort")||"relevance",v=r.get("q")||"",h=Number(r.get("p")||"1"),A=r.get("view")||"grid",P=r.get("cat")||"",z=Ga[P]??(P?[P.toLowerCase()]:[]),T=r.get("app")||"",N=r.get("aplicacion")||"",[V,$]=p.useState(!1),[D,j]=p.useState(v);p.useEffect(()=>{j(v)},[v]);const u=p.useCallback((d,f)=>{i(x=>{const b=new URLSearchParams(x);return b.delete(d),Array.isArray(f)?f.forEach(L=>b.append(d,L)):f&&b.set(d,f),b.set("p","1"),b},{replace:!0})},[i]),_=p.useCallback((d,f,x)=>{const b=f.includes(x)?f.filter(L=>L!==x):[...f,x];u(d,b)},[u]),ae=p.useCallback(()=>{i(new URLSearchParams,{replace:!0}),j("")},[i]),C=p.useCallback(()=>{u("q",D)},[u,D]),B=p.useRef(null),O=p.useCallback(d=>{j(d),B.current&&clearTimeout(B.current),B.current=setTimeout(()=>u("q",d),200)},[u]),te=p.useMemo(()=>{let d=[...t];if(d=d.filter(f=>f.brand!=="Hannover"),v){const f=H=>H.replace(/es$/i,"").replace(/s$/i,"")||H,x=v.toLowerCase().split(/\s+/).filter(Boolean),b=x.map(f),L=(...H)=>{const ie=H.join(" ").toLowerCase();return b.every((ce,je)=>ie.includes(x[je])||ie.includes(ce))};d=d.filter(H=>L(H.name,H.sku??"",H.model??"",H.brand,H.cat??"",H.application??""))}if(s.length&&(d=d.filter(f=>s.some(x=>{var b;return x.toLowerCase()===((b=f.brand)==null?void 0:b.toLowerCase())}))),m.length&&(d=d.filter(f=>{const x=(f.cat||"").toLowerCase();return m.some(b=>{const L=Yt[b];return L?L.some(H=>x.includes(H)):x.includes(b.toLowerCase())})})),T&&(d=d.filter(f=>(f.application||"").toLowerCase().includes(T.toLowerCase()))),N){const f=N.toLowerCase(),x=dt[f];x?d=d.filter(b=>{const L=[b.cat||"",b.application||"",b.name].join(" ").toLowerCase();return x.some(H=>L.includes(H))}):d=d.filter(b=>(b.application||"").toLowerCase().includes(f))}return z.length&&(d=d.filter(f=>{const x=(f.cat||"").toLowerCase();return z.some(b=>x.includes(b.toLowerCase()))})),g.length&&(d=d.filter(f=>g.some(x=>{var b;return(b=f.ip)==null?void 0:b.includes(x)}))),w.length&&(d=d.filter(f=>w.some(x=>{var b;return(b=f.temp)==null?void 0:b.includes(x)}))),I==="power-asc"?d.sort((f,x)=>(f.powerW||0)-(x.powerW||0)):I==="power-desc"?d.sort((f,x)=>(x.powerW||0)-(f.powerW||0)):I==="az"&&d.sort((f,x)=>f.name.localeCompare(x.name)),d},[t,v,s,m,g,w,I,z,T,N]),Z=p.useMemo(()=>{let d=[...t].filter(f=>f.brand!=="Hannover");if(v){const f=L=>L.replace(/es$/i,"").replace(/s$/i,"")||L,x=v.toLowerCase().split(/\s+/).filter(Boolean),b=x.map(f);d=d.filter(L=>{const H=[L.name,L.sku??"",L.brand,L.cat??"",L.application??""].join(" ").toLowerCase();return b.every((ie,ce)=>H.includes(x[ce])||H.includes(ie))})}if(s.length&&(d=d.filter(f=>s.some(x=>{var b;return x.toLowerCase()===((b=f.brand)==null?void 0:b.toLowerCase())}))),g.length&&(d=d.filter(f=>g.some(x=>{var b;return(b=f.ip)==null?void 0:b.includes(x)}))),w.length&&(d=d.filter(f=>w.some(x=>{var b;return(b=f.temp)==null?void 0:b.includes(x)}))),z.length&&(d=d.filter(f=>z.some(x=>(f.cat||"").toLowerCase().includes(x.toLowerCase())))),T&&(d=d.filter(f=>(f.application||"").toLowerCase().includes(T.toLowerCase()))),N){const f=dt[N.toLowerCase()];f?d=d.filter(x=>{const b=[x.cat||"",x.application||"",x.name].join(" ").toLowerCase();return f.some(L=>b.includes(L))}):d=d.filter(x=>(x.application||"").toLowerCase().includes(N.toLowerCase()))}return d},[t,v,s,g,w,z,T,N]),Q=p.useMemo(()=>{let d=[...t].filter(f=>f.brand!=="Hannover");if(v){const f=L=>L.replace(/es$/i,"").replace(/s$/i,"")||L,x=v.toLowerCase().split(/\s+/).filter(
451Boolean),b=x.map(f);d=d.filter(L=>{const H=[L.name,L.sku??"",L.brand,L.cat??"",L.application??""].join(" ").toLowerCase();return b.every((ie,ce)=>H.includes(x[ce])||H.includes(ie))})}if(s.length&&(d=d.filter(f=>s.some(x=>{var b;return x.toLowerCase()===((b=f.brand)==null?void 0:b.toLowerCase())}))),z.length&&(d=d.filter(f=>z.some(x=>(f.cat||"").toLowerCase().includes(x.toLowerCase())))),T&&(d=d.filter(f=>(f.application||"").toLowerCase().includes(T.toLowerCase()))),N){const f=dt[N.toLowerCase()];f?d=d.filter(x=>{const b=[x.cat||"",x.application||"",x.name].join(" ").toLowerCase();return f.some(L=>b.includes(L))}):d=d.filter(x=>(x.application||"").toLowerCase().includes(N.toLowerCase()))}return d},[t,v,s,z,T,N]),ee=Math.max(1,Math.ceil(te.length/ct)),S=Math.min(h,ee),ue=te.slice((S-1)*ct,S*ct),ne=s.length>0||m.length>0||g.length>0||w.length>0||!!v||!!P||!!T||!!N,ge=d=>{i(f=>{const x=new URLSearchParams(f);return x.set("p",String(d)),x},{replace:!0}),window.scrollTo({top:0,behavior:"smooth"})},se=[...s.map(d=>({label:d,onRemove:()=>_("brand",s,d)})),...m.map(d=>({label:d,onRemove:()=>_("family",m,d)})),...g.map(d=>({label:d,onRemove:()=>_("ip",g,d)})),...w.map(d=>({label:d,onRemove:()=>_("temp",w,d)})),...v?[{label:`"${v}"`,onRemove:()=>{u("q",""),j("")}}]:[]],U=e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:0,fontFamily:"Montserrat, sans-serif"},children:[e.jsxs("div",{style:{marginBottom:18},children:[e.jsx("div",{style:{fontSize:10,fontWeight:600,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.1em",marginBottom:8},children:"Marca"}),e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:5},children:Oa.map(d=>e.jsxs(pt,{active:s.some(f=>f.toLowerCase()===d.toLowerCase()),onClick:()=>_("brand",s,d),color:lt[d],children:[e.jsx("span",{style:{width:6,height:6,borderRadius:"50%",background:lt[d]}}),d]},d))})]}),e.jsxs("div",{style:{marginBottom:18},children:[e.jsx("div",{style:{fontSize:10,fontWeight:600,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.1em",marginBottom:8},children:"Familias"}),e.jsx("div",{style:{display:"flex",flexDirection:"column",gap:4},children:Ha.map(d=>{const f=Yt[d]??[],x=Z.filter(b=>{const L=(b.cat||"").toLowerCase();return f.some(H=>L.includes(H))}).length;return x===0?null:e.jsxs(pt,{active:m.includes(d),onClick:()=>_("family",m,d),children:[d,x>0&&e.jsx("span",{style:{marginLeft:3,fontSize:9,fontWeight:700,opacity:m.includes(d)?.85:.45},children:x})]},d)})})]}),Xt.some(d=>Q.filter(f=>{var x;return(x=f.ip)==null?void 0:x.includes(d)}).length>0)&&e.jsxs("div",{style:{marginBottom:20},children:[e.jsx("div",{style:{fontSize:10,fontWeight:600,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.1em",marginBottom:8},children:"Protección IP"}),e.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:5},children:Xt.map(d=>{const f=Q.filter(x=>{var b;return(b=x.ip)==null?void 0:b.includes(d)}).length;return f===0?null:e.jsxs(pt,{active:g.includes(d),onClick:()=>_("ip",g,d),color:"#3C3489",children:[d," ",f]},d)})})]}),e.jsxs("button",{onClick:ae,disabled:!ne,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:6,padding:"8px",borderRadius:10,border:"0.5px solid #E0DDD5",background:"transparent",fontSize:11,fontWeight:500,cursor:ne?"pointer":"not-allowed",color:ne?"#2D2D2E":"#B0B0B0",transition:"all 0.15s ease"},children:[e.jsx(Ki,{size:12})," Limpiar filtros"]})]});return e.jsxs("div",{style:{background:"#FBFBF9",minHeight:"100vh",fontFamily:"Montserrat, sans-serif"},children:[e.jsxs("section",{style:{background:"#0F0F0D",padding:"40px 24px 56px",position:"relative",overflow:"hidden"},children:[e.jsx("div",{style:{position:"absolute",inset:0,background:"radial-gradient(ellipse at 20% 60%, rgba(118,188,33,0.16), transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(46,75,158,0.1), transparent 45%)"}}),e.jsx("div",{style:{position:"absolute",inset:0,opacity:.04,backgroundImage:"linear-gradient(#F7F4EC 1px, transparent 1px), linear-gradient(90deg, #F7F4EC 1px, transparent 1px)",backgroundSize:"64px 64px"}}),e.jsxs("div",{style:{maxWidth:1280,margin:"0 auto",position:"relative",zIndex:1},children:[e.jsxs("div",{style:{textAlign:"center",marginBottom:28},children:[e.jsxs("h1",{style:{fontWeight:800,fontSize:"clamp(32px,5vw,56px)",letterSpacing:"-0.03em",color:"#F7F4EC",lineHeight:1,marginBottom:10},children:["Catálogo"," ",e.jsx("span",{style:{fontStyle:"italic",color:"#76BC21"},children:"Innlite"})]}),e.jsxs("p",{style:{fontSize:14,color:"rgba(247,244,236,0.5)",margin:0},children:[te.length," de ",t.length," productos disponibles"]})]}),e.jsx("div",{style:{position:"relative",maxWidth:720,margin:"0 auto"},children:e.jsxs("div",{style:{display:"flex",alignItems:"center",background:"#F7F4EC",borderRadius:999,padding:"6px 6px 6px 24px",boxShadow:"0 24px 60px rgba(0,0,0,0.4)"},children:[e.jsx(De,{size:18,color:"#6B6E72"}),e.jsx("input",{ref:l,type:"text",value:D,onChange:d=>O(d.target.value),onKeyDown:d=>{d.key==="Enter"&&C()},placeholder:"Buscar producto, SKU, aplicación, marcaâ¦",style:{flex:1,border:"none",outline:"none",background:"transparent",padding:"14px 14px",fontSize:16,color:"#2D2D2E",fontFamily:"inherit",minWidth:0}}),D?e.jsx("button",{onClick:()=>{j(""),u("q","")},style:{background:"#E8E4DC",border:"none",borderRadius:999,padding:"10px 18px",cursor:"pointer",fontWeight:700,fontSize:12,color:"#2D2D2E",marginRight:4},children:"Limpiar"}):null,e.jsx("button",{onClick:C,style:{background:"#76BC21",color:"#fff",border:"none",borderRadius:999,padding:"12px 22px",fontWeight:700,fontSize:13,cursor:"pointer",whiteSpace:"nowrap"},children:"Buscar"})]})}),se.length>0&&e.jsxs("div",{style:{display:"flex",gap:6,flexWrap:"wrap",justifyContent:"center",marginTop:14},children:[se.map(d=>e.jsxs("button",{onClick:d.onRemove,style:{display:"inline-flex",alignItems:"center",gap:5,padding:"5px 12px",borderRadius:999,background:"rgba(118,188,33,0.15)",border:"1px solid rgba(118,188,33,0.35)",color:"#76BC21",fontSize:11,fontWeight:600,cursor:"pointer"},children:[d.label," ",e.jsx(re,{size:10})]},d.label)),e.jsx("button",{onClick:ae,style:{padding:"5px 12px",borderRadius:999,background:"rgba(247,244,236,0.07)",border:"1px solid rgba(247,244,236,0.15)",color:"rgba(247,244,236,0.6)",fontSize:11,fontWeight:500,cursor:"pointer"},children:"Limpiar todo"})]})]})]}),e.jsxs("div",{style:{maxWidth:1280,margin:"0 auto",padding:"24px 24px 64px",display:"flex",gap:28,alignItems:"flex-start"},children:[e.jsx("aside",{style:{width:210,flexShrink:0},className:"catalog-sidebar-container",children:e.jsx("div",{style:{background:"#fff",border:"0.5px solid #E0DDD5",borderRadius:16,padding:"20px 16px"},children:U})}),e.jsxs("div",{style:{flex:1,minWidth:0},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:16},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[e.jsxs("button",{onClick:()=>$(!0),className:"mobile-filter-btn",style:{display:"none",alignItems:"center",gap:6,padding:"7px 14px",borderRadius:10,border:"0.5px solid #E0DDD5",background:"#fff",fontSize:12,fontWeight:600},children:[e.jsx(zt,{size:13})," Filtros"]}),e.jsxs("span",{style:{fontSize:13,fontWeight:600,color:"#2D2D2E"},children:[te.length," ",e.jsx("span",{style:{color:"#6B6E72",fontWeight:400},children:"productos"})]})]}),e.jsx("div",{style:{display:"flex",alignItems:"center",gap:8},children:e.jsx("select",{value:I,onChange:d=>u("sort",d.target.value),style:{padding:"7px 10px",borderRadius:10,border:"0.5px solid #E0DDD5",fontSize:12},children:qa.map(d=>e.jsx("option",{value:d.value,children:d.label},d.value))})})]}),te.length===0?e.jsxs("div",{style:{textAlign:"center",padding:"80px 24px"},children:[e.jsx(Be,{size:40,style:{color:"#EEF1EB",margin:"0 auto 16px"}}),e.jsx("p",{style:{fontWeight:700,color:"#2D2D2E"},children:"Sin resultados"}),e.jsx("button",{onClick:ae,style:{color:"#76BC21",background:"none",border:"none",cursor:"pointer",fontWeight:600},children:"Limpiar filtros"})]}):A==="grid"?e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(220px, 1fr))",gap:14},children:ue.map(d=>e.jsx(jt,{p:d,inCompare:o.isInCompare(String(d.id)),onCompare:f=>o.toggleItem(f)},d.id))}):e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"2.5fr 2fr 80px 90px",padding:"6px 14px",fontSize:10,fontWeight:600,color:"#6B6E72",textTransform:"uppercase"},children:[e.jsx("span",{children:"Producto"}),e.jsx("span",{children:"CaracterÃsticas"}),e.jsx("span",{style:{textAlign:"center"},children:"Marca"}),e.jsx("span",{})]}),ue.map(d=>{const f=a(d.sku);return e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"2.5fr 2fr 80px 90px",alignItems:"center",padding:"12px 14px",background:"#fff",border:"0.5px solid #EEF1EB",borderRadius:12},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,minWidth:0},children:[e.jsx("img",{src:d.mainImage||d.img,alt:"",style:{width:40,height:40,objectFit:"cover",borderRadius:8}}),e.jsxs("div",{style:{minWidth:0},children:[e.jsx("div",{style:{fontWeight:600,fontSize:13,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:d.name}
451),e.jsx("div",{style:{fontSize:10,color:"#6B6E72",fontFamily:"monospace"},children:d.sku})]})]}),e.jsx("div",{style:{display:"flex",gap:4},children:[d.watts,d.temp,d.ip].filter(Boolean).slice(0,3).map((x,b)=>e.jsx("span",{style:{fontSize:10,background:"#F5F6F3",padding:"3px 6px",borderRadius:6},children:x},b))}),e.jsx("span",{style:{textAlign:"center",fontSize:10,fontWeight:600,color:lt[d.brand]??"#636569"},children:d.brand}),e.jsx("button",{onClick:()=>{f||n({sku:d.sku,title:d.name,brand:d.brand,type:"ficha",meta:""}),c()},style:{background:f?"#EAF3DE":"#76BC21",color:f?"#3B6D11":"#fff",border:"none",borderRadius:8,padding:8,cursor:"pointer"},children:e.jsx(Le,{size:14})})]},d.id)})]}),ee>1&&e.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:8,marginTop:32},children:[e.jsx("button",{onClick:()=>ge(S-1),disabled:S===1,style:{background:"none",border:"none",cursor:"pointer"},children:e.jsx(bt,{size:18})}),e.jsxs("span",{style:{fontSize:14,fontWeight:600},children:[S," / ",ee]}),e.jsx("button",{onClick:()=>ge(S+1),disabled:S===ee,style:{background:"none",border:"none",cursor:"pointer"},children:e.jsx(Ae,{size:18})})]})]})]}),e.jsx(X,{children:V&&e.jsxs(e.Fragment,{children:[e.jsx(F.div,{initial:{opacity:0}
451,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:()=>$(!1),style:{position:"fixed",inset:0,background:"rgba(15,15,13,0.55)",backdropFilter:"blur(4px)",zIndex:1e3}},"backdrop"),e.jsxs(F.div,{initial:{y:"100%"},animate:{y:0},exit:{y:"100%"},transition:{type:"spring",damping:28,stiffness:320},style:{position:"fixed",left:0,right:0,bottom:0,zIndex:1001,background:"#fff",borderRadius:"20px 20px 0 0",padding:"0 20px 40px",maxHeight:"80dvh",overflowY:"scroll",WebkitOverflowScrolling:"touch",overscrollBehavior:"contain",fontFamily:"Montserrat, sans-serif"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"16px 0 14px",position:"sticky",top:0,background:"#fff",borderBottom:"0.5px solid #EEF1EB",marginBottom:18,zIndex:1},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[e.jsx(zt,{size:16,color:"#76BC21"}),e.jsx("span",{style:{fontWeight:700,fontSize:15,color:"#0F0F0D"},children:"Filtros"}),ne&&e.jsx("span",{style:{background:"#76BC21",color:"#fff",fontSize:10,fontWeight:700,borderRadius:99,padding:"2px 7px"},children:se.length})]}),e.jsx("button",{onClick:()=>$(!1),style:{background:"#F5F5F3",border:"none",borderRadius:99,width:32,height:32,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},children:e.jsx(re,{size:14,color:"#636569"})})]}),U,e.jsxs("button",{onClick:()=>$(!1),style:{width:"100%",marginTop:16,background:"#76BC21",color:"#fff",border:"none",borderRadius:12,padding:"14px 0",fontWeight:700,fontSize:14,cursor:"pointer",fontFamily:"Montserrat, sans-serif"},children:["Ver ",te.length," productos"]})]},"filter-panel")]})}),e.jsx("style",{children:` 452 @media (max-width: 1023px) { 453 .catalog-sidebar-container { display: none !important; } 454 .mobile-filter-btn { display: flex !important; } 455 } 456 `})]})}const Ua={Artlite:{color:"#639922",bg:"#EAF3DE",text:"#27500A",lightBg:"#F4FAE9",name:"Artlite"},Hannover:{color:"#BA7517",bg:"#FAEEDA",text:"#633806",lightBg:"#FDF7EE",name:"Hannover"},WINLED:{color:"#185FA5",bg:"#E6F1FB",text:"#042C53",lightBg:"#EFF6FD",name:"WINLED"}},Ka={color:"#76BC21",bg:"#EFF7E2",text:"#4E7815",lightBg:"#F5FAEC",name:""};function Ja(t){return Ua[t]||Ka}function Ya(t){const o=t==null?void 0:t.match(/(\d{4,5})/);return o?parseInt(o[1]):4e3}function Xa(t){return Math.max(3,Math.min(97,(t-2700)/3800*100))}function Za(t){return t<=2800?"Blanco cálido":t<=3200?"Cálido":t<=4200?"Neutro":t<=5500?"FrÃo":"Luz de dÃa"}function Qa(t){const o=t==null?void 0:t.match(/(\d{2,3})/);return o?parseInt(o[1]):80}const ft=["IP20","IP44","IP54","IP65","IP66","IP67"],en=["Interior seco","Salpicaduras","Polvo/lluvia leve","Polvo + agua","Chorros agua","Inmersión breve"];function tn(t){if(!t)return 0;const o=ft.findIndex(r=>t.includes(r));return o>=0?o:0}function on(t,o){if(!t)return;if(Array.isArray(t)){const i=t.find(([n])=>o.some(a=>n.toLowerCase().includes(a.toLowerCase())));return i==null?void 0:i[1]}const r=t;for(const i of Object.keys(r))if(o.some(n=>i.toLowerCase().includes(n.toLowerCase())))return r[i]}const rn=new Set(["potencia","watts","flujo","lumen","temperatura","cct","cri","irc","ip","protección"]);function an(t){return t?(Array.isArray(t)?t:Object.entries(t)).filter(([r])=>!rn.has(r.toLowerCase().split(" ")[0])).slice(0,8):[]}function mt({icon:t,label:o,value:r,sub:i,accentColor:n}){return e.jsxs("div",{style:{background:"#FBFBF9",border:"0.5px solid #E4E7E1",borderRadius:14,padding:"14px 16px",display:"flex",flexDirection:"column",gap:4},children:[e.jsx("div",{style:{color:n,marginBottom:2},children:t}),e.jsx("span",{style:{fontSize:9,fontWeight:600,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.07em"},children:o}),e.jsx("span",{style:{fontSize:15,fontWeight:500,color:"#2D2D2E",lineHeight:1.2},children:r||"â"}),i&&e.jsx("span",{style:{fontSize:10,color:"#6B6E72",marginTop:1},children:i})]})}function nn({kelvin:t,accentColor:o}){const r=Xa(t);return e.jsxs("div",{style:{background:"#FBFBF9",border:"0.5px solid #E4E7E1",borderRadius:14,padding:"14px 16px"},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:10},children:[e.jsxs("div",{children:[e.jsx("span",{style:{fontSize:9,fontWeight:600,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.07em"},children:"Temperatura de color"}),e.jsxs("div",{style:{fontSize:15,fontWeight:500,color:"#2D2D2E",marginTop:2},children:[t,"K"]})]}
456),e.jsx("span",{style:{fontSize:10,color:o,fontWeight:600,background:`${o}14`,padding:"2px 8px",borderRadius:20},children:Za(t)})]}),e.jsx("div",{style:{position:"relative",height:10,borderRadius:5,overflow:"hidden",border:"0.5px solid #E4E7E1",background:"linear-gradient(to right, #FFCC44, #FFF5CC 25%, #F0F8FF 55%, #CCE5FF)"},children:e.jsx("div",{style:{position:"absolute",top:"50%",left:`${r}%`,transform:"translate(-50%, -50%)",width:16,height:16,borderRadius:"50%",background:o,border:"2.5px solid #fff",boxShadow:`0 1px 6px ${o}60`,zIndex:2}})}),e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginTop:6,fontSize:9,color:"#B0B0B0"},children:[e.jsx("span",{children:"2700K â Cálido"}),e.jsx("span",{children:"6500K â FrÃo"})]})]})}function sn({criValue:t,accentColor:o}){return e.jsxs("div",{style:{background:"#FBFBF9",border:"0.5px solid #E4E7E1",borderRadius:14,padding:"14px 16px"},children:[e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",marginBottom:10},children:[e.jsxs("div",{children:[e.jsx("span",{style:{fontSize:9,fontWeight:600,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.07em"},children:"Ãndice CRI"}),e.jsxs("div",{style:{fontSize:15,fontWeight:500,color:"#2D2D2E",marginTop:2},children:["CRI ",t,"+"]})]}),e.jsx("span",{style:{fontSize:10,color:"#636569"},children:"/ 100"})]}),e.jsx("div",{style:{height:6,borderRadius:3,background:"#E4E7E1",overflow:"hidden"},children:e.jsx(F.div,{initial:{width:0},animate:{width:`${t}%`},transition:{duration:.9,ease:[.22,1,.36,1],delay:.3},style:{height:"100%",borderRadius:3,background:o}})}),e.jsx("div",{style:{marginTop:6,fontSize:9,color:"#B0B0B0"},children:t>=90?"Alta fidelidad cromática":t>=80?"Buena reproducción":"Estándar industrial"})]})}function ln({levelIdx:t,accentColor:o}){return e.jsxs("div",{style:{background:"#FBFBF9",border:"0.5px solid #E4E7E1",borderRadius:14,padding:"14px 16px"},children:[e.jsxs("div",{style:{marginBottom:10},children:[e.jsx("span",{style:{fontSize:9,fontWeight:600,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.07em"},children:"Protección IP"}),e.jsx("div",{style:{fontSize:15,fontWeight:500,color:"#2D2D2E",marginTop:2},children:ft[t]})]}),e.jsx("div",{style:{display:"flex",gap:6},children:ft.map((r,i)=>e.jsxs("div",{style:{flex:1,textAlign:"center"},children:[e.jsx("div",{style:{height:20,borderRadius:4,background:i<=t?o:"#E4E7E1",opacity:i===t?1:i<t?.45:.2,transition:"all 0.3s ease",marginBottom:4}}),e.jsx("span",{style:{fontSize:8,fontWeight:i===t?700:400,color:i===t?o:"#B0B0B0",display:"block"},children:r.replace("IP","")})]},r))}),e.jsx("div",{style:{marginTop:8,fontSize:10,color:"#636569"},children:en[t]})]})}function Zt({label:t,icon:o,url:r,onView:i,accentColor:n}){return e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 14px",borderRadius:10,background:"#FBFBF9",border:"0.5px solid #E4E7E1",gap:8,flexWrap:"wrap"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:7,fontSize:12,fontWeight:500,color:"#2D2D2E",minWidth:0},children:[e.jsx("span",{style:{color:r?n:"#C0C5BE",flexShrink:0},children:o}),e.jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:t}),!r&&e.jsx("span",{style:{background:"#EEF1EB",color:"#6B6E72",borderRadius:4,padding:"1px 5px",fontSize:9,fontWeight:700,flexShrink:0},children:"PRÃXIMAMENTE"})]}),r&&i&&e.jsxs("button",{onClick:i,style:{display:"inline-flex",alignItems:"center",gap:6,padding:"7px 13px",borderRadius:8,fontSize:11,fontWeight:600,cursor:"pointer",border:`0.5px solid ${n}`,background:n,color:"#fff",transition:"all 0.15s ease",fontFamily:"Montserrat, sans-serif"},children:[e.jsx(mo,{size:12})," Ver"]})]})}function cn(){var ee,S,ue,ne,ge,se,U,d,f;const{id:t}=zo(),o=Re(),{add:r,has:i,openDrawer:n}=me(),[a,c]=p.useState(null),[l,s]=p.useState(!0),[m,g]=p.useState(0),[w,I]=p.useState(!1),[v,h]=p.useState(!1),[A,P]=p.useState(),[z,T]=p.useState(""),[N]=p.useState(!1),V=(x,b)=>{if(!(a!=null&&a.id))return;const L=`https://www.innlite.com/api/products/${a.id}/ies`;window.open(L,"_blank","noopener,noreferrer")},{products:$}=no();p.useEffect(()=>{document.documentElement.scrollTop=0,document.body.scrollTop=0},[t]),p.useEffect(()=>{if(!t||t==="undefined"){s(!1);return}const x=$.find(b=>String(b.id)===String(t));if(x){c(x),s(!1);return}s(!0),Oo(t).then(c).catch(()=>c(null)).finally(()=>s(!1))},[t,$]);const D=p.useMemo(()=>
456{if(!a||!$.length)return[];const x=$.filter(L=>String(L.id)!==String(a.id)&&L.brand===a.brand),b=$.filter(L=>String(L.id)!==String(a.id)&&L.brand!==a.brand);return[...x,...b].slice(0,10)},[$,a]);if(l)return e.jsx("div",{style:{minHeight:"100vh",background:"#FBFBF9",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:16},children:[e.jsx("div",{style:{width:40,height:40,borderRadius:"50%",borderWidth:3,borderStyle:"solid",borderColor:"#EEF1EB",borderTopColor:"#76BC21",animation:"spin 0.8s linear infinite"}}),e.jsx("p",{style:{fontSize:10,fontWeight:700,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.16em"},children:"Cargando productoâ¦"}),e.jsx("style",{children:"@keyframes spin { to { transform: rotate(360deg); } }"})]})});if(!a)return e.jsx("div",{style:{minHeight:"100vh",background:"#FBFBF9",display:"flex",alignItems:"center",justifyContent:"center"},children:e.jsxs("div",{style:{textAlign:"center"},children:[e.jsx("p",{style:{fontSize:64,fontWeight:800,color:"#EEF1EB",lineHeight:1},children:"404"}),e.jsxs("p",{style:{fontSize:14,color:"#6B6E72",margin:"8px 0 20px"},children:["Producto no encontrado",t&&e.jsxs("span",{style:{display:"block",fontSize:11,marginTop:4,fontFamily:"monospace",color:"#C4C7CE"},children:["ID solicitado: ",t]})]}),e.jsxs(q,{to:"/catalogo",style:{display:"inline-flex",alignItems:"center",gap:6,fontSize:13,fontWeight:700,color:"#76BC21",background:"none",border:"none",cursor:"pointer",textDecoration:"none"},children:[e.jsx(St,{size:14})," Ir al catálogo"]})]})});const j=Ja(a.brand),u=i(a.sku),_=Ya(a.temp),ae=Qa(a.cri),C=tn(a.ip),B=on(a.specs,["vida","life","hora"]),O=an(a.specs),te=x=>x==="ARTLITE"?"Artlite":x==="WINLES"?"WINLED":x,Z=()=>{u||r({sku:a.sku,title:a.name,brand:te(a.brand),type:"ficha",meta:[a.watts,a.temp,a.ip].filter(Boolean).join(" · ")}),n()},Q=[a.mainImage||a.img,null,null];return e.jsxs("main",{style:{background:"#FBFBF9",minHeight:"100vh",fontFamily:"Montserrat, sans-serif"},children:[e.jsx("div",{style:{maxWidth:1200,margin:"0 auto",padding:"28px 24px 0"},children:e.jsxs("button",{onClick:()=>o("/catalogo"),style:{display:"flex",alignItems:"center",gap:6,fontSize:12,fontWeight:600,color:"#6B6E72",background:"none",border:"none",cursor:"pointer",padding:0,transition:"color 0.15s"},onMouseEnter:x=>x.currentTarget.style.color=j.color,onMouseLeave:x=>x.currentTarget.style.color="#6B6E72",children:[e.jsx(St,{size:14})," Volver al catálogo"]})}),e.jsxs("div",{style:{maxWidth:1200,margin:"0 auto",padding:"24px 24px 60px",display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(300px, 1fr))",gap:32,alignItems:"start"},children:[e.jsxs(F.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.6,ease:[.22,1,.36,1]},className:"product-img-col",style:{position:"sticky",top:110},children:[e.jsxs("div",{style:{position:"relative",borderRadius:20,overflow:"hidden",background:"#F3F6FA",border:"0.5px solid #DDE3EC",aspectRatio:"1"},children:[e.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,height:4,background:j.color,zIndex:2}}),e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:44},children:e.jsx(X,{mode:"wait",children:e.jsx(F.img,{src:a.mainImage||a.img,alt:a.name,initial:{opacity:0,scale:.96},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.96},transition:{duration:.3,ease:[.22,1,.36,1]},style:{width:"100%",height:"100%",objectFit:"contain",mixBlendMode:"multiply"}},m)})}),e.jsx("div",{style:{position:"absolute",top:18,left:14,zIndex:3,background:j.bg,border:`0.5px solid ${j.color}40`,borderRadius:20,padding:"3px 10px",fontSize:9,fontWeight:800,color:j.text,letterSpacing:"0.1em",textTransform:"uppercase"},children:a.brand}),e.jsx("div",{style:{position:"absolute",bottom:14,left:"50%",transform:"translateX(-50%)",background:"rgba(255,255,255,0.95)",border:"0.5px solid #E4E7E1",borderRadius:8,padding:"4px 14px",fontFamily:"monospace",fontSize:11,color:"#636569",whiteSpace:"nowrap",boxShadow:"0 2px 8px rgba(0,0,0,0.06)"},children:a.model||a.sku})]}
456),Q.filter(Boolean).length>1&&e.jsx("div",{style:{display:"flex",gap:8,marginTop:10},children:Q.map((x,b)=>e.jsx("button",{onClick:()=>x&&g(b),style:{flex:1,height:64,borderRadius:12,background:"#F5F6F3",borderWidth:1.5,borderStyle:"solid",borderColor:m===b?j.color:"#E4E7E1",display:"flex",alignItems:"center",justifyContent:"center",cursor:x?"pointer":"not-allowed",opacity:x?1:.4,transition:"border-color 0.15s ease",overflow:"hidden"},children:x?e.jsx("img",{src:x,alt:"",style:{width:"100%",height:"100%",objectFit:"contain",mixBlendMode:"multiply",padding:6}}):e.jsx(mi,{size:16,style:{color:"#C8C4BC"}})},b))})]}),e.jsxs(F.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.6,ease:[.22,1,.36,1],delay:.08},style:{display:"flex",flexDirection:"column",gap:0},children:[e.jsxs("div",{style:{marginBottom:16},children:[e.jsxs("div",{style:{display:"inline-flex",alignItems:"center",background:"#F0F4F8",border:"0.5px solid #C8D4E3",borderRadius:8,overflow:"hidden",marginBottom:12},children:[e.jsx("span",{style:{padding:"5px 10px",fontSize:9,fontWeight:700,color:"#6B7A8F",textTransform:"uppercase",letterSpacing:"0.12em",borderRight:"0.5px solid #C8D4E3",background:"#E8EFF7",fontFamily:"Montserrat, sans-serif"},children:"SKU"}),e.jsx("span",{style:{padding:"5px 12px",fontFamily:"'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace",fontSize:13,fontWeight:600,color:"#1A2A3A",letterSpacing:"0.06em"},children:a.model||a.sku})]}),e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:8},children:[e.jsx("span",{style:{display:"inline-flex",alignItems:"center",gap:5,background:j.bg,color:j.text,border:`0.5px solid ${j.color}50`,borderRadius:20,padding:"4px 11px",fontSize:10,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.08em"},children:a.brand}),e.jsx("span",{style:{fontSize:11,color:"#6B6E72"},children:a.cat})]}),e.jsx("h1",{style:{fontSize:"clamp(16px, 2vw, 20px)",fontWeight:600,lineHeight:1.25,color:"#1A1C18",letterSpacing:"-0.01em",marginBottom:6},children:a.name.length>30?a.name.slice(0,30)+"â¦":a.name}),e.jsx("p",{style:{fontSize:13,color:"#636569",lineHeight:1.65,marginBottom:0},children:a.description})]}),e.jsxs("div",{style:{display:"flex",gap:8,marginBottom:20},children:[e.jsxs(F.button,{onClick:Z,onMouseEnter:()=>!u&&I(!0),onMouseLeave:()=>I(!1),whileTap:{scale:.97},style:{flex:1,padding:"11px 12px",borderRadius:10,border:"none",cursor:u?"default":"pointer",background:u?"#EAF3DE":w?`${j.color}E8`:j.color,color:u?j.text:"#fff",fontSize:13,fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",gap:7,transition:"all 0.18s ease",boxShadow:u?"none":`0 6px 20px ${j.color}40`},children:[u?e.jsx(Ee,{size:15}):e.jsx(Le,{size:15}),u?"En mi lista":"Agregar a cotización"]}),e.jsxs(q,{to:"/catalogo",style:{flex:1,padding:"11px 12px",borderRadius:10,borderWidth:.5,borderStyle:"solid",borderColor:"#D0D5CE",background:"#fff",color:"#2D2D2E",fontSize:13,fontWeight:500,textDecoration:"none",display:"flex",alignItems:"center",justifyContent:"center",gap:6,transition:"border-color 0.15s ease"},onMouseEnter:x=>x.currentTarget.style.borderColor=j.color,onMouseLeave:x=>x.currentTarget.style.borderColor="#D0D5CE",children:["Ver catálogo ",e.jsx(Ae,{size:14})]})]}),e.jsx("div",{style:{height:"0.5px",background:"#E4E7E1",margin:"0 0 18px"}}),e.jsx("p",{style:{fontSize:9,fontWeight:700,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.09em",marginBottom:12},children:"Especificaciones técnicas"}),(a.watts||a.lm||B)&&e.jsxs("div",{style:{display:"grid",gridTemplateColumns:`repeat(${[a.watts,a.lm,B].filter(Boolean).length},1fr)`,gap:8,marginBottom:10},children:[a.watts&&e.jsx(mt,{icon:e.jsx(Be,{size:18}),label:"Potencia",value:a.watts,accentColor:j.color}),a.lm&&e.jsx(mt,{icon:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("circle",{cx:"12",cy:"12",r:"4"}),e.jsx("path",{d:"M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"})]}),label:"Lúmenes",value:a.lm,accentColor:j.color}),B&&e.jsx(mt,{icon:e.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("polyline",{points:"12 6 12 12 16 14"})]}),label:"Vida útil",value:B,sub:"hrs aprox.",accentColor:j.color})]}),e.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8,marginBottom:10},children:[e.jsx(nn,{kelvin:_,accentColor:j.color}),e.jsx(sn,{criValue:ae,accentColor:j.color})]}),e.jsx("div",{style:{marginBottom:18},children:e.jsx(ln,{levelIdx:C,accentColor:j.color})}),O.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{height:"0.5px",background:"#E4E7E1",margin:"0 0 14px"}}),e.jsx("p",{style:{fontSize:9,fontWeight:700,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.09em",marginBottom:10},children:"Datos adicionales"}),e.jsx("div",{style:{borderRadius:12,overflow:"hidden",border:"0.5px solid #E4E7E1",marginBottom:18},children:O.map(([x,b],L)=>e.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"9px 14px",borderBottom:L<O.length-1?"0.5px solid #F0F2EE":"none",background:L%2===0?"#fff":"#FBFBF9"},children:[e.jsx("span",{style:{fontSize:12,color:"#6B6E72"},children:x}),e.jsx("span",{style:{fontSize:12,fontWeight:500,color:"#2D2D2E",textAlign:"right",maxWidth:"55%"},children:b})]},x))})]}),e.jsx("div",{style:{height:"0.5px",background:"#E4E7E1",margin:"0 0 14px"}}),e.jsx("p",{style:{fontSize:9,fontWeight:700,color:"#6B6E72",textTransform:"uppercase",letterSpacing:"0.09em",marginBottom:10},children:"Documentos"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[e.jsx(Zt,{label:"Ficha Técnica PDF",icon:e.jsx(ve,{size:14}),url:(ee=a.files)!=null&&ee.pdf?a.files.pdf:void 0,accentColor:j.color,onView:(S=a.files)!=null&&S.pdf?()=>{P(a.files.pdf),T(`Ficha Técnica â ${a.name}`),h(!0)}:void 0}),e.jsx(Zt,{label:"Instructivo",icon:e.jsx(ve,{size:14}),url:(ue=a.files)!=null&&ue.guide?a.files.guide:void 0,accentColor:j.color,onView:(ne=a.files)!=null&&ne.guide?()=>{P(a.files.guide),T(`Instructivo â ${a.name}`),h(!0)}:void 0}),e.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"10px 14px",borderRadius:10,background:"#FBFBF9",border:"0.5px solid #E4E7E1",gap:8,flexWrap:"wrap"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"center",gap:7,fontSize:12,fontWeight:500,color:"#2D2D2E",minWidth:0},children:[e.jsx("span",{style:{color:(ge=a.files)!=null&&ge.ies?j.color:"#C0C5BE",flexShrink:0},children:e.jsx($e,{size:14})}),e.jsx("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:"Archivo IES"}),!((se=a.files)!=null&&se.ies)&&e.jsx("span",{style:{background:"#EEF1EB",color:"#6B6E72",borderRadius:4,padding:"1px 5px",fontSize:9,fontWeight:700,flexShrink:0},children:"PRÃXIMAMENTE"})]}),((U=a.files)==null?void 0:U.ies)&&e.jsxs("button",{onClick:()=>V(a.files.ies,a.sku),disabled:N,style:{display:"inline-flex",alignItems:"center",gap:6,padding:"7px 13px",borderRadius:8,fontSize:11,fontWeight:600,cursor:N?"not-allowed":"pointer",border:`0.5px solid ${j.color}`,background:j.color,color:"#fff",transition:"all 0.15s ease",fontFamily:"Montserrat, sans-serif",opacity:N?.7:1},children:[e.jsx($e,{size:12})," ",N?"Descargandoâ¦":"Descargar"]})]})]})]})]}),e.jsx(Io,{}),e.jsx(vt,{open:v,onClose:()=>{h(!1),P(void 0),T("")},sku:a.sku,title:z||`Ficha Técnica â ${a.name}`,pdfUrl:A??((d=a.files)==null?void 0:d.pdf)}),D.length>0&&e.jsx("section",{style:{background:"#fff",padding:"60px 24px 72px"},children:e.jsxs("div",{style:{maxWidth:1200,margin:"0 auto"},children:[e.jsxs("div",{style:{display:"flex",alignItems:"flex-end",justifyContent:"space-between",marginBottom:32,gap:16,flexWrap:"wrap"},children:[e.jsxs("div",{children:[e.jsx("div",{style:{fontSize:9,fontWeight:700,letterSpacing:"0.24em",color:j.color,textTransform:"uppercase",marginBottom:8},children:"También te puede interesar"}),e.jsxs("h2",{style:{fontSize:"clamp(22px, 3vw, 32px)",fontWeight:800,letterSpacing:"-0.02em",color:"#1A1C18",lineHeight:1.05},children:["Más productos ",e.jsx("span",{style:{fontStyle:"italic",color:j.color},children:a.brand})]})]}),e.jsxs(q,{to:"/catalogo",style:{display:"inline-flex",alignItems:"center",gap:6,fontSize:12,fontWeight:600,color:j.color,textDecoration:"none",padding:"8px 16px",border:`1px solid ${j.color}40`,borderRadius:999,transition:"all 0.15s ease"},children:["Ver catálogo completo ",e.jsx(Ae,{size:13})]})]}),e.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(220px, 1fr))",gap:14},children:D.map(x=>e.jsx(jt,{p:x},x.id))})]})}),e.jsx("div",{style:{position:"fixed",bottom:0,left:0,right:0,zIndex:50,background:"rgba(255,255,255,0.96)",backdropFilter:"blur(12px)",borderTop:"0.5px solid #E4E7E1",padding:"10px 16px calc(10px + env(safe-area-inset-bottom))",display:"none"},className:"product-mobile-bar",children:e.jsxs("div",{style:{display:"flex",gap:8,maxWidth:600,margin:"0 auto"},children:[e.jsxs("button",{onClick:Z,style:{flex:2,padding:"12px 14px",borderRadius:10,border:"none",cursor:u?"default":"pointer",background:u?"#EAF3DE":j.color,color:u?j.text:"#fff",fontSize:13,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",gap:6,boxShadow:u?"none":`0 4px 14px ${j.color}40`,fontFamily:"Montserrat, sans-serif"},children:[u?e.jsx(Ee,{size:15}):e.jsx(Le,{size:15}),u?"En mi lista":"Cotizar"]}),(f=a.files)!=null&&f.pdf?e.jsxs("button",{onClick:()=>h(!0),style:{flex:1,padding:"12px 14px",borderRadius:10,fontSize:12,fontWeight:600,background:"#fff",color:j.color,cursor:"pointer",border:`1px solid ${j.color}60`,display:"flex",alignItems:"center",justifyContent:"center",gap:5,fontFamily:"Montserrat, sans-serif"},children:[e.jsx(ve,{size:14})," Ficha PDF"]}):e.jsxs("div",{style:{flex:1,padding:"12px 14px",borderRadius:10,fontSize:12,fontWeight:500,background:"#F5F5F5",color:"#B0B0B0",border:"1px solid #E4E4E4",display:"flex",alignItems:"center",justifyContent:"center",gap:5},children:[e.jsx(ve,{size:14})," PDF"]})]})}),e.jsx("style",{children:` 457 @media (max-width: 640px) { 458 .product-img-col { 459 position: static !important; 460 top: auto !important; 461 } 462 .product-mobile-bar { 463 display: block !important; 464 } 465 /* Add padding so content isn't hidden behind the sticky bar */ 466 main > :last-child { 467 padding-bottom: 80px; 468 } 469 } 470 `})]})}const dn=p.lazy(()=>fe(()=>
470import("./vendor-sonner-B4xRPcGp.js").then(t=>t.i),__vite__mapDeps([0,1])).then(t=>({default:t.Toaster}))),pn=p.lazy(()=>fe(()=>import("./Servicios-B8ICWtR1.js"),__vite__mapDeps([2,3,1,0]))),mn=p.lazy(()=>fe(()=>import("./Nosotros-B6jmeC3T.js"),__vite__mapDeps([4,3,1,0]))),un=p.lazy(()=>fe(()=>import("./Recursos-CrzFaho7.js"),__vite__mapDeps([5,3,1,0]))),gn=p.lazy(()=>fe(()=>import("./Blog-B9phnN03.js"),__vite__mapDeps([6,3,1,0]))),xn=p.lazy(()=>fe(()=>import("./Alianza-MmQBdW7z.js"),__vite__mapDeps([7,3,1,0]))),Fe=()=>e.jsx("div",{className:"min-h-[60vh] flex items-center justify-center",children:e.jsx("div",{className:"w-10 h-10 border-4 border-[#EEF1EB] border-t-[#76BC21] rounded-full animate-spin"})});function hn(){const t=Qt();return p.useEffect(()=>{"scrollRestoration"in history&&(history.scrollRestoration="manual"),document.activeElement instanceof HTMLElement&&document.activeElement.blur(),document.documentElement.scrollTop=0,document.body.scrollTop=0,requestAnimationFrame(()=>{document.documentElement.scrollTop=0,document.body.scrollTop=0})},[t.pathname]),null}function fn(t,o=12){if(!t.length)return[];const r=new Date().toISOString().slice(0,10).split("-").reduce((l,s)=>l+parseInt(s,10),0),i=[...t];for(let l=i.length-1;l>0;l--){const s=Math.floor(Math.abs(Math.sin(r*(l+1))*1e4))%(l+1);[i[l],i[s]]=[i[s],i[l]]}const n={};i.forEach(l=>{n[l.brand]||(n[l.brand]=[]),n[l.brand].push(l)});const a=Object.values(n).flatMap(l=>l.slice(0,2)),c=new Set(a.map(l=>l.id));return[...a,...i.filter(l=>!c.has(l.id))].slice(0,o)}function bn(){const{products:t}=no(),o=Ho(),{count:r,drawerOpen:i,closeDrawer:n}=me(),[a,c]=p.useState(!1),{isSearchOpen:l,setSearchOpen:s}=qo(),m=p.useRef(null),[g,w]=p.useState(!1);p.useEffect(()=>{const v="requestIdleCallback"in window?requestIdleCallback(()=>w(!0)):window.setTimeout(()=>w(!0),200);return()=>{"requestIdleCallback"in window?cancelIdleCallback(v):window.clearTimeout(v)}},[]);const I=p.useMemo(()=>fn(t,12),[t]);return e.jsxs(Vo,{cartRef:m,children:[e.jsx(hn,{}),e.jsxs("div",{className:"bg-white text-[#0F0F0D] selection:bg-[#76BC21]/30 w-full",style:{overflowX:"clip"},children:[e.jsx(Zo,{}),e.jsx(Ur,{quoteCount:r,cartRef:m,onSearchClick:()=>s(!0)}),e.jsx("div",{children:e.jsxs(Lo,{children:[e.jsx(xe,{path:"/",element:e.jsx(_a,{products:I,compareList:o})}),e.jsx(xe,{path:"/catalogo",element:e.jsx(Va,{products:t,compareList:o})}),e.jsx(xe,{path:"/producto/:id",element:e.jsx(cn,{})}),e.jsx(xe,{path:"/servicios",element:e.jsx(p.Suspense,{fallback:e.jsx(Fe,{}),children:e.jsx(pn,{})})}),e.jsx(xe,{path:"/nosotros",element:e.jsx(p.Suspense,{fallback:e.jsx(Fe,{}),children:e.jsx(mn,{})})}),e.jsx(xe,{path:"/recursos",element:e.jsx(p.Suspense,{fallback:e.jsx(Fe,{}),children:e.jsx(un,{})})}),e.jsx(xe,{path:"/blog",element:e.jsx(p.Suspense,{fallback:e.jsx(Fe,{}),children:e.jsx(gn,{})})}),e.jsx(xe,{path:"/alianza",element:e.jsx(p.Suspense,{fallback:e.jsx(Fe,{}),children:e.jsx(xn,{})})})]})}),e.jsx(Zr,{}),e.jsx(da,{hideOnMobile:o.count>0||i}),e.jsx(X,{children:i&&e.jsx(oa,{onClose:n})}),e.jsx(X,{children:a&&e.jsx(na,{items:o.items,onClose:()=>c(!1)})}),e.jsx(ca,{isOpen:l,onClose:()=>s(!1)}),g&&e.jsx(p.Suspense,{fallback:null,children:e.jsx(dn,{richColors:!0,position:"bottom-right"})}),e.jsx(ma,{})]})]})}function yn(){return e.jsx(Ao,{children:e.jsx(Yo,{children:e.jsx(Jo,{children:e.jsx(bn,{})})})})}Ro.createRoot(document.getElementById("root")).render(e.jsx(yn,{}));export{oe as A,Ae as C,$e as D,mo as E,ve as F,Di as H,Ai as L,go as M,vt as P,De as S,Be as Z,Ee as a,Ft as b,Ti as c,$i as d,Gi as e,At as f,Cn as g,Wt as h,rt as i,Sn as j,R as k,En as l,ao as m,kn as n,y as t,me as u};
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.