.sce-checkout-shell {
	--sce-accent: #029fff;
	width: 100%;
	padding: clamp(18px, 4vw, 72px) 18px;
	box-sizing: border-box;
}

.sce-checkout-shell *,
.sce-checkout-shell *::before,
.sce-checkout-shell *::after {
	box-sizing: border-box;
}

.sce-checkout-inner {
	width: 100%;
	margin: 0 auto;
}

.sce-checkout-card {
	position: relative;
	width: 100%;
	overflow: visible;
}

.sce-checkout-card > .woocommerce-notices-wrapper:empty {
	display: none;
}

.sce-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(860px, 100%);
	margin-right: auto;
	margin-left: auto;
}

.sce-progress-step {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
	font-size: 20px;
	font-weight: 600;
}

.sce-progress-dot {
	position: relative;
	width: 24px;
	height: 24px;
	border: 3px solid currentColor;
	border-radius: 50%;
	flex: 0 0 auto;
}

.sce-progress-step.is-active .sce-progress-dot::after {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: inherit;
	background: currentColor;
}

.sce-progress-line {
	height: 2px;
	min-width: 45px;
	margin: 0 clamp(15px, 3vw, 42px);
	flex: 1 1 170px;
}

.sce-reward {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-bottom: 20px;
}

.sce-reward-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	font-size: 40px;
}

.sce-reward-icon svg {
	width: 1em;
	height: 1em;
}

.sce-reward-content,
.sce-reward-content > :last-child {
	margin-bottom: 0;
}

.sce-checkout-card .woocommerce-form-login,
.sce-checkout-card .checkout_coupon {
	margin: 16px 0 38px;
	padding: 0;
	border: 0;
	background: transparent;
}

.sce-checkout-card .woocommerce-form-coupon-toggle .woocommerce-info,
.sce-checkout-card .woocommerce-form-login-toggle .woocommerce-info {
	padding: 12px 0;
	border: 0;
	background: transparent;
	color: inherit;
}

.sce-checkout-card .woocommerce-form-coupon-toggle .woocommerce-info::before,
.sce-checkout-card .woocommerce-form-login-toggle .woocommerce-info::before {
	display: none;
}

.sce-hide-coupon .woocommerce-form-coupon-toggle,
.sce-hide-coupon .checkout_coupon,
.sce-custom-coupon-enabled .woocommerce-form-coupon-toggle,
.sce-custom-coupon-enabled > .sce-checkout-inner > .sce-checkout-card > .checkout_coupon,
.sce-hide-login .woocommerce-form-login-toggle,
.sce-hide-login .woocommerce-form-login {
	display: none !important;
}

.sce-checkout-card form.checkout,
.sce-editor-preview {
	display: block;
	width: 100%;
}

.sce-checkout-card form.checkout::before,
.sce-checkout-card form.checkout::after,
.sce-checkout-card #customer_details::before,
.sce-checkout-card #customer_details::after {
	content: "";
	display: table;
	clear: both;
}

.sce-checkout-card #customer_details,
.sce-checkout-card #customer_details .col-1,
.sce-checkout-card #customer_details .col-2 {
	float: none;
	width: 100%;
	max-width: none;
}

.sce-checkout-card #customer_details .col-2 {
	margin-top: 34px;
}

.sce-checkout-card .woocommerce-billing-fields > h3,
.sce-checkout-card .woocommerce-shipping-fields > h3,
.sce-checkout-card #order_review_heading,
.sce-section-heading {
	margin: 0 0 28px;
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 700;
	line-height: 1.2;
}

.sce-checkout-card .woocommerce-additional-fields > h3:empty {
	display: none;
}

.sce-checkout-card .woocommerce-billing-fields__field-wrapper,
.sce-checkout-card .woocommerce-shipping-fields__field-wrapper,
.sce-preview-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0 2%;
}

.sce-checkout-card .form-row {
	position: relative;
	float: none;
	width: 100%;
	padding: 0;
	clear: none;
}

