.fmwce-checkout {
	--fmwce-checkout-border: #e5e7eb;
	--fmwce-checkout-muted: #6b7280;
	--fmwce-checkout-radius: 5px;
	--fmwce-checkout-ring: rgba(15, 23, 42, 0.16);
	--wc-form-border-color: #d1d5db;
	--wc-form-border-radius: 8px;
	--fmwce-checkout-section-border-top: 1px;
	--fmwce-checkout-section-border-right: 1px;
	--fmwce-checkout-section-border-bottom: 1px;
	--fmwce-checkout-section-border-left: 1px;
	--fmwce-checkout-section-border-style: solid;
	--fmwce-checkout-section-border-color: #e5e7eb;
	width: 100%;
}

.fmwce-checkout__layout {
	width: min(100%, 860px);
	margin: 0 auto;
	counter-reset: fmwce-checkout-step;
}

.fmwce-checkout-empty {
	box-sizing: border-box;
	width: min(100%, 620px);
	margin: clamp(24px, 6vw, 72px) auto;
	padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 48px);
	border-width: var(--fmwce-checkout-section-border-top) var(--fmwce-checkout-section-border-right) var(--fmwce-checkout-section-border-bottom) var(--fmwce-checkout-section-border-left);
	border-style: var(--fmwce-checkout-section-border-style);
	border-color: var(--fmwce-checkout-section-border-color);
	border-radius: var(--fmwce-checkout-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
	text-align: center;
}

.fmwce-checkout-empty__icon {
	display: inline-flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #334155;
}

.fmwce-checkout-empty__icon svg {
	width: 26px;
	height: 26px;
}

.fmwce-checkout-empty h1 {
	margin: 0 !important;
	padding: 0 !important;
	color: #0f172a;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 650;
	line-height: 1.2;
}

.fmwce-checkout-empty p {
	max-width: 420px;
	margin: 10px auto 0 !important;
	padding: 0 !important;
	color: #64748b;
	font-size: 15px;
	line-height: 1.55;
}

.fmwce-checkout-empty__button,
.fmwce-checkout-empty__button:hover,
.fmwce-checkout-empty__button:focus,
.fmwce-checkout-empty__button:active {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
	padding: 9px 18px;
	border: 0;
	border-radius: 6px;
	background: #1e293b;
	box-shadow: none;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.fmwce-checkout-empty__button:hover {
	background: #0f172a;
}

.fmwce-checkout-empty__button:focus-visible {
	outline: 3px solid var(--fmwce-checkout-ring);
	outline-offset: 3px;
}

.fmwce-checkout-preview-document .fmwce-checkout-empty {
	margin-top: 0;
	margin-bottom: 0;
}

.fmwce-checkout__main {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 16px;
}

.fmwce-checkout__cart-group {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 16px;
}

.fmwce-checkout__cart-group[hidden] {
	display: none !important;
}

.fmwce-checkout__cart-column[hidden] {
	display: none !important;
}

.fmwce-checkout--two-columns .fmwce-checkout__layout {
	display: grid;
	width: min(100%, 1180px);
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	align-items: start;
	gap: 24px;
}

.fmwce-checkout--two-columns .fmwce-checkout__cart-column {
	position: sticky;
	top: 48px;
	min-width: 0;
	align-self: start;
}

/* Kustom Checkout keeps ownership of its form and iframe. When the editable
 * cart is enabled, only its duplicate order review is hidden. */
body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-editable-cart form.kco-checkout #kco-order-review {
	display: none !important;
}

body.fmwce-checkout-provider-kustom_checkout form.kco-checkout,
body.fmwce-checkout-provider-kustom_checkout form.kco-checkout #kco-wrapper,
body.fmwce-checkout-provider-kustom_checkout form.kco-checkout #kco-iframe {
	box-sizing: border-box !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

body.fmwce-checkout-provider-kustom_checkout form.kco-checkout #kco-wrapper,
body.fmwce-checkout-provider-kustom_checkout form.kco-checkout #kco-iframe {
	display: block !important;
	margin: 0 !important;
}

body.fmwce-checkout-provider-kustom_checkout form.kco-checkout #kco-wrapper {
	padding-top: 0 !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle,
.fmwce-checkout-preview-document .woocommerce-form-coupon-toggle {
	display: none !important;
}

