/**
 * Community Checkout: optimized cart, thank you and order pay pages.
 * Plain CSS (no build). Colors and radii come from Lite's design variables (`--fluidcheckout--*`), so the design template
 * and dark mode settings apply; each variable has a fallback for pages where Lite prints no variables.
 */

/* ------------------------------------------------------------------ */
/* Shared tokens                                                       */
/* ------------------------------------------------------------------ */

.fc-cart,
.fc-cart-page,
.fc-order-received,
.fc-order-details,
.fc-order-pay {
	--fc-ct-text: var(--fluidcheckout--color--black, #000);
	--fc-ct-muted: var(--fluidcheckout--color--dark-grey, #535156);
	--fc-ct-border: var(--fluidcheckout--border-color, var(--fluidcheckout--color--light-grey, #d8d8d8));
	--fc-ct-surface: var(--fluidcheckout--section--background-color, var(--fluidcheckout--color--white, #fff));
	--fc-ct-surface-alt: var(--fluidcheckout--color--lighter-grey, #f3f3f3);
	--fc-ct-radius: var(--fluidcheckout--section--border-radius, 8px);
	--fc-ct-success: var(--fluidcheckout--color--success, #00a35c);
	--fc-ct-error: var(--fluidcheckout--color--error, #d63638);
	--fc-ct-accent: var(--fluidcheckout--button--primary--background-color, var(--fluidcheckout--color--black, #000));
	--fc-ct-accent-text: var(--fluidcheckout--button--primary--text-color, var(--fluidcheckout--color--white, #fff));
	--fc-ct-gap: 20px;
	--fc-ct-pad: 20px;
}

.fc-cart *,
.fc-cart *::before,
.fc-cart *::after,
.fc-order-received *,
.fc-order-received *::before,
.fc-order-received *::after,
.fc-order-details *,
.fc-order-details *::before,
.fc-order-details *::after,
.fc-order-pay *,
.fc-order-pay *::before,
.fc-order-pay *::after {
	box-sizing: border-box;
}

/* Block themes: WooCommerce limits its pages to 1000px; the wide thank you layout uses the theme's wide size */
.woocommerce:has( > .fc-order-received--wide ),
.is-layout-constrained > .fc-order-confirmation-content:has( .fc-order-received--wide ) {
	max-width: var(--wp--style--global--wide-size, 1200px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Progress bars inside the sections */
.fc-cart .fc-pb:not( [hidden] ) {
	margin: 0 0 16px;
}

/* Sections (cards) */
.fc-cart-section,
.fc-cart .cart_totals.fc-cart-summary,
.fc-order-section,
.fc-order-pay__section {
	position: relative;
	margin: 0;
	padding: var(--fc-ct-pad);
	width: 100%;
	max-width: 100%;
	background-color: var(--fc-ct-surface);
	color: var(--fc-ct-text);
	border: 1px solid var(--fc-ct-border);
	border-radius: var(--fc-ct-radius);
}

body.has-fc-design-template--boxed .fc-cart-section,
body.has-fc-design-template--boxed .fc-cart .cart_totals.fc-cart-summary,
body.has-fc-design-template--boxed .fc-order-section,
body.has-fc-design-template--boxed .fc-order-pay__section {
	border-color: transparent;
	box-shadow: 0 1px 4px var(--fluidcheckout--section--shadow-color, rgba( 0, 0, 0, .1 ));
}

.fc-cart-section__title,
.fc-order-section__title {
	margin: 0 0 16px;
	padding: 0;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	color: inherit;
}

/* Visually hidden table headers (kept for screen readers) */
.fc-cart .fc-cart-items__table thead,
.fc-order-section .fc-order-items__table thead {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect( 1px, 1px, 1px, 1px ) !important;
	white-space: nowrap !important;
}

/* ------------------------------------------------------------------ */
/* Cart page layout                                                    */
/* ------------------------------------------------------------------ */

.fc-cart {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: var(--fc-ct-gap);
	align-items: start;
	margin: 0 0 40px;
	width: 100%;
	color: var(--fc-ct-text);
}

.fc-cart__main,
.fc-cart__sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: var(--fc-ct-gap);
	min-width: 0;
}

.fc-cart-slot:empty {
	display: none;
}

.fc-cart-slot {
	display: flex;
	flex-direction: column;
	gap: var(--fc-ct-gap);
}

.fc-cart .cart-collaterals {
	width: 100%;
	float: none;
}

.fc-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
}

@media ( min-width: 1000px ) {
	.fc-cart {
		grid-template-columns: minmax( 0, 62.5fr ) minmax( 0, 37.5fr );
		gap: 32px;
	}

	.fc-cart__sidebar {
		align-self: stretch;
	}

	body.has-fc-cart-sticky-summary .fc-cart__sidebar-inner {
		position: sticky;
		top: 24px;
	}

	body.admin-bar.has-fc-cart-sticky-summary .fc-cart__sidebar-inner {
		top: calc( 24px + 32px );
	}
}

/* Distraction free page */
#main.fc-main.fc-cart-page {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 84px 20px 40px;
	width: 100%;
	max-width: 1300px;
}

.fc-cart-page__title {
	margin: 0 0 20px;
	font-size: 1.75rem;
	line-height: 1.2;
}

@media ( min-width: 750px ) {
	#main.fc-main.fc-cart-page {
		padding-left: 30px;
		padding-right: 30px;
	}
}

@media ( min-width: 1000px ) {
	#main.fc-main.fc-cart-page {
		padding: 32px 50px 60px;
	}
}

/* ------------------------------------------------------------------ */
/* Cart items                                                          */
/* ------------------------------------------------------------------ */

.woocommerce .fc-cart table.shop_table.fc-cart-items__table {
	display: block;
	margin: 0;
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}

.woocommerce .fc-cart table.fc-cart-items__table tbody {
	display: block;
}

.woocommerce .fc-cart table.fc-cart-items__table tr.cart_item {
	display: grid;
	grid-template-columns: 64px minmax( 0, 1fr ) 32px;
	grid-template-areas:
		"thumb name remove"
		"thumb price price"
		"thumb qty subtotal";
	gap: 6px 14px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--fc-ct-border);
}

.woocommerce .fc-cart table.fc-cart-items__table tr.cart_item:first-child {
	padding-top: 0;
}

.woocommerce .fc-cart table.shop_table_responsive.fc-cart-items__table tr td,
.woocommerce .fc-cart table.shop_table_responsive.fc-cart-items__table tr:nth-child( 2n ) td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left !important;
}

.woocommerce .fc-cart table.shop_table_responsive.fc-cart-items__table tr td::before {
	content: none !important;
	display: none !important;
}

.fc-cart .fc-cart-items__table td.product-thumbnail {
	grid-area: thumb;
	align-self: start;
	display: block !important;
}

.fc-cart .fc-cart-items__table td.product-thumbnail img {
	display: block;
	width: 64px;
	height: 64px;
	max-width: none;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--fc-ct-border);
	background: var(--fc-ct-surface-alt);
}

.fc-cart .fc-cart-items__table td.product-name {
	grid-area: name;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.fc-cart .fc-cart-items__table td.product-name a {
	color: inherit;
	text-decoration: none;
}

.fc-cart .fc-cart-items__table td.product-name a:hover,
.fc-cart .fc-cart-items__table td.product-name a:focus {
	text-decoration: underline;
}

.fc-cart .fc-cart-items__table td.product-name dl.variation {
	margin: 4px 0 0;
	font-size: .875em;
	font-weight: normal;
	color: var(--fc-ct-muted);
}

.fc-cart .fc-cart-items__table td.product-name dl.variation dt,
.fc-cart .fc-cart-items__table td.product-name dl.variation dd,
.fc-cart .fc-cart-items__table td.product-name dl.variation p {
	display: inline;
	margin: 0;
	padding: 0;
	float: none;
}

.fc-cart .fc-cart-items__table td.product-price {
	grid-area: price;
	font-size: .875em;
	color: var(--fc-ct-muted);
}

.fc-cart .fc-cart-items__table td.product-quantity {
	grid-area: qty;
}

.fc-cart .fc-cart-items__table td.product-quantity .qty {
	width: 4.5em;
	min-height: 40px;
	text-align: center;
}

/*
 * Themes that draw their own − / + buttons inside the quantity box (Blocksy's `.ct-increase` / `.ct-decrease`, and themes with
 * `.plus` / `.minus` buttons) size that box and pad the field for the buttons. A fixed 4.5em field then has no room left for the
 * number, so the field fills the theme's box instead.
 */
.fc-cart .fc-cart-items__table td.product-quantity .quantity:has(> .ct-increase, > .ct-decrease, > .plus, > .minus, > button) .qty {
	width: 100%;
	min-width: 4.5em;
}

.fc-cart .fc-cart-items__table td.product-subtotal {
	grid-area: subtotal;
	font-weight: 600;
	text-align: right !important;
	justify-self: end;
}

.fc-cart .fc-cart-items__table td.product-remove {
	grid-area: remove;
	justify-self: end;
	align-self: start;
}

.woocommerce .fc-cart .fc-cart-items__table td.product-remove a.remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-size: 20px;
	line-height: 1;
	border-radius: 50%;
}

.woocommerce .fc-cart .fc-cart-items__table td.product-remove a.remove:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

@media ( min-width: 600px ) {
	.woocommerce .fc-cart table.fc-cart-items__table tr.cart_item {
		grid-template-columns: 72px minmax( 0, 1fr ) auto minmax( 80px, auto ) 32px;
		grid-template-areas:
			"thumb name qty subtotal remove"
			"thumb price qty subtotal remove";
	}

	.fc-cart .fc-cart-items__table td.product-thumbnail img {
		width: 72px;
		height: 72px;
	}

	.fc-cart .fc-cart-items__table td.product-remove {
		align-self: center;
	}
}

/* Actions row: coupon field and update button */
.fc-cart .fc-cart-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding: 0;
}

.fc-cart .fc-cart-actions .coupon {
	flex: 1 1 260px;
	float: none;
	margin: 0;
	padding: 0;
}

.fc-cart .fc-cart-actions .fc-cart-actions__update {
	float: none;
	margin-left: auto;
}

.fc-cart .fc-cart-actions .fc-cart-actions__update[disabled] {
	opacity: .5;
	cursor: not-allowed;
}

/* ------------------------------------------------------------------ */
/* Coupon code                                                         */
/* ------------------------------------------------------------------ */

.fc-cart-coupon {
	width: 100%;
}

.fc-cart-coupon .fc-cart-coupon__label {
	display: block;
	margin: 0 0 6px;
	font-size: .875em;
	font-weight: 600;
}

.fc-cart-coupon .fc-cart-coupon__field {
	display: flex;
	gap: 8px;
	width: 100%;
}

.woocommerce .fc-cart-coupon .fc-cart-coupon__field input.input-text,
.woocommerce .fc-cart .coupon .fc-cart-coupon__field #coupon_code {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	min-height: var(--fluidcheckout--field--height, 44px);
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--fc-ct-border);
	border-radius: 6px;
	background: var(--fc-ct-surface);
	color: var(--fc-ct-text);
}

.fc-cart-coupon .fc-cart-coupon__field .button {
	flex: 0 0 auto;
	float: none;
	min-height: var(--fluidcheckout--field--height, 44px);
	margin: 0;
	white-space: nowrap;
}

.fc-cart-coupon input.has-error {
	border-color: var(--fc-ct-error) !important;
}

.fc-cart-coupon .fc-cart-coupon__error {
	margin: 6px 0 0;
	font-size: .875em;
	color: var(--fc-ct-error);
}

/* Coupon outside the sections: as a card of its own */
.fc-cart-slot > .fc-cart-coupon,
.fc-cart__sidebar-inner > .fc-cart-slot > .fc-cart-coupon {
	padding: 16px var(--fc-ct-pad);
	background-color: var(--fc-ct-surface);
	border: 1px solid var(--fc-ct-border);
	border-radius: var(--fc-ct-radius);
}

.fc-cart-summary .fc-cart-coupon {
	margin: 0 0 16px;
}

.fc-cart-summary tr.fc-cart-coupon-row td {
	padding: 12px 0 !important;
}

.fc-cart-summary tr.fc-cart-coupon-row .fc-cart-coupon {
	margin: 0;
}

/* ------------------------------------------------------------------ */
/* Order summary (cart totals)                                          */
/* ------------------------------------------------------------------ */

.woocommerce .fc-cart .cart_totals.fc-cart-summary h2 {
	font-size: 1.125rem;
}

.woocommerce .fc-cart table.shop_table.fc-cart-summary__table {
	margin: 0 0 16px;
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}

.woocommerce .fc-cart table.shop_table_responsive.fc-cart-summary__table tr,
.woocommerce .fc-cart table.shop_table_responsive.fc-cart-summary__table tbody {
	display: table-row !important;
}

.woocommerce .fc-cart table.shop_table_responsive.fc-cart-summary__table tbody {
	display: table-row-group !important;
}

.woocommerce .fc-cart table.shop_table_responsive.fc-cart-summary__table tr th,
.woocommerce .fc-cart table.shop_table_responsive.fc-cart-summary__table tr td {
	display: table-cell !important;
	padding: 8px 0;
	border: 0;
	background: transparent;
	vertical-align: top;
	font-weight: normal;
}

.woocommerce .fc-cart table.shop_table_responsive.fc-cart-summary__table tr th {
	padding-right: 12px;
	text-align: left;
}

.woocommerce .fc-cart table.shop_table_responsive.fc-cart-summary__table tr td {
	text-align: right !important;
}

.woocommerce .fc-cart table.shop_table_responsive.fc-cart-summary__table tr td::before {
	content: none !important;
	display: none !important;
}

.woocommerce .fc-cart table.fc-cart-summary__table tr.order-total th,
.woocommerce .fc-cart table.fc-cart-summary__table tr.order-total td {
	padding-top: 14px;
	border-top: 1px solid var(--fc-ct-border);
	font-size: 1.125em;
	font-weight: 700;
}

.fc-cart .fc-cart-summary__table ul#shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}

.fc-cart .fc-cart-summary__table .woocommerce-shipping-destination,
.fc-cart .fc-cart-summary__table .shipping-calculator-button {
	font-size: .875em;
}

.fc-cart .wc-proceed-to-checkout {
	padding: 0;
}

.woocommerce .fc-cart .wc-proceed-to-checkout a.checkout-button {
	display: block;
	margin: 0;
	padding: 14px 20px;
	width: 100%;
	font-size: 1.0625em;
	text-align: center;
}

/* ------------------------------------------------------------------ */
/* Shipping section                                                    */
/* ------------------------------------------------------------------ */

.woocommerce .fc-cart-shipping table.fc-cart-shipping__table {
	display: block;
	margin: 0;
	border: 0;
	border-radius: 0;
}

.woocommerce .fc-cart-shipping table.fc-cart-shipping__table tbody,
.woocommerce .fc-cart-shipping table.fc-cart-shipping__table tr,
.woocommerce .fc-cart-shipping table.fc-cart-shipping__table th,
.woocommerce .fc-cart-shipping table.fc-cart-shipping__table td {
	display: block !important;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left !important;
}

.woocommerce .fc-cart-shipping table.fc-cart-shipping__table th {
	margin: 0 0 8px;
	font-weight: 600;
}

.woocommerce .fc-cart-shipping table.fc-cart-shipping__table td::before {
	content: none !important;
	display: none !important;
}

.fc-cart-shipping ul#shipping_method {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.fc-cart-shipping ul#shipping_method li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--fc-ct-border);
	border-radius: 6px;
	text-indent: 0;
}

.fc-cart-shipping ul#shipping_method li input {
	margin: 0;
}

.fc-cart-shipping ul#shipping_method li:has( input:checked ) {
	border-color: var(--fc-ct-text);
}

.fc-cart-shipping .shipping-calculator-form {
	margin-top: 12px;
}

/* ------------------------------------------------------------------ */
/* Cross-sells                                                         */
/* ------------------------------------------------------------------ */

.fc-cart-cross-sells-wrapper {
	width: 100%;
	min-width: 0;
}

.fc-cart .fc-cart-cross-sells-wrapper .cross-sells {
	float: none;
	width: 100%;
}

.fc-cart-cross-sells__list {
	/* Containing block of absolutely positioned texts (WooCommerce's "Price range" screen reader text), so the list clips them */
	position: relative;
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0 0 6px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.fc-cart-cross-sells__item {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 10px;
	width: 260px;
	max-width: 85%;
	border: 1px solid var(--fc-ct-border);
	border-radius: 6px;
	scroll-snap-align: start;
}

.fc-cart-cross-sells__image img {
	display: block;
	width: 64px;
	height: 64px;
	max-width: none;
	object-fit: cover;
	border-radius: 4px;
}

.fc-cart-cross-sells__details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.fc-cart-cross-sells__name {
	font-weight: 600;
	color: inherit;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.fc-cart-cross-sells__price {
	font-size: .875em;
}

.woocommerce .fc-cart-cross-sells__details .button {
	margin: 4px 0 0;
	padding: 6px 12px;
	font-size: .875em;
}

.fc-cart-cross-sells__details .added_to_cart {
	font-size: .875em;
}

/* The sidebar is narrow: one product per row */
.fc-cart__sidebar .fc-cart-cross-sells__list {
	flex-direction: column;
	overflow: visible;
}

.fc-cart__sidebar .fc-cart-cross-sells__item {
	width: 100%;
	max-width: 100%;
}

/* ------------------------------------------------------------------ */
/* Widget areas                                                        */
/* ------------------------------------------------------------------ */

.fc-ct-widget-area .widget {
	margin: 0 0 16px;
}

.fc-ct-widget-area .widget:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Fixes for WooCommerce's block theme styles                           */
/* ------------------------------------------------------------------ */

.fc-cart-page__content .woocommerce,
.fc-cart-page__content .fc-cart-block {
	max-width: none !important;
}

.woocommerce .fc-cart table.shop_table_responsive.fc-cart-summary__table tr.fc-cart-coupon-row td {
	text-align: left !important;
}

/* The section title already says "Shipping" */
.woocommerce .fc-cart-shipping table.fc-cart-shipping__table th {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect( 1px, 1px, 1px, 1px ) !important;
	white-space: nowrap !important;
}

/* ------------------------------------------------------------------ */
/* Thank you page and order details                                    */
/* ------------------------------------------------------------------ */

.fc-order-received {
	display: flex;
	flex-direction: column;
	gap: var(--fc-ct-gap);
	margin: 0 auto 40px;
	width: 100%;
	max-width: 760px;
	color: var(--fc-ct-text);
}

.fc-order-received.fc-order-received--wide {
	max-width: none;
}

.fc-order-details {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: var(--fc-ct-gap);
	align-items: start;
	width: 100%;
}

.fc-order-details__main,
.fc-order-details__sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: var(--fc-ct-gap);
	min-width: 0;
}

@media ( min-width: 1000px ) {
	.fc-order-received--wide .fc-order-details.has-sidebar {
		grid-template-columns: minmax( 0, 62.5fr ) minmax( 0, 37.5fr );
		gap: 32px;
	}

	.fc-order-received--wide .fc-order-details__sidebar {
		align-self: stretch;
	}

	.fc-order-received--wide .fc-order-details__sidebar-inner {
		position: sticky;
		top: 24px;
	}
}

/* Overview card */
.fc-order-overview .woocommerce-notice,
.fc-order-overview .woocommerce-thankyou-order-received {
	position: relative;
	margin: 0 0 16px;
	padding: 0 0 0 40px;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.4;
	background: transparent;
	border: 0;
	color: inherit;
}

.fc-order-overview .woocommerce-thankyou-order-received::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--fc-ct-success) url( "data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%2220 6 9 17 4 12%22/%3E%3C/svg%3E" ) center / 16px no-repeat;
}

