Ab mini-cart.liquid mein bhi checkbox/button ka id="agree" aur id="checkout" ko data-terms-checkbox aur data-checkout-button se replace kar do (same tareeqe se), taake dono files ek hi naming system use karein.
theme.liquid mein pehle wala data-attribute wala script + CSS already de chuki thi — wahi rehne do, agar nahi lagaya to yeh dobara de deti hoon:
html