How a trendy shoe nearly lost its footing