.fc-order-overview .woocommerce-thankyou-order-failed {
	padding: 0;
	color: var(--fc-ct-error);
}

.woocommerce .fc-order-overview ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 140px, 1fr ) );
	gap: 12px 20px;
	margin: 16px 0 0;
	padding: 16px 0 0;
	list-style: none;
	border-top: 1px solid var(--fc-ct-border);
}

.woocommerce .fc-order-overview ul.woocommerce-order-overview li {
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--fc-ct-muted);
}

.woocommerce .fc-order-overview ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: 2px;
	font-size: 1rem;
	text-transform: none;
	letter-spacing: 0;
	color: var(--fc-ct-text);
	overflow-wrap: anywhere;
}

/* Order status progress bar */
.fc-order-status {
	margin: 0 0 8px;
}

.fc-order-status__current {
	margin: 0 0 10px;
	font-weight: 600;
}

.fc-order-status__steps {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	margin: 0;
	padding: 0;
	list-style: none;
}

.fc-order-status__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0 4px;
	font-size: .8125rem;
	text-align: center;
	color: var(--fc-ct-muted);
}

/* Connector line between the markers */
.fc-order-status__step::before {
	content: "";
	position: absolute;
	top: 11px;
	left: -50%;
	width: 100%;
	height: 3px;
	background: var(--fc-ct-border);
	z-index: 0;
}

