/* Membership – Normal + Member price display */

.jasmani-prices {
	display: inline-block;
	line-height: 1.4;
}

.jasmani-price {
	display: block;
}

.jasmani-price__label {
	font-size: 0.8em;
	font-weight: 400;
	opacity: 0.75;
	margin-right: 0.3em;
}

.jasmani-price--member .jasmani-price__amount,
.jasmani-price--member .jasmani-price__amount .amount,
.jasmani-member-price .amount {
	color: var(--jasmani-member-color, #0a7d38);
	font-weight: 600;
}

/* Members: the normal price is no longer what they pay. */
.jasmani-prices.is-member .jasmani-price--normal .jasmani-price__amount {
	text-decoration: line-through;
	opacity: 0.6;
}

/* Product page notice */
.jasmani-notice {
	margin: 0.75em 0 1.25em;
	padding: 0.75em 1em;
	border-left: 3px solid var(--jasmani-member-color, #0a7d38);
	background: rgba(127, 127, 127, 0.08);
	font-size: 0.95em;
	line-height: 1.5;
}

.jasmani-notice a {
	color: var(--jasmani-member-color, #0a7d38);
	font-weight: 600;
	text-decoration: underline;
}

/* Bulk price notice: sits in the add-to-cart row (a wrapping flex row in
   Salient), so take the full width to land above the quantity box. */
.jasmani-bulk-notice {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0 0 1em;
}

/* [jasmani_agent_products]: Salient's "minimal" cards hide the price on hover
   to make room for the add-to-cart button, which this list doesn't have. */
.jasmani-agent-products .products li.product.minimal:hover .product-meta .price {
	opacity: 1;
	transform: none;
}

.jasmani-agent-prices .jasmani-price__suffix {
	font-size: 0.85em;
	opacity: 0.75;
}

/* Cart & mini cart */
.jasmani-cart-price del {
	opacity: 0.6;
	margin-right: 0.25em;
}

.jasmani-cart-price ins {
	text-decoration: none;
	font-weight: 600;
	color: var(--jasmani-member-color, #0a7d38);
}

.jasmani-cart-label {
	display: block;
	font-size: 0.75em;
	line-height: 1.4;
	color: var(--jasmani-member-color, #0a7d38);
}

/* Checkout: member savings row under the order total */
.woocommerce-checkout-review-order-table tr.jasmani-savings th,
.woocommerce-checkout-review-order-table tr.jasmani-savings td {
	color: var(--jasmani-member-color, #0a7d38);
	font-weight: 600;
}

/* Salient "Material" skin: `.material .widget li a { margin-left: -30px }` is meant
   for sidebar lists but also hits the mini cart, pushing the thumbnail out of the
   panel and the product name over the image. */
.material .widget_shopping_cart li.mini_cart_item a {
	margin-left: 0;
}

/* My Account dashboard */
.jasmani-account-badge {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em 0.75em;
	margin: 0 0 1.5em;
	padding: 0.85em 1em;
	border: 1px solid var(--jasmani-member-color, #0a7d38);
	border-radius: 4px;
}

.jasmani-account-badge__label {
	background: var(--jasmani-member-color, #0a7d38);
	color: #fff;
	font-weight: 600;
	font-size: 0.85em;
	padding: 0.2em 0.7em;
	border-radius: 999px;
}
