/* ==========================================================================
   MP Content Blocks — front-end + editor styles
   Self-contained colour tokens scoped to the block wrappers so the blocks render
   identically to the reference article template regardless of theme token naming.
   ========================================================================== */

.mp-toc,
.mp-key,
.mp-faq,
.mp-warn,
.mp-table-scroll,
.mp-feature,
.mp-product,
.mp-caveat,
.mp-quicklook,
.mp-method,
.mp-tier-modal,
.mp-lightbox,
.mp-pack,
.mp-kit-grid {
	--mp-berry: #8E2C4E;
	--mp-berry-hover: #7A2542;
	--mp-black: #000;
	--mp-ink: #1A1A1A;
	--mp-muted: #645A60;
	--mp-line: #F1E0E6;
	--mp-base: #EED4D9;
	--mp-base-wash: #FBF1F3;
	--mp-baby: #FBE1E8;
	--mp-sage: #8DA79B;
	--mp-sage-soft: #E7F0EB;
	--mp-sage-line: #CDE0D6;
	--mp-sage-ink: #3A5349;
	--mp-lav-mid: #C9BBE8;
	--mp-lav: #E6DFF4;
	--mp-lav-soft: #F4F0FB;
	--mp-ivory: #FCF8F5;
	--mp-berry-deep: #6E1F39;
	--mp-row-alt: #FDFBFA;
	--mp-blush: #F8D5DF;
	--mp-baby-w: rgba(251,225,232,.75);
	--mp-lavm-w: rgba(201,187,232,.35);
	--mp-r-lg: 28px;
	--mp-r: 16px;
	--mp-r-lg: 24px;
	--mp-white: #fff;
}

/* ==========================================================================
   Table of Contents (collapsible)
   ========================================================================== */
.mp-toc {
	background: var(--mp-white);
	border: 1px solid var(--mp-line);
	border-radius: 12px;
	padding: 14px 16px;
	margin: 0 0 24px;
}
.mp-toc[open] {
	padding-bottom: 16px;
}
.mp-toc-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	list-style: none;
	cursor: pointer;
	font-weight: 700;
	color: var(--mp-black);
}
.mp-toc-summary::-webkit-details-marker {
	display: none;
}
.mp-toc-label {
	font-weight: 700;
	font-size: 1.08rem;
}
.mp-toc-chev {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-right: 2px solid var(--mp-berry);
	border-bottom: 2px solid var(--mp-berry);
	transform: rotate(45deg);
	transition: transform .25s ease;
	margin-top: -4px;
}
.mp-toc[open] .mp-toc-chev {
	transform: rotate(-135deg);
	margin-top: 2px;
}
.mp-toc-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mp-toc-item {
	margin: 0;
	padding: 0;
}
.mp-toc-item::before {
	content: none;
}
.mp-toc-sub {
	padding-left: 16px;
}

/* ---- List style: Bullets ---- */
.mp-toc--bullets .mp-toc-item {
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.mp-toc--bullets .mp-toc-item::before {
	content: "";
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mp-berry);
	transform: translateY(-0.15em);
}
.mp-toc--bullets .mp-toc-sub {
	padding-left: 20px;
}

/* ---- List style: Numbers ---- */
.mp-toc--numbers .mp-toc-list {
	counter-reset: mp-toc;
}
.mp-toc--numbers .mp-toc-item {
	display: flex;
	align-items: baseline;
	gap: 8px;
	counter-increment: mp-toc;
}
.mp-toc--numbers .mp-toc-item::before {
	content: counter(mp-toc) ".";
	flex: 0 0 auto;
	min-width: 1.2em;
	color: var(--mp-berry);
	font-weight: 700;
	font-size: .98rem;
	line-height: 1.5;
}
.mp-toc--numbers .mp-toc-sub {
	padding-left: 20px;
}
.mp-toc-list a,
.mp-toc-link {
	color: var(--mp-ink);
	text-decoration: none;
	font-size: .98rem;
	line-height: 1.5;
	font-weight: 600;
	transition: color .15s ease;
}
.mp-toc-list a:hover,
.mp-toc-link:hover {
	color: var(--mp-berry);
}
.mp-toc-list a.is-active,
.mp-toc-link.is-active {
	color: var(--mp-berry);
}
/* editor: label placeholder reads as a link */
.mp-toc-item--editor .mp-toc-link {
	color: var(--mp-berry);
	cursor: text;
}

