/* Checkout: "Change plan" in the order summary (block and classic). The
   order summary slot already draws the divider. */
.wc-block-components-totals-wrapper .sfls-change-plan,
.sfls-change-plan {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 12px 16px 14px;
	border: 0;
	font-size: .875em;
	line-height: 1.4;
}
.sfls-change-plan__plan {
	color: inherit;
	opacity: .75;
}
.sfls-change-plan__link,
.sfls-change-plan-link {
	font-weight: 600;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.sfls-change-plan-link {
	display: inline-block;
	margin-left: .5em;
	font-size: .85em;
}

.sfls-checkout-notices {
	margin: 0 0 24px;
}

/* Pay with Paddle (block and classic checkout). */
.sfls-paddle-label {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
}
.sfls-paddle-label-methods {
	font-size: .8125em;
	opacity: .7;
}
.sfls-paddle-method p {
	margin: 0 0 8px;
}
.sfls-paddle-method p:last-child {
	margin-bottom: 0;
}
.sfls-paddle-tax-note {
	font-size: .875em;
	opacity: .75;
}
.sfls-paddle-tax-row td {
	font-size: .875em;
	opacity: .8;
}

/* Paddle payment form, inline (Checkout block, classic checkout, order-pay). */
.sfls-paddle-inline[hidden] {
	display: none !important;
}
.sfls-paddle-inline {
	margin-top: 16px;
	pointer-events: auto;
	opacity: 1;
}
.sfls-paddle-inline--classic {
	margin: 16px 0 0;
}
.sfls-paddle-inline__lead {
	margin: 0 0 4px;
	font-weight: 600;
}
.sfls-paddle-inline__status {
	margin: 0 0 8px;
	font-size: .875em;
	opacity: .75;
}
.sfls-paddle-inline__status:empty {
	display: none;
}
.sfls-paddle-inline__status[data-tone="bad"] {
	color: #b32d2e;
	opacity: 1;
}
.sfls-paddle-inline__status[data-tone="ok"] {
	color: #00703c;
	opacity: 1;
}
.sfls-paddle-inline__frame {
	min-height: 120px;
}
.sfls-paddle-inline.is-loaded .sfls-paddle-inline__frame {
	min-height: 0;
}
.sfls-paddle-inline__cancel {
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: .875em;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

/* While the Paddle form is open: Paddle's own Pay button replaces Place
   order, and the details above are locked (Change details unlocks them). */
body.sfls-paddle-paying .wc-block-components-checkout-place-order-button,
body.sfls-paddle-paying .wc-block-checkout__actions,
body.sfls-paddle-paying #place_order {
	display: none !important;
}
body.sfls-paddle-paying .wc-block-checkout__contact-fields,
body.sfls-paddle-paying .wc-block-checkout__billing-fields,
body.sfls-paddle-paying .wc-block-checkout__shipping-fields,
body.sfls-paddle-paying .wc-block-checkout__order-notes,
body.sfls-paddle-paying form.checkout #customer_details,
body.sfls-paddle-paying #payment .wc_payment_methods {
	opacity: .55;
	pointer-events: none;
}
/* The payment step stays fully visible even if the checkout marks it busy. */
body.sfls-paddle-paying .wc-block-checkout__payment-method,
body.sfls-paddle-paying .wc-block-checkout__payment-method .wc-block-components-checkout-step__container {
	opacity: 1 !important;
}