.sce-checkout-card .form-row-first,
.sce-checkout-card .form-row-last {
	width: 49%;
}

.sce-checkout-card .form-row-wide {
	width: 100%;
}

.sce-checkout-card .woocommerce-billing-fields .form-row > label,
.sce-checkout-card .woocommerce-shipping-fields .form-row > label,
.sce-checkout-card .woocommerce-additional-fields .form-row > label,
.sce-preview-grid .form-row > label {
	position: absolute;
	top: 9px;
	left: 22px;
	z-index: 2;
	display: block;
	max-width: calc(100% - 44px);
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 15px;
	line-height: 1.25;
	pointer-events: none;
}

.sce-checkout-card .form-row .required {
	color: #ff637a;
}

.sce-checkout-card input.input-text,
.sce-checkout-card textarea,
.sce-checkout-card select,
.sce-checkout-card .select2-selection {
	width: 100%;
	min-height: 76px;
	border: 2px solid var(--sce-accent);
	outline: none;
	font-family: inherit;
	font-size: 18px;
	line-height: 1.35;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.sce-checkout-card textarea {
	min-height: 110px;
	resize: vertical;
}

.sce-checkout-card .select2-container {
	width: 100% !important;
}

.sce-checkout-card .select2-selection {
	display: flex;
	align-items: center;
}

.sce-checkout-card .select2-selection__rendered {
	width: 100%;
	padding: 24px 50px 5px 22px !important;
	line-height: 1.35 !important;
}

.sce-checkout-card .select2-selection__arrow {
	top: 50% !important;
	right: 18px !important;
	transform: translateY(-50%);
}

.sce-checkout-card .woocommerce-invalid input.input-text,
.sce-checkout-card .woocommerce-invalid .select2-selection {
	border-color: #ff526c;
}

.sce-checkout-card #order_review_heading {
	float: none;
	width: 100%;
	padding: 0;
}

.sce-custom-coupon {
	margin: 52px 0;
}

.sce-coupon-title {
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 600;
}

.sce-coupon-row {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(180px, 1fr);
	gap: 24px;
}

.sce-checkout-card .sce-coupon-input,
.sce-checkout-card .sce-apply-coupon {
	width: 100%;
	min-height: 62px;
	margin: 0;
	border: 0;
	font: inherit;
}

.sce-checkout-card .sce-coupon-input {
	border: 2px solid var(--sce-accent);
	padding: 14px 22px;
}

.sce-checkout-card .sce-apply-coupon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease;
}

.sce-checkout-card .sce-apply-coupon:disabled {
	cursor: wait;
	opacity: .6;
}

.sce-coupon-message {
	margin-top: 12px;
}

.sce-coupon-message .woocommerce-error,
.sce-coupon-message .woocommerce-message,
.sce-coupon-message .woocommerce-info {
	margin: 0;
}

.sce-checkout-card #order_review {
	float: none;
	width: 100%;
}

.sce-checkout-card .woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 18px;
}

.sce-checkout-card .woocommerce-checkout-review-order-table thead {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.sce-checkout-card .woocommerce-checkout-review-order-table th,
.sce-checkout-card .woocommerce-checkout-review-order-table td {
	padding: 16px 0;
	border-width: 0 0 1px;
	border-style: solid;
	background: transparent;
	vertical-align: middle;
}

.sce-checkout-card .woocommerce-checkout-review-order-table td:last-child,
.sce-checkout-card .woocommerce-checkout-review-order-table th:last-child {
	text-align: right;
}

.sce-checkout-card .woocommerce-checkout-review-order-table .cart_item td {
	padding-top: 20px;
	padding-bottom: 20px;
}

.sce-product-line {
	display: flex;
	align-items: center;
	gap: 20px;
}

.sce-product-image {
	border: 2px solid var(--sce-accent);
	border-radius: 4px;
	object-fit: cover;
	flex: 0 0 auto;
}

.sce-checkout-card .woocommerce-checkout-review-order-table .order-total th,
.sce-checkout-card .woocommerce-checkout-review-order-table .order-total td {
	padding-top: 28px;
	padding-bottom: 10px;
	border-bottom: 0;
	font-size: clamp(24px, 2.2vw, 34px);
	font-weight: 700;
}

.sce-checkout-card .woocommerce-checkout-review-order-table small.includes_tax {
	display: block;
	margin-top: 4px;
	font-size: 14px;
}

.sce-shipping-row-heading {
	display: block;
	margin-bottom: 12px;
	font-size: 1.1em;
	font-weight: 700;
}

.sce-checkout-card ul#shipping_method {
	margin: 0;
	list-style: none;
}

