/* Native Woo templates own forms, totals and notices; no Divi wrappers. */
body.tbk-native-commerce .tkbnative-entry-content > .woocommerce { width: 100%; }
body.tbk-native-commerce .woocommerce form .form-row input.input-text,
body.tbk-native-commerce .woocommerce form .form-row textarea,
body.tbk-native-commerce .woocommerce form .form-row select { font-size: 1rem; min-height: 44px; }
body.tbk-native-commerce .woocommerce form .form-row label { font-size: 1rem; }
body.tbk-native-commerce .woocommerce form .form-row { min-width: 0; }
body.tbk-native-commerce .woocommerce .woocommerce-error,
body.tbk-native-commerce .woocommerce .woocommerce-info,
body.tbk-native-commerce .woocommerce .woocommerce-message { overflow-wrap: anywhere; }
body.tbk-native-commerce.woocommerce-cart .tkbnative-entry-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
body.tbk-native-commerce.woocommerce-cart .tkbnative-entry-content > .woocommerce > * { grid-column: 1 / -1; min-width: 0; }
body.tbk-native-commerce.woocommerce-cart .tkbnative-entry-content > .woocommerce > form.woocommerce-cart-form { grid-column: 1; }
body.tbk-native-commerce.woocommerce-cart .tkbnative-entry-content > .woocommerce > .cart-collaterals { grid-column: 2; display: flex; flex-direction: column; }
body.tbk-native-commerce.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; order: 1; }
body.tbk-native-commerce.woocommerce-cart .cart-collaterals .cross-sells { display: block !important; width: 100%; float: none; order: 2; margin-top: 1.5rem; }
/* Suggestions live in refreshed totals; legacy total-heading replacement must not apply. */
body.tbk-native-commerce.woocommerce-cart .cart_totals .cross-sells h2 { display: block !important; font-size: 1rem !important; }
body.tbk-native-commerce.woocommerce-cart .cart_totals .cross-sells > h2 { font-size: 1.125rem !important; }
body.tbk-native-commerce.woocommerce-cart .cart_totals .cross-sells h2::after { content: none !important; }
body.tbk-native-commerce.woocommerce-cart .cart_totals .cross-sells ul.products { display: block !important; }
body.tbk-native-commerce.woocommerce-checkout form.checkout { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 2rem; align-items: start; }
body.tbk-native-commerce.woocommerce-checkout form.checkout > * { grid-column: 1 / -1; min-width: 0; }
body.tbk-native-commerce.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: span 2; width: 100%; }
body.tbk-native-commerce.woocommerce-checkout #customer_details > .col-1,
body.tbk-native-commerce.woocommerce-checkout #customer_details > .col-2 { float: none; width: 100%; }
body.tbk-native-commerce.woocommerce-checkout form.checkout #order_review_heading,
body.tbk-native-commerce.woocommerce-checkout form.checkout #order_review { grid-column: 2; width: 100%; float: none; }
body.tbk-native-commerce.woocommerce-checkout form.checkout::before,
body.tbk-native-commerce.woocommerce-checkout form.checkout::after { content: none; }
@media (max-width: 980px) {
    body.tbk-native-commerce.woocommerce-cart .tkbnative-entry-content > .woocommerce,
    body.tbk-native-commerce.woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
    body.tbk-native-commerce.woocommerce-cart .tkbnative-entry-content > .woocommerce > .cart-collaterals,
    body.tbk-native-commerce.woocommerce-checkout form.checkout #customer_details,
    body.tbk-native-commerce.woocommerce-checkout form.checkout #order_review_heading,
    body.tbk-native-commerce.woocommerce-checkout form.checkout #order_review { grid-column: 1; grid-row: auto; }
}