body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-editable-cart .woocommerce:has(> form.kco-checkout) > .fmwce-checkout__cart-group,
body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-editable-cart .woocommerce:has(> form.kco-checkout) > form.kco-checkout {
	box-sizing: border-box;
	width: min(100%, 860px) !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-editable-cart .woocommerce:has(> form.kco-checkout) > .fmwce-checkout__cart-group {
	margin-bottom: 16px !important;
}

body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-two-columns .woocommerce:has(> form.kco-checkout) {
	display: flex !important;
	width: min(100%, 1180px) !important;
	max-width: 1180px !important;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 24px;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-two-columns .woocommerce:has(> form.kco-checkout) > .woocommerce-notices-wrapper {
	width: 100%;
	flex: 0 0 100%;
	order: 0;
}

body.fmwce-checkout-provider-kustom_checkout .woocommerce:has(> form.kco-checkout) > .woocommerce-notices-wrapper:empty {
	display: none !important;
}

body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-two-columns .woocommerce:has(> form.kco-checkout) > form.kco-checkout {
	width: auto !important;
	min-width: 0 !important;
	flex: 1 1 0;
	order: 1;
	margin: 0 !important;
}

body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-two-columns .woocommerce:has(> form.kco-checkout) > .fmwce-checkout__cart-group {
	position: sticky;
	top: 48px;
	width: 420px !important;
	max-width: 100%;
	flex: 0 0 420px;
	order: 2;
	margin: 0 !important;
}

/* Elementor wraps the classic checkout hooks in its own layout and section
 * boxes. Keep those hooks, but let the module-owned checkout control layout
 * and presentation when it replaces the widget's checkout. */
.elementor-widget-woocommerce-checkout-page .fmwce-checkout .e-checkout__container,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout .e-checkout__column,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout .e-checkout__column-inner,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout .e-checkout__order_review,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout .e-checkout__order_review-2 {
	display: contents !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout .e-coupon-box {
	display: none !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .fmwce-checkout__step.col-1 {
	box-sizing: border-box;
	margin: 0 !important;
	padding: clamp(16px, 2vw, 22px) !important;
	border-width: var(--fmwce-checkout-section-border-top) var(--fmwce-checkout-section-border-right) var(--fmwce-checkout-section-border-bottom) var(--fmwce-checkout-section-border-left) !important;
	border-style: var(--fmwce-checkout-section-border-style) !important;
	border-color: var(--fmwce-checkout-section-border-color) !important;
	border-radius: var(--fmwce-checkout-radius) !important;
	background: #fff !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout .shipping_address,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout .woocommerce-additional-fields,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout #payment {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.fmwce-checkout__step,
.fmwce-checkout__customer-details {
	min-width: 0;
}

.fmwce-checkout__step,
.fmwce-checkout__cart-panel {
	counter-increment: fmwce-checkout-step;
	box-sizing: border-box;
	margin: 0 !important;
	padding: clamp(16px, 2vw, 22px);
	border-width: var(--fmwce-checkout-section-border-top) var(--fmwce-checkout-section-border-right) var(--fmwce-checkout-section-border-bottom) var(--fmwce-checkout-section-border-left);
	border-style: var(--fmwce-checkout-section-border-style);
	border-color: var(--fmwce-checkout-section-border-color);
	border-radius: var(--fmwce-checkout-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.fmwce-checkout--step-by-step .fmwce-checkout__cart-group:has(> .fmwce-checkout__step:not(.fmwce-checkout__step--active)) > .fmwce-checkout-recommendations-root {
	display: none !important;
}

.fmwce-checkout__cart-panel {
	counter-increment: none;
}

.fmwce-checkout__cart-panel .fmwce-checkout__step-number {
	display: none;
}

.fmwce-checkout__step[hidden],
.fmwce-checkout__address-toggle-row[hidden],
.fmwce-checkout__address-fields[hidden],
.fmwce-checkout--address-arranged .fmwce-checkout__shipping-source {
	display: none !important;
}

.fmwce-checkout__step-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
}

.fmwce-checkout__step-header h2,
.fmwce-checkout__step-header h3 {
	margin: 0 !important;
	color: #0f172a !important;
	font-family: inherit !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
}

.fmwce-checkout__step-number {
	display: inline-flex;
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.fmwce-checkout__step-number::before {
	content: counter(fmwce-checkout-step);
}

.fmwce-checkout__next {
	display: flex !important;
	width: max-content !important;
	min-height: 40px;
	margin-top: 14px !important;
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	margin-left: auto !important;
	padding: 9px 18px !important;
	align-items: center;
	justify-content: center;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--primary, #0f172a) !important;
	box-shadow: none !important;
	color: var(--primary-foreground, #fff) !important;
	font: inherit;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-align: center !important;
	transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease !important;
	-webkit-user-select: none !important;
	user-select: none !important;
	white-space: nowrap !important;
	cursor: pointer;
	float: none !important;
}

.fmwce-checkout__next:hover,
.fmwce-checkout__next:focus,
.fmwce-checkout__next:active {
	background: color-mix(in srgb, var(--primary, #0f172a) 88%, #000) !important;
	color: var(--primary-foreground, #fff) !important;
}

.fmwce-checkout__next:focus-visible {
	outline: 3px solid var(--fmwce-checkout-ring) !important;
	outline-offset: 2px;
}

.fmwce-checkout__next[hidden] {
	display: none !important;
}

.fmwce-checkout--step-by-step .fmwce-checkout__step:not(.fmwce-checkout__step--active) > :not(.fmwce-checkout__step-header):not(.fmwce-checkout__step-summary) {
	display: none !important;
}

.fmwce-checkout--step-by-step .fmwce-checkout__step:not(.fmwce-checkout__step--active) > .fmwce-checkout__step-header {
	margin-bottom: 0;
}

.fmwce-checkout--step-by-step .fmwce-checkout__step--locked {
	opacity: 0.58;
	transition: opacity 160ms ease;
}

.fmwce-checkout--step-by-step.fmwce-checkout--initializing .fmwce-checkout__step {
	opacity: 0.58;
	pointer-events: none;
}

.fmwce-checkout--step-by-step.fmwce-checkout--initializing .fmwce-checkout__step > :not(.fmwce-checkout__step-header) {
	display: none !important;
}

.fmwce-checkout__step-summary {
	display: none;
}

.fmwce-checkout--step-by-step .fmwce-checkout__step--complete:not(.fmwce-checkout__step--active) {
	padding-top: 16px;
	padding-bottom: 16px;
}

.fmwce-checkout--step-by-step .fmwce-checkout__step--complete:not(.fmwce-checkout__step--active) > .fmwce-checkout__step-header {
	margin-bottom: 12px;
}

.fmwce-checkout--step-by-step .fmwce-checkout__step--complete:not(.fmwce-checkout__step--active) > .fmwce-checkout__step-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	padding-left: 36px;
	color: #334155;
	font-size: 14px;
	line-height: 1.5;
}

.fmwce-checkout__step-summary-group p {
	margin: 0 !important;
}

.fmwce-checkout__step-summary-spacer {
	height: 10px;
}

.fmwce-checkout__step-actions {
	display: none;
	margin-left: auto;
	align-items: center;
	gap: 12px;
}

.fmwce-checkout--step-by-step .fmwce-checkout__step--complete:not(.fmwce-checkout__step--active) > .fmwce-checkout__step-header .fmwce-checkout__step-actions {
	display: flex;
}

.fmwce-checkout__step-complete-icon {
	display: inline-flex;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #dcfce7;
	color: #166534;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.fmwce-checkout__step-change {
	margin: 0 !important;
	padding: 2px 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #475569 !important;
	font: inherit;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	text-align: center !important;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 150ms ease !important;
	-webkit-user-select: none !important;
	user-select: none !important;
	white-space: nowrap !important;
	cursor: pointer;
}

.fmwce-checkout__step-change:hover,
.fmwce-checkout__step-change:focus,
.fmwce-checkout__step-change:active {
	background: transparent !important;
	color: #0f172a !important;
}

.fmwce-checkout__step-change:focus-visible {
	border-radius: 2px;
	outline: 2px solid var(--fmwce-checkout-ring) !important;
	outline-offset: 2px;
}

.fmwce-checkout #customer_details,
.fmwce-checkout #customer_details .col-1,
.fmwce-checkout #customer_details .col-2 {
	display: block;
	float: none;
	width: 100%;
}

.fmwce-checkout__customer-details {
	display: flex !important;
	margin: 0 !important;
	flex-direction: column;
	gap: 16px;
}

.fmwce-checkout__customer-details::before,
.fmwce-checkout__customer-details::after {
	display: none !important;
	content: none !important;
}

.fmwce-checkout h3,
.fmwce-checkout .woocommerce-billing-fields > h3,
.fmwce-checkout .woocommerce-shipping-fields > h3 {
	margin-top: 0;
}

.fmwce-checkout__step .woocommerce-billing-fields > h3 {
	display: none;
}

.fmwce-checkout .form-row {
	box-sizing: border-box;
	margin-top: 0;
	margin-bottom: 10px;
	padding: 0;
}

.fmwce-checkout .woocommerce-billing-fields__field-wrapper,
.fmwce-checkout .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 12px;
}

.fmwce-checkout .form-row-wide,
.fmwce-checkout .form-row.notes {
	grid-column: 1 / -1;
}

.fmwce-checkout #billing_postcode_field,
.fmwce-checkout #billing_city_field,
.fmwce-checkout #billing_phone_field,
.fmwce-checkout #billing_email_field,
.fmwce-checkout #shipping_postcode_field,
.fmwce-checkout #shipping_city_field {
	grid-column: auto;
	width: 100% !important;
	max-width: none !important;
}

.fmwce-checkout .form-row-first,
.fmwce-checkout .form-row-last {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: none !important;
}

.fmwce-checkout .form-row label {
	display: block;
	margin-bottom: 4px;
}

.fmwce-checkout .form-row label:not(.radio) {
	color: #0f172a !important;
}

.fmwce-checkout .fmwce-customer-type-field {
	grid-column: 1 / -1;
	justify-self: center;
	width: 70% !important;
	max-width: none !important;
	margin-top: 12px !important;
	margin-bottom: 22px !important;
}

.fmwce-checkout .fmwce-customer-type-field > label {
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 600;
}

.fmwce-checkout .fmwce-customer-type-field .optional {
	display: none !important;
}

.fmwce-checkout .fmwce-customer-type-field .woocommerce-input-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.fmwce-checkout .fmwce-customer-type-field input[type="radio"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.fmwce-checkout .fmwce-customer-type-field label.radio {
	display: flex;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--fmwce-checkout-border);
	border-radius: 5px;
	background: #fff;
	color: #475569;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.fmwce-checkout .fmwce-customer-type-field input[type="radio"]:checked + label.radio {
	border-color: var(--primary, #0f172a);
	background: var(--primary, #0f172a);
	color: var(--primary-foreground, #fff);
}

.fmwce-checkout .fmwce-customer-type-field input[type="radio"]:focus-visible + label.radio {
	outline: 3px solid var(--fmwce-checkout-ring);
	outline-offset: 1px;
}

.fmwce-checkout .fmwce-business-field:not(.fmwce-field-visible),
.fmwce-checkout .fmwce-customer-type-field:not(.fmwce-field-visible),
.fmwce-checkout .fmwce-business-field[hidden],
.fmwce-checkout .fmwce-customer-type-field[hidden] {
	display: none !important;
}

.fmwce-checkout .fmwce-business-field.validate-required > label::after {
	content: " *";
	color: #b91c1c;
}

.fmwce-checkout .fmwce-business-field {
	grid-column: 1 / -1;
	margin-bottom: 14px;
}

.fmwce-checkout .fmwce-business-field .optional {
	display: none !important;
}

.fmwce-checkout .form-row input.input-text,
.fmwce-checkout .form-row textarea,
.fmwce-checkout .form-row select {
	box-sizing: border-box;
	width: 100%;
	min-height: 40px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #fff;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row {
	margin: 0 0 10px !important;
	padding: 0 !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row label {
	margin-bottom: 4px !important;
	color: #0f172a !important;
	font: inherit;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .fmwce-customer-type-field {
	margin-top: 12px !important;
	margin-bottom: 22px !important;
	padding: 0 !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .fmwce-customer-type-field > label {
	margin-bottom: 7px !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .fmwce-customer-type-field label.radio {
	box-sizing: border-box;
	min-height: 40px;
	margin: 0 !important;
	padding: 8px 12px !important;
	background: #fff !important;
	color: #475569 !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.25;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .fmwce-customer-type-field input[type="radio"]:checked + label.radio {
	border-color: var(--primary, #0f172a) !important;
	background: var(--primary, #0f172a) !important;
	color: var(--primary-foreground, #fff) !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row input.input-text,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row textarea,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row select {
	box-sizing: border-box;
	width: 100% !important;
	min-height: 40px;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #0f172a !important;
	font: inherit;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row input.input-text {
	padding: 8px 12px !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row select {
	padding: 0 12px !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row textarea {
	padding: 10px 12px !important;
}

.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row input.input-text:focus,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row textarea:focus,
.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .form-row select:focus {
	border-color: #64748b !important;
	outline: 3px solid var(--fmwce-checkout-ring) !important;
	outline-offset: 0;
}

#fmwce-checkout .form-row select {
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	outline: none !important;
	box-shadow: none !important;
}

#fmwce-checkout .form-row select:focus {
	border-color: #94a3b8 !important;
	box-shadow: 0 0 0 3px var(--fmwce-checkout-ring) !important;
}

#fmwce-checkout .form-row select.country_to_state--single {
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	height: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #0f172a !important;
	font: inherit !important;
	line-height: 38px !important;
}

#fmwce-checkout .form-row select.country_to_state--single:focus {
	border-color: #94a3b8 !important;
	box-shadow: 0 0 0 3px var(--fmwce-checkout-ring) !important;
}

#fmwce-checkout .select2-container {
	display: block;
	width: 100% !important;
}

#fmwce-checkout .select2-container--default .select2-selection--single,
#fmwce-checkout .select2-container .select2-selection--single {
	box-sizing: border-box;
	height: 40px !important;
	min-height: 40px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	outline: none !important;
	background: #fff !important;
	box-shadow: none !important;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

#fmwce-checkout .select2-container .select2-selection--single:hover {
	border-color: #b8c0cc !important;
}

#fmwce-checkout .select2-container--focus .select2-selection--single,
#fmwce-checkout .select2-container--open .select2-selection--single {
	border-color: #94a3b8 !important;
	box-shadow: 0 0 0 3px var(--fmwce-checkout-ring) !important;
}

#fmwce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
	height: 38px;
	padding: 0 38px 0 12px !important;
	color: #0f172a;
	font: inherit;
	line-height: 38px !important;
}

#fmwce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0 !important;
	right: 7px !important;
	height: 38px !important;
}

#fmwce-checkout .select2-container .select2-selection--single .select2-selection__arrow b {
	border-top-color: #64748b !important;
}

#fmwce-checkout .select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-bottom-color: #64748b !important;
}

.fmwce-checkout .form-row textarea.input-text {
	display: block;
	width: 100% !important;
	min-height: 88px;
	padding: 10px 12px;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #0f172a;
	font: inherit;
	line-height: 1.45;
	resize: vertical;
}

.fmwce-checkout .form-row textarea.input-text::placeholder {
	color: #64748b;
	opacity: 1;
}

.fmwce-checkout .form-row textarea.input-text:focus {
	border-color: #64748b !important;
	outline: 3px solid var(--fmwce-checkout-ring) !important;
	outline-offset: 0;
}

.fmwce-checkout .woocommerce-input-wrapper {
	display: block;
}

.fmwce-checkout #ship-to-different-address {
	width: 100%;
	margin: 0;
}

.fmwce-checkout #ship-to-different-address label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: #0f172a !important;
	cursor: pointer;
}

.fmwce-checkout #ship-to-different-address label > span {
	order: -1;
}

.fmwce-checkout #ship-to-different-address-checkbox,
.fmwce-checkout .fmwce-checkout__address-toggle {
	appearance: none;
	box-sizing: border-box;
	width: 42px !important;
	height: 24px;
	min-width: 42px;
	margin: 0 !important;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background-color: #e2e8f0;
	background-image: radial-gradient(circle at 12px 50%, #fff 0 8px, transparent 9px);
	background-repeat: no-repeat;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
	cursor: pointer;
	transition: background-color 150ms ease, background-position 150ms ease, border-color 150ms ease;
}

.fmwce-checkout #ship-to-different-address-checkbox:checked,
.fmwce-checkout .fmwce-checkout__address-toggle:checked {
	border-color: #0f172a;
	background-color: #0f172a;
	background-image: radial-gradient(circle at calc(100% - 12px) 50%, #fff 0 8px, transparent 9px);
}

.fmwce-checkout #ship-to-different-address-checkbox:focus-visible,
.fmwce-checkout .fmwce-checkout__address-toggle:focus-visible {
	outline: 3px solid var(--fmwce-checkout-ring);
	outline-offset: 2px;
}

.fmwce-checkout__address-toggle-row {
	box-sizing: border-box;
	margin: 4px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--fmwce-checkout-border);
}

.fmwce-checkout__address-toggle-row h3 {
	color: #0f172a !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
}

.fmwce-checkout-cart-root h3,
.fmwce-checkout-recommendations-root h2 {
	color: #0f172a !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
}

.fmwce-checkout__address-fields {
	margin-top: 14px;
}

#fmwce-checkout .form-row.woocommerce-validated input.input-text,
#fmwce-checkout .form-row.woocommerce-validated select,
#fmwce-checkout .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection {
	border-color: #d1d5db !important;
}

.fmwce-checkout .form-row input.input-text:focus,
.fmwce-checkout .form-row textarea:focus,
.fmwce-checkout .form-row select:focus {
	border-color: #64748b;
	outline: 3px solid var(--fmwce-checkout-ring);
	outline-offset: 0;
}

#fmwce-checkout .form-row.woocommerce-validated input.input-text:focus,
#fmwce-checkout .form-row.woocommerce-validated select:focus {
	border-color: #64748b !important;
}

.fmwce-checkout .woocommerce-checkout-review-order-table {
	border-collapse: collapse;
	width: 100%;
}

.fmwce-checkout--native-summary-hidden .woocommerce-checkout-review-order-table {
	display: none;
}

.fmwce-checkout:has(.fmwce-checkout__cart-step) .woocommerce-checkout-review-order-table thead {
	display: none;
}

.fmwce-checkout__cart-step .fmwce-checkout-cart-root > section {
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.fmwce-checkout__cart-step .fmwce-checkout-cart-root > section > header {
	display: none;
}

.fmwce-checkout .woocommerce-checkout-review-order-table th,
.fmwce-checkout .woocommerce-checkout-review-order-table td {
	padding: 12px 0;
}

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

.fmwce-checkout #payment ul.payment_methods,
.fmwce-checkout ul.woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fmwce-checkout__shipping-methods {
	margin: 0;
}

.fmwce-checkout__shipping-progress {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--fmwce-checkout-border);
}

.fmwce-checkout__shipping-progress[hidden] {
	display: none !important;
}

.fmwce-checkout__shipping-progress-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
}

.fmwce-checkout__shipping-progress-percentage {
	flex: 0 0 auto;
	color: var(--fmwce-checkout-muted);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.fmwce-checkout__shipping-progress-track {
	position: relative;
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #e5e7eb;
}

.fmwce-checkout__shipping-progress-track > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #0f172a;
	transition: width 180ms ease;
}

.fmwce-checkout__shipping-methods[hidden] {
	display: none;
}

.fmwce-checkout__shipping-method-group + .fmwce-checkout__shipping-method-group {
	margin-top: 12px;
}

.fmwce-checkout__shipping-package-title {
	margin: 0 0 8px;
	font-weight: 600;
}

.fmwce-checkout #payment ul.payment_methods {
	margin-top: 0;
}

.fmwce-checkout #payment ul.payment_methods > li,
.fmwce-checkout ul.woocommerce-shipping-methods > li {
	margin: 0 0 8px;
}

.fmwce-checkout #payment {
	border-radius: 0 !important;
	background: transparent !important;
}

.fmwce-checkout #payment ul.payment_methods {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.fmwce-checkout #payment ul.payment_methods > li {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	column-gap: 10px;
	box-sizing: border-box;
	margin: 0 0 8px !important;
	padding: 12px !important;
	border: 1px solid var(--fmwce-checkout-border);
	border-radius: 10px;
	background: #fff !important;
	color: #0f172a !important;
	line-height: 1.4;
	transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.fmwce-checkout #payment ul.payment_methods > li:has(input[name="payment_method"]:checked) {
	border-color: #94a3b8;
	background: #f8fafc !important;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.fmwce-checkout #payment ul.payment_methods > li > input[name="payment_method"] {
	appearance: none !important;
	display: inline-grid;
	grid-column: 1;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px;
	margin: 1px 0 0 !important;
	padding: 0 !important;
	place-content: center;
	border: 1px solid #94a3b8 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	cursor: pointer;
}

.fmwce-checkout #payment ul.payment_methods > li > input[name="payment_method"]::before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #fff;
	transform: scale(0);
	transition: transform 120ms ease;
}