/* editor placeholder */
.mp-toc--editor {
	display: block;
}
.mp-toc--editor .mp-toc-label {
	display: block;
	margin-bottom: 6px;
}
.mp-toc-note {
	margin: 0;
	font-size: .84rem;
	color: var(--mp-muted);
	font-style: italic;
}

/* ==========================================================================
   Key Takeaways
   ========================================================================== */
.mp-key {
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line);
	border-left: 3px solid var(--mp-berry);
	border-radius: 16px;
	padding: 40px 24px 18px;
	margin: 0 0 30px;
}
.mp-key-title {
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--mp-black);
	margin: 0 0 40px !important;
	display: flex;
	align-items: center;
	gap: 10px;
	line-height: 1.3;
}
.mp-key-ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: var(--mp-berry);
	border-radius: 50%;
	color: #fff;
}
.mp-key-ico svg {
	display: block;
	width: 14px;
	height: 14px;
}
.mp-key-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
@media ( max-width: 781px ) {
	.mp-key {
		padding: 30px 24px 18px;
	}
	.mp-key-title {
		margin: 0 0 30px !important;
	}
}
.mp-key-list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 13px;
	line-height: 1.65;
	font-size: .92rem;
	color: var(--mp-ink);
}
.mp-key-list li:last-child {
	margin-bottom: 0;
}
/* bullet: baby-pink circle with a berry check inside */
.mp-key-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--mp-baby);
}
.mp-key-list li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 12px;
	width: 7px;
	height: 4px;
	border-left: 1.8px solid var(--mp-berry-deep);
	border-bottom: 1.8px solid var(--mp-berry-deep);
	transform: rotate(-45deg);
}
.mp-key-list li strong {
	color: var(--mp-black);
	font-weight: 700;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.mp-faq {
	margin: 24px 0;
}
.mp-faq-item {
	border: 1px solid var(--mp-line);
	border-radius: 12px;
	margin-bottom: 20px;
	overflow: hidden;
	background: var(--mp-white);
}
.mp-faq-item:last-child {
	margin-bottom: 0;
}
/* Question is an <h3> wrapping the button. Neutralise the theme's heading typography so it
   renders at the existing question size; the button below controls the actual appearance. */
.mp-faq-q-head {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: normal;
	color: var(--mp-black);
}
.mp-faq-q {
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 16px 18px;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	color: var(--mp-black);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: 14px;
	align-items: center;
	line-height: 1.4;
}
.mp-faq-q-text {
	flex: 1 1 auto;
}
.mp-faq-pm {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--mp-baby);
	color: var(--mp-berry);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	line-height: 1;
	transition: transform .25s ease, background .25s ease, color .25s ease;
}
.mp-faq-item.open .mp-faq-pm {
	transform: rotate(45deg);
	background: var(--mp-berry);
	color: var(--mp-white);
}
.mp-faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease;
}
.mp-faq-a p {
	padding: 0 18px 16px;
	margin: 0;
	color: var(--mp-muted);
	font-size: .95rem;
	line-height: 1.7;
}
.mp-faq-a p + p {
	padding-top: 10px;
}
.mp-faq-a a {
	color: var(--mp-berry);
}

/* ---- editor-only: FAQ answer always visible so it can be edited ---- */
.mp-faq-item--editor .mp-faq-a {
	max-height: none;
	overflow: visible;
}
.mp-faq-item--editor .mp-faq-q {
	cursor: text;
}

/* ==========================================================================
   Warning / Callout
   ========================================================================== */
.mp-warn {
	background: var(--mp-base-wash);
	border: 1px solid var(--mp-line);
	border-left: 4px solid var(--mp-berry);
	border-radius: 14px;
	padding: 20px 24px;
	margin: 24px 0;
}
.mp-warn-title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.3;
	color: var(--mp-black);
}
.mp-warn-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mp-warn-list li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 8px;
	line-height: 1.7;
	font-size: 1.02rem;
	color: var(--mp-ink);
}
.mp-warn-list li:last-child {
	margin-bottom: 0;
}
.mp-warn-list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 11px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mp-berry);
}
.mp-warn-list li strong {
	color: var(--mp-black);
	font-weight: 700;
}

/* ==========================================================================
   Scrollable Table  (wraps core/table; scrolls sideways on small screens)
   - Beats core's `.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}`.
   - Toggle OFF: natural column widths. Toggle ON: equal columns on a >=700px table.
     (fixed layout only engages when the table width is non-auto, hence the width.)
   - Rounded corners via border-collapse:separate + radius on the corner CELLS
     (radius+overflow on a wrapper does not reliably clip cell backgrounds).
   ========================================================================== */
