/**
 * WooCurrency front-end styles.
 *
 * Deliberately light. The goal is to stop a heading-level price element
 * inheriting big theme margins, not to restyle the theme.
 */

.woocurrency-primary {
	display: block;
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

/* Inline contexts: cart tables, loops, mini cart. */
span.woocurrency-primary,
strong.woocurrency-primary {
	display: inline;
	line-height: inherit;
}

.woocurrency-secondary {
	display: inline-block;
	margin-top: 0.15em;
	font-size: 0.8em;
	line-height: 1.3;
	font-weight: 400;
	opacity: 0.75;
}

.woocurrency-code {
	font-size: 0.85em;
	font-weight: 400;
	white-space: nowrap;
	opacity: 0.8;
}

/* Keep the two lines tight inside the single product summary. */
.woocurrency-price-wrapper {
	margin: 0 0 1em;
}

.woocurrency-price-wrapper .woocurrency-primary {
	margin-bottom: 0;
}

/* Cart and checkout tables. */
.woocommerce-cart-form .woocurrency-secondary,
.shop_table .woocurrency-secondary,
.woocommerce-checkout-review-order-table .woocurrency-secondary {
	display: block;
	margin-top: 0.1em;
}

/* Block cart and checkout. */
.wc-block-components-totals-footer-item .woocurrency-block-total {
	display: block;
	width: 100%;
	margin-top: 0.15em;
	text-align: right;
	font-size: 0.8em;
	opacity: 0.75;
}

/* Mini cart. */
.woocommerce-mini-cart__total .woocurrency-secondary {
	display: block;
}