.fmwce-checkout #payment ul.payment_methods > li > input[name="payment_method"]:checked {
	border-color: #0f172a !important;
	background: #0f172a !important;
}

.fmwce-checkout #payment ul.payment_methods > li > input[name="payment_method"]:checked::before {
	transform: scale(1);
}

.fmwce-checkout #payment ul.payment_methods > li > input[name="payment_method"]:focus,
.fmwce-checkout #payment ul.payment_methods > li > input[name="payment_method"]:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 3px var(--fmwce-checkout-ring) !important;
}

.fmwce-checkout #payment ul.payment_methods > li > label {
	display: flex;
	grid-column: 2;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 !important;
	color: #0f172a !important;
	font-weight: 500;
	cursor: pointer;
}

.fmwce-checkout #payment ul.payment_methods > li > label img {
	width: auto;
	max-width: min(45%, 150px);
	max-height: 28px;
	margin: 0 !important;
	object-fit: contain;
}

.fmwce-checkout #payment .payment_box {
	grid-column: 1 / -1;
	box-sizing: border-box;
	width: 100%;
	margin: 10px 0 0 !important;
	padding: 11px 12px !important;
	border: 0 !important;
	border-radius: 8px;
	background: #f1f5f9 !important;
	color: #475569 !important;
	font-size: 14px;
	line-height: 1.5;
}