.mp-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 0 30px;
	scrollbar-color: var(--mp-berry) transparent; /* Firefox */
}
/* keyboard focus stays visible for a11y; mouse clicks show no border */
.mp-table-scroll:focus:not(:focus-visible) {
	outline: none;
}
.mp-table-scroll:focus-visible {
	outline: 3px solid var(--mp-berry);
	outline-offset: 2px;
	border-radius: 6px;
}
.mp-table-scroll .wp-block-table {
	margin: 0;
	overflow: visible;   /* the wrapper scrolls, not the figure */
	max-width: none;
}
.mp-table-scroll .wp-block-table table {
	table-layout: auto !important;
	width: auto !important;
	min-width: 100%;
	max-width: none;
	border-collapse: separate !important;  /* collapse cannot round corners */
	border-spacing: 0;
	margin: 0;
	font-size: .98rem;
	border: 0;
}

/* "Fixed width table cells" ON -> equal columns. Fixed layout needs a concrete
   width; the minimum scales with the column count (160px per column, matching
   the natural-mode rhythm) so equal columns AND sideways scroll hold on mobile
   for any number of columns. */
.mp-table-scroll .wp-block-table table.has-fixed-layout {
	table-layout: fixed !important;
	width: 100% !important;
	min-width: 480px; /* 3 columns baseline */
}
.mp-table-scroll .wp-block-table table.has-fixed-layout:has(tr:first-child > :nth-child(4)) {
	min-width: 640px;
}
.mp-table-scroll .wp-block-table table.has-fixed-layout:has(tr:first-child > :nth-child(5)) {
	min-width: 800px;
}
.mp-table-scroll .wp-block-table table.has-fixed-layout:has(tr:first-child > :nth-child(6)) {
	min-width: 960px;
}
.mp-table-scroll .wp-block-table table.has-fixed-layout:has(tr:first-child > :nth-child(7)) {
	min-width: 1120px;
}
.mp-table-scroll .wp-block-table table.has-fixed-layout:has(tr:first-child > :nth-child(8)) {
	min-width: 1280px;
}
.mp-table-scroll .wp-block-table table.has-fixed-layout th,
.mp-table-scroll .wp-block-table table.has-fixed-layout td {
	min-width: 0;   /* equal division decides widths in fixed mode */
}
/* Cells: single borders under border-collapse:separate = right+bottom on every
   cell, plus top on the first row and left on the first column. */
.mp-table-scroll .wp-block-table th,
.mp-table-scroll .wp-block-table td {
	border: 0;
	border-right: 1px solid var(--mp-line);
	border-bottom: 1px solid var(--mp-line);
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
	line-height: 1.6;
	color: var(--mp-ink);
	min-width: 160px;
	white-space: normal;
	word-break: normal;
	overflow-wrap: break-word;
	background-clip: padding-box;
}
.mp-table-scroll .wp-block-table tr:first-child th,
.mp-table-scroll .wp-block-table tr:first-child td {
	border-top: 1px solid var(--mp-line);
}
.mp-table-scroll .wp-block-table th:first-child,
.mp-table-scroll .wp-block-table td:first-child {
	border-left: 1px solid var(--mp-line);
}
/* Rounded corners on the four corner cells (works with or without a header row) */
.mp-table-scroll .wp-block-table tr:first-child th:first-child,
.mp-table-scroll .wp-block-table tr:first-child td:first-child {
	border-top-left-radius: 12px;
}
.mp-table-scroll .wp-block-table tr:first-child th:last-child,
.mp-table-scroll .wp-block-table tr:first-child td:last-child {
	border-top-right-radius: 12px;
}
.mp-table-scroll .wp-block-table tr:last-child th:first-child,
.mp-table-scroll .wp-block-table tr:last-child td:first-child {
	border-bottom-left-radius: 12px;
}
.mp-table-scroll .wp-block-table tr:last-child th:last-child,
.mp-table-scroll .wp-block-table tr:last-child td:last-child {
	border-bottom-right-radius: 12px;
}
.mp-table-scroll .wp-block-table thead {
	border-bottom: 0;
}
.mp-table-scroll .wp-block-table thead th {
	background: var(--mp-ivory);
	color: var(--mp-berry-deep);
	font-weight: 800;
}
/* tables without a header section: the first row acts as the header */
.mp-table-scroll .wp-block-table table:not(:has(thead)) tr:first-child th,
.mp-table-scroll .wp-block-table table:not(:has(thead)) tr:first-child td {
	background: var(--mp-ivory);
}
.mp-table-scroll .wp-block-table table:not(:has(thead)) tr:first-child td strong {
	color: var(--mp-berry-deep);
}
.mp-table-scroll .wp-block-table tbody tr:nth-child(even) {
	background: var(--mp-row-alt);
}
.mp-table-scroll .wp-block-table td strong {
	color: var(--mp-black);
	font-weight: 700;
}
/* slim berry scrollbar */
.mp-table-scroll::-webkit-scrollbar {
	height: 8px;
}
.mp-table-scroll::-webkit-scrollbar-thumb {
	background: var(--mp-berry);
	border-radius: 8px;
}
.mp-table-scroll::-webkit-scrollbar-track {
	background: transparent;
}

