.tc-pt {
	--tc-pt-text: #102A43;
	--tc-pt-muted: #4E647A;
	--tc-pt-accent: #41A541;
	--tc-pt-row-bg: #F5F8FB;
	--tc-pt-border: #DAE2EC;
	--tc-pt-label-col: 420px;
	--tc-pt-plan-col: minmax(0, 1fr);

	color: var(--tc-pt-text);
	font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	width: 100%;
	box-sizing: border-box;
}

.tc-pt *,
.tc-pt *::before,
.tc-pt *::after {
	box-sizing: border-box;
}

.tc-pt__mobile-title {
	display: none;
}

/* ---------- Header ---------- */
.tc-pt__header {
	display: grid;
	grid-template-columns: var(--tc-pt-label-col) repeat(var(--tc-pt-plan-count, 4), var(--tc-pt-plan-col));
	align-items: stretch;
	position: sticky;
	top: 0;
	z-index: 5;
	background: #fff;
	border-bottom: 1px solid var(--tc-pt-border);
}

.tc-pt[data-plan-count="1"] { --tc-pt-plan-count: 1; }
.tc-pt[data-plan-count="2"] { --tc-pt-plan-count: 2; }
.tc-pt[data-plan-count="3"] { --tc-pt-plan-count: 3; }
.tc-pt[data-plan-count="4"] { --tc-pt-plan-count: 4; }
.tc-pt[data-plan-count="5"] { --tc-pt-plan-count: 5; }
.tc-pt[data-plan-count="6"] { --tc-pt-plan-count: 6; }

.tc-pt__header-cell {
	padding: 24px 16px;
	text-align: center;
}

.tc-pt__header-cell--label {
	background: transparent;
}

.tc-pt__plan {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	border-left: 1px solid var(--tc-pt-border);
}

.tc-pt__plan.is-featured {
	background: #fff;
	box-shadow: inset 0 -3px 0 0 var(--tc-pt-accent);
}

.tc-pt__plan-name {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--tc-pt-text);
}

.tc-pt__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
	justify-content: center;
}

.tc-pt__price-value {
	font-size: 28px;
	font-weight: 600;
	color: var(--tc-pt-text);
}

.tc-pt__price-suffix {
	font-size: 14px;
	color: var(--tc-pt-muted);
}

.tc-pt__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	padding: 8px 20px;
	min-height: 34px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid var(--tc-pt-accent);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tc-pt__btn--filled {
	color: #fff;
	background: var(--tc-pt-accent);
}

.tc-pt__btn--filled:hover,
.tc-pt__btn--filled:focus {
	background: #338033;
	border-color: #338033;
	color: #fff;
}

.tc-pt__btn--outline {
	color: var(--tc-pt-accent);
	background: transparent;
}

.tc-pt__btn--outline:hover,
.tc-pt__btn--outline:focus {
	background: var(--tc-pt-accent);
	color: #fff;
}

/* ---------- Body ---------- */
.tc-pt__row {
	display: grid;
	grid-template-columns: var(--tc-pt-label-col) repeat(var(--tc-pt-plan-count, 4), var(--tc-pt-plan-col));
	align-items: stretch;
}

/* Collapsible body holding the feature rows of one section. */
.tc-pt__group-body {
	transition: max-height 0.3s ease;
}

/* Section heading — a div with role="button" (not a <button>, so global
   theme/Elementor button styles never reach it). */
.tc-pt__row--section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 40px 0 16px;
	border-bottom: 1px solid var(--tc-pt-border);
}

.tc-pt__row--section[aria-expanded] {
	cursor: pointer;
}

.tc-pt__section-title {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--tc-pt-text);
}

/* +/- indicator: a horizontal bar always, plus a vertical bar that fades out
   (turning the + into a -) when the section is expanded. */
.tc-pt__section-toggle {
	position: relative;
	flex: none;
	width: 26px;
	height: 26px;
	color: var(--tc-pt-text);
}

.tc-pt__section-toggle::before,
.tc-pt__section-toggle::after {
	content: "";
	position: absolute;
	background: currentColor;
	border-radius: 2px;
}

.tc-pt__section-toggle::before {
	top: 50%;
	left: 0;
	right: 0;
	height: 3px;
	transform: translateY(-50%);
}

