/* WP SaaS Engine — pricing table (minimal, theme-friendly) */

.wpse-pricing__toggle {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin-bottom: 24px;
}

.wpse-pricing__toggle-btn {
	padding: 6px 18px;
	border: 1px solid currentColor;
	background: transparent;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
}

.wpse-pricing__toggle-btn.is-active {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.wpse-pricing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	align-items: start;
}

.wpse-pricing__plan {
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	padding: 24px;
	text-align: center;
}

.wpse-pricing__plan.is-current {
	border-width: 2px;
}

.wpse-pricing__name {
	margin: 0 0 12px;
}

.wpse-pricing__amount {
	font-size: 2em;
	font-weight: 700;
}

.wpse-pricing__suffix {
	opacity: 0.7;
}

.wpse-pricing__features {
	list-style: none;
	margin: 16px 0;
	padding: 0;
	text-align: left;
}

.wpse-pricing__feature {
	padding: 4px 0;
}

.wpse-pricing__feature-icon {
	display: inline-block;
	width: 1.4em;
}

.wpse-pricing__feature.is-excluded {
	opacity: 0.55;
}

.wpse-pricing__button {
	display: inline-block;
	padding: 10px 24px;
	border: 1px solid currentColor;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
}

.wpse-pricing__button.is-current-label {
	opacity: 0.7;
	cursor: default;
}

/* Interval switching: only the active interval's price/CTA is visible,
   except single-variant plans (data-wpse-always). */
.wpse-pricing[data-interval='month'] [data-wpse-interval='year']:not([data-wpse-always]),
.wpse-pricing[data-interval='year'] [data-wpse-interval='month']:not([data-wpse-always]) {
	display: none;
}