/* ==========================================================================
   Anti-leak hardening (pages)
   Page-scoped Site Code snippets style bare tags (.mp-page li, p, ul ...) and
   outrank single-class block internals via specificity + load order. These
   double-class rules re-assert the blocks' own spacing and markers so page
   CSS cannot leak padding/margins/bullets into block internals.
   ========================================================================== */
.mp-toc .mp-toc-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
.mp-toc .mp-toc-item {
	margin: 0;
	padding: 0;
}
.mp-toc .mp-toc-item::before {
	content: none;
}
.mp-toc.mp-toc--bullets .mp-toc-item::before {
	content: "";
}
.mp-toc.mp-toc--numbers .mp-toc-item::before {
	content: counter(mp-toc) ".";
}
.mp-toc .mp-toc-sub {
	padding-left: 16px;
}
.mp-toc.mp-toc--bullets .mp-toc-sub,
.mp-toc.mp-toc--numbers .mp-toc-sub {
	padding-left: 20px;
}
.mp-toc .mp-toc-summary {
	margin: 0;
	padding: 0;
}

.mp-faq .mp-faq-item {
	margin: 0 0 20px;
	padding: 0;
}
.mp-faq .mp-faq-item:last-child {
	margin-bottom: 0;
}
.mp-faq .mp-faq-q-head {
	margin: 0;
	padding: 0;
}
.mp-faq .mp-faq-q {
	margin: 0;
	padding: 16px 18px;
}
.mp-faq .mp-faq-a {
	margin: 0;
	padding: 0;
}
.mp-faq .mp-faq-a p {
	margin: 0;
	padding: 0 18px 16px;
}
.mp-faq .mp-faq-a p + p {
	padding-top: 10px;
}
.mp-faq .mp-faq-a p::before {
	content: none;
}
/* questions render at uniform weight even if bold was applied/pasted in the editor */
.mp-faq .mp-faq-q-text strong,
.mp-faq .mp-faq-q-text b {
	font-weight: inherit;
}


.mp-key .mp-key-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.mp-key .mp-key-list li {
	margin: 0 0 13px;
	padding: 0 0 0 26px;
}
.mp-warn.mp-warn {
	margin: 24px 0;
	padding: 20px 24px;
}
.mp-warn .mp-warn-title {
	margin: 0 0 8px;
	padding: 0;
}
.mp-warn .mp-warn-title::before {
	content: none;
}
.mp-warn .mp-warn-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.mp-warn .mp-warn-list li {
	margin: 0 0 8px;
	padding: 0 0 0 24px;
}
.mp-warn .mp-warn-list li:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Doctors' Choice featured product (mp/feature) + shared affiliate pieces
   Fonts inherit from the theme; colours from the --mp-* tokens above.
   ========================================================================== */
