/* icons.jsx — line-style SVG icons (stroke uses currentColor) */
const I = ({d, fill, ...p}) => (
  <svg viewBox="0 0 24 24" fill={fill||"none"} stroke="currentColor" strokeWidth="1.8"
       strokeLinecap="round" strokeLinejoin="round" {...p}>{d}</svg>
);

const Icons = {
  bolt:   <I d={<><path d="M13 2L4 14h7l-1 8 9-12h-7l1-8z"/></>} />,
  shield: <I d={<><path d="M12 3l7 3v5c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3z"/><path d="M9 12l2 2 4-4"/></>} />,
  chart:  <I d={<><path d="M4 19V5M4 19h16"/><path d="M7 15l3-4 3 2 4-6"/></>} />,
  globe:  <I d={<><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c2.5 2.5 2.5 15 0 18M12 3c-2.5 2.5-2.5 15 0 18"/></>} />,
  cap:    <I d={<><path d="M12 4L2 9l10 5 10-5-10-5z"/><path d="M6 11v5c0 1 2.7 2.5 6 2.5s6-1.5 6-2.5v-5"/></>} />,
  mobile: <I d={<><rect x="7" y="3" width="10" height="18" rx="2"/><path d="M11 18h2"/></>} />,
  headset:<I d={<><path d="M4 13v-1a8 8 0 0116 0v1"/><path d="M4 13h3v5H5a1 1 0 01-1-1v-4zM20 13h-3v5h2a1 1 0 001-1v-4z"/><path d="M17 18v1a2 2 0 01-2 2h-3"/></>} />,
  chat:   <I d={<><path d="M4 6a2 2 0 012-2h12a2 2 0 012 2v8a2 2 0 01-2 2H9l-5 4V6z"/></>} />,
  chevronR:<I d={<><path d="M9 6l6 6-6 6"/></>} />,
  whatsapp:<I d={<><path d="M5 19l1-3.5A8 8 0 1112 20a8 8 0 01-3.6-.9L5 19z"/><path d="M9.2 9.3c0 3 2.5 5.5 5.5 5.5l1.2-1.2-1.8-1-1 .8a4.4 4.4 0 01-2.5-2.5l.8-1-1-1.8-1.2 1.2z"/></>} />,
  external:<I d={<><path d="M14 4h6v6M20 4l-9 9"/><path d="M18 14v5a1 1 0 01-1 1H5a1 1 0 01-1-1V7a1 1 0 011-1h5"/></>} />,
  crown:  <I d={<><path d="M3 8l4 3 5-6 5 6 4-3-2 10H5L3 8z"/><path d="M5 18h14"/></>} />,
  userplus:<I d={<><circle cx="9" cy="8" r="3.2"/><path d="M3.5 20a5.5 5.5 0 0111 0M18 8v6M15 11h6"/></>} />,
  practice:<I d={<><path d="M4 4h16v11H4z"/><path d="M8 20h8M12 15v5"/><path d="M7 12l3-3 2 2 4-4"/></>} />,
  cursor: <I d={<><path d="M5 4l14 7-6 2-2 6L5 4z"/></>} />,
  check:  <I d={<><path d="M5 12l5 5L20 7"/></>} />,
  verify: <I d={<><path d="M12 3l7 3v5c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3z"/><path d="M9 12l2 2 4-4"/></>} />,
  dollar: <I d={<><path d="M12 2v20M16 6.5c-1-1.3-2.4-2-4-2-2.2 0-4 1.3-4 3.2 0 4.3 8 2.3 8 6.6 0 2-1.9 3.2-4 3.2-1.7 0-3.2-.8-4-2"/></>} />,
  trendup:<I d={<><path d="M3 17l6-6 4 4 8-8"/><path d="M21 7h-5M21 7v5"/></>} />,
  trenddn:<I d={<><path d="M3 7l6 6 4-4 8 8"/><path d="M21 17h-5M21 17v-5"/></>} />,
  arrow:  <I d={<><path d="M4 12h14M12 6l6 6-6 6"/></>} />,
  arrowcta:<I d={<><path d="M5 12h13M12.5 7l5 5-5 5"/></>} />,
  chevron:<I d={<><path d="M6 9l6 6 6-6"/></>} />,
  bank:   <I d={<><path d="M4 10h16M5 10l7-5 7 5M6 10v7M10 10v7M14 10v7M18 10v7M4 20h16"/></>} />,
  monitor:<I d={<><rect x="3" y="4" width="18" height="12" rx="2"/><path d="M8 20h8M12 16v4"/></>} />,
  menu: <I d={<path d="M4 6h16M4 12h16M4 18h16"/>} />,
  burger: <I d={<><path d="M4.5 10.5a7.5 7.5 0 0115 0z"/><path d="M3.5 13.5h17M5.5 16.5h13a1.5 1.5 0 01-1.5 1.5h-10a1.5 1.5 0 01-1.5-1.5z"/></>} />,
  euro:   <I d={<><circle cx="12" cy="12" r="9"/><path d="M15 8.5c-.8-.9-2-1.5-3.3-1.5C9.5 7 8 9.2 8 12s1.5 5 3.7 5c1.3 0 2.5-.6 3.3-1.5M6.5 11h5M6.5 13.5h4.5"/></>} />,
  bell:   <I d={<><path d="M18 9a6 6 0 10-12 0c0 5-2 6-2 6h16s-2-1-2-6M10.5 20a2 2 0 003 0"/></>} />,
  check:  <I d={<><path d="M5 12.5l4.5 4.5L19 6.5"/></>} />,
  user:   <I d={<><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 3.6-6.5 8-6.5s8 2.5 8 6.5"/></>} />,
  users:  <I d={<><circle cx="9" cy="8" r="3.5"/><path d="M2.5 20c0-3.5 3-5.5 6.5-5.5s6.5 2 6.5 5.5"/><path d="M16 4.5a3.5 3.5 0 010 7M18 14.8c2.2.6 3.5 2.4 3.5 5.2"/></>} />,
  gift:   <I d={<><rect x="3" y="9" width="18" height="4"/><path d="M5 13v7h14v-7M12 9v11"/><path d="M12 9c-2-4-6-4-6-1.5S9.5 9 12 9zm0 0c2-4 6-4 6-1.5S14.5 9 12 9z"/></>} />,
  close:  <I d={<><path d="M6 6l12 12M18 6L6 18"/></>} />,
  eye:    <I d={<><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z"/><circle cx="12" cy="12" r="3"/></>} />,
  eyeoff: <I d={<><path d="M3 3l18 18M10.6 10.6a3 3 0 004.2 4.2M9.9 5.2A9.5 9.5 0 0112 5c6.5 0 10 7 10 7a17 17 0 01-3.2 3.9M6.1 6.2A17 17 0 002 12s3.5 7 10 7a9.7 9.7 0 003.9-.8"/></>} />,
  mail:   <I d={<><rect x="3" y="5" width="18" height="14" rx="2"/><path d="M3 7l9 6 9-6"/></>} />,
  alert:  <I d={<><circle cx="12" cy="12" r="9"/><path d="M12 8v5M12 16h.01"/></>} />,
  apple:  <svg viewBox="0 0 24 24" fill="currentColor"><path d="M17.05 12.04c-.03-2.07 1.69-3.06 1.77-3.11-.96-1.41-2.46-1.6-2.99-1.62-1.27-.13-2.48.75-3.13.75-.64 0-1.64-.73-2.7-.71-1.39.02-2.67.81-3.38 2.05-1.44 2.5-.37 6.2 1.03 8.23.69.99 1.51 2.1 2.58 2.06 1.04-.04 1.43-.67 2.69-.67 1.25 0 1.61.67 2.7.65 1.12-.02 1.83-1.01 2.51-2 .79-1.15 1.12-2.26 1.13-2.32-.02-.01-2.17-.83-2.19-3.29zM15 6.21c.57-.69.95-1.65.85-2.61-.82.03-1.81.55-2.4 1.24-.53.61-.99 1.59-.87 2.53.91.07 1.85-.46 2.42-1.16z"/></svg>,
  playmono: <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8" strokeLinejoin="round"><path d="M4.5 3.2v17.6c0 .8.9 1.3 1.6.9l14-8.8c.6-.4.6-1.4 0-1.8l-14-8.8c-.7-.4-1.6.1-1.6.9z"/><path d="M4.8 3.4L15.2 12 4.8 20.6"/></svg>,
  play:   <svg viewBox="0 0 24 24"><path d="M3.6 2.4c-.3.3-.5.7-.5 1.3v16.6c0 .6.2 1 .5 1.3l.1.1L13 12.1v-.2L3.7 2.3z" fill="#00D2FF"/><path d="M16.3 15.4L13 12.1v-.2l3.3-3.3.1.1 3.9 2.2c1.1.6 1.1 1.7 0 2.4l-3.9 2.1z" fill="#FFCE00"/><path d="M16.4 15.3L13 12 3.6 21.6c.4.4 1 .4 1.6.1l11.2-6.4" fill="#FF3D3D"/><path d="M16.4 8.7L5.2 2.3c-.6-.3-1.2-.3-1.6.1L13 12z" fill="#00F076"/></svg>,
};

window.Icons = Icons;