.fc-order-status__step:first-child::before {
	content: none;
}

.fc-order-status__step.is-complete::before,
.fc-order-status__step.is-current::before {
	background: var(--fc-ct-success);
}

.fc-order-status__marker {
	position: relative;
	z-index: 1;
	display: block;
	width: 24px;
	height: 24px;
	border: 3px solid var(--fc-ct-border);
	border-radius: 50%;
	background: var(--fc-ct-surface);
}

.fc-order-status__step.is-complete .fc-order-status__marker {
	border-color: var(--fc-ct-success);
	background: var(--fc-ct-success);
}

.fc-order-status__step.is-current .fc-order-status__marker {
	border-color: var(--fc-ct-success);
	box-shadow: inset 0 0 0 3px var(--fc-ct-surface), inset 0 0 0 12px var(--fc-ct-success);
}

.fc-order-status__step.is-current,
.fc-order-status__step.is-complete {
	color: var(--fc-ct-text);
}

.fc-order-status__step.is-current {
	font-weight: 600;
}

.fc-order-status--badge {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.fc-order-status__label {
	font-weight: 600;
}

.fc-order-status__badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--fc-ct-surface-alt);
	font-size: .875rem;
}

.fc-order-status--error .fc-order-status__badge {
	background: var(--fc-ct-error);
	color: #fff;
}

