/* Lucide-style line icons (stroke 1.75, square caps). Inline SVG,
   single-colour, currentColor. Used as evidence, not decoration. */
(function () {
  const Icon = ({ name, size = 24, stroke = 1.75, style }) => {
    const p = {
      width: size, height: size, viewBox: '0 0 24 24', fill: 'none',
      stroke: 'currentColor', strokeWidth: stroke,
      strokeLinecap: 'square', strokeLinejoin: 'miter', style,
    };
    const paths = ICONS[name] || ICONS['layers'];
    return React.createElement('svg', p, paths.map((d, i) =>
      React.createElement('path', { key: i, d })));
  };

  const ICONS = {
    layers: ['M12 2 2 7l10 5 10-5-10-5Z', 'M2 17l10 5 10-5', 'M2 12l10 5 10-5'],
    truck: ['M1 6h11v9H1z', 'M12 9h4.5l3.5 3.5V15h-8z', 'M5 15a2 2 0 1 0 0 4 2 2 0 1 0 0-4Z', 'M16.5 15a2 2 0 1 0 0 4 2 2 0 1 0 0-4Z'],
    droplets: ['M12 3.3c3 3.7 5 6.4 5 9.2a5 5 0 0 1-10 0c0-2.8 2-5.5 5-9.2Z'],
    rain: ['M4 14.9A7 7 0 1 1 15.7 8h1.8a4.5 4.5 0 0 1 2.5 8.24', 'M8 18v3', 'M12 19v3', 'M16 18v3'],
    'shield-check': ['M12 2 4 5v6c0 5 3.4 8.5 8 10 4.6-1.5 8-5 8-10V5l-8-3Z', 'm9 12 2 2 4-4'],
    'grid-3x3': ['M3 3h18v18H3z', 'M3 9h18', 'M3 15h18', 'M9 3v18', 'M15 3v18'],
    ruler: ['M3 15 15 3l6 6L9 21l-6-6Z', 'M7 11l2 2', 'M11 7l2 2', 'M15 11l2 2'],
    leaf: ['M11 20A7 7 0 0 1 4 13c0-6 7-9 16-9 0 9-3 16-9 16Z', 'M4 20c4-6 8-8 12-9'],
    globe: ['M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Z', 'M2 12h20', 'M12 2c3 3 4 6 4 10s-1 7-4 10c-3-3-4-6-4-10s1-7 4-10Z'],
    arrow: ['M5 12h14', 'm13 6 6 6-6 6'],
    'arrow-up-right': ['M7 17 17 7', 'M8 7h9v9'],
    check: ['M5 12l5 5L20 6'],
    phone: ['M5 3h4l2 5-3 2a13 13 0 0 0 6 6l2-3 5 2v4a2 2 0 0 1-2 2A17 17 0 0 1 3 5a2 2 0 0 1 2-2Z'],
    mail: ['M3 5h18v14H3z', 'm3 6 9 7 9-7'],
    'map-pin': ['M12 21s6.5-5.8 6.5-11A6.5 6.5 0 1 0 5.5 10c0 5.2 6.5 11 6.5 11Z'],
    search: ['M11 11a6 6 0 1 0 0-.01', 'm20 20-3.5-3.5'],
    menu: ['M3 6h18', 'M3 12h18', 'M3 18h18'],
    x: ['M5 5l14 14', 'M19 5 5 19'],
    plus: ['M12 5v14', 'M5 12h14'],
    image: ['M3 4h18v16H3z', 'M8.5 11a1.5 1.5 0 1 0 0-.01', 'm21 16-5-5L5 21'],
    edit: ['M4 20h4L19 9l-4-4L4 16v4Z', 'M14 6l4 4'],
    lock: ['M5 11h14v10H5z', 'M8 11V8a4 4 0 0 1 8 0v3'],
    'chevron-right': ['m9 6 6 6-6 6'],
    quote: ['M7 7H4v6h5V8c0-2-1-3-2-4Z', 'M18 7h-3v6h5V8c0-2-1-3-2-4Z'],
  };

  window.Icon = Icon;
})();