.fmwce-checkout #payment .payment_box::before,
.fmwce-checkout #payment .payment_box::after {
	display: none !important;
}

.fmwce-checkout #payment .payment_box p:last-child {
	margin-bottom: 0 !important;
}

.fmwce-checkout #payment .payment_box p {
	color: #475569 !important;
}

.fmwce-checkout #payment .place-order {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	box-sizing: border-box;
	margin: 14px 0 0 !important;
	padding: 14px 0 0 !important;
	border-top: 1px solid var(--fmwce-checkout-border);
	background: transparent !important;
}

.fmwce-checkout #payment .place-order > *:not(#place_order) {
	width: 100%;
}

.fmwce-checkout #place_order {
	float: none !important;
	min-height: 42px;
	margin: 0 0 0 auto !important;
	padding: 10px 18px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: #0f172a !important;
	box-shadow: none !important;
	color: #fff !important;
	font: inherit;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-align: center !important;
	text-decoration: none !important;
	transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease !important;
	-webkit-user-select: none !important;
	user-select: none !important;
	white-space: nowrap !important;
	cursor: pointer;
}

.fmwce-checkout #place_order:hover,
.fmwce-checkout #place_order:focus,
.fmwce-checkout #place_order:active {
	background: #1e293b !important;
	color: #fff !important;
	text-decoration: none !important;
}

