/**
 * Hide the shipping row from the cart-totals on the CART page (classic OR block cart).
 *
 * With MrejaNet's courier plugins the cart-page shipping options aren't actionable — the
 * price needs a delivery address/office that the cart doesn't collect, so every method
 * just reads "(цената предстои да бъде изчислена)". The real choice happens at checkout.
 * The free-shipping progress bar (rendered separately, via `woocommerce_before_cart`)
 * stays visible — that's the one useful piece of shipping info on the cart.
 *
 * Enabled by the "Hide the shipping options in the cart totals" setting; enqueued on the
 * cart only (`is_cart()`), so these selectors can't touch the checkout's shipping. A
 * stylesheet (not JS) so it survives WooCommerce's cart AJAX / block re-renders.
 */

/* Classic cart ([woocommerce_cart] shortcode). */
.woocommerce-cart .cart_totals .woocommerce-shipping-totals {
    display: none !important;
}

/* Block cart (WooCommerce Cart block order summary): the shipping totals block and the
   shipping-calculator form block are both cart-specific wrappers; the shared totals
   component is scoped to the cart block so it never leaks to other summaries. */
.wp-block-woocommerce-cart-order-summary-shipping-block,
.wp-block-woocommerce-cart-order-summary-shipping-form-block,
.wp-block-woocommerce-cart .wc-block-components-totals-shipping {
    display: none !important;
}
