/* AG icon tokens — inline SVG masks (stroke icons, currentColor-friendly) */
:root {
	--ag-ico-search: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.3-4.3"/></svg>');
	--ag-ico-user: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 4-6 8-6s8 2 8 6"/></svg>');
	--ag-ico-cart: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="20" r="1.6"/><circle cx="18" cy="20" r="1.6"/><path d="M2 3h3l2.5 13h11l2-9H6"/></svg>');
	--ag-ico-cart-plus: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="20" r="1.5"/><circle cx="18" cy="20" r="1.5"/><path d="M2 3h3l2.5 13h11l1.4-6.5"/><path d="M16 5h6M19 2v6"/></svg>');
	--ag-ico-menu: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M4 7h16M4 12h16M4 17h16"/></svg>');
	--ag-ico-close: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"><path d="M6 6l12 12M18 6L6 18"/></svg>');
	--ag-ico-tool: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M5 2c-1 0-1.6 1-1.2 2l2 5.5c.2.6.8 1 1.4 1H8V21a1 1 0 002 0V2H9v8H8V2H7v8H6V2H5zM16 2c-1.6 0-3 2.2-3 5 0 2.4 1 4.3 2.4 4.85V21a1 1 0 002 0V2h-1.4z"/></svg>');
	--ag-ico-arrow: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M13 6l6 6-6 6"/></svg>');
	--ag-ico-truck: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M2 6h11v9H2zM13 9h4l3 3v3h-7z"/><circle cx="6" cy="18" r="1.6"/><circle cx="17" cy="18" r="1.6"/></svg>');
	--ag-ico-shield: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l8 3v6c0 5-3.5 8.5-8 11-4.5-2.5-8-6-8-11V5z"/><path d="M9 12l2 2 4-4"/></svg>');
	--ag-ico-bolt: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M13 2L4 14h7l-2 8 9-12h-7z"/></svg>');
	--ag-ico-tag: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12l9-9 9 9-9 9z"/><circle cx="9" cy="9" r="1.4"/></svg>');
	--ag-ico-phone: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M5 3h4l2 5-3 2a12 12 0 005 5l2-3 5 2v4a2 2 0 01-2 2A16 16 0 013 5a2 2 0 012-2z"/></svg>');
	--ag-ico-mail: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="M4 7l8 6 8-6"/></svg>');
	--ag-ico-pin: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M12 21s7-6 7-11a7 7 0 10-14 0c0 5 7 11 7 11z"/><circle cx="12" cy="10" r="2.5"/></svg>');
	--ag-ico-star: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2l3 6.5 7 .8-5 4.8 1.3 7L12 17.8 5.4 21l1.3-7-5-4.8 7-.8z"/></svg>');

	/* Action + social icons (share popover, favorites, whatsapp float) */
	--ag-ico-heart: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 21s-7-4.6-9.5-9C1 9 2.5 5.5 6 5.5c2 0 3.2 1.1 4 2.3.8-1.2 2-2.3 4-2.3 3.5 0 5 3.5 3.5 6.5C19 16.4 12 21 12 21z"/></svg>');
	--ag-ico-share: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><circle cx="18" cy="5" r="2.6"/><circle cx="6" cy="12" r="2.6"/><circle cx="18" cy="19" r="2.6"/><path d="M8.3 10.8l7.4-4.3M8.3 13.2l7.4 4.3"/></svg>');
	--ag-ico-link: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a4 4 0 0 0 6 .5l2.5-2.5a4 4 0 0 0-5.6-5.6L11 7"/><path d="M14 11a4 4 0 0 0-6-.5L5.5 13a4 4 0 0 0 5.6 5.6L13 17"/></svg>');
	--ag-ico-whatsapp: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2a10 10 0 0 0-8.6 15l-1.3 4.7 4.8-1.3A10 10 0 1 0 12 2zm0 2a8 8 0 0 1 6.9 12l-.2.3.7 2.6-2.7-.7-.3.2A8 8 0 1 1 12 4zm-3 3.5c-.2 0-.5 0-.7.4-.2.4-.9 1-.9 2.3s.9 2.7 1 2.9c.2.2 1.8 3 4.5 4 2.2.8 2.7.7 3.2.6.5 0 1.5-.6 1.7-1.2.2-.6.2-1.1.1-1.2l-.6-.3s-1.5-.7-1.7-.8c-.2-.1-.4-.1-.6.1l-.8 1c-.2.2-.3.2-.5.1s-1-.4-1.9-1.2c-.7-.6-1.2-1.4-1.3-1.6-.1-.2 0-.4.1-.5l.4-.5.3-.5v-.4l-.8-1.9c-.2-.5-.4-.4-.6-.4z"/></svg>');
	--ag-ico-facebook: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M14 8.5V7c0-.7.3-1 1-1h2V3h-3c-2.2 0-3.5 1.4-3.5 3.7V8.5H8v3h2.5V21H14v-9.5h2.6l.4-3z"/></svg>');
	--ag-ico-twitter: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M3 3h4.5l4 5.6L16.5 3H21l-6.5 8L21 21h-4.5l-4.3-6L7 21H3l7-8.6z"/></svg>');
	--ag-ico-telegram: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M21.5 4.3L2.9 11.4c-.9.4-.9 1.5.1 1.8l4.6 1.4 1.8 5.4c.2.6 1 .7 1.4.2l2.5-2.6 4.7 3.5c.6.4 1.4.1 1.5-.6L22.8 5.3c.2-.8-.6-1.4-1.3-1zM9.4 14.3l8.3-5.2c.2-.1.4.2.2.4l-6.6 6.1c-.2.2-.3.4-.3.7l-.2 2z"/></svg>');
	--ag-ico-pinterest: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M12 2a10 10 0 0 0-3.6 19.3c-.1-.8-.1-2 .1-2.9l1.2-5s-.3-.6-.3-1.5c0-1.4.8-2.4 1.8-2.4.8 0 1.2.6 1.2 1.4l-.8 3.3c-.1.6.3 1.4 1.2 1.4 1.5 0 2.6-1.9 2.6-4 0-1.9-1.4-3.4-3.7-3.4-2.6 0-4 2-4 4 0 .8.3 1.4.6 1.8l-.3 1c-.1.2-.2.3-.4.2-1.1-.5-1.7-1.9-1.7-3.2 0-2.6 2-5.2 5.9-5.2 3.1 0 5.2 2.2 5.2 4.7 0 3.1-1.8 5.5-4.4 5.5-.9 0-1.7-.5-2-1l-.5 2.1c-.2.7-.6 1.5-1 2A10 10 0 1 0 12 2z"/></svg>');
	--ag-ico-email: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="M4 7l8 6 8-6"/></svg>');
	--ag-ico-doc: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M6 2h8l4 4v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z"/><path d="M14 2v4h4"/><path d="M8 12h8M8 16h6"/></svg>');

	/* Department icons (kitchen-themed, stroke style) */
	--ag-dep-warehouse: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7l9-4 9 4v10l-9 4-9-4z"/><path d="M3 7l9 4 9-4M12 11v10"/></svg>');
	--ag-dep-serving: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M2.5 18h19"/><path d="M4.5 18a7.5 7.5 0 0 1 15 0"/><path d="M12 7.5V6"/><circle cx="12" cy="5" r="1.1" fill="black" stroke="none"/></svg>');
	--ag-dep-kitchen: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 9h16v6a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3z"/><path d="M2 11.5h2M20 11.5h2"/><path d="M9 9V6.5M13 9V5.5"/></svg>');
	--ag-dep-bakery: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 14a4 4 0 0 1 4-4h8a4 4 0 0 1 4 4v.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 14.5z"/><path d="M9 10V8M13 10V7.5M17 10V8"/></svg>');
	--ag-dep-pastry: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M6 11a6 6 0 0 1 12 0z"/><path d="M6.5 11h11l-1.3 8.5a1 1 0 0 1-1 .9H8.8a1 1 0 0 1-1-.9z"/><path d="M12 7.5V4"/></svg>');
	--ag-dep-cafe: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4 9h13v4.5a4.5 4.5 0 0 1-4.5 4.5h-4A4.5 4.5 0 0 1 4 13.5z"/><path d="M17 10.5a2.8 2.8 0 0 1 0 5.5"/><path d="M7.5 5.5V4M11 5.5V4"/></svg>');
	--ag-dep-clean: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M9 9h5v10a1 1 0 0 1-1 1h-3a1 1 0 0 1-1-1z"/><path d="M9 9V6h3V3.5"/><path d="M12 5l4-1.2M12 7l4-1.2"/></svg>');
}