.fmwce-checkout .fmwce-checkout-coupon-toggle {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.fmwce-checkout #place_order:focus-visible {
	outline: 3px solid var(--fmwce-checkout-ring) !important;
	outline-offset: 2px;
}

.fmwce-checkout ul.woocommerce-shipping-methods > li {
	display: flex;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid var(--fmwce-checkout-border);
	border-radius: 10px;
	background: #fff;
}

.fmwce-checkout ul.woocommerce-shipping-methods > li:has(input:checked),
.fmwce-checkout ul.woocommerce-shipping-methods > li.fmwce-checkout__shipping-method--selected {
	border-color: #94a3b8;
	background: #f8fafc;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.fmwce-checkout ul.woocommerce-shipping-methods > li label {
	display: flex;
	min-width: 0;
	flex: 1;
	align-items: center;
	gap: 10px;
	margin: 0;
	cursor: pointer;
}

.fmwce-checkout ul.woocommerce-shipping-methods input.shipping_method[type="radio"],
.fmwce-checkout ul.woocommerce-shipping-methods input[type="radio"] {
	appearance: none !important;
	display: inline-grid;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px;
	margin: 0 !important;
	padding: 0 !important;
	place-content: center;
	border: 1px solid #94a3b8 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.fmwce-checkout ul.woocommerce-shipping-methods input.shipping_method[type="radio"]::before,
.fmwce-checkout ul.woocommerce-shipping-methods input[type="radio"]::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #fff;
	transform: scale(0);
	transition: transform 120ms ease;
}