.mp-feature {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-r-lg);
	padding: 28px 26px;
	margin: 0 0 30px;
	background:
		radial-gradient(420px 220px at 92% -30px, var(--mp-baby-w), transparent 70%),
		radial-gradient(360px 220px at -6% 105%, var(--mp-lavm-w), transparent 70%),
		var(--mp-ivory);
}
.mp-feature-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
	background: var(--mp-berry);
	padding: 7px 14px;
	border-radius: 100px;
	margin-bottom: 18px;
}
.mp-feature-badge-ico,
.mp-shop-ico {
	display: inline-flex;
	flex: 0 0 auto;
}
.mp-feature-badge-ico svg { width: 12px; height: 12px; }
.mp-feature-grid {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
}
.mp-feature .mp-prodimg { background: #fff; }
.mp-prodimg {
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line);
	border-radius: 14px;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mp-prodimg img {
	max-height: 320px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	border-radius: 8px;
	mix-blend-mode: multiply;
}
.mp-feature-body h2,
.mp-feature-body h3 {
	font-size: 1.45rem;
	margin: 0 0 10px;
	line-height: 1.3;
	letter-spacing: -.02em;
	font-weight: 800;
}
.mp-feature-body h2 a,
.mp-feature-body h3 a {
	color: var(--mp-black);
	text-decoration: none;
	transition: color .18s;
	font-weight: inherit !important;
}
.mp-feature-body h2 a:hover,
.mp-feature-body h3 a:hover { color: var(--mp-berry); }
.mp-price {
	font-size: .92rem;
	color: var(--mp-muted, #77686F);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.mp-feature-body .mp-price { margin-bottom: 14px; }
.mp-tier {
	display: inline-flex;
	align-items: center;
	font-size: .88rem;
	font-weight: 800;
	letter-spacing: .12em;
	color: var(--mp-berry-deep);
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line);
	border-radius: 8px;
	padding: 3px 10px;
	line-height: 1.4;
}
.mp-feature .mp-tier { background: #fff; }
.mp-feature-why {
	font-size: 1rem;
	color: var(--mp-muted, #77686F);
	line-height: 1.65;
	margin: 0 0 18px;
}
.mp-feature-why strong {
	display: block;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--mp-berry-deep);
	margin-bottom: 6px;
}
.mp-feature-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.mp-shop {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 11px 22px;
	border-radius: 100px;
	background: var(--mp-berry);
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 8px 20px rgba(142,44,78,.22);
	transition: background .18s, transform .18s;
}
.mp-shop:hover {
	background: var(--mp-berry-hover);
	transform: translateY(-2px);
	color: #fff;
}
.mp-shop-ico svg { width: 12px; height: 12px; }
.mp-feature-review {
	font-size: .94rem;
	font-weight: 700;
	color: var(--mp-berry);
	text-decoration: none;
	transition: color .18s;
	cursor: pointer;
}
.mp-feature-review:hover { color: var(--mp-berry-hover); }
@media ( max-width: 640px ) {
	.mp-feature { padding: 22px 18px; }
	.mp-feature-grid { grid-template-columns: 1fr; }
	.mp-feature .mp-prodimg img { max-height: 240px; }
}

/* ---- product image lightbox ---- */
.mp-prodimg img.mp-zoomable { cursor: zoom-in; }
.mp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(35,28,32,.82);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4vh 4vw;
	cursor: zoom-out;
}
.mp-lightbox img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 12px;
	background: #fff;
	padding: 12px;
	box-shadow: 0 24px 70px rgba(0,0,0,.4);
}
.mp-lightbox-close {
	position: absolute;
	top: 16px;
	right: 18px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: rgba(255,255,255,.14);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transition: background .18s;
}
.mp-lightbox-close:hover { background: rgba(255,255,255,.3); }
@media ( prefers-reduced-motion: no-preference ) {
	.mp-lightbox { animation: mp-lb-fade .18s ease; }
	@keyframes mp-lb-fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ==========================================================================
   Product Review (mp/product) + shared pros/cons + buy pills
   ========================================================================== */
.mp-product {
	background: #fff;
	border: 1px solid var(--mp-line);
	border-radius: var(--mp-r-lg);
	padding: 26px 24px;
	margin: 0 0 28px;
}
.mp-prod-award {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mp-berry);
	margin-bottom: 10px;
	scroll-margin-top: 84px;
}
.mp-prod-award::before {
	content: "";
	width: 20px;
	height: 2px;
	background: var(--mp-berry);
}
.mp-product > h2,
.mp-product > h3 {
	font-size: 1.45rem;
	margin: 0 0 16px;
	line-height: 1.3;
	letter-spacing: -.02em;
	font-weight: 800;
}
.mp-product > h2 a,
.mp-product > h3 a {
	color: var(--mp-black);
	text-decoration: none;
	transition: color .18s;
	font-weight: inherit !important;
}
.mp-product > h2 a:hover,
.mp-product > h3 a:hover { color: var(--mp-berry); }
.mp-product .mp-prodimg {
	margin: 0 0 16px;
	background: transparent;
	border: 0;
	padding: 0;
}
.mp-prod-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 0 18px;
}
.mp-prod-shops {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.mp-buy {
	display: inline-block;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .02em;
	padding: 6px 13px;
	border-radius: 100px;
	background: var(--mp-berry);
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	margin: 2px 4px 2px 0;
	transition: background .18s, border-color .18s;
}
.mp-buy:hover { background: var(--mp-berry-hover); color: #fff; }
.mp-buy--alt {
	background: #fff;
	color: var(--mp-berry);
	border: 1.5px solid var(--mp-blush);
}
.mp-buy--alt:hover {
	border-color: var(--mp-berry);
	background: var(--mp-ivory);
	color: var(--mp-berry);
}
.mp-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 0 0 20px;
}
.mp-pc-col {
	border-radius: 14px;
	padding: 16px 18px;
}
.mp-pc-col .t {
	display: block;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.mp-pc-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mp-pc-col li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 8px;
	line-height: 1.6;
	font-size: .98rem;
}
.mp-pc-col li:last-child { margin-bottom: 0; }
.mp-pros {
	background: var(--mp-sage-soft);
	border: 1px solid var(--mp-sage-line);
}
.mp-pros .t { color: var(--mp-sage-ink); }
.mp-pros li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #fff;
}
.mp-pros li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 10px;
	width: 7px;
	height: 4px;
	border-left: 1.8px solid var(--mp-sage-ink);
	border-bottom: 1.8px solid var(--mp-sage-ink);
	transform: rotate(-45deg);
}
.mp-cons {
	background: var(--mp-base-wash);
	border: 1px solid var(--mp-line);
}
.mp-cons .t { color: var(--mp-berry-deep); }
.mp-cons li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #fff;
}
.mp-cons li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 11.5px;
	width: 7px;
	height: 2px;
	background: var(--mp-berry);
	border-radius: 2px;
}
.mp-prod-desc p {
	margin: 0 0 14px;
	/* font-size/line-height inherit from the theme (article prose) */
}
.mp-prod-desc p:last-child { margin-bottom: 0; }
.mp-prod-desc a {
	color: var(--mp-berry);
	text-decoration: none;
	transition: color .18s;
}
.mp-prod-desc a:hover { color: var(--mp-berry-hover); }
@media ( max-width: 640px ) {
	.mp-pros-cons { grid-template-columns: 1fr; }
}
@media ( max-width: 560px ) {
	.mp-product { padding: 20px 16px; }
	.mp-prod-meta .mp-shop { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Comparison variant (mp-cmp): shop pills in the last column + tier modal
   ========================================================================== */
/* pills are class-driven (a BOLDED link becomes a pill via the render filter;
   first bold link in a cell solid, the rest outlined). Non-pill links in the
   comparison table are bold berry text links. */
.mp-table-scroll.mp-cmp td a:not(.mp-buy) {
	font-weight: 700;
	color: var(--mp-berry);
	text-decoration: none;
	transition: color .18s;
}
.mp-table-scroll.mp-cmp td a:not(.mp-buy):hover {
	color: var(--mp-berry-hover);
}
/* room for pill clusters wherever they sit */
.mp-table-scroll.mp-cmp td .mp-buy {
	margin-top: 2px;
	margin-bottom: 2px;
}

/* tier chips are clickable everywhere */
.mp-tier {
	cursor: pointer;
	transition: border-color .18s, box-shadow .18s;
}
.mp-tier:hover {
	border-color: var(--mp-berry);
}

/* tier modal */
.mp-tier-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(35,28,32,.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5vh 5vw;
}
.mp-tier-card {
	position: relative;
	background: #fff;
	border-radius: 18px;
	padding: 24px 26px;
	max-width: 320px;
	width: 100%;
	box-shadow: 0 24px 70px rgba(0,0,0,.3);
}
.mp-tier-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	background: none;
	color: var(--mp-berry);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color .18s;
}
.mp-tier-close:hover {
	color: var(--mp-berry-hover);
}
.mp-tier-card-title {
	margin: 0 0 14px;
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--mp-black, #000);
}
.mp-tier-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 10px;
	border-radius: 10px;
	font-size: .95rem;
}
.mp-tier-row .mp-tier {
	cursor: default;
	min-width: 58px;
	justify-content: center;
}
.mp-tier-row.is-active {
	background: #FBF1F3;
}
@media ( prefers-reduced-motion: no-preference ) {
	.mp-tier-modal { animation: mp-lb-fade .18s ease; }
}