/* Department icon glyph rendered inside the gold tile */
.ag-cat-card__ico::before,
.ag-drawer-icon::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ag-black);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 56%;
	mask-size: 56%;
	-webkit-mask-image: var(--ag-dep-img, var(--ag-dep-kitchen));
	mask-image: var(--ag-dep-img, var(--ag-dep-kitchen));
}

.ag-depico--warehouse { --ag-dep-img: var(--ag-dep-warehouse); }
.ag-depico--serving { --ag-dep-img: var(--ag-dep-serving); }
.ag-depico--kitchen { --ag-dep-img: var(--ag-dep-kitchen); }
.ag-depico--bakery { --ag-dep-img: var(--ag-dep-bakery); }
.ag-depico--pastry { --ag-dep-img: var(--ag-dep-pastry); }
.ag-depico--cafe { --ag-dep-img: var(--ag-dep-cafe); }
.ag-depico--clean { --ag-dep-img: var(--ag-dep-clean); }

/* Standalone mask glyphs (share popover, favorites, whatsapp, social) — inherit
   the parent's color via background:currentColor. */
[class*="ag-ico-"] {
	display: inline-block;
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	vertical-align: -0.125em;
}
.ag-ico-heart { -webkit-mask-image: var(--ag-ico-heart); mask-image: var(--ag-ico-heart); }
.ag-ico-share { -webkit-mask-image: var(--ag-ico-share); mask-image: var(--ag-ico-share); }
.ag-ico-link { -webkit-mask-image: var(--ag-ico-link); mask-image: var(--ag-ico-link); }
.ag-ico-star { -webkit-mask-image: var(--ag-ico-star); mask-image: var(--ag-ico-star); }
.ag-ico-whatsapp { -webkit-mask-image: var(--ag-ico-whatsapp); mask-image: var(--ag-ico-whatsapp); }
.ag-ico-facebook { -webkit-mask-image: var(--ag-ico-facebook); mask-image: var(--ag-ico-facebook); }
.ag-ico-twitter { -webkit-mask-image: var(--ag-ico-twitter); mask-image: var(--ag-ico-twitter); }
.ag-ico-telegram { -webkit-mask-image: var(--ag-ico-telegram); mask-image: var(--ag-ico-telegram); }
.ag-ico-pinterest { -webkit-mask-image: var(--ag-ico-pinterest); mask-image: var(--ag-ico-pinterest); }
.ag-ico-email { -webkit-mask-image: var(--ag-ico-email); mask-image: var(--ag-ico-email); }
.ag-ico-doc { -webkit-mask-image: var(--ag-ico-doc); mask-image: var(--ag-ico-doc); }
