/* GoConsent theme - Pricing (template-goconsent-pricing.php). */

.pricing-hero {
	padding-bottom: clamp(32px, 4vw, 56px);
}

.pricing-plans .plan-row {
	padding-top: 14px; /* Room for the Recommended badge. */
}

.pricing-plans .tick-list {
	gap: 8px;
}

.pricing-secure {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin: 28px 0 0;
	color: var(--site-text-muted);
	font-size: var(--site-size-sm);
	text-align: center;
}

.pricing-secure__icon {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--site-brand);
}

.pricing-more {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	align-items: center;
	justify-content: center;
	margin: 10px 0 0;
	color: var(--site-text);
	font-size: var(--site-size-sm);
}

/* Free plan: one wide row above the Pro plans. */
.plan-free {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	align-items: center;
	padding: 30px clamp(24px, 4vw, 40px);
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-lg);
	background: var(--site-surface);
}

.plan-free__intro {
	flex: 0 1 280px;
	min-width: 0;
}

.plan-free__intro .plan-card__for {
	min-height: 0;
}

.plan-free__cta {
	margin-top: 18px;
}

.plan-free__features {
	flex: 1 1 420px;
	min-width: 0;
	font-size: var(--site-size-sm);
}

.plan-free__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 28px;
}

@media (max-width: 600px) {
	.plan-free__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.plan-free__cta {
		width: 100%;
	}
}

.plan-divider {
	display: flex;
	gap: 16px;
	align-items: center;
	margin: 36px 0 22px;
	color: var(--site-text-muted);
	font-size: var(--site-size-sm);
	font-weight: 600;
}

.plan-divider::before,
.plan-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--site-border);
}

/* Three Pro plans: three across, one column on phones. */
.plan-row--pro .plan-card {
	flex-basis: 200px;
}

@media (max-width: 600px) {
	.plan-row--pro .plan-card {
		flex-basis: 100%;
	}
}
