.fwma-plans {
	margin-block: 2rem;
	margin-inline: 0;
}

.fwma-plans__inner {
	max-inline-size: var(--wp--style--global--wide-size, 1200px);
	margin-inline: auto;
}

.fwma-plans__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 1.25rem;
}

.fwma-plan-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: start;
	border: 1px solid currentColor;
	border-color: rgba(127, 127, 127, 0.22);
	border-color: color-mix(in srgb, currentColor 16%, transparent);
	border-radius: var(--wp--custom--border-radius, 6px);
	background: transparent;
	overflow: hidden;
}

.fwma-plan-card__media img,
.fwma-plan-card__image {
	inline-size: 100%;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.fwma-plan-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1rem;
	padding-block: 1.25rem;
	padding-inline: 1.25rem;
}

.fwma-plan-card__badge {
	align-self: flex-start;
	padding-block: 0.25rem;
	padding-inline: 0.5rem;
	border: 1px solid currentColor;
	border-color: rgba(127, 127, 127, 0.26);
	border-color: color-mix(in srgb, currentColor 20%, transparent);
	border-radius: 999px;
	font-size: 0.8em;
	line-height: 1.4;
}

.fwma-plan-card__title {
	margin: 0;
	font-size: 1.2em;
	line-height: 1.35;
	color: inherit;
}

.fwma-plan-card__summary {
	margin: 0;
	color: inherit;
	opacity: 0.82;
	line-height: 1.6;
}

.fwma-plan-card__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	padding-block: 1rem;
	padding-inline: 0;
	border-block-start: 1px solid currentColor;
	border-block-end: 1px solid currentColor;
	border-color: rgba(127, 127, 127, 0.2);
	border-color: color-mix(in srgb, currentColor 14%, transparent);
}

.fwma-plan-card__meta-label {
	display: block;
	margin-block-end: 0.25rem;
	font-size: 0.78em;
	opacity: 0.68;
}

.fwma-plan-card__meta strong {
	display: block;
	font-size: 0.94em;
	line-height: 1.35;
	color: inherit;
	overflow-wrap: anywhere;
}

.fwma-plan-card__features {
	margin: 0;
	padding-inline-start: 1.1rem;
	padding-inline-end: 0;
	line-height: 1.7;
	color: inherit;
	opacity: 0.88;
}

.fwma-plan-card__footer {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.9rem;
	align-items: start;
	margin-block-start: auto;
}

.fwma-plan-card__purchase {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	gap: 0.85rem;
	margin: 0;
	min-inline-size: 0;
}

.fwma-plan-card__option {
	display: grid;
	gap: 0.35rem;
	min-inline-size: 0;
	margin: 0;
}

.fwma-plan-card__option span {
	font-size: 0.82em;
	opacity: 0.72;
}

.fwma-plan-card__variant-buttons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 0.5rem;
	inline-size: 100%;
}

.fwma-plan-card button.fwma-plan-card__variant-button {
	appearance: none;
	display: grid;
	gap: 0.2rem;
	inline-size: 100%;
	min-block-size: 3.25rem;
	padding-block: 0.7rem;
	padding-inline: 0.85rem;
	border: 1px solid currentColor;
	border-color: rgba(127, 127, 127, 0.28);
	border-color: color-mix(in srgb, currentColor 20%, transparent);
	border-radius: var(--wp--custom--button--border--radius, 4px);
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1.35;
	text-align: start;
	cursor: pointer;
	box-shadow: none;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
}

.fwma-plan-card button.fwma-plan-card__variant-button:hover,
.fwma-plan-card button.fwma-plan-card__variant-button:focus {
	border-color: currentColor;
	background: rgba(127, 127, 127, 0.05);
	background: color-mix(in srgb, currentColor 5%, transparent);
	color: inherit;
}

.fwma-plan-card button.fwma-plan-card__variant-button.is-selected {
	border-color: currentColor;
	background: rgba(127, 127, 127, 0.1);
	background: color-mix(in srgb, currentColor 10%, transparent);
}

.fwma-plan-card__variant-name {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.fwma-plan-card__variant-price {
	font-size: 0.88em;
	opacity: 0.78;
}

.fwma-plan-card__option-description {
	grid-column: 1 / -1;
	margin-block-start: -0.2rem;
	padding-block: 0.75rem 0;
	padding-inline: 0;
	border-block-start: 1px solid currentColor;
	border-color: rgba(127, 127, 127, 0.18);
	border-color: color-mix(in srgb, currentColor 14%, transparent);
	color: inherit;
	opacity: 0.82;
	font-size: 0.92em;
	line-height: 1.55;
}

.fwma-plan-card__option-description p {
	margin-block: 0 0.55rem;
	margin-inline: 0;
}

.fwma-plan-card__option-description p:last-child {
	margin-block-end: 0;
}

.fwma-plan-card__price {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	text-align: start;
}

.fwma-plan-card__price-old {
	opacity: 0.62;
	text-decoration: line-through;
	font-size: 0.9em;
}

.fwma-plan-card__price-current {
	font-size: 1.15em;
	font-weight: 700;
	color: inherit;
}

.fwma-plan-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-inline-size: 8rem;
	padding-block: 0.65rem;
	padding-inline: 1rem;
	border: 1px solid currentColor;
	border-radius: var(--wp--custom--button--border--radius, 4px);
	background: var(--wp--preset--color--contrast, #111111);
	color: var(--wp--preset--color--base, #ffffff);
	text-decoration: none;
	font: inherit;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	white-space: normal;
	justify-self: stretch;
}

.fwma-plan-card__button:hover,
.fwma-plan-card__button:focus {
	filter: brightness(0.92);
	color: var(--wp--preset--color--base, #ffffff);
}

.fwma-plan-card__button[disabled],
.fwma-plan-card__button[aria-disabled="true"],
.fwma-plan-card__button.is-disabled {
	cursor: not-allowed;
	opacity: 0.55;
	filter: none;
}

.fwma-plans__empty {
	padding-block: 1rem;
	padding-inline: 1rem;
	border: 1px dashed currentColor;
	border-color: rgba(127, 127, 127, 0.3);
	border-color: color-mix(in srgb, currentColor 24%, transparent);
	border-radius: var(--wp--custom--border-radius, 6px);
	opacity: 0.78;
}

@media (max-width: 680px) {
	.fwma-plan-card__meta {
		grid-template-columns: 1fr;
	}

	.fwma-plan-card__footer {
		grid-template-columns: 1fr;
	}

	.fwma-plan-card__purchase {
		grid-template-columns: 1fr;
	}

	.fwma-plan-card__button {
		inline-size: 100%;
	}
}
