:root {
	/*

	--font-fam-body: 'nudica', sans-serif;
    --font-fam-headings: 'nudica', sans-serif;
    --main-nav-link-weight: 500;
    --letter-spacing-headings: 1;

    */

	--plan-card-border-radius: 1.5rem;
	--plan-card-border: 1px solid #ddd;

	--font-col-plan-info: #555;
	--font-col-plan-price: #000;
	--font-col-plan-trial: #000;
	--font-col-plan-discount: red;
	--font-col-plan-highlight-text: white;
	--font-col-plan-highlight-bg: #555;
	--font-col-plan-billing: black;

	--plan-table-head-bg: #fafafa;
	--plan-table-section-head-bg: #f6f6f6;

	--plan-highlight-col: #111;
}

.pb-pricing {
	font-family: var(--font-fam-headings);
}

.pb-pricing-admin-wrap .pb-admin-tier-settings {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1rem;
	margin: 1rem 0 24px;
}

.pb-tier-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	padding: 1rem;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.pb-tier-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.pb-tier-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	width: 100%;
}

.pb-tier-grid > p {
	width: 100%;
}

.pb-tier-grid > p > label {
	display: block;
}

.pb-tier-grid > p .regular-text {
	width: unset;
}

.pb-tier-grid__full {
	grid-column: 1 / -1;
}

.pb-pricing-matrix-wrap {
	overflow-x: auto;
	margin-top: 12px;
}

.pb-pricing-matrix th,
.pb-pricing-matrix td {
	vertical-align: top;
}

.pb-tier-col-head {
	min-width: 240px;
}

.pb-tier-col-sub {
	font-size: 12px;
	color: #666;
	margin-top: 2px;
}

.pb-feature-row--section td {
	background: #fafafa;
}

.pb-feature-cell {
	min-width: 220px;
}

.pb-feature-cell__check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 12px;
}

/* Frontend */
.pb-pricing {
	margin: 24px 0;
}

.pb-pricing-billing-toggle {
	display: inline-flex;
	gap: 8px;
	padding: 6px;
	border: 1px solid #ddd;
	border-radius: 999px;
	margin-bottom: 20px;
	background: var(--postcard-block-col);
}

.pb-pricing-billing-toggle label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	cursor: pointer;
	color: var(--font-col-plan-billing);
}

.pb-pricing-billing-toggle input {
	margin: 0;
}

.pb-plan-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.pb-plan-card {
	position: relative;
	background: var(--postcard-block-col);
	border: var(--plan-card-border);
	border-radius: var(--plan-card-border-radius);
	padding: 24px;
	box-shadow: 0 6px 20px rgba(0,0,0,.04);
	display: flex;
	flex-direction: column;
}

.pb-plan-column-head .pb-plan-badge {
	margin: 0 auto .5em 0;
}

.pb-plan-card.is-highlighted,
.pb-plan-column-head.is-highlighted {
	border-color: var(--plan-highlight-col);
	box-shadow: 0 8px 28px rgba(0,0,0,.08);
}

.pb-plan-card__footer {
	margin-top: auto;
}

p.manage-subscription-link {
	margin-top: .75em;
	margin-bottom: 0;
}

.pb-plan-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--font-col-plan-highlight-bg);
	color: var(--font-col-plan-highlight-text);
	margin: 0 auto .5em 0;
}

.pb-plan-title,
.pb-col-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 8px;
}

.pb-plan-description,
.pb-col-description {
	color: var(--font-col-plan-info);
	margin-bottom: .75rem;
}

.pb-plan-price {
	margin-bottom: 8px;
	color: var(--font-col-plan-price);
}

.pb-plan-price-value {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
}

.pb-plan-price-placeholder {
	font-size: 18px;
	font-weight: 600;
	opacity: .75;
}

.pb-plan-price-period {
	font-size: 13px;
	color: #666;
	margin-top: 4px;
}

.pb-price-discount {
	color: var(--font-col-plan-discount);
}

.pb-plan-trial {
	font-size: 14px;
	color: var(--font-col-plan-trial);
	margin-bottom: 8px;
}

.pb-plan-only-msg {
	font-size: 13px;
	color: #8a5a00;
	background: #fff8e6;
	border: 1px solid #f1d48a;
	padding: 8px 10px;
	border-radius: 10px;
	margin-bottom: 12px;
}

.pb-plan-feature-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 20px;
	display: grid;
	gap: 10px;
}

.pb-feature {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
}

.pb-feature::before {
	content: "✓";
	font-weight: 700;
	margin-right: 8px;
}

.pb-feature-label {
	flex: 1;
}

.pb-feature-text {
	font-weight: 600;
	white-space: nowrap;
}

.pb-feature.is-missing {
	color: #999;
	text-decoration: line-through;
}

.pb-feature.is-missing::before {
	content: "—";
}

.pb-feature--inherit-note {
	color: var(--font-col-plan-info);
	font-style: italic;
}

.pb-feature--inherit-note::before {
	content: "↳";
}

.pb-feature.pb-feature--inherit-note {
	justify-content: flex-start;
	gap: .41em;
}

.pb-feature-tooltip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1px solid #bbb;
	border-radius: 999px;
	font-size: 11px;
	margin-left: 6px;
	cursor: help;
	color: #666;
	position:relative;
}

.pb-tooltip-text {
	display:none;
	position:absolute;
	bottom:125%;
	left:50%;
	transform:translateX(-50%);
	background:#111;
	color:#fff;
	padding:6px 8px;
	border-radius:4px;
	font-size:12px;
	white-space:nowrap;
}

.pb-feature-tooltip:hover .pb-tooltip-text {
	display:block;
}

.pb-checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	border: 0;
	border-radius: 12px;
	background: #111;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.pb-checkout-button[disabled] {
	opacity: .55;
	cursor: not-allowed;
}

.pb-comparison-wrap {
	overflow-x: auto;
}

.pb-comparison-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: var(--plan-card-border-radius);
	overflow: hidden;
}

.pb-comparison-table th,
.pb-comparison-table td {
	padding: 1rem;
	border-bottom: 1px solid #eee;
	vertical-align: top;
}

.pb-comparison-table thead th {
	background: var(--plan-table-head-bg);
	text-align: left;
	min-width: 220px;
}

.pb-feature-col,
.pb-feature-name {
	min-width: 240px;
}

.pb-section-row td {
	background: var(--plan-table-section-head-bg);
	font-weight: 700;
}

.pb-feature-value {
	text-align: left;
}

.pb-check {
	font-weight: 700;
	margin-right: 6px;
}

.pb-check-text {
	font-weight: 600;
}

.pb-dash {
	color: #aaa;
}

.pb-drag-handle {
	cursor: grab;
	width:40px;
	text-align:center;
	color:#777;
}

.pb-drag-handle .dashicons {
	font-size:16px;
}

.pb-feature-placeholder {
	background:#f0f6ff;
	border:2px dashed #b3d4ff;
	height:48px;
}