/**
 * Tegral Product Price Display Styles
 */

/* GST Inclusive Price Styling - Same font size as main price, different color */
.tegral-gst-price-inline {
	color: #666 !important;
	font-size: inherit !important;
	margin-left: 10px !important;
	font-weight: inherit !important;
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
	vertical-align: baseline !important;
}

/* Ensure GST price is always visible when variation is selected */
body.tegral-variation-selected .tegral-gst-price-inline,
.woocommerce-variation-price .tegral-gst-price-inline {
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.tegral-gst-price-inline small {
	font-size: 0.85em !important;
	color: #888 !important;
	font-weight: normal !important;
}

/* Hide price ranges ONLY when variation is selected */
/* By default, price ranges are VISIBLE - only hide when body.tegral-variation-selected is present */

/* Hide ALL B2BKing price ranges when variation is selected - AGGRESSIVE */
body.tegral-variation-selected .b2bking_tiered_range_replaced,
body.tegral-variation-selected [class*="b2bking_tiered_price_range_replaced"],
body.tegral-variation-selected [class*="b2bking_tiered_range_replaced"],
body.tegral-variation-selected div.b2bking_tiered_range_replaced,
body.tegral-variation-selected div[class*="b2bking_tiered_price_range_replaced"] {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

/* Hide price elements with tegral-hide-range class when variation is selected */
body.tegral-variation-selected .tegral-hide-range {
	display: none !important;
}

/* Hide struck-through prices when variation is selected */
body.tegral-variation-selected .woocommerce-variation-price del,
body.tegral-variation-selected .woocommerce-variation-price .price del {
	display: none !important;
}

/* Ensure variation price is always visible */
.woocommerce-variation-price {
	display: block !important;
}

/* Ensure price elements display inline for proper alignment */
.woocommerce-variation-price .price,
.woocommerce-variation-price span.price {
	display: inline !important;
	white-space: nowrap !important;
}

/* Ensure price amounts are inline */
.woocommerce-variation-price .woocommerce-Price-amount {
	display: inline !important;
}

/* Hide the old GST price display if it exists */
.product .summary .gst-price,
.product .summary p.gst-price,
#var-price,
#pallet-price {
	display: none !important;
}