/* Order actions */
.fc-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.fc-order-received > .fc-order-actions,
.fc-order-details__main > .fc-order-actions {
	margin-top: 0;
}

.woocommerce .fc-order-actions .button {
	margin: 0;
}

/* Order tables */
.woocommerce .fc-order-section table.shop_table {
	margin: 0;
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}

.woocommerce .fc-order-section table.shop_table th,
.woocommerce .fc-order-section table.shop_table td {
	padding: 10px 0;
	border: 0;
	border-top: 1px solid var(--fc-ct-border);
	background: transparent;
	vertical-align: top;
	text-align: left;
}

.woocommerce .fc-order-section table.shop_table tbody tr:first-child td,
.woocommerce .fc-order-section table.shop_table tbody tr:first-child th {
	border-top: 0;
}

.woocommerce .fc-order-section table.shop_table td:last-child,
.woocommerce .fc-order-section table.shop_table th.product-total {
	text-align: right;
}

.woocommerce .fc-order-section table.shop_table td.product-name {
	padding-right: 12px;
}

.woocommerce .fc-order-section table.shop_table tfoot th {
	font-weight: normal;
}

.woocommerce .fc-order-section table.shop_table tr.fc-order-total--order_total th,
.woocommerce .fc-order-section table.shop_table tr.fc-order-total--order_total td {
	font-size: 1.125em;
	font-weight: 700;
}

