/* Flowaivo Pricing Table — frontend styles
   Colour, spacing and typography are controlled from the Elementor panel.
   This file only handles structure, so panel settings always win. */

.fpt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: #ffffff;
	transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.fpt-badge {
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 16px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
}

.fpt-card[style*="center"] .fpt-badge,
.fpt-card.fpt-align-center .fpt-badge {
	align-self: center;
}

.fpt-logo {
	margin-bottom: 18px;
}

.fpt-logo img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}

.fpt-plan {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.fpt-price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
	margin-bottom: 10px;
	line-height: 1;
}

.fpt-currency {
	font-size: 20px;
	font-weight: 600;
}

.fpt-amount {
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.fpt-period {
	font-size: 14px;
	font-weight: 600;
	opacity: 0.85;
}

.fpt-note {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.5;
}

.fpt-features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	flex-grow: 1;
}

.fpt-feature {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	border-top: 1px solid transparent;
}

.fpt-features--divided .fpt-feature + .fpt-feature {
	border-top-style: solid;
	border-top-width: 1px;
}

.fpt-feature-icon {
	flex: 0 0 auto;
	line-height: 1.6;
}

.fpt-feature-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.fpt-feature--excluded .fpt-feature-text {
	opacity: 0.55;
	text-decoration: line-through;
}

.fpt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: auto;
	text-decoration: none;
	line-height: 1;
	font-weight: 600;
	transition: background-color 0.22s ease, color 0.22s ease,
		border-color 0.22s ease, box-shadow 0.22s ease;
}

.fpt-btn:hover,
.fpt-btn:focus {
	text-decoration: none;
}

.fpt-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.fpt-btn-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Centre alignment handled by the panel's text-align setting. */
.fpt-card {
	align-items: stretch;
}

@media (prefers-reduced-motion: reduce) {
	.fpt-card,
	.fpt-btn {
		transition: none;
	}

	.fpt-card:hover {
		transform: none !important;
	}
}