/* ==========================================================================
   Highlight (mp/highlight) — lavender notes box
   ========================================================================== */
.mp-caveat {
	background: var(--mp-lav-soft);
	border: 1px solid var(--mp-lav);
	border-radius: 18px;
	padding: 20px 22px;
	margin: 0 0 26px;
}
.mp-caveat-title {
	font-size: .98rem;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.3;
	color: var(--mp-black);
	margin: 0 0 10px;
	padding: 0;
}
.mp-caveat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mp-caveat-list li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 9px;
	line-height: 1.7;
	color: var(--mp-ink);
}
.mp-caveat-list li:last-child { margin-bottom: 0; }
.mp-caveat-list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 11px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mp-lav-mid);
}
.mp-caveat-list li strong { color: var(--mp-black); font-weight: 700; }
.mp-caveat a {
	color: var(--mp-berry);
	text-decoration: none;
	transition: color .18s;
}
.mp-caveat a:hover { color: var(--mp-berry-hover); }

/* anti-leak hardening (pages) */
.mp-caveat .mp-caveat-title { margin: 0 0 10px; padding: 0; }
.mp-caveat .mp-caveat-title::before { content: none; }
.mp-caveat .mp-caveat-list { margin: 0; padding: 0; list-style: none; }
.mp-caveat .mp-caveat-list li { margin: 0 0 9px; padding: 0 0 0 24px; }
.mp-caveat .mp-caveat-list li:last-child { margin-bottom: 0; }

