/**
 * Cart totals heading inset — loads after Elementor Pro / theme CSS (late enqueue + filemtime).
 * Elementor sets .cart_totals h2 { padding-left: 0 }; .e-cart-section uses --sections-padding.
 */
body.woocommerce-cart .e-cart-totals.e-cart-section .cart_totals > h2,
body.woocommerce-cart .e-cart-totals .cart_totals > h2,
body.woocommerce-page.woocommerce-cart .e-cart-totals .cart_totals > h2,
.elementor-widget-woocommerce-cart .e-cart-totals .cart_totals > h2,
.elementor-widget-woocommerce-cart .e-cart-totals .cart_totals h2,
.elementor-widget-woocommerce-cart .woocommerce .cart_totals > h2,
.elementor-widget-woocommerce-cart .woocommerce .cart_totals h2,
.elementor-widget-woocommerce-cart .woocommerce-page .cart_totals > h2,
.elementor-widget-woocommerce-cart .woocommerce-page .cart_totals h2,
.woocommerce-cart .cart_totals > h2,
.woocommerce-cart .cart_totals h2 {
	box-sizing: border-box !important;
	padding: 20px 28px 14px !important;
	padding-inline: 28px !important;
	margin: 0 !important;
	line-height: 1.45 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	border-bottom: 1px solid var(--border, #222233) !important;
}

html[data-theme="light"] body.woocommerce-cart .cart_totals > h2,
html[data-theme="light"] .elementor-widget-woocommerce-cart .woocommerce .cart_totals h2 {
	color: var(--text-primary, #333) !important;
	border-bottom-color: var(--border, #e8e8e8) !important;
}

html[data-theme="dark"] body.woocommerce-cart .cart_totals > h2,
html[data-theme="dark"] .elementor-widget-woocommerce-cart .woocommerce .cart_totals h2 {
	color: var(--text-primary, #f0f0f5) !important;
	border-bottom-color: var(--border, #222233) !important;
}

@media (max-width: 1024px) {
	.elementor-widget-woocommerce-cart .woocommerce .cart_totals .shop_table_responsive td,
	.elementor-widget-woocommerce-cart .woocommerce-page .cart_totals .shop_table_responsive td {
		padding-left: 28px !important;
		padding-right: 28px !important;
	}
}
