' +
'' +
'' + name + '
' + b.tag + '' +
'' + b.desc + '
' +
'' +
''
);
}
function renderChips(active) {
const order = ["all", "roses", "peony", "lilac", "orange", "sunset", "white"];
const counts = { all: BUKETS.length };
BUKETS.forEach(function (b) { counts[b.cat] = (counts[b.cat] || 0) + 1; });
const el = document.getElementById("fl-chips");
el.innerHTML = order
.filter(function (c) { return c === "all" || counts[c]; })
.map(function (c) {
const label = c === "all" ? "Все" : CAT_LABELS[c] + " · " + counts[c];
const sel = c === active;
return (
'