Climate change and its associated variability pose significant challenges to the agricultural sector, especially for smallholder farmers who play a crucial role in food production in developing countries. Recent global food crises have exposed the vulnerabilities of globalized agri-food systems, where climate