.fmwce-checkout ul.woocommerce-shipping-methods input.shipping_method[type="radio"]:checked,
.fmwce-checkout ul.woocommerce-shipping-methods input[type="radio"]:checked {
	border-color: #0f172a !important;
	background: #0f172a !important;
}

.fmwce-checkout ul.woocommerce-shipping-methods input.shipping_method[type="radio"]:checked::before,
.fmwce-checkout ul.woocommerce-shipping-methods input[type="radio"]:checked::before {
	transform: scale(1);
}

.fmwce-checkout ul.woocommerce-shipping-methods input.shipping_method[type="radio"]:focus-visible,
.fmwce-checkout ul.woocommerce-shipping-methods input[type="radio"]:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 3px var(--fmwce-checkout-ring) !important;
}

.fmwce-checkout ul.woocommerce-shipping-methods input.shipping_method[type="radio"]:disabled,
.fmwce-checkout ul.woocommerce-shipping-methods input[type="radio"]:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.fmwce-checkout #payment .place-order {
	margin-top: 14px;
}

.fmwce-checkout-preview-stage {
	padding: clamp(12px, 2vw, 20px);
}

.fmwce-checkout-preview-document {
	box-sizing: border-box;
	min-height: 100vh;
	margin: 0;
	padding: 20px;
	background: #f5f5f5;
}

