How to Use
12 Key Ingredients
| Almonds | Cashews | Walnuts | Pistachios | Raisins | Zarishk |
| Goji Berries | Blueberries | Pumpkin Seeds | Dried Apple | Dried Banana | Dried Cherries |
(function(){ function resizeKidsIngredients(){ var box=document.getElementById('kids-energy-ingredients'); if(!box) return; var table=document.getElementById('kids-ingredients-table'); if(!table) return; var rows=table.querySelectorAll('.ingredient-row'); if(window.innerWidth <= 767){ /* MOBILE: 3 COLUMNS × 4 ROWS */ var cells=[]; rows.forEach(function(row){ var rowCells=row.querySelectorAll('td'); rowCells.forEach(function(cell){ cells.push(cell); }); }); table.innerHTML=''; var tbody=document.createElement('tbody'); for(var i=0;i<cells.length;i+=3){ var newRow=document.createElement('tr'); for(var j=i;j<i+3 && j<cells.length;j++){ newRow.appendChild(cells[j]); } tbody.appendChild(newRow); } table.appendChild(tbody); }else{ /* DESKTOP: 6 COLUMNS × 2 ROWS */ var cells=[]; table.querySelectorAll('td').forEach(function(cell){ cells.push(cell); }); table.innerHTML=''; var tbody=document.createElement('tbody'); for(var i=0;i<cells.length;i+=6){ var newRow=document.createElement('tr'); for(var j=i;j<i+6 && j<cells.length;j++){ newRow.appendChild(cells[j]); } tbody.appendChild(newRow); } table.appendChild(tbody); } } /* Run after page loads */ resizeKidsIngredients(); /* Run when screen changes */ window.addEventListener('resize',resizeKidsIngredients); })();