/* ==========================================================================
   Quick Look (mp/quicklook) — numbered jump list of the picks
   Numbers come from a CSS counter, so they stay correct for any item count
   and after any reorder/delete.
   ========================================================================== */
.mp-quicklook {
	background: #fff;
	border: 1px solid var(--mp-line);
	border-radius: 18px;
	padding: 8px;
	margin: 0 0 26px;
	counter-reset: mp-ql;
}
.mp-quicklook-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mp-quicklook-list > li {
	border-top: 1px solid var(--mp-line);
}
.mp-quicklook-list > li:first-child {
	border-top: 0;
}
.mp-ql-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border-radius: 12px;
	text-decoration: none;
	transition: background .18s;
	counter-increment: mp-ql;
}
.mp-ql-row:hover {
	background: var(--mp-ivory);
}
.mp-ql-num {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line);
	color: var(--mp-berry-deep);
	font-size: .78rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mp-ql-num::before {
	content: counter(mp-ql);
}
.mp-ql-txt {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.mp-ql-award {
	font-size: .64rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--mp-berry-deep);
	line-height: 1.4;
}
.mp-ql-name {
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--mp-black);
	line-height: 1.35;
	transition: color .18s;
}
.mp-ql-row:hover .mp-ql-name {
	color: var(--mp-berry);
}
.mp-ql-arrow {
	flex: 0 0 auto;
	display: inline-flex;
	color: var(--mp-berry);
	transition: transform .18s;
}
.mp-ql-row:hover .mp-ql-arrow {
	transform: translateX(3px);
}

/* editor: rows are divs inside block wrappers; same look */
.mp-quicklook--editor .mp-ql-row--editor {
	cursor: default;
}

/* anti-leak hardening (pages) */
.mp-quicklook .mp-quicklook-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mp-quicklook .mp-quicklook-list > li {
	margin: 0;
	padding: 0;
}
.mp-quicklook .mp-quicklook-list > li::before {
	content: none;
}

/* ==========================================================================
   How We Choose (mp/method) — methodology / trust box (sage accent)
   ========================================================================== */
.mp-method {
	background: #fff;
	border: 1px solid var(--mp-sage-line);
	border-left: 3px solid var(--mp-sage);
	border-radius: 18px;
	padding: 20px 22px;
	margin: 0 0 26px;
}
.mp-method-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.mp-method-ico {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--mp-sage-soft);
	color: var(--mp-sage-ink);
	display: flex;
	align-items: center;
	justify-content: center;
}
.mp-method-ico svg { width: 14px; height: 14px; }
.mp-method-label {
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--mp-sage-ink);
}
.mp-method-intro {
	line-height: 1.7;
	color: var(--mp-ink);
	margin: 0 0 12px;
}
.mp-method-list {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}
.mp-method-list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 8px;
	line-height: 1.6;
	font-size: .98rem;
}
.mp-method-list li:last-child { margin-bottom: 0; }
.mp-method-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--mp-sage-soft);
}
.mp-method-list li::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 10px;
	width: 7px;
	height: 4px;
	border-left: 1.8px solid var(--mp-sage-ink);
	border-bottom: 1.8px solid var(--mp-sage-ink);
	transform: rotate(-45deg);
}
.mp-method-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: .94rem;
	font-weight: 700;
	color: var(--mp-berry);
	text-decoration: none;
	transition: color .18s;
	cursor: pointer;
}
.mp-method-link:hover { color: var(--mp-berry-hover); }
.mp-method-arrow {
	display: inline-flex;
}
.mp-method-arrow svg {
	width: 13px;
	height: 13px;
	transition: transform .18s;
}
.mp-method-link:hover .mp-method-arrow svg { transform: translateX(3px); }