.fc-order-section .wc-item-meta {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-size: .875em;
	color: var(--fc-ct-muted);
}

.fc-order-section .wc-item-meta li,
.fc-order-section .wc-item-meta li p {
	display: inline;
	margin: 0;
}

.fc-order-section .wc-item-meta li::after {
	content: "";
	display: block;
}

/* Downloads */
.fc-order-downloads--inside {
	margin-top: 20px;
	padding: 16px;
	background: var(--fc-ct-surface-alt);
	border: 0;
}

.fc-order-downloads .woocommerce-order-downloads__title {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 600;
}

/* Customer details */
.fc-order-customer .woocommerce-customer-details {
	margin: 0;
}

.fc-order-customer .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: 20px;
}

.fc-order-customer .woocommerce-columns--addresses::before,
.fc-order-customer .woocommerce-columns--addresses::after {
	content: none;
}

.fc-order-customer .woocommerce-column {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

.fc-order-customer .woocommerce-column__title,
.fc-order-customer h2 {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 600;
}

.fc-order-customer address {
	padding: 0;
	border: 0;
	font-style: normal;
}

@media ( min-width: 600px ) {
	.fc-order-customer .woocommerce-columns--addresses {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

.fc-order-notes__text {
	margin: 0;
}

/* ------------------------------------------------------------------ */
/* Order pay page                                                      */
/* ------------------------------------------------------------------ */

.fc-order-pay {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	gap: var(--fc-ct-gap);
	align-items: start;
	width: 100%;
	color: var(--fc-ct-text);
}

.fc-order-pay__main {
	display: flex;
	flex-direction: column;
	gap: var(--fc-ct-gap);
	min-width: 0;
}

/* Small screens: the order summary first */
.fc-order-pay__sidebar {
	order: -1;
	min-width: 0;
}

@media ( min-width: 1000px ) {
	.fc-order-pay {
		grid-template-columns: minmax( 0, 62.5fr ) minmax( 0, 37.5fr );
		gap: 32px;
	}

	.fc-order-pay__sidebar {
		order: 0;
		position: sticky;
		top: 24px;
	}
}

.fc-order-pay__order-number {
	margin: -8px 0 12px;
	color: var(--fc-ct-muted);
}

.woocommerce .fc-order-pay table.fc-order-pay__table {
	margin: 0;
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
}

.woocommerce .fc-order-pay table.fc-order-pay__table th,
.woocommerce .fc-order-pay table.fc-order-pay__table td {
	padding: 8px 0;
	border: 0;
	border-top: 1px solid var(--fc-ct-border);
	background: transparent;
	text-align: left;
	vertical-align: top;
}

.woocommerce .fc-order-pay table.fc-order-pay__table td.product-total,
.woocommerce .fc-order-pay table.fc-order-pay__table td.product-subtotal,
.woocommerce .fc-order-pay table.fc-order-pay__table th.product-total {
	text-align: right;
}

.woocommerce .fc-order-pay table.fc-order-pay__table thead th {
	border-top: 0;
	font-size: .8125rem;
	text-transform: uppercase;
	color: var(--fc-ct-muted);
}

.woocommerce .fc-order-pay #payment {
	background: transparent;
	border-radius: 0;
}

.woocommerce .fc-order-pay #payment ul.payment_methods {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.woocommerce .fc-order-pay #payment ul.payment_methods li {
	margin: 0 0 8px;
	padding: 12px 14px;
	border: 1px solid var(--fc-ct-border);
	border-radius: 6px;
	list-style: none;
}

.woocommerce .fc-order-pay #payment div.form-row {
	margin: 0;
	padding: 0;
}

