/**
 * WooCommerce sales pages — SaaS-style plan cards & single-plan layout.
 * Uses the theme's design tokens (--brand indigo, --accent cyan, …).
 *
 * @package Nosurprice_Theme
 */

/* ----------------------------------------------------------------------------
 * Plans grid ([nosurprice_plans])
 * ------------------------------------------------------------------------- */
.nsp-plans {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	align-items: stretch;
	margin: 2rem 0;
}
.nsp-plans--cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 760px; margin-inline: auto; }
.nsp-plans--cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.nsp-plans--cols-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

@media (max-width: 640px) {
	.nsp-plans { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------------------
 * Plan card
 * ------------------------------------------------------------------------- */
.nsp-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface, #fff);
	border: 1px solid var(--line, #e6e8eb);
	border-radius: var(--radius, 16px);
	padding: 1.75rem 1.5rem 1.5rem;
	box-shadow: var(--shadow, 0 1px 2px rgba(31, 33, 80, .06));
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.nsp-plan:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -18px rgba(31, 33, 80, .35);
	border-color: color-mix(in srgb, var(--accent, #28bdd6) 55%, var(--line, #e6e8eb));
}

/* Recommended (WooCommerce "Featured") */
.nsp-plan.is-featured {
	border-color: var(--accent, #28bdd6);
	box-shadow: 0 20px 44px -20px rgba(77, 82, 164, .5);
}
.nsp-plan.is-featured::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	border-radius: var(--radius, 16px) var(--radius, 16px) 0 0;
	background: var(--gradient-brand, linear-gradient(90deg, #4d52a4, #28bdd6));
}
.nsp-plan__badge {
	position: absolute;
	top: -0.8rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--gradient-brand, linear-gradient(90deg, #4d52a4, #28bdd6));
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	box-shadow: 0 6px 16px -6px rgba(77, 82, 164, .6);
	white-space: nowrap;
}

.nsp-plan__name {
	margin: 0.2rem 0 0.35rem;
	font-size: 1.35rem;
	line-height: 1.2;
	color: var(--ink, #1f2150);
}
.nsp-plan__tagline {
	margin: 0 0 1rem;
	color: var(--muted, #5b6470);
	font-size: 0.92rem;
	min-height: 2.6em;
}

/* Price block — reuses the plugin's get_price_html() markup */
.nsp-plan__price {
	font-size: 1.9rem;
	font-weight: 800;
	color: var(--ink, #1f2150);
	line-height: 1.15;
	margin-bottom: 1.1rem;
}
.nsp-plan__price .nosurprice-renewal-note,
.nsp-single-summary .nosurprice-renewal-note {
	display: block;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--muted, #5b6470);
	margin-top: 0.35rem;
}
.nosurprice-forever {
	display: inline-block;
	background: var(--gradient-brand, linear-gradient(90deg, #4d52a4, #28bdd6));
	color: #fff;
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 0.24rem 0.7rem;
	border-radius: 999px;
	vertical-align: middle;
	box-shadow: 0 6px 16px -8px rgba(77, 82, 164, .6);
}

/* CTA */
.nsp-plan__cta {
	display: block;
	text-align: center;
	background: var(--gradient-brand, linear-gradient(90deg, #4d52a4, #28bdd6));
	color: #fff !important;
	font-weight: 700;
	padding: 0.8rem 1rem;
	border-radius: var(--radius-sm, 10px);
	text-decoration: none;
	box-shadow: 0 10px 24px -12px rgba(77, 82, 164, .7);
	transition: filter .15s ease, transform .15s ease;
}
.nsp-plan__cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* Spec list */
.nsp-plan__specs {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 1.1rem 0 0;
	border-top: 1px solid var(--line, #e6e8eb);
	display: grid;
	gap: 0.55rem;
}
.nsp-plan__specs li {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.9rem;
}
.nsp-spec-label { color: var(--muted, #5b6470); }
.nsp-spec-value { color: var(--ink, #1f2150); font-weight: 600; text-align: right; }
/* "Compare all features" toolbar */
.nsp-plans-toolbar {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 1rem;
}
.nsp-compare-btn {
	appearance: none;
	cursor: pointer;
	background: var(--surface, #fff);
	color: var(--brand, #4d52a4);
	border: 1px solid color-mix(in srgb, var(--brand, #4d52a4) 35%, var(--line, #e6e8eb));
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.55rem 1.15rem;
	border-radius: 999px;
	transition: background .15s ease, border-color .15s ease;
}
.nsp-compare-btn:hover {
	background: var(--surface-alt, #f5f6fb);
	border-color: var(--brand, #4d52a4);
}

/* Extra feature rows — hidden until the single "Compare all features" toolbar
 * button reveals them on EVERY card at once (so rows stay aligned). */
.nsp-plan__specs.nsp-plan__specs--extra {
	display: none;
	margin-top: 0.7rem;
	padding-top: 0.7rem;
	border-top: 1px dashed var(--line, #e6e8eb);
}
.nsp-plans-wrap.is-open .nsp-plan__specs.nsp-plan__specs--extra {
	display: grid;
}

/* ----------------------------------------------------------------------------
 * Single plan — "What's included" grid, placed in the LEFT column under the
 * product gallery (WooCommerce floats the gallery + summary at 48% each).
 * ------------------------------------------------------------------------- */
.single-product div.product .nsp-single-specs {
	clear: left;
	float: left;
	width: 48%;
	box-sizing: border-box;
	margin: 1.6rem 0 0;
}
/* Keep the tabs / related / upsells below BOTH columns (the specs float left,
 * the summary floats right — without this they'd wrap up beside them). */
.single-product div.product .woocommerce-tabs,
.single-product div.product .upsells,
.single-product div.product .related {
	clear: both;
}
@media (max-width: 768px) {
	.single-product div.product .nsp-single-specs {
		float: none;
		width: 100%;
	}
}
.nsp-single-specs {
	padding: 1.25rem 1.4rem;
	background: var(--surface-alt, #f5f6fb);
	border: 1px solid var(--line, #e6e8eb);
	border-radius: var(--radius, 16px);
}
.nsp-single-specs__title {
	margin: 0 0 0.9rem;
	font-size: 1.05rem;
	color: var(--ink, #1f2150);
}
.nsp-single-specs ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.4rem 1.5rem;
}
.nsp-single-specs li {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.5rem 0;
	border-bottom: 1px dashed var(--line, #e6e8eb);
	font-size: 0.92rem;
}
.nsp-single-specs .nsp-spec-label { color: var(--muted, #5b6470); }
.nsp-single-specs .nsp-spec-value { color: var(--ink, #1f2150); font-weight: 600; }

/* ----------------------------------------------------------------------------
 * Product tabs — SaaS restyle + breathing room from the specs above
 * ------------------------------------------------------------------------- */
.woocommerce div.product .woocommerce-tabs {
	clear: both;
	margin-top: 3rem;
	padding-top: 1rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 2px solid var(--line, #e6e8eb);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0.7rem 1.15rem;
	color: var(--muted, #5b6470);
	font-weight: 600;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	transition: color .15s ease, border-color .15s ease;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--brand, #4d52a4);
	border-bottom-color: var(--accent, #28bdd6);
}
.woocommerce div.product .woocommerce-tabs .panel {
	margin: 1.6rem 0 0;
	padding: 0;
}
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { margin-top: 0; }

/* FAQ accordion (native <details>) — full available width */
.nsp-faq { display: grid; gap: 0.6rem; width: 100%; }
.nsp-faq__item {
	border: 1px solid var(--line, #e6e8eb);
	border-radius: var(--radius-sm, 10px);
	background: var(--surface, #fff);
	overflow: hidden;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.nsp-faq__item[open] {
	border-color: color-mix(in srgb, var(--accent, #28bdd6) 55%, var(--line, #e6e8eb));
	box-shadow: 0 10px 26px -18px rgba(31, 33, 80, .35);
}
.nsp-faq__q {
	cursor: pointer;
	list-style: none;
	padding: 0.95rem 2.6rem 0.95rem 1.1rem;
	font-weight: 600;
	color: var(--ink, #1f2150);
	position: relative;
}
.nsp-faq__q::-webkit-details-marker { display: none; }
.nsp-faq__q::after {
	content: "+";
	position: absolute;
	right: 1.05rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent-dark, #1fa6bd);
	font-size: 1.35rem;
	line-height: 1;
}
.nsp-faq__item[open] .nsp-faq__q { color: var(--brand, #4d52a4); }
.nsp-faq__item[open] .nsp-faq__q::after { content: "\2013"; }
.nsp-faq__a { padding: 0 1.1rem 1rem; color: var(--muted, #5b6470); }
.nsp-faq__a p { margin: 0; }

/* ----------------------------------------------------------------------------
 * Cart page - SaaS restyle of the WooCommerce Cart BLOCK.
 * Scoped under body.woocommerce-cart (is_cart() body class, always present) so
 * it does not depend on the hydrated wrapper class; !important on the key rules
 * to beat the block stylesheet, which loads after the theme CSS.
 * ------------------------------------------------------------------------- */

/* Item rows: borderless + airy. */
.woocommerce-cart table.wc-block-cart-items { border: 0 !important; }
.woocommerce-cart .wc-block-cart-items__header {
	border-bottom: 2px solid var(--line, #e6e8eb) !important;
	color: var(--muted, #5b6470);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: .03em;
}
.woocommerce-cart .wc-block-cart-items__row td {
	border-top: 1px solid var(--line, #e6e8eb) !important;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}
.woocommerce-cart .wc-block-cart-item__image img {
	border-radius: 10px;
	border: 1px solid var(--line, #e6e8eb);
}
.woocommerce-cart .wc-block-components-product-name {
	color: var(--ink, #1f2150) !important;
	font-weight: 600;
	text-decoration: none;
}
.woocommerce-cart .wc-block-components-product-name:hover { color: var(--brand, #4d52a4) !important; }

/* Line details (domain, term, auto-renew, IP, renewal note). */
.woocommerce-cart .wc-block-components-product-metadata { margin-top: 0.5rem; }
.woocommerce-cart .wc-block-components-product-details {
	margin: 0.4rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.85rem;
	color: var(--muted, #5b6470);
}
/* WooCommerce 11 dropped the per-row `__item` class and now renders the details
 * as one inline run separated by " / ". The child combinator survives that
 * rename; the per-key class it replaced it with (…__domain, …__termine) is built
 * from the TRANSLATED label, so it must never be targeted. */
.woocommerce-cart .wc-block-components-product-details > li,
.woocommerce-cart .wc-block-components-product-details > span { display: block; margin: 0.15rem 0; }
.woocommerce-cart .wc-block-components-product-details__name { font-weight: 600; color: var(--ink, #1f2150); }
.woocommerce-cart .wc-block-components-product-details__value { color: var(--ink, #1f2150); }

/* Quantity + remove. */
.woocommerce-cart .wc-block-components-quantity-selector {
	border: 1px solid var(--line, #e6e8eb);
	border-radius: var(--radius-sm, 9px);
}
.woocommerce-cart .wc-block-cart-item__remove-link { color: var(--muted, #5b6470); }
.woocommerce-cart .wc-block-cart-item__remove-link:hover { color: var(--danger, #b32d2e); }

/* Sidebar -> totals card. */
.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-sidebar {
	background: var(--surface-alt, #f5f6fb) !important;
	border: 1px solid var(--line, #e6e8eb) !important;
	border-radius: var(--radius, 14px) !important;
	padding: 1.5rem 1.4rem !important;
}
/* Keep 16px side padding: a `… 0` shorthand would zero WC's horizontal inset
 * and glue the rows to the card border. */
.woocommerce-cart .wc-block-components-totals-item { padding: 0.5rem 16px; }
.woocommerce-cart .wc-block-components-totals-footer-item {
	border-top: 1px solid var(--line, #e6e8eb);
	margin-top: 0.4rem;
	padding: 0.9rem 16px 0.4rem;
	font-size: 1.1rem;
	color: var(--ink, #1f2150);
}
.woocommerce-cart .wc-block-components-totals-coupon__input .wc-block-components-text-input input {
	border-radius: var(--radius-sm, 9px);
}

/* Proceed-to-checkout -> gradient CTA. */
.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .wc-block-cart__submit-container button,
.woocommerce-cart .wc-block-cart__submit-container a.wc-block-components-button {
	background: var(--gradient-brand, linear-gradient(90deg, #4d52a4, #28bdd6)) !important;
	color: #fff !important;
	font-weight: 700 !important;
	border: 0 !important;
	border-radius: var(--radius-sm, 9px) !important;
	box-shadow: 0 10px 24px -12px rgba(77, 82, 164, .7);
}
.woocommerce-cart .wc-block-cart__submit-button:hover { filter: brightness(1.06); }

/* Trust badges - injected by the theme into the cart sidebar. */
.nsp-cart-trust {
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--line, #e6e8eb);
	display: grid;
	gap: 0.55rem;
}
.nsp-cart-trust li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.85rem;
	color: var(--muted, #5b6470);
}
.nsp-cart-trust li::before {
	content: "\2713";
	color: var(--accent-dark, #1fa6bd);
	font-weight: 800;
	font-size: 0.95rem;
}

/* Cross-sells heading. */
.woocommerce-cart .wp-block-woocommerce-product-collection h2 { color: var(--ink, #1f2150); }

/* Empty-cart state. */
.woocommerce-cart .wp-block-woocommerce-empty-cart-block { text-align: center; }
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2 { color: var(--ink, #1f2150); }
.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link,
.woocommerce-cart .wp-block-woocommerce-empty-cart-block a.wp-element-button {
	background: var(--gradient-brand, linear-gradient(90deg, #4d52a4, #28bdd6)) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--radius-sm, 9px) !important;
}

/* ----------------------------------------------------------------------------
 * Checkout page - SaaS restyle of the WooCommerce Checkout BLOCK.
 * Same approach as the cart: scoped under body.woocommerce-checkout (is_checkout
 * body class) with !important on the key rules, because the block stylesheet
 * loads after the theme CSS.
 * ------------------------------------------------------------------------- */

/* Step titles + numbered bullets (the number is the title's ::before counter). */
.woocommerce-checkout .wc-block-components-checkout-step__title {
	color: var(--ink, #1f2150);
	font-weight: 700;
}
.woocommerce-checkout .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
	color: var(--brand, #4d52a4);
	font-weight: 800;
}
.woocommerce-checkout .wc-block-components-checkout-step__description {
	color: var(--muted, #5b6470);
}

/* Form inputs: soft borders, brand focus ring. */
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-form select {
	border: 1px solid var(--line, #e6e8eb);
	border-radius: var(--radius-sm, 9px);
}
.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-form select:focus {
	border-color: var(--brand, #4d52a4);
	box-shadow: 0 0 0 1px var(--brand, #4d52a4);
}
/* Native radios/checkboxes pick up the brand. */
.woocommerce-checkout input[type="radio"],
.woocommerce-checkout input[type="checkbox"] {
	accent-color: var(--brand, #4d52a4);
}

/* Payment methods: rounded options; the selected one is highlighted via an
 * inset box-shadow in currentColor, so tinting = setting the text colour. */
.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
.woocommerce-checkout .wc-block-components-radio-control__option {
	border-radius: var(--radius-sm, 9px);
}
.woocommerce-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.woocommerce-checkout .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
	color: var(--brand, #4d52a4);
	border-radius: var(--radius-sm, 9px);
}

/* Sidebar -> order-summary card, matching the cart totals card. */
.woocommerce-checkout .wc-block-components-sidebar {
	background: var(--surface-alt, #f5f6fb) !important;
	border: 1px solid var(--line, #e6e8eb) !important;
	border-radius: var(--radius, 14px) !important;
	padding: 1.5rem 1.4rem !important;
}
.woocommerce-checkout .wc-block-components-order-summary-item__description,
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name {
	color: var(--ink, #1f2150);
}
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-details {
	font-size: 0.85rem;
	color: var(--muted, #5b6470);
}
/* Keep 16px side padding: a `… 0` shorthand would zero WC's horizontal inset
 * and glue the rows to the card border. */
.woocommerce-checkout .wc-block-components-totals-item { padding: 0.4rem 16px; }
.woocommerce-checkout .wc-block-components-totals-footer-item {
	border-top: 1px solid var(--line, #e6e8eb);
	margin-top: 0.4rem;
	padding: 0.9rem 16px 0.4rem;
	font-size: 1.1rem;
	color: var(--ink, #1f2150);
}
.woocommerce-checkout .wc-block-components-panel__button { color: var(--brand, #4d52a4); }
.woocommerce-checkout .wc-block-components-totals-coupon__input .wc-block-components-text-input input {
	border-radius: var(--radius-sm, 9px);
}

/* Place-order -> gradient CTA; return-to-cart stays quiet. */
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--gradient-brand, linear-gradient(90deg, #4d52a4, #28bdd6)) !important;
	color: #fff !important;
	font-weight: 700 !important;
	border: 0 !important;
	border-radius: var(--radius-sm, 9px) !important;
	box-shadow: 0 10px 24px -12px rgba(77, 82, 164, .7);
}
.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { filter: brightness(1.06); }
.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button { color: var(--muted, #5b6470); }

/* Express payment separator ("OR") + terms note. */
.woocommerce-checkout .wc-block-components-express-payment-continue-rule { color: var(--muted, #5b6470); }
.woocommerce-checkout .wc-block-checkout__terms {
	font-size: 0.85rem;
	color: var(--muted, #5b6470);
}
.woocommerce-checkout .wc-block-checkout__terms a { color: var(--brand, #4d52a4); }

/* ----------------------------------------------------------------------------
 * My Account - Payment methods: the row action buttons (Edit / Delete / Set
 * default) inherit the big theme .button and wrapped. Make them compact so they
 * sit on one line, aligned right.
 * ------------------------------------------------------------------------- */
.woocommerce-account .account-payment-methods-table .payment-method-actions {
	text-align: right;
	white-space: nowrap;
}
.woocommerce-account .account-payment-methods-table .payment-method-actions .button {
	display: inline-block;
	width: auto;
	margin: 0 0 0 0.4rem;
	padding: 0.4rem 0.8rem;
	font-size: 0.82rem;
	line-height: 1.25;
	vertical-align: middle;
}
/* The "Set default" (secondary) action reads as a lighter outline button. */
.woocommerce-account .account-payment-methods-table .payment-method-actions .button.default {
	background: transparent;
	color: var(--brand, #4d52a4);
	border: 1px solid var(--line, #e6e8eb);
	box-shadow: none;
}
.woocommerce-account .account-payment-methods-table .payment-method-actions .button.default:hover {
	background: var(--surface-alt, #f5f6fb);
}

/* ----------------------------------------------------------------------------
 * Single product add-to-cart -> gradient CTA (hosting plans + license products),
 * matching the plan-card CTA. The license selector itself is styled by the
 * plugin's matrix-selector.css (shared design tokens).
 * ------------------------------------------------------------------------- */
.single-product div.product form.cart .single_add_to_cart_button {
	background: var(--gradient-brand, linear-gradient(90deg, #4d52a4, #28bdd6));
	color: #fff;
	font-weight: 700;
	border: 0;
	border-radius: var(--radius-sm, 9px);
	padding: 0.85rem 1.8rem;
	box-shadow: 0 10px 24px -12px rgba(77, 82, 164, .7);
	transition: filter .15s ease, transform .15s ease;
}
.single-product div.product form.cart .single_add_to_cart_button:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
	color: #fff;
}
/* Loop "Select options" on license products -> quiet brand outline button. */
.woocommerce ul.products li.product .button.nspkf-select-options {
	background: transparent;
	color: var(--brand, #4d52a4);
	border: 1px solid color-mix(in srgb, var(--brand, #4d52a4) 35%, var(--line, #e6e8eb));
}
.woocommerce ul.products li.product .button.nspkf-select-options:hover {
	background: var(--surface-alt, #f5f6fb);
	border-color: var(--brand, #4d52a4);
}

/* ----------------------------------------------------------------------------
 * License "What's included" tab (.nsp-includes): full-width label/value list,
 * narrow label on the left, description filling the width on the right.
 * ------------------------------------------------------------------------- */
.nsp-includes {
	margin: 0;
}
.nsp-includes__row {
	display: grid;
	grid-template-columns: minmax(120px, 220px) 1fr;
	gap: 0.4rem 2rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--line, #e6e8eb);
}
.nsp-includes__row:last-child {
	border-bottom: 0;
}
.nsp-includes__label {
	color: var(--muted, #5b6470);
	font-weight: 600;
}
.nsp-includes__value {
	color: var(--ink, #1f2150);
}
@media (max-width: 560px) {
	.nsp-includes__row {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}
}

/* ---------------------------------------------------------------------------
   Comparison table ([nosurprice_compare])
   The cards answer "what is in this plan"; this answers "which one". Every
   difference has to sit on one line, so the table scrolls inside its own box
   rather than making the page scroll sideways.
   --------------------------------------------------------------------------- */
.nsp-compare { margin: 0 0 3rem; }

.nsp-compare__title {
	font-size: clamp( 1.4rem, 1.1rem + 1vw, 2rem );
	margin: 0 0 1rem;
	color: var( --ink );
}

.nsp-compare__scroll {
	overflow-x: auto;
	border: 1px solid var( --line, #e6e8f2 );
	border-radius: var( --radius, 14px );
	background: #fff;
}

.nsp-compare__table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
	min-width: 34rem;
}

.nsp-compare__table th,
.nsp-compare__table td {
	padding: 0.85rem 1rem;
	text-align: center;
	border-bottom: 1px solid var( --line-soft, #eef0f6 );
	vertical-align: middle;
}

/* The feature name is the one column that is read, not scanned. */
.nsp-compare__table tbody th[scope="row"] {
	text-align: left;
	font-weight: 600;
	color: var( --ink );
	white-space: nowrap;
	position: sticky;
	left: 0;
	background: #fff;
	z-index: 1;
}

.nsp-compare__corner {
	position: sticky;
	left: 0;
	background: #fff;
	z-index: 2;
	text-align: left;
}

.nsp-compare__col a {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	color: var( --ink );
	text-decoration: none;
}

.nsp-compare__col a:hover { color: var( --brand ); }

.nsp-compare__price {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var( --muted, #5b6470 );
}

.nsp-compare__col--featured {
	background: color-mix( in srgb, var( --brand ) 8%, #fff );
	box-shadow: inset 0 3px 0 0 var( --brand );
}

.nsp-compare__no { color: var( --muted, #9aa2b1 ); }

.nsp-compare__table tfoot td { border-bottom: 0; }

.nsp-compare__cta { width: 100%; }

/* FAQ under the tables: the questions people ask before choosing. */
.nsp-compare-faq { margin: 0 0 3rem; }

.nsp-compare-faq__item {
	border: 1px solid var( --line, #e6e8f2 );
	border-radius: var( --radius-sm, 9px );
	padding: 0.9rem 1.1rem;
	margin-bottom: 0.6rem;
	background: #fff;
}

.nsp-compare-faq__item summary {
	cursor: pointer;
	font-weight: 600;
	color: var( --ink );
}

.nsp-compare-faq__a { margin-top: 0.6rem; }
