/* =============================================================
   Pricing Table — Lite & Full
   All pricing table CSS lives here (no rules in style.css or
   mwa.css) so updates are isolated.
   ============================================================= */

/* ── Kill old mwa.css Font Awesome checkmark on pricing li ─── */
.mwa-pricing-table .pt-features-list li:before,
.mwa-pricing-table .pt-features-list li:after {
	content: none !important;
	display: none !important;
}

/* ── Shared: billing toggle ─────────────────────────────────── */

.pt-toggle-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	margin-bottom: 1rem;
}

.pt-toggle-wrap .pt-toggle-label {
	white-space: nowrap;
}

.pt-toggle-label {
	font-size: 0.9375rem;
	color: #514d42;
	transition: color 0.2s ease;
}

.pt-toggle-label.is-active {
	color: #181712;
	font-weight: 500;
}

.pt-toggle {
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.pt-toggle-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.pt-toggle-track {
	display: block;
	width: 2.75rem;
	height: 1.5rem;
	background-color: #1f4e3f;
	border-radius: 9999px;
	position: relative;
	transition: background-color 0.2s ease;
}

.pt-toggle-track::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 1.125rem;
	height: 1.125rem;
	background-color: #fff;
	border-radius: 50%;
	transition: transform 0.2s ease;
}

.pt-toggle-input:checked~.pt-toggle-track::after {
	transform: translateX(1.25rem);
}

.pt-savings-badge {
	display: inline-block;
	background-color: #e8f0eb;
	color: #1f4e3f;
	border-radius: 9999px;
	padding: 0.25rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
	border: solid 1px #a8c6b0;
}


/* ── Shared: popular badge ──────────────────────────────────── */

.pt-popular-badge {
	display: inline-block;
	background-color: #1f4e3f;
	color: #fff;
	border-radius: 9999px;
	padding: 0.25rem 0.875rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}


/* ── Plan name / price layout ───────────────────────────────
 * Typography uses existing site classes:
 *   .eyebrow   — plan name (smallcaps eyebrow)
 *   .h1        — price number
 *   .h6        — /mo suffix
 *   .body2     — billing note and feature list items
 * ─────────────────────────────────────────────────────────── */

.pt-plan-name {
	margin: 0 0 0.75rem;
	color: #948c78;
}

.pt-price-row {
	display: flex;
	align-items: baseline;
	/*gap: 0.25rem;*/
	margin-bottom: 0.25rem;
}

/* Price number — inherits h1 size; zero out default h1 margins */
.pt-price {
	margin: 0;
	line-height: 1;
}

/* /mo suffix sits at baseline beside the price */
.pt-price-note {
	line-height: 1;
}

.pt-billing-note {
	margin: 0 0 1.25rem;
}


/* ── Shared: CTA button ─────────────────────────────────────── */

.pt-cta-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	text-decoration: none;
}

.pt-cta-btn--solid {
	border: 1px solid transparent;
}

.pt-cta-btn--outline {
	border: 1px solid #bfb7a2;
}

.pt-cta-btn--outline:hover {
	background-color: #fbfaf7;
	border-color: #a09080;
}


/* ── Billing show/hide helpers ──────────────────────────────────
 * mwat.js toggles .show / .hide on .pricing-monthly / .pricing-annual.
 * The global style.css rules handle outer wrappers; these override
 * for inline elements (e.g. price blocks inside flex/grid cells).
 * ─────────────────────────────────────────────────────────────── */

.pt-price-block.pricing-monthly {
	display: none;
}

.pt-price-block.pricing-annual {
	display: block;
}

.pt-price-block.pricing-monthly.show {
	display: block;
}

.pt-price-block.pricing-annual.hide {
	display: none;
}

/* Same for CTA link buttons inside plan columns */
a.pt-cta-btn.pricing-monthly {
	display: none;
}

a.pt-cta-btn.pricing-annual {
	display: block;
}

a.pt-cta-btn.pricing-monthly.show {
	display: block;
}

a.pt-cta-btn.pricing-annual.hide {
	display: none;
}


/* =============================================================
   LITE — card layout
   ============================================================= */

.pt-cards-wrap {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	/* overflow visible so the popular badge can float above the card top */
	overflow: visible;
	padding-top: 1rem;
	/* room for badge overflow */
}



