Actually came up with a solution—though a little hacky. Created 2 extensions:
- update cart line items with a custom attribute
_hasTariff:'true'
based on condition shipping country is US and my other validations - Create a cart transform function to use expand() to bundle a tariff product ($0) with new price of 30% of the qualifying product with
_hasTariff
attribute