/*
 * CrossPoint - pricing.css
 * The U.S. plan cards, the add-on cards, the E-commerce Seller card, the
 * compare table, and the cart and wizard pieces that show state fees and
 * renewals. Loaded on the home page, /pricing/, /add-ons/,
 * /compare-packages/, the cart and the wizard only.
 *
 * Colours follow the price sheet; type uses the theme's own families so these
 * pages sit with the rest of the site.
 */

:root {
	--cpp-navy: #0b1f3a;
	--cpp-navy-2: #162e52;
	--cpp-navy-line: #2a4063;
	--cpp-gold: #e3b93c;
	--cpp-gold-ink: #7a5c00;
	--cpp-cream: #fbf4dc;
	--cpp-green: #1f7a4d;
	--cpp-red: #b42318;
	--cpp-ink: #0b1f3a;
	--cpp-muted: #44546a;
	--cpp-on-navy: #c9d3e2;
	--cpp-line: #e4e8ef;
	--cpp-edge: #d9dfe8;
	--cpp-bg: #f5f7fa;
	--cpp-tint: #f3f6fb;
	--cpp-radius: 16px;
	/* Space above the Compare / Add-ons button row, and below it when the row
	   ends its section. */
	--cpp-links-gap: 60px;
}

/* ---- Layout ------------------------------------------------------------ */

.cpp-section {
	background: var(--cpp-bg);
	color: var(--cpp-ink);
	font-family: var(--ui);
	padding: 64px 0 56px;
}


.cpp-wrap {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1240px;
	padding: 0 16px;
}

.cpp-wrap--narrow {
	max-width: 1160px;
}

.cpp-head {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 auto 40px;
	max-width: 760px;
	text-align: center;
}

.cpp-subhead {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 20px;
}

.cpp-subhead p {
	color: var(--cpp-muted);
	margin: 0;
}

.cpp-eyebrow {
	color: var(--cpp-gold-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin: 0;
	text-transform: uppercase;
}

.cpp-h1 {
	color: var(--cpp-ink);
	font-family: var(--disp);
	font-size: clamp(28px, 4.4vw, 40px);
	line-height: 1.15;
	margin: 0;
}

.cpp-h2 {
	color: var(--cpp-ink);
	font-family: var(--disp);
	font-size: clamp(22px, 3vw, 28px);
	line-height: 1.2;
	margin: 0;
}

.cpp-lead {
	color: var(--cpp-muted);
	font-size: 17px;
	line-height: 1.55;
	margin: 0;
}

.cpp-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin: var(--cpp-links-gap) 0 0;
}

/* When the button row ends its section and the E-commerce section follows
   (/pricing/), the two sections' paddings stacked to about twice the space
   above the row. The gap below is set to match the one above instead. */
.cpp-section:has(> .cpp-wrap > .cpp-links:last-child) {
	padding-bottom: 0;
}

.cpp-section:has(> .cpp-wrap > .cpp-links:last-child) + .cpp-section--tight {
	padding-top: var(--cpp-links-gap);
}

/* On the home page the links sit between the U.S. cards and the Canada
   cards, so they need the same room below as above. */
.cpp-plans--home + .cpp-links {
	margin-bottom: 40px;
}