.tc-pt__section-toggle::after {
	top: 0;
	bottom: 0;
	left: 50%;
	width: 3px;
	transform: translateX(-50%);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.tc-pt__row--section[aria-expanded="true"] .tc-pt__section-toggle::after {
	opacity: 0;
	transform: translateX(-50%) rotate(-90deg);
}

.tc-pt__row--feature {
	min-height: 56px;
	border-bottom: 1px solid var(--tc-pt-border);
}

.tc-pt__group-body .tc-pt__row--feature:nth-child(odd) .tc-pt__label,
.tc-pt__group-body .tc-pt__row--feature:nth-child(odd) .tc-pt__cell {
	background: var(--tc-pt-row-bg);
}

.tc-pt__label {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--tc-pt-text);
}

.tc-pt__feature-label {
	font-size: 16px;
	line-height: 1.5;
}

.tc-pt__info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--tc-pt-muted);
	cursor: help;
	position: relative;
	line-height: 0;
}

.tc-pt__info::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	transform: translateX(-50%);
	background: #102A43;
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
	padding: 8px 12px;
	border-radius: 4px;
	width: max-content;
	max-width: 320px;
	white-space: normal;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
	z-index: 20;
}

.tc-pt__info:hover::after,
.tc-pt__info:focus::after {
	opacity: 1;
}

.tc-pt__cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 12px 16px;
	text-align: center;
	font-size: 16px;
	line-height: 1.5;
	border-left: 1px solid var(--tc-pt-border);
	min-height: 56px;
}

.tc-pt__cell.is-featured {
	box-shadow: inset 3px 0 0 -2px var(--tc-pt-accent), inset -3px 0 0 -2px var(--tc-pt-accent);
}

.tc-pt__check {
	color: var(--tc-pt-accent);
	display: inline-flex;
	line-height: 0;
}

.tc-pt__check svg {
	width: 24px;
	height: 24px;
}

.tc-pt__dash {
	color: var(--tc-pt-text);
	opacity: 0.4;
	font-size: 20px;
	font-weight: 600;
}

.tc-pt__cell-text {
	color: var(--tc-pt-text);
}

/* Smaller secondary line inside a cell (text after a "|"). */
.tc-pt__cell-note {
	font-size: 13px;
	line-height: 1.3;
	color: var(--tc-pt-muted);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.tc-pt {
		--tc-pt-label-col: 100%;
	}

	.tc-pt__mobile-title {
		display: block;
		text-align: center;
		font-size: 18px;
		font-weight: 600;
		line-height: 27px;
		color: var(--tc-pt-text);
		padding: 13px 15px;
		background: #fff;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
		position: sticky;
		top: 0;
		z-index: 6;
	}

	.tc-pt__header {
		grid-template-columns: repeat(var(--tc-pt-plan-count, 4), 1fr);
		top: 50px;
		padding: 0 15px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
		border-bottom: 0;
	}

	.tc-pt__header-cell--label {
		display: none;
	}

	.tc-pt__plan {
		padding: 10px 2px;
		gap: 4px;
		border-left: 0;
		border-right: 1px solid var(--tc-pt-border);
	}

	.tc-pt__plan:last-child {
		border-right: 0;
	}

	.tc-pt__plan.is-featured {
		box-shadow: none;
	}

	.tc-pt__plan-name {
		font-size: 18px;
		line-height: 27px;
	}

	.tc-pt__price,
	.tc-pt__btn {
		display: none;
	}

	.tc-pt__plan::after {
		content: "Get started";
		font-size: 12px;
		font-weight: 600;
		color: var(--tc-pt-accent);
		line-height: 12px;
	}

	.tc-pt__row--feature {
		display: grid;
		grid-template-columns: repeat(var(--tc-pt-plan-count, 4), 1fr);
		min-height: 0;
		border-bottom: 0;
		margin-bottom: 10px;
		padding: 0 15px;
	}

	.tc-pt__group-body .tc-pt__row--feature:nth-child(odd) .tc-pt__label,
	.tc-pt__group-body .tc-pt__row--feature:nth-child(odd) .tc-pt__cell {
		background: transparent;
	}

	.tc-pt__label {
		grid-column: 1 / -1;
		display: flex;
		justify-content: center;
		gap: 10px;
		padding: 5px 10px;
		margin: 0 -15px 10px;
		background: var(--tc-pt-row-bg);
		text-align: center;
		font-size: 16px;
	}

	.tc-pt__feature-label {
		white-space: nowrap;
	}

	.tc-pt__cell {
		border-left: 0;
		padding: 6px 4px;
		min-height: 0;
		text-align: center;
	}

	.tc-pt__cell.is-featured {
		box-shadow: none;
	}

	.tc-pt__row--section {
		padding: 20px 0 5px;
	}

	.tc-pt__section-toggle {
		width: 22px;
		height: 22px;
	}

	.tc-pt__section-title {
		font-size: 24px;
		line-height: 1.4;
	}
}
