As pets take on a more central family role, spending has become more resilient and shifted towards higher-value goods and services.