/* ------------------------------------------------------------------
   Mobil (<768px), nur Block-Themes (Twenty Twenty-Four/Five):
   Diese Themes setzen auf <main class="has-global-padding"> 64px seitlichen
   Padding → auf 390px bleiben nur 262px Inhaltsbreite, Felder werden
   zweispaltig gequetscht.
   Hier: Seitenrand 1rem, Checkout volle Breite, Felder einspaltig.
   Andere Themes werden NICHT angefasst.
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout main.has-global-padding,
	body[class*="wp-theme-twentytwenty"].woocommerce-cart main.has-global-padding {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	body[class*="wp-theme-twentytwenty"].woocommerce-checkout form.checkout,
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout .wp-block-woocommerce-checkout,
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout .wp-block-woocommerce-checkout.alignwide,
	body[class*="wp-theme-twentytwenty"].woocommerce-cart .woocommerce-cart-form,
	body[class*="wp-theme-twentytwenty"].woocommerce-cart .wp-block-woocommerce-cart {
		width: 100% !important;
		max-width: 100% !important;
	}

	/* Adressfelder einspaltig (klassischer Checkout + WC-Blocks) */
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-last,
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-first,
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row-last,
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout .wc-block-components-address-form > *,
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout .wc-block-components-address-form__first-name,
	body[class*="wp-theme-twentytwenty"].woocommerce-checkout .wc-block-components-address-form__last-name {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 0 0 100% !important;
		float: none !important;
	}
}
