/* Supporterboken runs free GeneratePress + WooCommerce's default woocommerce.css
   (aevintyri.is has GP Premium). These rules close the gaps. Loads LAST. */
body.woocommerce-cart,body.woocommerce-checkout{background:#f7f1e6 !important}

/* inputs fill their column */
body.woocommerce-checkout form .form-row .input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row .select2-container{width:100% !important;box-sizing:border-box}
/* the design's 2-column grid sizes the rows; Woo's float/% widths must not */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row{width:auto !important;float:none !important}

/* order summary table spans the card */
body.woocommerce-checkout #order_review table.shop_table,
body.woocommerce-checkout #order_review table.shop_table tbody,
body.woocommerce-checkout #order_review table.shop_table tfoot{width:100% !important;display:block}
body.woocommerce-checkout #order_review table.shop_table tr{width:100% !important;box-sizing:border-box}
body.woocommerce-checkout #order_review table.shop_table tfoot tr{display:flex !important;justify-content:space-between;align-items:baseline}
body.woocommerce-checkout #order_review table.shop_table tfoot th,
body.woocommerce-checkout #order_review table.shop_table tfoot td{border-bottom:0 !important}
body.woocommerce-checkout #order_review table.shop_table tfoot tr{border-bottom:1px solid var(--line)}
body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total{border-bottom:0}

/* place-order button full width, secure note centred underneath */
body.woocommerce-checkout #payment #place_order{float:none !important;width:100% !important;display:block}
body.woocommerce-checkout .woo-secure{display:flex;justify-content:center;align-items:center;gap:6px;
  clear:both;margin:12px 0 0;text-align:center;font-family:var(--font-ui);font-size:13px;color:var(--fg-muted)}
body.woocommerce-checkout #payment .woocommerce-privacy-policy-text p{font-size:12.5px;line-height:1.5;color:var(--fg-muted)}

/* coupon toggle: Woo's icon-font glyph renders as a box without the font */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before{display:none}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{padding-left:24px !important}

/* cart on phones: totals card must fit the screen; keep the cover; no "Produkt:" labels */
.cart-collaterals,.cart-collaterals .cart_totals{max-width:100%;box-sizing:border-box}
@media (max-width:768px){
  .cart-collaterals .cart_totals{width:100% !important;float:none !important}
  body.woocommerce-cart table.shop_table_responsive tr td.product-thumbnail{display:block !important}
  body.woocommerce-cart table.cart tr.cart_item td::before{display:none !important}
  body.woocommerce-cart table.cart tr.cart_item td{text-align:left !important}
}

/* card width includes its padding (otherwise 100% + 52px overflows its column / the phone) */
body.woocommerce-checkout #order_review{box-sizing:border-box !important}

/* coupon button stays on one line on phones */
body.woocommerce-cart .coupon button.button{white-space:nowrap}
