body.woocommerce-checkout:not(.woocommerce-order-received):not(.woocommerce-order-pay) {
	&.custom-checkout,
	&.multistep-checkout {
		.post-container .post-inner {
			-webkit-box-shadow: none;
			box-shadow: none;
			background-color: transparent;
			padding: 0;
			border: none;
		}
	}

	&.custom-checkout form.woocommerce-checkout {
		#customer_details {
			.col-1, .col-2 {
				float: none;
				width: 100%;

				textarea.input-text {
					height: 128px;
				}
			}
		}

		.customer-details-wrapper,
		.order-review-wrapper {
			margin-bottom: 20px;

			> div {
				background: #FFF;
				border: 1px solid #E6E6E6;
				border-radius: $border-radius;
				box-shadow: 0 8px 13px -7px rgba(0, 0, 0, .05);
				-webkit-box-shadow: 0 8px 13px -7px rgba(0, 0, 0, .05);
				padding: 10px !important;
				overflow: hidden;
			}
		}

		.order-review-wrapper {
			#order_review_heading {
				display: none;
			}

			#order_review {
				.shop_table {
					border: none;
				}

				#payment {
					background-color: rgba(245, 247, 250, .7);
					$border-radius: $border-radius;

					div.payment_box {
						background-color: #EDF0F5;
						color: #8F96A0;

						&:before {
							border-bottom-color: #EDF0F5;
						}
					}

					.place-order {
						#place_order {
							width: 100%;
						}
					}
				}
			}
		}
	}
}

#order_comments {
	height: 128px;
}

#order_review {
	.shop_table {
		tr {
			th:first-child, td:first-child {
				text-align: left;
			}

			th:last-child, td:last-child {
				text-align: right;
			}
		}

		.product-total {
			.item-discount {
				color: $danger;
				display: block;
				margin-bottom: 7px;
			}

			.item-price {
				font-size: 16px;
				display: block;
			}

			.woocommerce-Price-currencySymbol {
				font-weight: normal;
				font-size: $font-size;
			}
		}

		.cart-discount td {
			color: $danger;

			.woocommerce-remove-coupon {
				color: #7A7A7A;
			}
		}

		.order-total {
			th, td {
				font-weight: bold;
				font-size: 18px;

				.woocommerce-Price-currencySymbol {
					font-size: $font-size;
					font-weight: normal;
				}
			}
		}
	}
}

@media (max-width: 992px) {
	body.woocommerce-checkout.custom-checkout:not(.woocommerce-order-received) .post-container .post-inner .post-body {
		border-radius: 0;
		background-color: transparent;
		-webkit-box-shadow: none;
		box-shadow: none;
		padding: 0;
	}
}

@media (max-width: 992px) {
	#order_review {
		.woocommerce-checkout-review-order-table .order-total {
			/*th {
				display: none;
			}
			td {
				position: fixed;
				bottom: 0;
				z-index: 100;
				right: 0;
				border: none;
				background: transparent;
				padding-top: 22px;
				padding-bottom: 22px;
			}*/
		}

		.place-order-wrapper {
			position: fixed;
			bottom: 0;
			width: 100%;
			left: 0;
			background: #FFF;
			z-index: 99;
			padding: 15px 10px 0 10px;
			box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, .08);

			#place_order {
				width: auto !important;
				float: none;
				margin-bottom: 15px;
			}
		}
	}
}

body.woocommerce-checkout {
	form.checkout_coupon,
	form.login,
	form.register {
		background: #FFF;
	}
}

.woocommerce-table--order-details {
	text-align: left;
}

.place-order {
	.woocommerce-privacy-policy-text p {
		@include alert-warning();
	}

	input[type="checkbox"] {
		margin: -8px 0px 0 0 !important;
		display: inline-block !important;
		border-radius: 2px !important;
	}

	.woocommerce-terms-and-conditions-link,
	.woocommerce-privacy-policy-link {
		color: $primary;
		border-bottom: 1px dashed $primary;
	}
}

#ship-to-different-address {
	font-size: $font-size;

	input[type="checkbox"]:checked:before {
		top: -9px;
	}
}

#customer_details #createaccount {
	margin: -11px 0 0 0 !important;
	display: inline-block !important;
	border-radius: 2px !important;
}

.woocommerce-billing-fields {
	> h3 {
		font-size: $font-size !important;
	}
}

.checkout-steps {
	text-align: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	height: 4px;
	background: #D0D0D0;
	margin: 50px auto 65px auto;

	li.step {
		a {
			position: relative;
			line-height: 64px;

			&:before {
				content: '';
				width: 28px;
				height: 28px;
				background: #D0D0D0;
				border-radius: 50%;
				position: absolute;
				top: -14px;
			}
		}
	}

	li.step:first-child {
		a:before {
			left: 0;
		}
	}

	li.step:last-child {
		a:before {
			right: 0;
		}
	}

	li.step:not(:first-child):not(:last-child) {
		a:before {
			left: 0;
			right: 0;
			margin: auto;
		}
	}

	li.step.active {
		a {
			color: $primary;

			&:before {
				background: $primary;
			}
		}
	}
}

form.woocommerce-checkout + strong {
	position: fixed;
	right: 10px;
	bottom: 20px;
	z-index: 100;
	font-size: 18px;
}

@media (min-width: 992px) {
	form.woocommerce-checkout + strong {
		display: none;
	}
}

.multistep-checkout-wrapper {
	@media (min-width: 992px) {
		background: #FFF;
		border: 1px solid #E6E6E6;
		border-radius: $border-radius;
		-webkit-box-shadow: 0 8px 13px -7px rgba(0, 0, 0, .05);
		box-shadow: 0 8px 13px -7px rgba(0, 0, 0, .05);
		padding: 20px !important;
		overflow: hidden;
	}

	.woocommerce-form-login-toggle,
	.woocommerce-form-coupon-toggle {
		display: none;
	}

	.woocommerce-form-login,
	.woocommerce-form-coupon,
	#customer_details .col-1,
	#customer_details .col-2,
	.woocommerce-checkout-review-order-table,
	.woocommerce-checkout-payment {
		display: none;
	}

	@media (max-width: 992px) {
		form.woocommerce-checkout + strong {
			display: none;
		}
		&.step-payment form.woocommerce-checkout + strong {
			display: inline-block;
		}
	}

	.col2-set {
		.col-1, .col-2 {
			float: none;
			width: 100%;
		}
	}

	#order_review_heading {
		display: none;
	}

	.prev-next {
		text-align: center;
		padding-top: 15px;

		li {
			display: inline-block;

			.btn {
				width: 126px;
			}
		}
	}

	.checkout_coupon.woocommerce-form-coupon.show {
		display: block !important;
	}
}

.post-body {
	.woocommerce-order-details__title,
	.woocommerce-column__title {
		font-size: 16px;
	}
}

.woocommerce-thankyou-order-received {
	position: relative;
	margin-bottom: 30px;
	background: transparent;
	border: none;
	text-align: center;
	margin-top: 60px;
	padding-top: 64px;
	color: $primary;

	&:before {
		font-family: IRANKala;
		content: "\E056\00FE0E";
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		font-size: 100px;
		color: $primary;
	}
}

.woocommerce form .form-row .input-checkbox {
	display: inline-block;
	margin: -8px 0px 0 0 !important;
}

@media (max-width: 768px) {
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last,
	.woocommerce-page form .form-row-first,
	.woocommerce-page form .form-row-last {
		width: 100%;
	}
}

#place_order {
	margin-top: 5px;
}