// Lavadero Curupí — Icons (inline SVG)
// Stroke icons, premium minimal style

const LCIcons = {};

function makeIcon(path) {
  return ({ size = 20, style = {}, ...props }) => (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none"
      stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"
      style={{ flexShrink: 0, ...style }} {...props}>
      {path}
    </svg>
  );
}

LCIcons.ArrowRight = makeIcon(<><path d="M5 12h14" /><path d="m13 5 7 7-7 7" /></>);
LCIcons.ArrowLeft = makeIcon(<><path d="M19 12H5" /><path d="m11 19-7-7 7-7" /></>);
LCIcons.Check = makeIcon(<path d="M20 6 9 17l-5-5" />);
LCIcons.Close = makeIcon(<><path d="M18 6 6 18" /><path d="m6 6 12 12" /></>);
LCIcons.Calendar = makeIcon(<><rect x="3" y="4" width="18" height="18" rx="2" /><path d="M16 2v4M8 2v4M3 10h18" /></>);
LCIcons.Clock = makeIcon(<><circle cx="12" cy="12" r="9" /><path d="M12 7v5l3 2" /></>);
LCIcons.Pin = makeIcon(<><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z" /><circle cx="12" cy="10" r="3" /></>);
LCIcons.Phone = makeIcon(<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" />);
LCIcons.WhatsApp = ({ size = 20, style = {} }) => (
  <svg width={size} height={size} viewBox="0 0 24 24" fill="currentColor" style={{ flexShrink: 0, ...style }}>
    <path d="M.057 24l1.687-6.163a11.867 11.867 0 0 1-1.587-5.946C.16 5.335 5.495 0 12.05 0a11.817 11.817 0 0 1 8.413 3.488 11.824 11.824 0 0 1 3.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 0 1-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 0 0 1.51 5.26l-.999 3.648 3.978-1.087zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.296-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" />
  </svg>
);
LCIcons.Settings = makeIcon(<><circle cx="12" cy="12" r="3" /><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" /></>);
LCIcons.Droplet = makeIcon(<path d="M12 2.69 5.64 9.05a8 8 0 1 0 12.72 0L12 2.69Z" />);
LCIcons.Sparkles = makeIcon(<><path d="m12 3-1.9 5.8L4 11l5.8 1.9L12 19l1.9-5.8L20 11l-5.8-1.9L12 3z" /><path d="M5 3v4M3 5h4M19 17v4M17 19h4" /></>);
LCIcons.Shine = makeIcon(<><circle cx="12" cy="12" r="4" /><path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41" /></>);
LCIcons.Crown = makeIcon(<><path d="m2 18 2-13 5 5 3-7 3 7 5-5 2 13H2Z" /><path d="M4 21h16" /></>);
LCIcons.Engine = makeIcon(<><path d="M5 8h2V6h6v2h2v2h3v6h-3v2h-2v2H7v-2H5v-2H2v-6h3z" /></>);
LCIcons.Car = makeIcon(<><path d="M19 17h2v-5l-1.65-4.95A2 2 0 0 0 17.46 6H6.54a2 2 0 0 0-1.89 1.05L3 12v5h2" /><circle cx="7" cy="17" r="2" /><circle cx="17" cy="17" r="2" /></>);
LCIcons.CreditCard = makeIcon(<><rect x="2" y="5" width="20" height="14" rx="2" /><path d="M2 10h20" /></>);
LCIcons.User = makeIcon(<><circle cx="12" cy="8" r="4" /><path d="M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1" /></>);
LCIcons.Mail = makeIcon(<><rect x="2" y="4" width="20" height="16" rx="2" /><path d="m22 7-10 6L2 7" /></>);
LCIcons.Plus = makeIcon(<><path d="M12 5v14" /><path d="M5 12h14" /></>);
LCIcons.Send = makeIcon(<><path d="m3 11 18-8-8 18-2-8z" /><path d="m3 11 8 2" /></>);
LCIcons.Bot = makeIcon(<><rect x="3" y="8" width="18" height="12" rx="3" /><circle cx="9" cy="14" r="1.2" fill="currentColor" /><circle cx="15" cy="14" r="1.2" fill="currentColor" /><path d="M12 4v4M9 4h6" /></>);
LCIcons.Trending = makeIcon(<><path d="m3 17 6-6 4 4 8-8" /><path d="M14 7h7v7" /></>);
LCIcons.Dollar = makeIcon(<><path d="M12 3v18M17 7c-1-2-3-3-5-3s-5 1-5 4 2 4 5 4 5 1 5 4-3 4-5 4-4-1-5-3" /></>);
LCIcons.Eye = makeIcon(<><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" /><circle cx="12" cy="12" r="3" /></>);
LCIcons.Gift = makeIcon(<><polyline points="20 12 20 22 4 22 4 12" /><rect x="2" y="7" width="20" height="5" /><path d="M12 22V7M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z" /><path d="M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z" /></>);
LCIcons.WhatsApp = makeIcon(<><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z" /></>);

window.LCIcons = LCIcons;