.sce-checkout-card ul#shipping_method li {
	margin: 8px 0;
}

.sce-payment-heading-block {
	margin-top: 52px;
}

.sce-payment-heading-block .sce-section-heading {
	margin-bottom: 8px;
}

.sce-payment-intro {
	margin: 0 0 24px;
}

.sce-checkout-card #payment {
	border-radius: 0;
}

.sce-checkout-card #payment ul.payment_methods {
	margin: 0;
	padding: 0;
	border: 2px solid;
	overflow: hidden;
	list-style: none;
}

.sce-checkout-card #payment ul.payment_methods li {
	margin: 0;
	padding: 22px 20px;
	border-width: 0 0 1px;
	border-style: solid;
}

.sce-checkout-card #payment ul.payment_methods li:last-child {
	border-bottom: 0;
}

.sce-checkout-card #payment ul.payment_methods li > label {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
}

.sce-checkout-card #payment ul.payment_methods li img {
	max-height: 34px;
	width: auto;
	margin-left: 10px;
	vertical-align: middle;
}

.sce-checkout-card #payment input[type="radio"] {
	appearance: none;
	width: 22px;
	height: 22px;
	margin: 0 12px 0 0;
	border: 2px solid #aeb2c2;
	border-radius: 50%;
	background: #fff;
	vertical-align: middle;
}

.sce-checkout-card #payment div.payment_box {
	position: relative;
	margin: 18px -20px -22px;
	padding: 24px 20px;
	border-radius: 0;
}

.sce-checkout-card #payment div.payment_box::before {
	display: none;
}

.sce-checkout-card #payment .place-order {
	padding: 34px 0 0;
	background: transparent;
}

.sce-checkout-card .woocommerce-privacy-policy-text {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
}

.sce-checkout-card .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 32px;
}

.sce-checkout-card input[type="checkbox"] {
	width: 22px;
	height: 22px;
	margin-right: 10px;
	vertical-align: middle;
}

.sce-checkout-card #place_order {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	float: none;
	min-height: 72px;
	margin: 0 auto;
	border: 0;
	font-size: clamp(20px, 2vw, 30px);
	font-weight: 700;
	line-height: 1.2;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.sce-checkout-card #place_order:hover {
	transform: translateY(-1px);
}

.sce-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
}

.sce-button-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.sce-button-icon-template {
	display: none !important;
}

.sce-checkout-card .blockUI.blockOverlay {
	background-color: rgba(5, 9, 75, .64) !important;
	opacity: 1 !important;
}

.sce-checkout-card .woocommerce-error,
.sce-checkout-card .woocommerce-message,
.sce-checkout-card .woocommerce-info {
	border-radius: 8px;
}

.sce-empty-cart {
	margin: 20px 0 0;
}

/* Keep the checkout one-column even when the active theme adds a checkout grid. */
.sce-checkout-shell .sce-checkout-card form.checkout.woocommerce-checkout {
	display: block !important;
	grid-template-columns: none !important;
	grid-template-areas: none !important;
	column-count: 1 !important;
	width: 100% !important;
	max-width: none !important;
}

