// ------------------------------------
// CHECKOUT SHIPPING ADDRESS
// ------------------------------------
body.has-highlighted-shipping-section div.woocommerce form .fc-step__substep[data-substep-id="shipping_address"] {
	background-color: $checkout-highlighted-section-background-color;

	// Make fields background white
	textarea,
	select,
	input[type="email"],
	input[type="number"],
	input[type="date"],
	input[type="search"],
	input[type="text"],
	input[type="tel"],
	input[type="url"],
	input[type="password"],
	select + .select2-container .select2-selection,
	select + .select2-container .select2-selection .select2-selection__rendered,
	select + .ts-wrapper .ts-control {
		background-color: $checkout-highlighted-section-fields-background-color !important; // Needed to override theme styles
		color: inherit !important; // Needed to override theme styles
	}
}

body.has-highlighted-shipping-section div.woocommerce form .fc-step__substep .fc-highlighted-field-wrapper--shipping {
	margin: $checkout-substep-margin-expand;
	margin-top: 0;
	margin-bottom: #{ - $global-spacing-small };
	padding: $checkout-substep-padding;
	background-color: $checkout-highlighted-section-background-color;

	// Padding
	@media (#{$bp-larger-than-tablet}) { padding: $checkout-substep-padding--large-screen; }

	// Margin
	@media (#{$bp-larger-than-tablet}) {
		margin: $checkout-substep-margin-expand--large-screen;
		margin-top: 0;
		margin-bottom: #{ - $global-spacing-small };
	}
}



.woocommerce-checkout .fc-wrapper .woocommerce-shipping-fields div.shipping_address {
	display: block !important; // Needed to override other plugin/theme styles
}



.woocommerce-checkout .fc-wrapper .woocommerce-shipping-fields,
.woocommerce-checkout .fc-wrapper .woocommerce-shipping-fields .woocommerce-shipping-fields__field-wrapper {
	margin: 0;
	padding: 0;
	border: 0;
}



div.woocommerce form .woocommerce-shipping-only-fields__field-wrapper {
	margin-top: $global-spacing-small;
}
div.woocommerce form .woocommerce-shipping-only-fields__field-wrapper:before,
div.woocommerce form .woocommerce-shipping-only-fields__field-wrapper:after {
	@include clearfix();
}



.woocommerce-checkout .fc-wrapper .woocommerce-shipping-fields .woocommerce-shipping-fields__field-wrapper:not( :last-child ),
.woocommerce-checkout .fc-wrapper .woocommerce-shipping-fields .shipping_address:not( :last-child ) {
	padding-bottom: $global-spacing-small;
}

.woocommerce-checkout .fc-wrapper .woocommerce-shipping-fields:after,
.woocommerce-checkout .fc-wrapper .woocommerce-shipping-fields .woocommerce-shipping-fields__field-wrapper:after,
.woocommerce-checkout .fc-wrapper .woocommerce-shipping-fields .shipping_address:after {
	@include clearfix();
}





// ------------------------------------
// BILLING ONLY FIELDS FORCE SINGLE ADDRESS
// ------------------------------------

body.woocommerce-checkout.has-billing-address-position--force_single_address div.woocommerce .fc-wrapper .woocommerce-shipping-fields .woocommerce-billing-only-fields__field-wrapper {
	margin-top: 0;
}
