.pt-wrap {
	position: relative;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

/* Subtle fade on the right edge hinting there's more to scroll */
.pt-wrap.pt-scroll-hint::after {
	content: '';
	position: sticky;
	top: 0;
	right: 0;
	float: right;
	width: 28px;
	height: 100%;
	margin-right: -28px;
	pointer-events: none;
	background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .06));
}

.pt-table {
	display: grid;
	width: 100%;
	/* Columns are defined with minmax(var(--pt-col-min), 1fr): they fill
	   the full width and grow evenly when there's room (desktop), but a
	   CSS Grid container can never be squeezed below its tracks' own
	   minimums — so on narrow screens the table keeps its real width and
	   .pt-wrap scrolls horizontally instead of compressing the content. */
	border-style: solid;
	border-width: 1px;
	box-sizing: border-box;
}

.pt-cell {
	box-sizing: border-box;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	min-width: 0;
}

.pt-cell--spacer {
	border-bottom: none;
}

.pt-cell--header {
	text-align: center;
}

.pt-cell--label {
	align-items: flex-start;
	text-align: left;
}

.pt-cell--value {
	text-align: center;
}

/* Keeps the feature-label column (and its header/button-row spacers)
   pinned to the left edge while the rest of the table scrolls horizontally. */
.pt-sticky-label .pt-cell--label,
.pt-sticky-label .pt-cell--spacer {
	position: sticky;
	left: 0;
	z-index: 2;
}

.pt-sticky-label .pt-cell--label {
	box-shadow: 2px 0 6px rgba(0, 0, 0, .06);
}

.pt-badge {
	display: inline-block;
	font-size: 11px;
	line-height: 1;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
	font-weight: 600;
	white-space: nowrap;
}

.pt-plan-name {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 6px;
	max-width: 100%;
	word-break: break-word;
}

.pt-price-wrap {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	justify-content: center;
	gap: 3px;
	max-width: 100%;
}

.pt-price {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.pt-suffix {
	font-size: 13px;
	opacity: .85;
	white-space: nowrap;
}

.pt-feature-label {
	font-size: 14px;
	font-weight: 500;
}

.pt-cell-text {
	font-size: 14px;
}

.pt-icon-check,
.pt-icon-x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pt-svg-icon {
	width: 20px;
	height: 20px;
	stroke-width: 2;
	display: block;
}

.pt-cell--button {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}

.pt-button {
	display: inline-block;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease;
	white-space: nowrap;
}