.sce-checkout-shell .sce-checkout-card form.checkout.woocommerce-checkout > #customer_details,
.sce-checkout-shell .sce-checkout-card form.checkout.woocommerce-checkout > #order_review_heading,
.sce-checkout-shell .sce-checkout-card form.checkout.woocommerce-checkout > #order_review,
.sce-checkout-shell .sce-checkout-card form.checkout.woocommerce-checkout > .sce-custom-coupon,
.sce-checkout-shell .sce-checkout-card .woocommerce-billing-fields,
.sce-checkout-shell .sce-checkout-card .woocommerce-shipping-fields,
.sce-checkout-shell .sce-checkout-card .woocommerce-additional-fields {
	display: block !important;
	float: none !important;
	clear: both !important;
	grid-column: 1 / -1 !important;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.sce-checkout-shell .sce-checkout-card #customer_details.col2-set {
	display: block !important;
	width: 100% !important;
}

.sce-checkout-shell .sce-checkout-card #customer_details.col2-set > .col-1,
.sce-checkout-shell .sce-checkout-card #customer_details.col2-set > .col-2 {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.sce-checkout-shell .sce-checkout-card #order_review_heading {
	margin-top: 52px !important;
}

.sce-checkout-shell .sce-checkout-card #order_review {
	overflow: visible !important;
}

/* Layout fallback for the supplied wfacp_form block when FunnelKit owns it. */
body.wfacpef_page #wfacp-e-form,
body.wfacpef_page #wfacp-e-form .wfacp_main_form,
body.wfacpef_page #wfacp-e-form #wfacp_checkout_form,
body.wfacpef_page #wfacp-e-form .wfacp-left-panel {
	display: block !important;
	float: none !important;
	clear: both !important;
	grid-template-columns: none !important;
	width: 100% !important;
	max-width: none !important;
}

body.wfacpef_page #wfacp-e-form .wfacp-left-panel > .wfacp-section {
	display: block !important;
	float: none !important;
	clear: both !important;
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-bottom: 52px !important;
	margin-left: 0 !important;
}

body.wfacpef_page #wfacp-e-form .wfacp-left-panel > .wfacp-section:last-child {
	margin-bottom: 0 !important;
}

@media (max-width: 767px) {
	.sce-checkout-shell {
		padding: 16px 10px;
	}

	.sce-progress {
		align-items: flex-start;
	}

	.sce-progress-step {
		flex-direction: column;
		gap: 7px;
		font-size: 12px;
		text-align: center;
		white-space: normal;
	}

	.sce-progress-dot {
		width: 18px;
		height: 18px;
		border-width: 2px;
	}

	.sce-progress-step.is-active .sce-progress-dot::after {
		inset: 4px;
	}

	.sce-progress-line {
		min-width: 12px;
		margin: 8px 8px 0;
	}

	.sce-reward {
		align-items: flex-start;
		gap: 16px;
	}

	.sce-reward-icon {
		width: 32px;
		height: 32px;
		flex-basis: 32px;
		font-size: 28px;
	}

	.sce-checkout-card .form-row-first,
	.sce-checkout-card .form-row-last {
		width: 100%;
	}

	.sce-checkout-card input.input-text,
	.sce-checkout-card textarea,
	.sce-checkout-card select,
	.sce-checkout-card .select2-selection {
		min-height: 54px;
	}

	.sce-checkout-card .woocommerce-checkout-review-order-table {
		font-size: 15px;
	}

	.sce-coupon-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.sce-product-line {
		align-items: flex-start;
		gap: 12px;
	}

	.sce-checkout-card #payment ul.payment_methods li {
		padding: 18px 14px;
	}

	.sce-checkout-card #payment div.payment_box {
		margin-right: -14px;
		margin-left: -14px;
	}

	.sce-checkout-card #place_order {
		width: 100% !important;
		min-height: 60px;
	}

	body.wfacpef_page #wfacp-e-form .wfacp-row .wfacp-col-left-half,
	body.wfacpef_page #wfacp-e-form .wfacp-row .wfacp-col-right-half,
	body.wfacpef_page #wfacp-e-form .wfacp-row .form-row-first,
	body.wfacpef_page #wfacp-e-form .wfacp-row .form-row-last {
		float: none !important;
		clear: both !important;
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}
