/**
 * RHT PEWC Price Hide — Frontend styles
 */

/* Hide the real PEWC price element while locked. Using !important to
   beat any inline styles PEWC may set during its recalc cycles. */
p.price.pewc-main-price.rht-pewc-ph-hide-real,
p.price.rht-pewc-ph-hide-real {
	display: none !important;
}

/* The injected placeholder price element */
.rht-pewc-ph-placeholder-wrap {
	font-size: 0.95em;
	font-weight: 500;
	color: #666;
	font-style: italic;
	letter-spacing: 0.1px;
	margin: 0 0 1em;
}

/* Hide the PEWC Product total / Options total / Grand total block while locked */
.pewc-total-field-wrapper.rht-pewc-ph-hidden-totals {
	display: none !important;
}

/* Hide the real Add to Basket + quantity while locked */
.single_add_to_cart_button.rht-pewc-ph-hidden-btn,
.quantity.rht-pewc-ph-hidden-qty {
	display: none !important;
}

/* CTA sticky bar integration — when the lock is active, hide the bar's
   price + Add to Basket button. The bar can stay visible (product title
   + thumb) but the action area is neutralised so customers are prompted
   to scroll up and make a selection. Same behaviour when POA is active. */
body.rht-pewc-ph-locked #rmcta-cta .rmcta-price,
body.rht-pewc-ph-locked #rmcta-cta #rmcta-price,
body.rht-pewc-ph-locked #rmcta-cta .rmcta-btn,
body.rht-pewc-ph-locked #rmcta-cta #rmcta-add-btn,
body.rht-pewc-ph-locked #rmcta-cta .rmcta-qty-wrap,
body.rht-pewc-ph-poa #rmcta-cta .rmcta-price,
body.rht-pewc-ph-poa #rmcta-cta #rmcta-price,
body.rht-pewc-ph-poa #rmcta-cta .rmcta-btn,
body.rht-pewc-ph-poa #rmcta-cta #rmcta-add-btn,
body.rht-pewc-ph-poa #rmcta-cta .rmcta-qty-wrap {
	display: none !important;
}

body.rht-pewc-ph-locked #rmcta-cta .rmcta-actions::after {
	content: "Make selection to display price";
	display: inline-block;
	font-size: 14px;
	font-style: italic;
	color: #666;
	padding: 8px 14px;
}