/* anti-leak hardening (pages) */
.mp-method .mp-method-intro { margin: 0 0 12px; padding: 0; }
.mp-method .mp-method-list { margin: 0 0 14px; padding: 0; list-style: none; }
.mp-method .mp-method-list li { margin: 0 0 8px; padding: 0 0 0 26px; }
.mp-method .mp-method-list li:last-child { margin-bottom: 0; }
.mp-method .mp-method-label::before { content: none; }

/* ==========================================================================
   Pack (mp/pack) — numbered checklist group
   ========================================================================== */
.mp-pack {
	border: 1px solid var(--mp-line);
	border-radius: 18px;
	padding: 20px 22px;
	margin: 0 0 16px;
	background: #fff;
}
.mp-pack-title {
	font-size: 1.02rem;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.3;
	color: var(--mp-black);
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.mp-pack-num {
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
	border-radius: 9px;
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line);
	color: var(--mp-berry-deep);
	font-size: .74rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mp-pack-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.mp-pack-list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 9px;
	line-height: 1.7;
	font-size: .98rem;
	color: var(--mp-ink);
}
.mp-pack-list li:last-child { margin-bottom: 0; }
.mp-pack-list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 11px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mp-berry);
}
.mp-pack-list li strong { color: var(--mp-black); font-weight: 700; }
.mp-pack a {
	color: var(--mp-berry);
	text-decoration: none;
	transition: color .18s;
}
.mp-pack a:hover { color: var(--mp-berry-hover); }

/* anti-leak hardening (pages) */
.mp-pack .mp-pack-title { margin: 0 0 10px; padding: 0; }
.mp-pack .mp-pack-title::before { content: none; }
.mp-pack .mp-pack-list { margin: 0; padding: 0; list-style: none; }
.mp-pack .mp-pack-list li { margin: 0 0 9px; padding: 0 0 0 26px; }
.mp-pack .mp-pack-list li:last-child { margin-bottom: 0; }

/* ==========================================================================
   Kit Cards (mp/kit-grid + mp/kit-card)
   ========================================================================== */
.mp-kit-grid {
	display: grid;
	gap: 14px;
	margin: 0 0 24px;
}
@media ( min-width: 640px ) {
	.mp-kit-grid { grid-template-columns: 1fr 1fr; }
}
.mp-kit-card {
	border: 1px solid var(--mp-line);
	border-radius: 18px;
	padding: 22px 20px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform .2s, box-shadow .2s;
}
.mp-kit-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 40px rgba(0,0,0,.09);
}
.mp-kit-src {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--mp-berry-deep);
	align-self: flex-start;
	background: var(--mp-ivory);
	border: 1px solid var(--mp-line);
	padding: 4px 10px;
	border-radius: 100px;
}
.mp-kit-name {
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.3;
	color: var(--mp-black);
	margin: 0;
	padding: 0;
}
.mp-kit-name a {
	color: var(--mp-black);
	text-decoration: none;
	transition: color .18s;
	font-weight: inherit !important;
}
.mp-kit-name a:hover { color: var(--mp-berry); }
.mp-kit-desc {
	font-size: .92rem;
	color: var(--mp-muted, #77686F);
	margin: 0;
	line-height: 1.6;
	flex: 1;
}
/* kit-card button: larger than the compact table pills */
.mp-kit-card .mp-buy {
	align-self: flex-start;
	margin: 0;
	font-size: .82rem;
	padding: 8px 16px;
}
.mp-kit-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 2px;
}
/* mobile: comfier card padding; button keeps its natural width */
@media ( max-width: 480px ) {
	.mp-kit-card {
		padding: 18px 16px;
	}
}

/* editor: inner blocks layout mirrors the grid */
.mp-kit-grid--editor > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: grid;
	gap: 14px;
}
@media ( min-width: 640px ) {
	.mp-kit-grid--editor > .block-editor-inner-blocks > .block-editor-block-list__layout {
		grid-template-columns: 1fr 1fr;
	}
}

/* anti-leak hardening (pages) */
.mp-kit-card .mp-kit-name { margin: 0; padding: 0; }
.mp-kit-card .mp-kit-name::before { content: none; }
.mp-kit-card .mp-kit-desc { margin: 0; padding: 0; }
