/**
 * Econt Shipping - Hide delivery price on Cart and for non-chosen method on Checkout.
 * Only affects Econt shipping method (not other carriers).
 */

/* Cart: do not show calculated delivery price for Econt (label-only is shown via PHP; hide any price if present) */
.woocommerce-cart .woocommerce-shipping-methods li:has(input[id*="econt_shipping"]) .webselo-shipping-price {
    display: none !important;
}

/* Checkout: hide price when Econt is NOT the chosen method. When only one method exists there is no radio (or it's auto-selected), so do not hide in that case (:only-child). */
.woocommerce-checkout .woocommerce-shipping-methods li:has(input[id*="econt_shipping"]):not(:has(input.shipping_method:checked)):not(:only-child) .webselo-shipping-price {
    display: none !important;
}
