.quiqqer-coupons-couponcodeinput { container-type: inline-size; } :where(.quiqqer-coupons-couponcodeinput label) { display: block; margin-bottom: 0.25em; } .quiqqer-coupons-couponcodeinput__inputGroup { display: inline-grid; grid-template-columns: 1fr auto; gap: 1rem; } .quiqqer-coupons-couponcodeinput-input { min-width: min(250px, 100cqi); } .quiqqer-coupons-remove { margin-left: 1rem; } /** * Simple Checkout */ .quiqqer-coupons-field-simpleCheckout { margin-top: 1rem; } .quiqqer-coupons-field-simpleCheckout .quiqqer-coupons-couponcodeinput { background: var(--_sectionBgColor); padding: var(--_sectionPadding); } .quiqqer-coupons-field-simpleCheckout .quiqqer-coupons-couponcodeinput__inputGroup { width: 100%; } /*****************************/ /* media / container queries */ /*****************************/ @media screen and (max-width: 767px) { .quiqqer-coupons-couponcodeinput__inputGroup { width: 100%; } } @container (max-inline-size: 400px) { .quiqqer-coupons-couponcodeinput__inputGroup { grid-template-columns: 1fr; } }