.fmwce-checkout-preview-document.fmwce-checkout-preview-dark {
	background: #0f172a;
}

.fmwce-checkout-preview-document__content {
	width: 100%;
}

.fmwce-checkout-preview-document .fmwce-checkout--two-columns .fmwce-checkout__cart-column {
	top: 20px;
}

@media (max-width: 900px) {
	body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-two-columns .woocommerce:has(> form.kco-checkout) {
		display: block !important;
		width: min(100%, 860px) !important;
		max-width: 860px !important;
	}

	body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-two-columns .woocommerce:has(> form.kco-checkout) > form.kco-checkout,
	body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-two-columns .woocommerce:has(> form.kco-checkout) > .fmwce-checkout__cart-group {
		position: static;
		width: 100% !important;
		max-width: none;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.fmwce-checkout-provider-kustom_checkout.fmwce-checkout-provider-two-columns .woocommerce:has(> form.kco-checkout) > .fmwce-checkout__cart-group {
		margin-bottom: 16px !important;
	}
}

@media (max-width: 780px) {
	.fmwce-checkout--two-columns .fmwce-checkout__layout {
		display: flex;
		width: 100% !important;
		max-width: none !important;
		flex-direction: column;
		gap: 16px;
	}

	.fmwce-checkout--two-columns .fmwce-checkout__main,
	.fmwce-checkout--two-columns .fmwce-checkout__customer-details,
	.fmwce-checkout--two-columns .fmwce-checkout__step,
	.fmwce-checkout--two-columns #customer_details,
	.fmwce-checkout--two-columns #customer_details .col-1,
	.fmwce-checkout--two-columns #customer_details .col-2,
	.fmwce-checkout--two-columns .fmwce-checkout__cart-column {
		box-sizing: border-box;
		min-width: 0;
		width: 100% !important;
		max-width: none !important;
	}

	.fmwce-checkout--two-columns .fmwce-checkout__cart-column {
		position: static;
		order: -1;
	}
}

@media (max-width: 600px) {
	.elementor-widget-woocommerce-checkout-page .fmwce-checkout #customer_details .fmwce-checkout__step.col-1 {
		padding: 15px !important;
	}

	.fmwce-checkout .fmwce-customer-type-field {
		width: 100% !important;
	}

	.fmwce-checkout .woocommerce-billing-fields__field-wrapper,
	.fmwce-checkout .woocommerce-shipping-fields__field-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}

	.fmwce-checkout .form-row-first,
	.fmwce-checkout .form-row-last {
		grid-column: 1 / -1;
	}

	.fmwce-checkout__step,
	.fmwce-checkout__cart-panel {
		padding: 15px;
		border-radius: var(--fmwce-checkout-radius);
	}

	.fmwce-checkout #place_order {
		width: 100%;
		margin-left: 0 !important;
	}
}
