/*
 * MEC Timing product / converted-page fixes (dTris, MEASURES and any page built from .mec-section blocks).
 *
 * 1. WooCommerce "Add to Cart" buttons: .mec-page a (orange-ink text) and WordPress' global button rule
 *    (background = Frost "primary") gave orange-ink text on an orange-ink background, so the label was
 *    invisible. They now match the .mec-btn--primary look: brand orange, night text.
 * 2. Page title: the content already opens with an eyebrow and an H2 carrying the page name, so the
 *    post title above it duplicated it in small type. It stays in the DOM, visually hidden, so the page
 *    keeps its H1 for screen readers and search engines.
 */
.mec-page .add_to_cart_inline {
	margin: 0 0 12px;
}
.mec-page .add_to_cart_inline a.button,
.mec-page .add_to_cart_inline a.wp-element-button {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: var(--mec-radius-lg, 8px);
	background-color: var(--mec-orange, #F36C42);
	color: var(--mec-night, #2B2827);
	font: 700 16px/1.2 var(--mec-font-sans, Aller, Lato, Arial, sans-serif);
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.mec-page .add_to_cart_inline a.button:hover,
.mec-page .add_to_cart_inline a.wp-element-button:hover {
	background-color: var(--mec-orange-hover, #F57F59);
	color: var(--mec-night, #2B2827);
}

article:has(.mec-section) > .entry-header {
	margin: 0;
	padding: 0;
}
article:has(.mec-section) > .entry-header .wp-block-post-title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
article:has(.mec-section) .entry-content.wp-block-post-content {
	margin-block-start: 0 !important;
}

/* Pricing cards: [mec_pricing product="180"] (dTris 180, MEASURES 208). */
.mec-page .mec-pricing {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--mec-space-5, 20px);
	max-width: 780px;
}
.mec-page .mec-pricing__option {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--mec-space-7, 28px);
	background: var(--mec-surface-raised, #FFFFFF);
	border: 1px solid var(--mec-border, #DAD7D0);
	border-radius: var(--mec-radius-2xl, 12px);
}
.mec-page .mec-pricing__option > * {
	margin: 0;
}
.mec-page .mec-pricing__term {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mec-ink-muted, #6E6866);
}
.mec-page .mec-pricing__price {
	font-family: var(--mec-font-display, "ADAM.CG PRO", Montserrat, Arial, sans-serif);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--mec-ink, #474342);
}
.mec-page .mec-pricing a.mec-pricing__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: auto;
	padding: 0 24px;
	border-radius: var(--mec-radius-lg, 8px);
	background-color: var(--mec-orange, #F36C42);
	color: var(--mec-night, #2B2827);
	font: 700 16px/1.2 var(--mec-font-sans, Aller, Lato, Arial, sans-serif);
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
.mec-page .mec-pricing a.mec-pricing__button:hover {
	background-color: var(--mec-orange-hover, #F57F59);
	color: var(--mec-night, #2B2827);
}
