/* GH Member Pricing UX v1.1 — additive presentation only. */
.gh-price--member {
	align-items: baseline;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px 7px;
}

.gh-price--member .gh-price__regular {
	color: var(--gh-color-muted, #6b7280);
	font-weight: 500;
	text-decoration-thickness: 1px;
}

.gh-price--member .gh-price__current {
	color: var(--gh-color-primary-dark, var(--gh-w004-v2-primary-dark, #0e8f8c));
	font-style: normal;
	font-weight: 700;
	text-decoration: none;
}

.gh-member-price-badge {
	background: #edf8f7;
	background: color-mix(in srgb, var(--gh-color-primary, #23bcad) 14%, white);
	border: 1px solid #8acbc5;
	border: 1px solid color-mix(in srgb, var(--gh-color-primary-dark, #0e8f8c) 42%, white);
	border-radius: 4px;
	color: var(--gh-color-primary-dark, #0e8f8c);
	display: inline-flex;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .045em;
	line-height: 1.15;
	padding: 3px 5px;
	text-transform: uppercase;
	vertical-align: middle;
}

.gh-price__member-label,
.gh-price__saving {
	display: none;
}

/* Expanded product pricing retains a compact hierarchy, not a new card. */
body.single-product .summary .price .gh-price--member,
body.single-product .elementor-widget-woocommerce-product-price .gh-price--member {
	align-items: flex-start;
	flex-direction: column;
	gap: 4px;
}

body.single-product .summary .price .gh-price--member .gh-member-price-badge,
body.single-product .elementor-widget-woocommerce-product-price .gh-price--member .gh-member-price-badge {
	display: none;
}

body.single-product .summary .price .gh-price--member .gh-price__member-label,
body.single-product .elementor-widget-woocommerce-product-price .gh-price--member .gh-price__member-label {
	color: var(--gh-color-primary-dark, var(--gh-w004-v2-primary-dark, #0e8f8c));
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	order: 2;
}

body.single-product .summary .price .gh-price--member .gh-price__current,
body.single-product .elementor-widget-woocommerce-product-price .gh-price--member .gh-price__current {
	font-size: 1.08em;
	order: 3;
}

body.single-product .summary .price .gh-price--member .gh-price__saving,
body.single-product .elementor-widget-woocommerce-product-price .gh-price--member .gh-price__saving {
	color: var(--gh-color-muted, var(--gh-w004-v2-muted, #6b7280));
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	order: 4;
}

/* Cart and checkout keep context subordinate to the real WooCommerce price. */
.woocommerce-cart-form .gh-price--cart,
.woocommerce-checkout-review-order .gh-price--cart {
	gap: 3px 6px;
}

.woocommerce-cart-form .gh-price--cart .gh-member-price-badge,
.woocommerce-checkout-review-order .gh-price--cart .gh-member-price-badge {
	display: none;
}

.woocommerce-cart-form .gh-price--cart .gh-price__member-label,
.woocommerce-checkout-review-order .gh-price--cart .gh-price__member-label {
	color: var(--gh-color-muted, #6b7280);
	display: inline;
	font-size: 12px;
	font-weight: 600;
}

.woocommerce-cart-form .gh-price--cart .gh-price__member-label::after,
.woocommerce-checkout-review-order .gh-price--cart .gh-price__member-label::after {
	content: " · ";
}

.woocommerce-cart-form .gh-price--cart .gh-price__saving,
.woocommerce-checkout-review-order .gh-price--cart .gh-price__saving {
	color: var(--gh-color-muted, #6b7280);
	display: inline;
	font-size: 12px;
	font-weight: 500;
}

.gh-member-price-badge--mini {
	font-size: 9px;
	margin-left: 4px;
	padding: 2px 4px;
}

@media (max-width: 390px) {
	.gh-price--member { gap: 3px 5px; }
	.gh-member-price-badge { padding: 2px 4px; }
}
