// Custom line icons — all currentColor + stroke
const Ico = ({ children, size = 22, stroke = 1.5, className = "" }) => (
  <svg viewBox="0 0 24 24" width={size} height={size} fill="none" stroke="currentColor"
    strokeWidth={stroke} strokeLinecap="round" strokeLinejoin="round" className={className}>
    {children}
  </svg>
);

const ITruck = (p) => <Ico {...p}><path d="M2 6h12v10H2z"/><path d="M14 9h5l3 3v4h-8"/><circle cx="6" cy="18" r="2"/><circle cx="17" cy="18" r="2"/></Ico>;
const IPallet = (p) => <Ico {...p}><path d="M3 8h18v8H3z"/><path d="M3 16v3"/><path d="M21 16v3"/><path d="M8 16v3"/><path d="M16 16v3"/><path d="M7 8V5h10v3"/></Ico>;
const IPackage = (p) => <Ico {...p}><path d="M12 3l8 4v10l-8 4-8-4V7l8-4z"/><path d="M4 7l8 4 8-4"/><path d="M12 11v10"/></Ico>;
const IRoute = (p) => <Ico {...p}><circle cx="5" cy="6" r="2"/><circle cx="19" cy="18" r="2"/><path d="M7 6h6a4 4 0 0 1 0 8h-2a4 4 0 0 0 0 8h6"/></Ico>;
const IWarehouse = (p) => <Ico {...p}><path d="M3 10l9-5 9 5v10H3z"/><path d="M7 20v-6h10v6"/><path d="M7 17h10"/></Ico>;
const IGlove = (p) => <Ico {...p}><path d="M6 21V11a2 2 0 0 1 4 0V4a2 2 0 0 1 4 0v6"/><path d="M14 10a2 2 0 0 1 4 0v6a5 5 0 0 1-5 5H9"/></Ico>;
const IArrowR = (p) => <Ico {...p}><path d="M5 12h14"/><path d="M13 6l6 6-6 6"/></Ico>;
const IArrowL = (p) => <Ico {...p}><path d="M19 12H5"/><path d="M11 18l-6-6 6-6"/></Ico>;
const IArrowUR = (p) => <Ico {...p}><path d="M7 17L17 7"/><path d="M9 7h8v8"/></Ico>;
const ICheck = (p) => <Ico {...p}><path d="M4 12l5 5L20 6"/></Ico>;
const IClose = (p) => <Ico {...p}><path d="M6 6l12 12M18 6L6 18"/></Ico>;
const IPhone = (p) => <Ico {...p}><path d="M5 4h4l2 5-2 1a11 11 0 0 0 5 5l1-2 5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z"/></Ico>;
const IPin = (p) => <Ico {...p}><path d="M12 22s7-7.5 7-13a7 7 0 1 0-14 0c0 5.5 7 13 7 13z"/><circle cx="12" cy="9" r="2.5"/></Ico>;
const IClock = (p) => <Ico {...p}><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></Ico>;
const IShield = (p) => <Ico {...p}><path d="M12 3l8 3v6c0 5-4 8-8 9-4-1-8-4-8-9V6l8-3z"/><path d="M9 12l2 2 4-4"/></Ico>;
const ILeaf = (p) => <Ico {...p}><path d="M20 4c-9 0-14 5-14 12 0 0 0 4 4 4 7 0 10-5 10-14V4z"/><path d="M6 20c4-7 8-9 12-12"/></Ico>;
const IBolt = (p) => <Ico {...p}><path d="M13 2L4 14h6l-1 8 9-12h-6l1-8z"/></Ico>;
const IGrid = (p) => <Ico {...p}><rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/><rect x="14" y="14" width="7" height="7"/></Ico>;
const IList = (p) => <Ico {...p}><path d="M8 6h13M8 12h13M8 18h13"/><circle cx="4" cy="6" r="1"/><circle cx="4" cy="12" r="1"/><circle cx="4" cy="18" r="1"/></Ico>;
const IDoc = (p) => <Ico {...p}><path d="M7 3h8l4 4v14H7z"/><path d="M14 3v5h5"/><path d="M10 13h6M10 17h4"/></Ico>;
const ICalc = (p) => <Ico {...p}><rect x="5" y="3" width="14" height="18" rx="1"/><path d="M8 7h8M8 12h2M12 12h2M16 12h.01M8 16h2M12 16h2M16 16h.01"/></Ico>;
const IBuilding = (p) => <Ico {...p}><path d="M4 21V5l8-2v18"/><path d="M12 9h6v12"/><path d="M7 8h1M7 12h1M7 16h1M15 12h1M15 16h1"/></Ico>;
const IPhoneRing = IPhone;
const IBox = IPackage;
const IBars = (p) => <Ico {...p}><path d="M4 20V10M10 20V4M16 20v-7M22 20H2"/></Ico>;
const ISearch = (p) => <Ico {...p}><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></Ico>;
const IMenu = (p) => <Ico {...p}><path d="M4 7h16M4 12h16M4 17h16"/></Ico>;
const IPlus = (p) => <Ico {...p}><path d="M12 5v14M5 12h14"/></Ico>;
const IMinus = (p) => <Ico {...p}><path d="M5 12h14"/></Ico>;
const IInfo = (p) => <Ico {...p}><circle cx="12" cy="12" r="9"/><path d="M12 11v6M12 8v.01"/></Ico>;
const IStar = (p) => <Ico {...p}><path d="M12 3l3 6 6 1-4.5 4.5L18 21l-6-3-6 3 1.5-6.5L3 10l6-1z"/></Ico>;
const IPlay = (p) => <Ico {...p}><path d="M7 4l13 8-13 8z"/></Ico>;
const ITemp = (p) => <Ico {...p}><path d="M10 14V5a2 2 0 0 1 4 0v9"/><circle cx="12" cy="17" r="3"/></Ico>;
const ISparkles = (p) => <Ico {...p}><path d="M12 3v4M12 17v4M3 12h4M17 12h4"/><path d="M6 6l2 2M16 16l2 2M18 6l-2 2M8 16l-2 2"/></Ico>;
const ILift = (p) => <Ico {...p}><path d="M4 4v16h16"/><path d="M8 16l3-4 3 3 4-7"/></Ico>;

Object.assign(window, {
  Ico, ITruck, IPallet, IPackage, IRoute, IWarehouse, IGlove,
  IArrowR, IArrowL, IArrowUR, ICheck, IClose,
  IPhone, IPin, IClock, IShield, ILeaf, IBolt,
  IGrid, IList, IDoc, ICalc, IBuilding, IBox, IBars, ISearch, IMenu,
  IPlus, IMinus, IInfo, IStar, IPlay, ITemp, ILift, ISparkles,
});
