/**
 * Cart-only shipping notice.
 *
 * The actual rates stay available to WooCommerce and are shown at checkout;
 * this only replaces the premature selected-rate summary in the cart UI.
 */
body.kinela-shop-ui.woocommerce-cart .wc-block-components-totals-shipping > .wc-block-components-totals-item {
	align-items: flex-start;
}

body.kinela-shop-ui.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__value,
body.kinela-shop-ui.woocommerce-cart .kinela-cart-shipping-message {
	max-width: 19rem;
	color: var(--kinela-ink-muted);
	font-family: var(--kinela-font-sans);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.45;
	text-align: right;
	white-space: normal;
}

/*
 * Hide the premature rate immediately, before the block controller starts.
 * The controller then replaces the actual DOM text for accessibility.
 */
body.kinela-shop-ui.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__value:not(.kinela-cart-shipping-message) {
	color: transparent;
	font-size: 0;
	line-height: 0;
}

body.kinela-shop-ui.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__value:not(.kinela-cart-shipping-message)::after {
	display: block;
	color: var(--kinela-ink-muted);
	content: "A szállítás a pénztár oldalon számolódik.";
	font-size: 0.875rem;
	line-height: 1.45;
}

body.kinela-shop-ui.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__description {
	display: none !important;
}

@media (max-width: 47.99rem) {
	body.kinela-shop-ui.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__value,
	body.kinela-shop-ui.woocommerce-cart .kinela-cart-shipping-message {
		max-width: 62%;
	}
}