.pt-card {
	position: relative;
	border-radius: 12px;
	border: 1px solid #dcd6c7;
	padding: 1.75rem 1.5rem 1.5rem;
	background-color: #fff;
	display: flex;
	flex-direction: column;
}

/* Popular card: highlighted border */
.pt-card--popular {
	border-color: #1f4e3f;
	border-width: 2px;
}

/* Popular badge — centred, floating above the card top edge */
.pt-card .pt-popular-badge {
	position: absolute;
	top: 0;
	left: 20%;
	transform: translate(-50%, -50%);
	margin: 0;
}

/* Add extra top padding on popular card so the badge doesn't obscure plan name */
/*.pt-card--popular {
	padding-top: 2.25rem;
}*/

/* AUD$ currency prefix via CSS */
.pt-price::before {
	content: 'AUD$';
	/*font-size: 1.25rem;
	font-weight: 700;
	vertical-align: super;
	line-height: 1;*/
}

/* Features list */

.pt-features-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex-grow: 1;
}

.mwa-pricing-table ul {
	margin-top: 0;
}

.pt-features-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	/* font/color from .body2 on the inner <span> */
}

.pt-features-item .pricing-tooltip {
	color: #dcd6c7;
	margin-left: 0.375rem;
	vertical-align: middle;
	line-height: 1;
}

.pt-check-icon {
	flex-shrink: 0;
	color: #1f4e3f;
}

/* Push button to bottom of card */
.pt-card .pt-cta-btn {
	margin-top: auto;
}

/* Lite footer */
.pt-lite-footer {
	text-align: center;
	margin-top: 2rem;
}

.pt-compare-link {
	font-size: 0.9375rem;
	color: #181712;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.pt-compare-link:hover {
	color: #1f4e3f;
}


/* =============================================================
   FULL — comparison table
   ============================================================= */

/* Make the section-col span all 24 grid columns — matches layout-single-col pattern */
@media only screen and (min-width: 768px) {
	.layout-pricing-full>.content-wrapper>.section-col {
		grid-column: 1 / span 24;
	}
}

.pt-comparison-table {
	border: 1px solid #dcd6c7;
	border-radius: 12px;
	overflow: visible;
	/* badge allowed to overflow top; corners handled by child elements */
	min-width: 600px;
	background: #fff;
}

.pt-comparison-table-wrap {
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	padding-top: 1.25rem;
	/* breathing room for the popular badge overflow */
	width: 100%;
	max-width: 100%;
}

/* Column grid: fluid desktop; fixed columns in scroll layout (max-width 1023px) */
.pt-header-row,
.pt-feature-row {
	display: grid;
	grid-template-columns: minmax(13rem, 1.2fr) repeat(var(--pt-plan-count, 3), minmax(10.5rem, 1fr));
	align-items: stretch;
}



/* Category header: full-width flex row — no plan columns needed */
.pt-category-header {
	display: flex;
	align-items: center;
}

/* Individual columns */
.pt-col {
	padding: 1rem 1.25rem;
}

.pt-col--plan {
	text-align: left;
	border-left: 1px solid #dcd6c7;
}

/* Feature value cells stay centred */
.pt-feature-row .pt-col--plan,
.pt-category-header .pt-col--plan {
	text-align: center;
	border-left: 0 !important;
}

.pt-col--popular {
	background-color: #f4f8f5;
}

/* Header row — sticky so plan names stay visible while scrolling through features */
.pt-header-row {
	/*border-bottom: 1px solid #dcd6c7;*/
	position: sticky;
	top: 88px;
	/* nav height */
	z-index: 10;
	background: #fff;
	align-items: start;
	border-radius: 12px 12px 0 0;
}

.pt-header-row .pt-col--label {
	padding: 1.75rem 1.5rem;
}

.pt-header-row .pt-col--plan {
	padding: 1.5rem 1.25rem;
	position: relative;
}

.pt-header-row .pt-price-row {
	flex-wrap: nowrap;
	white-space: nowrap;
}

.pt-header-row .pt-col--popular .pt-popular-badge {
	position: absolute;
	top: 0;
	left: 25%;
	transform: translate(-50%, -50%);
	margin: 0;
	white-space: nowrap;
}

