UK and EU customs Union
UK is a member of the EU. That also means it's a member of EU customs union. When you shop anything from other EU member you only pay local VAT (Amazon charges at the VAT rate in your country) that is charged by the seller. If you shop outside EU the import rules that EU has set apply to that you bought.