.cpp-link {
	color: var(--cpp-navy);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cpp-link:hover,
.cpp-link:focus-visible {
	color: var(--cpp-gold-ink);
}

/* In a .cpp-links row the links are outline pill buttons: white, navy edge,
   an icon before the label and an arrow after it. The border turns gold and
   the arrow slides on hover. A .cpp-link on its own, inside running text,
   stays a plain underlined link. */
.cpp-links .cpp-link {
	align-items: center;
	background: #fff;
	border: 1.5px solid var(--cpp-navy);
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06);
	display: inline-flex;
	font-size: 15px;
	gap: 10px;
	line-height: 1.2;
	min-height: 48px;
	padding: 10px 22px 10px 18px;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cpp-links .cpp-link:hover,
.cpp-links .cpp-link:focus-visible {
	border-color: var(--cpp-gold);
	box-shadow: 0 8px 20px rgba(11, 31, 58, 0.12);
	color: var(--cpp-navy);
	transform: translateY(-2px);
}

.cpp-link-icon {
	align-items: center;
	background: var(--cpp-cream);
	border-radius: 50%;
	color: var(--cpp-gold-ink);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	height: 30px;
	justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
	width: 30px;
}

.cpp-links .cpp-link:hover .cpp-link-icon,
.cpp-links .cpp-link:focus-visible .cpp-link-icon {
	background: var(--cpp-gold);
	color: var(--cpp-navy);
}

.cpp-link-arrow {
	font-size: 12px;
	transition: transform 0.2s ease;
}

.cpp-links .cpp-link:hover .cpp-link-arrow,
.cpp-links .cpp-link:focus-visible .cpp-link-arrow {
	transform: translateX(4px);
}

/* On a phone the two pills stack, full width, so neither is a thin target. */
@media (max-width: 520px) {
	.cpp-links .cpp-link {
		justify-content: center;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {

	.cpp-links .cpp-link,
	.cpp-link-icon,
	.cpp-link-arrow {
		transition: none;
	}

	.cpp-links .cpp-link:hover,
	.cpp-links .cpp-link:focus-visible,
	.cpp-links .cpp-link:hover .cpp-link-arrow,
	.cpp-links .cpp-link:focus-visible .cpp-link-arrow {
		transform: none;
	}
}

.cpp-foot {
	color: var(--cpp-muted);
	font-size: 14px;
	line-height: 1.55;
	margin: 28px auto 0;
	max-width: 900px;
	text-align: center;
}

.cpp-small {
	color: var(--cpp-muted);
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}

/* Cart notices ("Added to your cart", "Pick a package first") on the pricing
   pages; the cart styles its own. */
body:not(.cpf-p-cart) .cpf-cart-notice {
	background: var(--cpp-cream);
	border-left: 4px solid var(--cpp-gold);
	border-radius: 10px;
	box-sizing: border-box;
	color: var(--cpp-ink);
	font-family: var(--ui);
	margin: 16px auto;
	max-width: 1208px;
	padding: 12px 16px;
	width: calc(100% - 32px);
}

/* ---- Buttons ----------------------------------------------------------- */

.cpp-btn {
	align-items: center;
	border: 2px solid var(--cpp-navy);
	border-radius: 10px;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-flex;
	font: 700 16px/1.2 var(--ui);
	gap: 6px;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.cpp-btn--outline {
	background: #fff;
	color: var(--cpp-navy);
}

.cpp-btn--outline:hover,
.cpp-btn--outline:focus-visible {
	background: var(--cpp-navy);
	color: #fff;
}

.cpp-btn--gold {
	background: var(--cpp-gold);
	border-color: var(--cpp-gold);
	color: var(--cpp-navy);
}

.cpp-btn--gold:hover,
.cpp-btn--gold:focus-visible {
	background: #d4a82a;
	border-color: #d4a82a;
	color: var(--cpp-navy);
}

.cpp-btn--sm {
	font-size: 14px;
	min-height: 44px;
	padding: 8px 14px;
}

.cpp-btn:focus-visible,
.cpp-cmp-add:focus-visible,
.cpp-addon-remove:focus-visible,
.cpp-link:focus-visible {
	outline: 3px solid var(--cpp-gold);
	outline-offset: 2px;
}

/* ---- Plan cards -------------------------------------------------------- */

.cpp-plans {
	align-items: stretch;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.cpp-plan {
	background: #fff;
	border: 1px solid var(--cpp-edge);
	border-radius: var(--cpp-radius);
	box-sizing: border-box;
	color: var(--cpp-ink);
	display: flex;
	flex-direction: column;
	font-family: var(--ui);
	gap: 20px;
	min-width: 0;
	padding: 28px 22px;
}

.cpp-plan--featured {
	background: var(--cpp-navy);
	border-color: var(--cpp-navy);
	box-shadow: 0 18px 40px rgba(11, 31, 58, 0.22);
	color: #fff;
}

.cpp-plan.is-recommended {
	outline: 3px solid var(--cpp-gold);
	outline-offset: 3px;
}

.cpp-plan-head {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cpp-plan-titlerow {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
}

.cpp-plan-name {
	color: inherit;
	font-family: var(--disp);
	font-size: 22px;
	margin: 0;
}

.cpp-plan-tagline {
	color: var(--cpp-muted);
	font-size: 15px;
	line-height: 1.45;
	margin: 0;
}

.cpp-plan--featured .cpp-plan-tagline,
.cpp-plan--featured .cpp-price-fee,
.cpp-plan--featured .cpp-price-note,
.cpp-plan--featured .cpp-list-right,
.cpp-plan--featured .cpp-sums-muted,
.cpp-plan--featured .cpp-today-note,
.cpp-plan--featured .cpp-small {
	color: var(--cpp-on-navy);
}

.cpp-badge {
	background: var(--cpp-gold);
	border-radius: 999px;
	color: var(--cpp-navy);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 5px 10px;
	text-transform: uppercase;
}

.cpp-badge--rec {
	background: var(--cpp-green);
	color: #fff;
}

.cpp-plan-price {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cpp-price-row {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.cpp-price {
	font-family: var(--disp);
	font-size: 44px;
	font-weight: 800;
	line-height: 1;
}

.cpp-price-fee {
	color: var(--cpp-muted);
	font-size: 15px;
}

.cpp-price-note {
	color: var(--cpp-muted);
	font-size: 14px;
	margin: 0;
}

.cpp-plan .cpp-btn {
	width: 100%;
}

.cpp-plan--featured .cpp-btn--outline {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.cpp-rule {
	background: var(--cpp-line);
	border: 0;
	height: 1px;
	margin: 0;
}

.cpp-plan--featured .cpp-rule {
	background: var(--cpp-navy-line);
}

.cpp-list-head {
	color: var(--cpp-gold-ink);
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 12px;
	justify-content: space-between;
	margin: 0;
}

.cpp-plan--featured .cpp-list-head {
	color: var(--cpp-gold);
}

.cpp-list {
	display: flex;
	flex-direction: column;
	font-size: 15px;
	gap: 12px;
	line-height: 1.4;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cpp-list li {
	display: flex;
	gap: 10px;
}

.cpp-tick {
	color: var(--cpp-green);
	flex: 0 0 auto;
	font-weight: 700;
}

.cpp-plan--featured .cpp-tick {
	color: var(--cpp-gold);
}

.cpp-list-label {
	flex: 1 1 auto;
	min-width: 0;
}

.cpp-list-right {
	color: var(--cpp-muted);
	flex: 0 0 auto;
}

.cpp-sums {
	border-top: 1px solid var(--cpp-line);
	display: flex;
	flex-direction: column;
	font-size: 15px;
	gap: 8px;
	margin: 0;
	padding-top: 12px;
}

.cpp-plan--featured .cpp-sums {
	border-top-color: var(--cpp-navy-line);
}

.cpp-sums > div {
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.cpp-sums dt,
.cpp-sums dd {
	margin: 0;
}

.cpp-sums-muted {
	color: var(--cpp-muted);
}

.cpp-sums-strong {
	font-weight: 700;
}

.cpp-sums-save {
	color: var(--cpp-gold-ink);
	font-weight: 700;
}

.cpp-plan--featured .cpp-sums-save {
	color: var(--cpp-gold);
}

/* The Choose button sits on the total box at the foot of the card, so the
   three cards line their buttons up whatever the length of their lists. */
.cpp-plan-foot {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: auto;
}

.cpp-today {
	background: var(--cpp-cream);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	font-size: 14px;
	gap: 4px;
	line-height: 1.45;
	padding: 14px;
}

.cpp-plan--featured .cpp-today {
	background: var(--cpp-navy-2);
}

.cpp-today p {
	margin: 0;
}

.cpp-today-head {
	font-weight: 700;
}

.cpp-plan--featured .cpp-today-head {
	color: var(--cpp-gold);
}

.cpp-today-note {
	color: var(--cpp-muted);
}

/* The home page grid sits inside the existing pricing section. */
.cpp-plans--home {
	margin-top: 28px;
	text-align: left;
}

/* ---- E-commerce Seller ------------------------------------------------- */

.cpp-ecom {
	background: #fff;
	border: 2px solid var(--cpp-gold);
	border-radius: var(--cpp-radius);
	box-sizing: border-box;
	display: grid;
	font-family: var(--ui);
	gap: 32px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	padding: 28px;
}

.cpp-ecom-left,
.cpp-ecom-right {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.cpp-ecom .cpp-btn {
	width: 100%;
}

/* ---- Add-on cards ------------------------------------------------------ */

.cpp-addons {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
	.cpp-addons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

.cpp-addon {
	background: #fff;
	border: 1px solid var(--cpp-edge);
	border-radius: 12px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 18px;
	scroll-margin-top: 120px;
}

.cpp-addon.is-added {
	border-color: var(--cpp-green);
	box-shadow: inset 0 0 0 1px var(--cpp-green);
}

.cpp-addon-name {
	font-family: var(--ui);
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 4px;
}

.cpp-addon-desc {
	color: var(--cpp-muted);
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
}

.cpp-addon-foot {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: auto;
}

.cpp-addon-price {
	font-family: var(--disp);
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.cpp-addon-per {
	color: var(--cpp-muted);
	font-family: var(--ui);
	font-size: 14px;
	font-weight: 400;
}

.cpp-addon-form {
	align-items: center;
	display: flex;
	gap: 8px;
	margin: 0;
}

.cpp-addon-qty {
	border: 1px solid var(--cpp-edge);
	border-radius: 8px;
	box-sizing: border-box;
	font: inherit;
	min-height: 44px;
	padding: 6px 8px;
	width: 64px;
}

.cpp-addon-added {
	color: var(--cpp-green);
	font-size: 14px;
	font-weight: 700;
}

.cpp-addon-remove {
	align-items: center;
	background: #fff;
	border: 1px solid var(--cpp-red);
	border-radius: 8px;
	color: var(--cpp-red);
	cursor: pointer;
	display: inline-flex;
	font-size: 20px;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.cpp-addon-flag {
	background: var(--cpp-tint);
	border-radius: 999px;
	color: var(--cpp-green);
	font-size: 13px;
	font-weight: 700;
	padding: 6px 10px;
}

.cpp-addon-flag--muted {
	color: var(--cpp-muted);
}

.cpp-strip {
	align-items: center;
	background: #fff;
	border: 1px solid var(--cpp-edge);
	border-radius: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	justify-content: space-between;
	margin: 0 0 24px;
	padding: 14px 18px;
}

.cpp-strip p {
	margin: 0;
}

/* ---- Compare table ----------------------------------------------------
   Matches the Compare packages design: DM Sans for text, Sora for headings
   and totals, navy Growth header with a tinted column, cream total row. */

.cpf-p-compare .cpp-section {
	font-family: 'DM Sans', var(--ui);
	padding: 72px 0 64px;
}

.cpf-p-compare .cpp-wrap--narrow {
	max-width: 1192px;
	padding: 0 16px;
}

.cpf-p-compare .cpp-head {
	gap: 10px;
	margin-bottom: 32px;
	max-width: none;
}

.cpf-p-compare .cpp-h1 {
	font-family: 'Sora', var(--disp);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}

.cpf-p-compare .cpp-lead {
	color: var(--cpp-muted);
	font-size: 16px;
}

.cpp-cmp-scroll {
	background: #fff;
	border: 1px solid var(--cpp-edge);
	border-radius: var(--cpp-radius);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.cpp-cmp-scroll:focus-visible {
	outline: 3px solid var(--cpp-gold);
}

.cpp-cmp {
	border-collapse: collapse;
	font-family: 'DM Sans', var(--ui);
	min-width: 720px;
	width: 100%;
}

.cpp-cmp th,
.cpp-cmp td {
	border-bottom: 1px solid var(--cpp-line);
	color: var(--cpp-muted);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	padding: 14px 16px;
	text-align: center;
	vertical-align: middle;
}

.cpp-cmp td:has(.cpp-cmp-cell) {
	padding: 8px 16px;
}

.cpp-cmp thead th {
	color: var(--cpp-ink);
	font-family: 'Sora', var(--disp);
	font-size: 18px;
	font-weight: 700;
}

.cpp-cmp thead th.cpp-cmp-first {
	font-family: 'DM Sans', var(--ui);
	font-size: 14px;
	font-weight: 500;
}

.cpp-cmp .is-featured {
	background: var(--cpp-tint);
}

.cpp-cmp thead th.is-featured {
	background: var(--cpp-navy);
	color: #fff;
}

/* The service column: left aligned, navy, and pinned while the table scrolls
   sideways on a phone. */
.cpp-cmp .cpp-cmp-first {
	background: #fff;
	color: var(--cpp-ink);
	left: 0;
	position: sticky;
	text-align: left;
	width: 40%;
	z-index: 1;
}

.cpp-cmp .cpp-cmp-strong {
	color: var(--cpp-ink);
	font-weight: 700;
}

.cpp-cmp-group th {
	background: var(--cpp-bg) !important;
	color: var(--cpp-gold-ink) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-align: left !important;
	text-transform: uppercase;
}

.cpp-cmp svg {
	display: inline-block;
	vertical-align: middle;
}

/* Add / Added / remove. */
.cpp-cmp-cell {
	display: inline-flex;
}

.cpp-cmp-add {
	align-items: center;
	background: #fff;
	border: 1px solid var(--cpp-navy);
	border-radius: 8px;
	color: var(--cpp-navy);
	cursor: pointer;
	display: inline-flex;
	font: 700 14px/1.2 'DM Sans', var(--ui);
	gap: 6px;
	justify-content: center;
	min-height: 44px;
	min-width: 150px;
	padding: 0 12px;
	transition: background-color 0.15s var(--ease);
}

.cpp-cmp-add:hover {
	background: var(--cpp-tint);
}

.cpp-cmp-add[hidden],
.cpp-cmp-on[hidden] {
	display: none;
}

.cpp-cmp-on {
	align-items: center;
	display: inline-flex;
	gap: 10px;
	justify-content: center;
	min-height: 44px;
	min-width: 150px;
}

.cpp-cmp-added {
	align-items: center;
	color: var(--cpp-green);
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 6px;
}

.cpp-cmp-remove {
	align-items: center;
	background: #fff;
	border: 1px solid var(--cpp-red);
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.cpp-cmp-remove:hover {
	background: #fef3f2;
}

.cpp-cmp-add:focus-visible,
.cpp-cmp-remove:focus-visible {
	outline: 3px solid var(--cpp-gold);
	outline-offset: 2px;
}

/* Total row. */
.cpp-cmp-total th,
.cpp-cmp-total td {
	background: var(--cpp-cream) !important;
}

.cpp-cmp-total th {
	font-weight: 700;
}

.cpp-cmp-total-amt {
	color: var(--cpp-ink);
	display: block;
	font-family: 'Sora', var(--disp);
	font-size: 24px;
	font-weight: 700;
	white-space: nowrap;
}

.cpp-cmp-total-amt small {
	color: var(--cpp-muted);
	font-family: 'DM Sans', var(--ui);
	font-size: 14px;
	font-weight: 500;
}

.cpp-cmp-sub {
	color: var(--cpp-muted);
	display: block;
	font-size: 13px;
	font-weight: 400;
}

.cpp-cmp-total td .cpp-cmp-sub {
	color: var(--cpp-ink);
}

/* Choose buttons: outline, and gold for the featured package. */
.cpp-cmp-cta td {
	border-bottom: 0;
}

.cpp-cmp-cta form {
	margin: 0;
}

.cpp-cmp-cta .cpp-btn {
	border-radius: 10px;
	font: 700 16px/1.2 'DM Sans', var(--ui);
	min-height: 0;
	padding: 12px 16px;
}

.cpp-cmp-cta .cpp-btn--gold {
	border-color: var(--cpp-gold);
	padding: 12px 16px;
}

.cpf-p-compare .cpp-foot {
	font-family: 'DM Sans', var(--ui);
	margin-top: 32px;
	max-width: none;
}

/* ---- Cart additions ---------------------------------------------------- */

.cpp-cart-label {
	color: var(--cpp-gold-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 14px 0 6px;
	text-transform: uppercase;
}

.cpp-cart-context {
	color: var(--cpp-muted);
	display: block;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	margin-top: 2px;
}

.cpp-select {
	border: 1px solid var(--cpp-edge);
	border-radius: 10px;
	box-sizing: border-box;
	font: inherit;
	max-width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	width: 100%;
}

.cpf-p-cart .cpf-addrow.is-locked {
	opacity: 0.95;
}

/*
 * The package cart's add-ons as a grid of cards, three across: name and note
 * on top, quantity and price along the bottom so the prices line up.
 */
.cpf-p-cart .cpf-cart-main .cpf-cart-addons {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cpf-p-cart .cpf-cart-main .cpf-addrow {
	align-content: space-between;
	align-items: end;
	grid-template-columns: auto minmax(0, 1fr);
	row-gap: 10px;
}

.cpf-p-cart .cpf-cart-main .cpf-addrow-hit {
	align-items: flex-start;
	align-self: start;
	grid-column: 1 / -1;
}

.cpf-p-cart .cpf-cart-main .cpf-addbox {
	margin-top: 1px;
}

.cpf-p-cart .cpf-cart-main .cpf-addrow .cpf-cart-qty {
	width: 64px;
}

.cpf-p-cart .cpf-cart-main .cpf-addpr {
	grid-column: 2;
	padding-left: 0;
	text-align: right;
}

@media (max-width: 1100px) {
	.cpf-p-cart .cpf-cart-main .cpf-cart-addons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.cpf-p-cart .cpf-cart-main .cpf-cart-addons {
		grid-template-columns: minmax(0, 1fr);
	}
}

.cpf-p-cart .cpf-cart-lines .is-state_fee dt,
.cpf-p-cart .cpf-cart-lines .is-pending dt,
.cpf-p-cart .cpf-cart-lines .is-pending dd,
.cpf-p-cart .cpf-cart-lines .is-deferred dt,
.cpf-p-cart .cpf-cart-lines .is-deferred dd {
	color: var(--cpp-muted);
}

.cpp-renews {
	background: var(--cpp-cream);
	border-radius: 10px;
	font-size: 14px;
	margin: 0 0 16px;
	padding: 12px 14px;
}

.cpp-renews[hidden] {
	display: none;
}

.cpp-renews-h {
	font-weight: 700;
	margin: 0 0 6px;
}

.cpp-renews ul {
	list-style: none;
	margin: 0 0 6px;
	padding: 0;
}

.cpp-renews li {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 2px 0;
}

/* ---- Wizard: the state fee panel --------------------------------------- */

.cpp-fee-panel {
	background: var(--cpp-cream);
	border-radius: 12px;
	color: var(--cpp-ink);
	font-family: var(--ui);
	font-size: 15px;
	line-height: 1.5;
	margin: 18px 0 0;
	padding: 14px 16px;
}

.cpp-fee-panel[hidden] {
	display: none;
}

.cpp-fee-panel dl {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}

.cpp-fee-panel dl > div {
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.cpp-fee-panel dt,
.cpp-fee-panel dd {
	margin: 0;
}

.cpp-fee-panel .is-total {
	border-top: 1px solid rgba(11, 31, 58, 0.15);
	font-weight: 700;
	margin-top: 4px;
	padding-top: 6px;
}

.cpp-fee-panel p {
	color: var(--cpp-muted);
	font-size: 13px;
	margin: 6px 0 0;
}

@media (max-width: 600px) {
	:root {
		--cpp-links-gap: 44px;
	}

	.cpp-section {
		padding: 44px 0 40px;
	}

	.cpp-plan,
	.cpp-ecom {
		padding: 22px 16px;
	}

	.cpp-price {
		font-size: 38px;
	}

	.cpp-cmp .cpp-cmp-first {
		min-width: 150px;
	}

	.cpf-p-compare .cpp-section {
		padding: 44px 0 40px;
	}

	.cpf-p-compare .cpp-h1 {
		font-size: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cpp-btn {
		transition: none;
	}
}

/* Cart holding add-ons for a company already set up: a list with a remove
   button per row, not checkboxes. */
.cpf-cart-base .cpf-addrow {
	grid-template-columns: minmax(0, 1fr) auto auto;
}

.cpf-cart-base .cpf-addrow-hit {
	cursor: default;
}

/* main.css pins the price to the third column; here the remove button is. */
.cpf-p-cart .cpf-cart-base .cpf-addpr {
	grid-column: 2;
}

.cpf-cart-base .cpf-addrow form {
	grid-column: 3;
	margin: 0;
}

.cpf-cart-base .cpp-addon-remove {
	font-size: 18px;
	height: 36px;
	width: 36px;
}

.cpf-cart-base .cpf-cart-summary form + form {
	margin-top: 12px;
}

/* Company picker on a cart of add-ons for an existing company. */
.cpf-cart-base .cpf-cart-company {
	margin: 0 0 16px;
}

.cpf-cart-base .cpf-cart-company-row {
	align-items: center;
	display: flex;
	gap: 10px;
}

.cpf-cart-base .cpf-cart-company-row .cpp-select {
	flex: 1;
	min-width: 0;
}

/* The company the order is for, from the completed setup, at the top of the
   summary column above what it costs. */
.cpf-cart-company-info {
	border-bottom: 1px solid var(--cpp-edge);
	margin: 0 0 18px;
	padding: 0 0 16px;
}

.cpf-cart-company-info .cpf-cart-company-head {
	align-items: baseline;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.cpf-cart-company-list {
	display: grid;
	gap: 8px;
	margin: 0;
}

.cpf-cart-company-list > div {
	display: flex;
	font-size: 14px;
	gap: 12px;
	justify-content: space-between;
}

.cpf-cart-company-list dt {
	color: var(--cpp-muted);
	flex: none;
}

.cpf-cart-company-list dd {
	color: var(--cpp-ink);
	font-weight: 600;
	margin: 0;
	min-width: 0;
	overflow-wrap: anywhere;
	text-align: right;
}

/* The E-commerce card's note, under its button on the left. */
.cpp-ecom-disclaimer {
	margin-top: 12px;
}