Search and filter 72 foods by category and safety rating. Every entry includes Ca:P ratio, feeding frequency, and keeper notes.
Showing 72 foods
Safety:
Food
Category
Safety
Ca:P Ratio
Notes
Dubia Roaches
Insects
Daily
High
Best staple feeder. Excellent protein-to-fat ratio, no smell, can’t climb.
Black Soldier Fly Larvae
BSFL, Phoenix Worms, Calci-Worms
Insects
Daily
Very High
Naturally high calcium — reduces dusting needs. Soft-bodied, great for babies.
Crickets
Insects
Daily
Medium
Widely available staple. Remove uneaten crickets immediately — they bite.
Discoid Roaches
Insects
Daily
High
Near-identical to dubias. Legal alternative in Florida and Hawaii.
Hornworms
Tobacco/Tomato Hornworm
Insects
Occasional
Low
Very high moisture — great for hydration. Low protein; use as treat or supplement.
Silkworms
Insects
Occasional
High
Highly nutritious, soft-bodied, high calcium. Expensive; require special food.
Mealworms
Insects
Sparingly
Poor
Hard chitin = impaction risk for juveniles. High fat, poor Ca:P. Adults only, rarely.
Superworms
Morio Worms
Insects
Sparingly
Poor
Very high fat. Adults only, 1–2 per week max. Never for hatchlings or juveniles.
Wax Worms
Insects
Sparingly
Poor
Extremely fatty — like candy. Use only to entice picky eaters or hide medication.
Butterworms
Tebos
Insects
Sparingly
Low
Fatty treat feeder. Better Ca:P than wax worms but still a treat only.
Earthworms
Red Wigglers
Insects
Occasional
Medium
Gut-loaded store-bought only. High moisture. Never wild-caught.
Wild-Caught Insects
Any insects from outside
Avoid
Toxic
—
Never feed. Risk: pesticides, parasites, toxic species (fireflies are deadly).
Fireflies
Lightning Bugs
Avoid
Toxic
—
DEADLY. Contain lucibufagins toxic to bearded dragons. A single firefly can kill.
Collard Greens
Greens
Daily
14.5:1
Gold standard daily green. Very high calcium, great Ca:P ratio.
Turnip Greens
Greens
Daily
4.5:1
High in calcium and vitamin A. Excellent daily staple.
Mustard Greens
Greens
Daily
2.4:1
Peppery flavour that most beardies enjoy. Great Ca:P ratio.
Dandelion Greens
Greens
Daily
2.8:1
Extremely nutritious. Beardies love them. Use pesticide-free.
Endive
Escarole, Belgian Endive
Greens
Daily
1.9:1
Mild flavour, high water content. Excellent daily rotation.
Watercress
Greens
Daily
2.0:1
Calcium-rich and nutritious. Slightly peppery.
Bok Choy
Pak Choi, Chinese Cabbage
Greens
Occasional
2.8:1
Good Ca:P, but a brassica like kale: once or twice a week.
Arugula
Rocket
Greens
Daily
3.1:1
Good Ca:P, distinct flavour. Part of a varied rotation.
Kale
Curly Kale, Lacinato
Greens
Occasional
2.4:1
Good Ca:P but high in goitrogens — can affect thyroid if fed daily.
Beet Greens
Greens
Occasional
2.7:1
Contains oxalates. Limit to once weekly.
Swiss Chard
Rainbow Chard
Greens
Occasional
1.8:1
High oxalates bind calcium. Once weekly maximum.
Parsley
Greens
Occasional
2.5:1
High in oxalates and goitrogens in large amounts. Small quantities fine.
Cilantro
Coriander Leaves
Greens
Occasional
1.4:1
Good variety food. Moderate Ca:P — don’t use as a staple.
Spinach
Baby Spinach
Greens
Sparingly
1.0:1
Very high oxalates actively bind calcium. Occasional tiny amounts only.
Iceberg Lettuce
Avoid
Toxic
0.6:1
Almost zero nutrition. High water content causes diarrhea. Not worth feeding.
Romaine Lettuce
Avoid
Avoid
0.6:1
Minimal nutritional value. Not toxic but nutritionally empty — skip it.
Butternut Squash
Vegetables
Daily
1.5:1
Great daily vegetable. High vitamin A and beta-carotene.
Acorn Squash
Vegetables
Occasional
0.9:1
Calcium and phosphorus about even. Most beardies enjoy it raw and shredded; rotate it in 2–3 times a week.
Yellow Squash
Summer Squash
Vegetables
Occasional
0.7:1
Mild and hydrating, but phosphorus edges out calcium. A good 2–3 times a week rotation vegetable.
Zucchini
Courgette
Vegetables
Sparingly
0.4:1
Mostly water, with more than twice as much phosphorus as calcium. Once every week or two at most; yellow squash is the better swap.
Bell Peppers
Capsicum
Vegetables
Daily
0.9:1
Red and yellow best — highest vitamin C and appeal. Green slightly bitter.
Green Beans
French Beans
Vegetables
Occasional
1.0:1
Decent nutrition, good variety. Chop finely for small beardies.
Snap Peas
Sugar Snap Peas
Vegetables
Occasional
0.7:1
Good vitamin C. Remove strings; chop into small pieces.
Okra
Ladies’ Fingers
Vegetables
Occasional
1.5:1
Decent Ca:P, high fibre. Slice thinly to serve.
Asparagus
Vegetables
Occasional
0.7:1
Good vitamins. Remove tough ends; chop small.
Cactus Pads
Nopales
Vegetables
Daily
Very High
Excellent calcium source. Remove spines before serving. Often hard to find.
Carrots
Vegetables
Occasional
0.5:1
High in beta-carotene but also sugars. Grate finely. Don’t overfeed.
Sweet Potato
Yam
Vegetables
Occasional
0.8:1
High sugar and oxalates. Useful as variety. Raw only, not cooked.
Cucumber
Vegetables
Occasional
0.5:1
Mostly water. Hydrating but low nutrition. Use sparingly.
Broccoli
Vegetables
Sparingly
1.5:1
High goitrogens can affect thyroid function if fed frequently. Small amounts only.
Avocado
Avoid
Toxic
—
TOXIC. Contains persin — toxic to most animals including bearded dragons.
Onions
Garlic, Chives, Leeks
Avoid
Toxic
—
TOXIC. All allium family members cause hemolytic anemia.
Rhubarb
Avoid
Toxic
—
TOXIC. Extremely high oxalic acid. Fatal in small amounts.
Mushrooms
Avoid
Toxic
—
Avoid all. Too many toxic varieties to risk. No nutritional benefit worth the risk.
Beets
Beetroot
Vegetables
Sparingly
0.9:1
High in oxalates and sugar. Very occasional only.
Corn
Sweetcorn
Vegetables
Sparingly
0.4:1
High sugar and phosphorus. Poor Ca:P. Occasional variety use only.
Blueberries
Fruits
Occasional
1.3:1
One of the best fruit choices. Antioxidants and decent Ca:P. 3–4 berries max.
Raspberries
Fruits
Occasional
1.2:1
Good Ca:P for a fruit. High in fibre. Feed a few at a time.
Blackberries
Fruits
Occasional
1.4:1
Good Ca:P ratio. Antioxidant-rich. Feed in moderation.
Strawberries
Fruits
Occasional
0.6:1
Most beardies love them. High sugar — chop small, feed occasionally.
Mango
Fruits
Occasional
0.6:1
High vitamin A and C. Remove skin and pit; chop finely.
Papaya
Pawpaw
Fruits
Occasional
0.7:1
Good digestive enzymes. Remove seeds and skin. Good variety treat.
Watermelon
Fruits
Occasional
0.5:1
Mostly water — great for hydration in summer. Remove seeds.
Cantaloupe
Rockmelon
Fruits
Occasional
0.8:1
High vitamin A. Remove seeds and rind.
Apple
Fruits
Occasional
0.5:1
Remove skin and ALL seeds (contain cyanide). Small pieces only.
Pear
Fruits
Occasional
0.7:1
Peel before serving. High sugar — feed in small amounts.
Figs
Fresh Figs
Fruits
Occasional
2.5:1
One of the best fruit options for calcium. Excellent Ca:P. Expensive but worth it.
Banana
Fruits
Sparingly
0.3:1
Very high phosphorus throws off Ca:P balance. Occasional small amount only.
Grapes
Fruits
Sparingly
0.5:1
High oxalates and sugar. Many keepers avoid entirely. Halved only.
Kiwi
Kiwifruit
Fruits
Sparingly
0.8:1
High oxalates. Peel completely; small amounts occasionally.
Peach
Nectarine
Fruits
Sparingly
0.5:1
High sugar. Remove pit — it contains cyanide compounds.
Citrus Fruits
Oranges, Lemons, Limes, Grapefruit
Avoid
Toxic
—
Too acidic — causes digestive upset and mouth irritation.
Pineapple
Avoid
Toxic
—
Too acidic. The enzymes can cause mouth irritation.
Dandelion Flowers
Greens
Daily
High
Beardies love the bright yellow flowers. Ensure pesticide-free.
Hibiscus Flowers
Greens
Daily
Medium
Edible flower beardies enjoy. Safe and nutritious. Use pesticide-free.
Rose Petals
Greens
Occasional
Medium
Pesticide-free only. A favourite treat for many beardies.
Eggplant
Aubergine
Avoid
Toxic
—
High in oxalic acid and solanine. Avoid entirely.
Dairy Products
Cheese, Milk, Yogurt
Avoid
Toxic
—
Reptiles cannot digest lactose. Never feed any dairy.
Meat (Cooked)
Chicken, Beef, Fish
Avoid
Toxic
—
Too high in fat and protein for reptile kidneys. Not a natural food.
No foods match your search
Try a different keyword or clear your filters.
Key:Daily Feed freelyOccasional 2–3× /weekSparingly 1× /week maxAvoid Not recommendedToxic Never feed
Want feeding schedules too? Our complete diet guide covers exactly what to feed at every age — and our care guide has the full new-owner overview.
const FOODS = [
// ── INSECTS ────────────────────────────────────────────
{name:"Dubia Roaches",aka:"",cat:"insects",sf:"daily",cap:"High",capPct:85,note:"Best staple feeder. Excellent protein-to-fat ratio, no smell, can't climb.",warn:false},
{name:"Black Soldier Fly Larvae",aka:"BSFL, Phoenix Worms, Calci-Worms",cat:"insects",sf:"daily",cap:"Very High",capPct:90,note:"Naturally high calcium — reduces dusting needs. Soft-bodied, great for babies.",warn:false},
{name:"Crickets",aka:"",cat:"insects",sf:"daily",cap:"Medium",capPct:50,note:"Widely available staple. Remove uneaten crickets immediately — they bite.",warn:false},
{name:"Discoid Roaches",aka:"",cat:"insects",sf:"daily",cap:"High",capPct:80,note:"Near-identical to dubias. Legal alternative in Florida and Hawaii.",warn:false},
{name:"Hornworms",aka:"Tobacco/Tomato Hornworm",cat:"insects",sf:"occasional",cap:"Low",capPct:25,note:"Very high moisture — great for hydration. Low protein; use as treat or supplement.",warn:false},
{name:"Silkworms",aka:"",cat:"insects",sf:"occasional",cap:"High",capPct:75,note:"Highly nutritious, soft-bodied, high calcium. Expensive; require special food.",warn:false},
{name:"Mealworms",aka:"",cat:"insects",sf:"sparingly",cap:"Poor",capPct:15,note:"Hard chitin = impaction risk for juveniles. High fat, poor Ca:P. Adults only, rarely.",warn:false},
{name:"Superworms",aka:"Morio Worms",cat:"insects",sf:"sparingly",cap:"Poor",capPct:10,note:"Very high fat. Adults only, 1–2 per week max. Never for hatchlings or juveniles.",warn:false},
{name:"Wax Worms",aka:"",cat:"insects",sf:"sparingly",cap:"Poor",capPct:5,note:"Extremely fatty — like candy. Use only to entice picky eaters or hide medication.",warn:false},
{name:"Butterworms",aka:"Tebos",cat:"insects",sf:"sparingly",cap:"Low",capPct:20,note:"Fatty treat feeder. Better Ca:P than wax worms but still a treat only.",warn:false},
{name:"Earthworms",aka:"Red Wigglers",cat:"insects",sf:"occasional",cap:"Medium",capPct:40,note:"Gut-loaded store-bought only. High moisture. Never wild-caught.",warn:false},
{name:"Wild-Caught Insects",aka:"Any insects from outside",cat:"avoid",sf:"avoid",cap:"Unknown",capPct:0,note:"Never feed. Risk: pesticides, parasites, toxic species (fireflies are deadly).",warn:true},
{name:"Fireflies",aka:"Lightning Bugs",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"DEADLY. Contain lucibufagins toxic to bearded dragons. A single firefly can kill.",warn:true},
// ── GREENS ────────────────────────────────────────────
{name:"Collard Greens",aka:"",cat:"greens",sf:"daily",cap:"14.5:1",capPct:95,note:"Gold standard daily green. Very high calcium, great Ca:P ratio.",warn:false},
{name:"Turnip Greens",aka:"",cat:"greens",sf:"daily",cap:"4.5:1",capPct:85,note:"High in calcium and vitamin A. Excellent daily staple.",warn:false},
{name:"Mustard Greens",aka:"",cat:"greens",sf:"daily",cap:"2.4:1",capPct:80,note:"Peppery flavour that most beardies enjoy. Great Ca:P ratio.",warn:false},
{name:"Dandelion Greens",aka:"",cat:"greens",sf:"daily",cap:"2.8:1",capPct:82,note:"Extremely nutritious. Beardies love them. Use pesticide-free.",warn:false},
{name:"Endive",aka:"Escarole, Belgian Endive",cat:"greens",sf:"daily",cap:"1.9:1",capPct:78,note:"Mild flavour, high water content. Excellent daily rotation.",warn:false},
{name:"Watercress",aka:"",cat:"greens",sf:"daily",cap:"2.0:1",capPct:76,note:"Calcium-rich and nutritious. Slightly peppery.",warn:false},
{name:"Bok Choy",aka:"Pak Choi, Chinese Cabbage",cat:"greens",sf:"occasional",cap:"2.8:1",capPct:78,note:"Good Ca:P, but a brassica like kale: once or twice a week.",warn:false},
{name:"Arugula",aka:"Rocket",cat:"greens",sf:"daily",cap:"3.1:1",capPct:80,note:"Good Ca:P, distinct flavour. Part of a varied rotation.",warn:false},
{name:"Kale",aka:"Curly Kale, Lacinato",cat:"greens",sf:"occasional",cap:"2.4:1",capPct:70,note:"Good Ca:P but high in goitrogens — can affect thyroid if fed daily.",warn:false},
{name:"Beet Greens",aka:"",cat:"greens",sf:"occasional",cap:"2.7:1",capPct:55,note:"Contains oxalates. Limit to once weekly.",warn:false},
{name:"Swiss Chard",aka:"Rainbow Chard",cat:"greens",sf:"occasional",cap:"1.8:1",capPct:50,note:"High oxalates bind calcium. Once weekly maximum.",warn:false},
{name:"Parsley",aka:"",cat:"greens",sf:"occasional",cap:"2.5:1",capPct:55,note:"High in oxalates and goitrogens in large amounts. Small quantities fine.",warn:false},
{name:"Cilantro",aka:"Coriander Leaves",cat:"greens",sf:"occasional",cap:"1.4:1",capPct:50,note:"Good variety food. Moderate Ca:P — don't use as a staple.",warn:false},
{name:"Spinach",aka:"Baby Spinach",cat:"greens",sf:"sparingly",cap:"1.0:1",capPct:20,note:"Very high oxalates actively bind calcium. Occasional tiny amounts only.",warn:false},
{name:"Iceberg Lettuce",aka:"",cat:"avoid",sf:"avoid",cap:"0.6:1",capPct:5,note:"Almost zero nutrition. High water content causes diarrhea. Not worth feeding.",warn:true},
{name:"Romaine Lettuce",aka:"",cat:"avoid",sf:"avoid",cap:"0.6:1",capPct:10,note:"Minimal nutritional value. Not toxic but nutritionally empty — skip it.",warn:false},
// ── VEGETABLES ────────────────────────────────────────────
{name:"Butternut Squash",aka:"",cat:"vegetables",sf:"daily",cap:"1.5:1",capPct:72,note:"Great daily vegetable. High vitamin A and beta-carotene.",warn:false},
{name:"Acorn Squash",aka:"",cat:"vegetables",sf:"occasional",cap:"0.9:1",capPct:55,note:"Calcium and phosphorus about even. Most beardies enjoy it raw and shredded; rotate it in 2–3 times a week.",warn:false},
{name:"Yellow Squash",aka:"Summer Squash",cat:"vegetables",sf:"occasional",cap:"0.7:1",capPct:45,note:"Mild and hydrating, but phosphorus edges out calcium. A good 2–3 times a week rotation vegetable.",warn:false},
{name:"Zucchini",aka:"Courgette",cat:"vegetables",sf:"sparingly",cap:"0.4:1",capPct:25,note:"Mostly water, with more than twice as much phosphorus as calcium. Once every week or two at most; yellow squash is the better swap.",warn:false},
{name:"Bell Peppers",aka:"Capsicum",cat:"vegetables",sf:"daily",cap:"0.9:1",capPct:60,note:"Red and yellow best — highest vitamin C and appeal. Green slightly bitter.",warn:false},
{name:"Green Beans",aka:"French Beans",cat:"vegetables",sf:"occasional",cap:"1.0:1",capPct:58,note:"Decent nutrition, good variety. Chop finely for small beardies.",warn:false},
{name:"Snap Peas",aka:"Sugar Snap Peas",cat:"vegetables",sf:"occasional",cap:"0.7:1",capPct:55,note:"Good vitamin C. Remove strings; chop into small pieces.",warn:false},
{name:"Okra",aka:"Ladies' Fingers",cat:"vegetables",sf:"occasional",cap:"1.5:1",capPct:60,note:"Decent Ca:P, high fibre. Slice thinly to serve.",warn:false},
{name:"Asparagus",aka:"",cat:"vegetables",sf:"occasional",cap:"0.7:1",capPct:50,note:"Good vitamins. Remove tough ends; chop small.",warn:false},
{name:"Cactus Pads",aka:"Nopales",cat:"vegetables",sf:"daily",cap:"Very High",capPct:88,note:"Excellent calcium source. Remove spines before serving. Often hard to find.",warn:false},
{name:"Carrots",aka:"",cat:"vegetables",sf:"occasional",cap:"0.5:1",capPct:40,note:"High in beta-carotene but also sugars. Grate finely. Don't overfeed.",warn:false},
{name:"Sweet Potato",aka:"Yam",cat:"vegetables",sf:"occasional",cap:"0.8:1",capPct:45,note:"High sugar and oxalates. Useful as variety. Raw only, not cooked.",warn:false},
{name:"Cucumber",aka:"",cat:"vegetables",sf:"occasional",cap:"0.5:1",capPct:30,note:"Mostly water. Hydrating but low nutrition. Use sparingly.",warn:false},
{name:"Broccoli",aka:"",cat:"vegetables",sf:"sparingly",cap:"1.5:1",capPct:55,note:"High goitrogens can affect thyroid function if fed frequently. Small amounts only.",warn:false},
{name:"Avocado",aka:"",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"TOXIC. Contains persin — toxic to most animals including bearded dragons.",warn:true},
{name:"Onions",aka:"Garlic, Chives, Leeks",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"TOXIC. All allium family members cause hemolytic anemia.",warn:true},
{name:"Rhubarb",aka:"",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"TOXIC. Extremely high oxalic acid. Fatal in small amounts.",warn:true},
{name:"Mushrooms",aka:"",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"Avoid all. Too many toxic varieties to risk. No nutritional benefit worth the risk.",warn:true},
{name:"Beets",aka:"Beetroot",cat:"vegetables",sf:"sparingly",cap:"0.9:1",capPct:35,note:"High in oxalates and sugar. Very occasional only.",warn:false},
{name:"Corn",aka:"Sweetcorn",cat:"vegetables",sf:"sparingly",cap:"0.4:1",capPct:25,note:"High sugar and phosphorus. Poor Ca:P. Occasional variety use only.",warn:false},
// ── FRUITS ────────────────────────────────────────────
{name:"Blueberries",aka:"",cat:"fruits",sf:"occasional",cap:"1.3:1",capPct:55,note:"One of the best fruit choices. Antioxidants and decent Ca:P. 3–4 berries max.",warn:false},
{name:"Raspberries",aka:"",cat:"fruits",sf:"occasional",cap:"1.2:1",capPct:50,note:"Good Ca:P for a fruit. High in fibre. Feed a few at a time.",warn:false},
{name:"Blackberries",aka:"",cat:"fruits",sf:"occasional",cap:"1.4:1",capPct:55,note:"Good Ca:P ratio. Antioxidant-rich. Feed in moderation.",warn:false},
{name:"Strawberries",aka:"",cat:"fruits",sf:"occasional",cap:"0.6:1",capPct:40,note:"Most beardies love them. High sugar — chop small, feed occasionally.",warn:false},
{name:"Mango",aka:"",cat:"fruits",sf:"occasional",cap:"0.6:1",capPct:42,note:"High vitamin A and C. Remove skin and pit; chop finely.",warn:false},
{name:"Papaya",aka:"Pawpaw",cat:"fruits",sf:"occasional",cap:"0.7:1",capPct:45,note:"Good digestive enzymes. Remove seeds and skin. Good variety treat.",warn:false},
{name:"Watermelon",aka:"",cat:"fruits",sf:"occasional",cap:"0.5:1",capPct:35,note:"Mostly water — great for hydration in summer. Remove seeds.",warn:false},
{name:"Cantaloupe",aka:"Rockmelon",cat:"fruits",sf:"occasional",cap:"0.8:1",capPct:48,note:"High vitamin A. Remove seeds and rind.",warn:false},
{name:"Apple",aka:"",cat:"fruits",sf:"occasional",cap:"0.5:1",capPct:38,note:"Remove skin and ALL seeds (contain cyanide). Small pieces only.",warn:false},
{name:"Pear",aka:"",cat:"fruits",sf:"occasional",cap:"0.7:1",capPct:40,note:"Peel before serving. High sugar — feed in small amounts.",warn:false},
{name:"Figs",aka:"Fresh Figs",cat:"fruits",sf:"occasional",cap:"2.5:1",capPct:72,note:"One of the best fruit options for calcium. Excellent Ca:P. Expensive but worth it.",warn:false},
{name:"Banana",aka:"",cat:"fruits",sf:"sparingly",cap:"0.3:1",capPct:20,note:"Very high phosphorus throws off Ca:P balance. Occasional small amount only.",warn:false},
{name:"Grapes",aka:"",cat:"fruits",sf:"sparingly",cap:"0.5:1",capPct:25,note:"High oxalates and sugar. Many keepers avoid entirely. Halved only.",warn:false},
{name:"Kiwi",aka:"Kiwifruit",cat:"fruits",sf:"sparingly",cap:"0.8:1",capPct:35,note:"High oxalates. Peel completely; small amounts occasionally.",warn:false},
{name:"Peach",aka:"Nectarine",cat:"fruits",sf:"sparingly",cap:"0.5:1",capPct:30,note:"High sugar. Remove pit — it contains cyanide compounds.",warn:false},
{name:"Citrus Fruits",aka:"Oranges, Lemons, Limes, Grapefruit",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"Too acidic — causes digestive upset and mouth irritation.",warn:true},
{name:"Pineapple",aka:"",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"Too acidic. The enzymes can cause mouth irritation.",warn:true},
{name:"Dandelion Flowers",aka:"",cat:"greens",sf:"daily",cap:"High",capPct:80,note:"Beardies love the bright yellow flowers. Ensure pesticide-free.",warn:false},
{name:"Hibiscus Flowers",aka:"",cat:"greens",sf:"daily",cap:"Medium",capPct:65,note:"Edible flower beardies enjoy. Safe and nutritious. Use pesticide-free.",warn:false},
{name:"Rose Petals",aka:"",cat:"greens",sf:"occasional",cap:"Medium",capPct:55,note:"Pesticide-free only. A favourite treat for many beardies.",warn:false},
{name:"Eggplant",aka:"Aubergine",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"High in oxalic acid and solanine. Avoid entirely.",warn:true},
{name:"Dairy Products",aka:"Cheese, Milk, Yogurt",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"Reptiles cannot digest lactose. Never feed any dairy.",warn:true},
{name:"Meat (Cooked)",aka:"Chicken, Beef, Fish",cat:"avoid",sf:"avoid",cap:"—",capPct:0,note:"Too high in fat and protein for reptile kidneys. Not a natural food.",warn:true},
];
let activeCat='all',activeSf='all';
const BADGE={daily:'<span class="badge badge-daily">Daily</span>',occasional:'<span class="badge badge-occasional">Occasional</span>',sparingly:'<span class="badge badge-sparingly">Sparingly</span>',avoid:'<span class="badge badge-avoid">Avoid</span>'};
const CAT_PILL={insects:'<span class="cat-pill cat-insects">Insects</span>',greens:'<span class="cat-pill cat-greens">Greens</span>',vegetables:'<span class="cat-pill cat-vegetables">Vegetables</span>',fruits:'<span class="cat-pill cat-fruits">Fruits</span>',avoid:'<span class="cat-pill cat-avoid">Avoid</span>'};
function renderDB(){
const q=document.getElementById('fdb-input').value.toLowerCase();
const tbody=document.getElementById('fdb-body');
const filtered=FOODS.filter(f=>{
const catMatch=activeCat==='all'||f.cat===activeCat;
const sfMatch=activeSf==='all'||(activeSf==='avoid'?(f.sf==='avoid'):f.sf===activeSf);
const qMatch=!q||f.name.toLowerCase().includes(q)||(f.aka||'').toLowerCase().includes(q)||f.note.toLowerCase().includes(q);
return catMatch&&sfMatch&&qMatch;
});
document.getElementById('fdb-count').textContent=filtered.length;
document.getElementById('fdb-empty').style.display=filtered.length?'none':'block';
const badgeSf=f=>f.warn?'<span class="badge badge-toxic">Toxic</span>':(BADGE[f.sf]||'');
const catDisplay=f=>f.cat==='avoid'?CAT_PILL[f.sf==='avoid'?'avoid':f.cat]:(CAT_PILL[f.cat]||f.cat);
const capBar=f=>{if(f.capPct===0)return '<span style="color:#922B21;font-weight:600">—</span>';const color=f.capPct>=60?'':(f.capPct>=35?'ok':'bad');return `<div class="cap">${f.cap}</div><div class="cap-bar"><div class="cap-fill ${color}" style="width:${f.capPct}%"></div></div>`;};
tbody.innerHTML=filtered.map(f=>`<tr><td><div class="fdb-name">${f.name}</div>${f.aka?`<span class="fdb-aka">${f.aka}</span>`:''}</td><td>${catDisplay(f)}</td><td>${badgeSf(f)}</td><td>${capBar(f)}</td><td><div class="fdb-note${f.warn?' warn':''}">
${f.note}</div></td></tr>`).join('');
}
function setFilter(type,val,el){if(type==='cat'){activeCat=val;document.querySelectorAll('.fdb-cat').forEach(b=>b.classList.remove('active'));
}
else{activeSf=val;document.querySelectorAll('.fdb-sf').forEach(b=>b.classList.remove('active'));}
el.classList.add('active');
renderDB();
}
renderDB();
document.addEventListener('DOMContentLoaded', function() {
var related = document.querySelector('.entry-related');
if (!related) return;
related.querySelectorAll('h3.entry-title').forEach(function(h3) {
var p = document.createElement('p');
p.className = h3.className;
p.innerHTML = h3.innerHTML;
h3.parentNode.replaceChild(p, h3);
});
});
var kadenceConfig = {"screenReader":{"expand":"Child menu","expandOf":"Child menu of","collapse":"Child menu","collapseOf":"Child menu of"},"breakPoints":{"desktop":"1024","tablet":768},"scrollOffset":"0"};
//# sourceURL=kadence-navigation-js-extra