/* Membership pricing — equal-height cards, responsive layout */
.em-mp {
	--em-mp-ink: #1f2937;
	--em-mp-muted: #6b7280;
	--em-mp-line: #e5e7eb;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 0.5rem;
	box-sizing: border-box;
	color: var(--em-mp-ink);
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	text-decoration: none;
}
.em-mp *,
.em-mp *::before,
.em-mp *::after {
	box-sizing: border-box;
	text-decoration: none !important;
}

.em-mp__hero {
	text-align: center;
	margin: 0 0 1.75rem;
}
.em-mp__logo {
	display: block;
	max-height: 56px;
	width: auto;
	margin: 0 auto 1rem;
}
.em-mp__headline {
	margin: 0 0 0.45rem;
	font-family: "Poppins", system-ui, -apple-system, sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.25;
	color: #ca1c1c;
	letter-spacing: -0.02em;
}
@media (max-width: 1024px) {
	.em-mp__headline {
		font-size: 32px;
	}
}
@media (max-width: 768px) {
	.em-mp__headline {
		font-size: 26px;
		line-height: 1.3;
	}
}
@media (max-width: 480px) {
	.em-mp__headline {
		font-size: 24px;
	}
}
.em-mp__sub {
	margin: 0 0 0.85rem;
	color: var(--em-mp-muted);
	font-size: 1rem;
}
.em-mp__highlights {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.25rem;
	color: #047857;
	font-size: 0.9rem;
	font-weight: 600;
}
.em-mp__highlights span { margin-right: 0.25rem; }

.em-mp__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
	width: 100%;
}
.em-mp__card {
	--em-plan: #16a34a;
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--em-mp-line);
	border-radius: 16px;
	padding: 1.15rem 1.1rem 1.1rem;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	position: relative;
	text-align: center;
}
.em-mp__card.is-featured {
	border-color: var(--em-plan);
	border-width: 2px;
	box-shadow: 0 12px 28px rgba(217, 119, 6, 0.18);
}
.em-mp__star {
	position: absolute;
	top: 10px;
	right: 12px;
	color: var(--em-plan);
	font-size: 1.1rem;
	z-index: 1;
}
.em-mp__badge {
	display: inline-block;
	align-self: center;
	background: var(--em-plan);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}
.em-mp__icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 0.65rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(22, 163, 74, 0.1);
	background: color-mix(in srgb, var(--em-plan) 12%, #fff);
	color: var(--em-plan);
}
.em-mp__icon svg { width: 26px; height: 26px; }
.em-mp__name {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 700;
}
.em-mp__desc {
	margin: 0 0 0.85rem;
	color: var(--em-mp-muted);
	font-size: 0.86rem;
	min-height: 2.4em;
}
.em-mp__price-block {
	margin: 0 auto 0.75rem;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}
.em-mp__old-price {
	display: block;
	width: 100%;
	margin: 0 0 0.15rem;
	color: #9ca3af;
	font-size: 0.85rem;
	line-height: 1.2;
}
.em-mp__old-price > span {
	text-decoration: line-through !important;
}
.em-mp__price {
	font-size: clamp(1.45rem, 2.5vw, 1.85rem);
	font-weight: 800;
	color: var(--em-plan);
	line-height: 1.1;
	word-break: break-word;
}
.em-mp__note,
.em-mp__save {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--em-mp-muted);
}
.em-mp__save {
	background: #ecfdf5;
	color: #047857;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
}
.em-mp__features {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0.85rem 0 0;
	border-top: 1px solid var(--em-mp-line);
	text-align: left;
	flex: 1 1 auto;
}
.em-mp__features li {
	display: flex;
	gap: 0.45rem;
	align-items: flex-start;
	font-size: 0.86rem;
	color: #374151;
	margin: 0 0 0.45rem;
}
.em-mp__check {
	color: var(--em-plan);
	font-weight: 700;
	flex: 0 0 auto;
}
.em-mp__cta {
	margin-top: auto;
	padding-top: 0.35rem;
	width: 100%;
}
.em-mp__btn {
	width: 100%;
	border: none;
	border-radius: 10px;
	padding: 0.75rem 1rem;
	font-weight: 700;
	font-size: 0.92rem;
	cursor: pointer;
	background: var(--em-plan);
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
}
.em-mp__btn:disabled {
	opacity: 0.7;
	cursor: default;
}
.em-mp__btn:not(:disabled):hover {
	filter: brightness(0.95);
	color: #fff !important;
}