.pt-compare-heading {
	font-weight: 700;
	font-size: 1rem;
	color: #181712;
	margin: 0 0 0.375rem;
}

.pt-compare-sub {
	color: #6f6857;
	margin: 0;
}

/* Category header (accordion trigger) */
.pt-category-header {
	width: 100%;
	background-color: #f8f7f4;
	border: none;
	cursor: pointer;
	text-align: left;
	border-top: 1px solid #dcd6c7;
	padding: 0;
}

/* Label column: arrow + name + summary all on one row */
.pt-category-header .pt-col--label {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.625rem;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	padding-right: 0;
	/* count badge is outside the label now, no need to reserve space */
}

.pt-category-header .pt-col--popular {
	background: #f8f7f4;
}

/* Chevron arrow — left of title, vertically centred */
.pt-category-arrow {
	flex-shrink: 0;
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 1.5px solid #514d42;
	border-bottom: 1.5px solid #514d42;
	transform: translateY(-15%) rotate(45deg);
	/* small offset compensates for rotation visual shift */
	transition: transform 0.2s ease;
}

.pt-category-header[aria-expanded="true"] .pt-category-arrow {
	transform: translateY(15%) rotate(-135deg);
}

.pt-category-name {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #181712;
}

.pt-category-summary {
	font-size: 0.8125rem;
	color: #6f6857;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

/* Count badge — inline flex item on the far right of the header button */
.pt-category-count {
	flex-shrink: 0;
	margin-left: auto;
	margin-right: 1.25rem;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	border: 1px solid #dcd6c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 600;
	color: #514d42;
}

/* Feature rows */
.pt-category-body {
	border-top: 1px solid #dcd6c7;
}

.pt-feature-row {
	border-top: 1px solid #f0ece4;
}

.pt-feature-row:first-child {
	border-top: none;
}

.pt-feature-row .pt-col {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0.75rem 1.25rem;
}

.pt-feature-row .pt-col {
	background-color: #fff;
}

.pt-feature-row .pt-col--plan {
	justify-content: center;
	border-left: 1px solid #dcd6c7 !important;
}

.pt-feature-row .pt-col--popular {
	background-color: #f4f8f5;
}

.pt-feature-name {
	font-size: 0.9375rem;
	color: #514d42;
}

.pt-cell-check {
	color: #1f4e3f;
}

.pt-cell-cross {
	color: #6f6857;
}

.pt-cell-dash {
	color: #6f6857;
	font-size: 1.125rem;
}

.pt-cell-text {
	font-size: 0.9375rem;
	font-weight: 500;
	color: #181712;
}

/* Tooltip button */
.pt-tooltip-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	margin-left: 0.375rem;
	color: #6f6857;
	line-height: 0;
	vertical-align: middle;
}

.pt-tooltip-btn:hover {
	color: #1f4e3f;
}

/* Tooltip popover — appended to body, positioned via JS */
.pt-tooltip-pop {
	position: absolute;
	z-index: 9999;
	max-width: 240px;
	background: #181712;
	color: #fff;
	font-size: 0.8125rem;
	line-height: 1.4;
	padding: 0.4rem 0.75rem;
	border-radius: 6px;
	pointer-events: none;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.15s ease, transform 0.15s ease;
	white-space: normal;
}

.pt-tooltip-pop.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Arrow — points down by default (tooltip is above the button) */
.pt-tooltip-pop::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-bottom-width: 0;
	border-top-color: #181712;
}

/* When tooltip is below the button, arrow points up */
.pt-tooltip-pop.is-below::after {
	bottom: auto;
	top: -5px;
	border-bottom-width: 5px;
	border-top-width: 0;
	border-bottom-color: #181712;
	border-top-color: transparent;
}

/* ── Bottom corner radius ────────────────────────────────────
 * Since the table uses overflow: visible (to let the badge float
 * above), border-radius on the table itself only draws the border
 * curve — it no longer clips children. We apply the radius
 * directly to the elements that form the visible bottom corners.
 * ─────────────────────────────────────────────────────────── */

/* Last category header: rounds its own bottom corners when collapsed */
.pt-category:last-child .pt-category-header {
	border-bottom-left-radius: 11px;
	border-bottom-right-radius: 11px;
}

