It's safest for passengers and your pets if cats ride in a carrier and dogs in a car harness or a crate, depending on what makes them most comfortable.
The biggest environmental cost of food transport comes, not from international shipping, but driving to and from the supermarket, often with just a couple of carrier bags in the back of the car.