/* Trust bar — title + subtitle + icons */
.em-mp__trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 1.5rem 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--em-mp-line);
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
	overflow: hidden;
}
.em-mp__trust-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.1rem;
	text-align: left;
	border-right: 1px solid var(--em-mp-line);
	min-width: 0;
}
.em-mp__trust-item:last-child { border-right: none; }
.em-mp__trust-ico {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
}
.em-mp__trust-ico svg { width: 28px; height: 28px; }
.em-mp__trust-ico--shield { color: #16a34a; }
.em-mp__trust-ico--renew { color: #e11d48; }
.em-mp__trust-ico--invoice { color: #e11d48; }
.em-mp__trust-ico--bolt { color: #ea580c; }
.em-mp__trust-text { min-width: 0; }
.em-mp__trust-title {
	display: block;
	font-size: 0.88rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.25;
}
.em-mp__trust-sub {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: #6b7280;
	line-height: 1.3;
}

/* Comparison table — never strikethrough */
.em-mp__compare-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0.5rem 0 1rem;
	border: 1px solid var(--em-mp-line);
	border-radius: 12px;
	background: #fff;
	width: 100%;
}
.em-mp__compare-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 640px;
	font-size: 0.88rem;
	text-decoration: none !important;
}
.em-mp__compare-table th,
.em-mp__compare-table td,
.em-mp__compare-table span {
	text-decoration: none !important;
}
.em-mp__compare-table th,
.em-mp__compare-table td {
	padding: 0.75rem 0.65rem;
	border-bottom: 1px solid var(--em-mp-line);
	text-align: center;
	vertical-align: middle;
}
.em-mp__compare-table thead th {
	background: #fafafa;
	font-weight: 700;
}
.em-mp__compare-table tbody th {
	text-align: left;
	padding-left: 1rem;
	font-weight: 600;
	color: #374151;
	white-space: nowrap;
}
.em-mp__compare-table .is-featured {
	background: #fff7ed;
}
.em-mp__mini-badge {
	display: block;
	font-size: 0.62rem;
	color: #d97706;
	margin-bottom: 0.2rem;
	letter-spacing: 0.03em;
}
.em-mp__yes { color: #16a34a; font-weight: 800; }
.em-mp__no { color: #ef4444; font-weight: 700; }
.em-mp__text { color: #374151; font-weight: 600; }

/* Dashboard page head centered on membership tab */
.em-dash__main .em-dash__page-head--center,
.em-mp-page-head {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 1120px;
}
.em-mp-page-head h1,
.em-dash__page-head--center h1 {
	margin: 0 0 0.35rem;
	font-size: 1.45rem;
}
.em-mp-page-head p,
.em-dash__page-head--center p {
	margin: 0;
	color: var(--em-muted, #6b7280);
}

/* Breakpoints */
@media (max-width: 1100px) {
	.em-mp__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-mp__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.em-mp__trust-item:nth-child(2) { border-right: none; }
	.em-mp__trust-item:nth-child(1),
	.em-mp__trust-item:nth-child(2) { border-bottom: 1px solid var(--em-mp-line); }
}
@media (max-width: 720px) {
	.em-mp { padding: 0; }
	.em-mp__cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
	.em-mp__trust { grid-template-columns: 1fr; }
	.em-mp__trust-item {
		border-right: none;
		border-bottom: 1px solid var(--em-mp-line);
	}
	.em-mp__trust-item:last-child { border-bottom: none; }
	.em-mp__highlights { flex-direction: column; gap: 0.4rem; }
	.em-mp__desc { min-height: 0; }
}
@media (max-width: 480px) {
	.em-mp__card { padding: 1rem 0.9rem; }
	.em-mp__price { font-size: 1.5rem; }
	.em-mp__trust-item { padding: 0.85rem 1rem; }
}