.woocommerce .fc-order-pay #payment #place_order {
	float: none;
	display: block;
	margin: 12px 0 0;
	padding: 14px 20px;
	width: 100%;
	font-size: 1.0625em;
}

/* WooCommerce margins and widths around the optimized pages */
.woocommerce .fc-order-received .fc-order-section,
.woocommerce .fc-order-details .fc-order-section,
.woocommerce .fc-order-details .woocommerce-customer-details,
.woocommerce .fc-order-pay .fc-order-pay__section {
	margin: 0;
}

.woocommerce:has( > .fc-cart ),
.woocommerce:has( > .fc-order-received ),
.woocommerce:has( > .fc-order-pay ) {
	margin-left: auto !important;
	margin-right: auto !important;
}

.fc-order-pay .woocommerce-privacy-policy-text,
.fc-order-pay .woocommerce-terms-and-conditions-wrapper {
	font-size: .875em;
}

.woocommerce .fc-order-downloads .woocommerce-order-downloads,
.woocommerce .fc-order-downloads table.shop_table {
	margin-bottom: 0;
}

/* Order pay summary: column headers are for screen readers (the rows say what they are), so phones keep the room */
.woocommerce .fc-order-pay table.fc-order-pay__table thead {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect( 1px, 1px, 1px, 1px ) !important;
	white-space: nowrap !important;
}

.woocommerce .fc-order-pay table.fc-order-pay__table tbody tr:first-child td {
	border-top: 0;
}

.woocommerce .fc-order-pay table.fc-order-pay__table td.product-quantity {
	padding: 8px 8px;
	white-space: nowrap;
}