/* Remove the radius once the body opens (body takes over) */
.pt-category:last-child .pt-category-header[aria-expanded="true"] {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

/* Last category body clips its children to the rounded corners */
.pt-category:last-child .pt-category-body {
	border-bottom-left-radius: 11px;
	border-bottom-right-radius: 11px;
	overflow: clip;
}


/* =============================================================
   Chips — pill badge display for cell values
   ============================================================= */

/* Base chip: used when cell_style = 'chip' on a normal per-plan row */
.pt-cell-chip {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.8125rem;
	font-weight: 500;
	background-color: #f0ece4;
	color: #514d42;
	border: 1px solid #dcd6c7;
	white-space: nowrap;
}

/* Combined-row chip: used when combined_line is on (e.g. SOON, Coming July) */
.pt-cell-chip--combined {
	background-color: #fef9ee;
	color: #7a5e00;
	border-color: #e8d46a;
}


/* =============================================================
   Combined rows — single value spanning all plan columns
   ============================================================= */

/* Combined rows — single value spanning all plan columns */

.pt-feature-row--combined {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.pt-feature-row--combined .pt-col--label {
	flex: 1 1 0;
	min-width: 0;
	background-color: #fff;
}

/* The combined-value cell: auto-sized, chip sits flush right */
.pt-col--combined-value {
	flex: 0 0 auto;
	border-left: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0.75rem 1.25rem;
	background-color: #fff;
}

.layout-pricing-full.mwa-pricing-table {
	min-width: 0;
	max-width: 100%;
}

@media (max-width: 1023px) {
	.layout-pricing-full.mwa-pricing-table .content-wrapper {
		min-width: 0;
		overflow: hidden;
	}

	.layout-pricing-full.mwa-pricing-table .section-col {
		display: block !important;
		justify-content: unset !important;
		align-items: unset !important;
		flex-wrap: unset !important;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow: hidden;
		position: relative;
	}

	.layout-pricing-full.mwa-pricing-table .pt-comparison-table-wrap {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: thin;
	}

	.layout-pricing-full .pt-comparison-table {
		--pt-label-col: 14rem;
		--pt-plan-col: 15rem;
		display: block;
		width: max-content;
		min-width: var(--pt-table-min-width, 59rem);
		max-width: none;
		box-sizing: border-box;
	}

	.layout-pricing-full .pt-header-row,
	.layout-pricing-full .pt-feature-row {
		width: max-content;
		min-width: var(--pt-table-min-width, 59rem);
		grid-template-columns: var(--pt-label-col) repeat(var(--pt-plan-count, 3), var(--pt-plan-col));
	}

	.layout-pricing-full .pt-feature-row--combined,
	.layout-pricing-full .pt-category-header {
		width: max-content;
		min-width: var(--pt-table-min-width, 59rem);
		box-sizing: border-box;
	}

	.layout-pricing-full .pt-header-row {
		position: static;
		top: auto;
	}

	.layout-pricing-full.mwa-pricing-table .section-col::after {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 2.75rem;
		pointer-events: none;
		z-index: 12;
		opacity: 0;
		transition: opacity 0.25s ease;
		background: linear-gradient(
			to right,
			rgb(246 244 239 / 0),
			rgb(246 244 239 / 0.85) 45%,
			#f6f4ef
		);
	}

	.layout-pricing-full.mwa-pricing-table .section-col.pt-table-can-scroll::after {
		opacity: 1;
	}

	.layout-pricing-full.mwa-pricing-table .section-col.pt-table-scroll-end::after {
		opacity: 0;
	}
}

@media (min-width: 1024px) {
	.layout-pricing-full .pt-comparison-table {
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}

	.layout-pricing-full .pt-header-row,
	.layout-pricing-full .pt-feature-row,
	.layout-pricing-full .pt-feature-row--combined,
	.layout-pricing-full .pt-category-header {
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}

	.layout-pricing-full.mwa-pricing-table .pt-comparison-table-wrap {
		overflow-x: visible;
		overflow-y: visible;
	}
}

@media (min-width: 768px) {
	.pt-cards-wrap {
		grid-template-columns: repeat(3, 1fr);
		align-items: start;
	}
}

@media (min-width: 992px) {
	.pt-toggle-wrap {
		margin-bottom: 2.5rem;
	}
}