
/* Mini cart at Header */

.mini-cart {
	.cart-link{
		.cart-icon {
			display: inline-block;
			position: relative;
		}
	}
	.nav-dropdown {
		padding: 25px;
		right: 15px;
		width: 275px;
		z-index: 9999;
		text-transform: uppercase;
		color: #666;
		.cart_title{
			font-size: $font-size;
			padding: 10px 0px 20px;
			border-bottom: 1px solid #f3f3f3;
			a{
				color: #666;
			}
		}
		.cart_list {
			max-height: 450px; overflow-y: auto;
			.mini-cart-item {
				line-height: 100%;
				border-bottom: 1px solid #f3f3f3;
				padding: 15px 0px;
				.cart_list_product_img {
					display: block;
					width: 50px;
					overflow: hidden;
					padding: 0;
					margin-right: 20px;
				}
				.mini-cart-info {
					margin-left: 10px;
					.cart_list_product_title {
						display: block;
						font-size: $font-size;
						margin-bottom: 5px;
						white-space: pre-wrap;
					}
					.cart_list_product_quantity {
						font-size: 80%;
						display: inline-block;
						color: $primary-color;
						margin-bottom: 5px;
					}
				}
				a {
					&:hover {
						text-decoration: none;
					}
				}
				.remove{
					margin-top: 15px;
					float: right;
					@include single-transition(all, 350ms);
					&:hover {
						color: $color_hover;
					}
				}
			}
			.empty{
				margin-bottom: 0px;
				margin-top: 10px;
			}
		}
		.minicart_total_checkout {
			font-size: 90%;
			margin: 30px 0px 25px;
			span.amount {
				position: absolute;
				right: 0px;
				font-weight: bold;
				font-size: 115%;
			}
		}
		.btn-mini-cart {
			font-size: $font-size;
			text-align: center;
			.button {
				padding: 12px 18px;
				// margin-bottom: 10px;
				display: inline-block;
				margin-right: 14px;
			}
			a:last-child {
				margin: 0;
			}
		}
	}
}

/* Shopping cart wrapper*/
.cart-wrapper {
	table {
		border-collapse: collapse;
		border: 1px solid #ccc;
	}
	tr{border-bottom: 1px dotted $border;}
	td {
		border: 1px solid #ccc;
		text-align: center;
		vertical-align: middle;
	}
	th {
		border: 1px solid #ccc;
		text-align: center;
		vertical-align: middle;
	}
}

/* Shopping cart - Cart table details */
.shop_table {
	margin-top: 4px;
	thead {
		text-transform: uppercase;
		color: $body-font-color;
	}
	tbody{
		tr{
			border-bottom: 1px solid #ddd;
		}
	}
	tfoot {
		th {
			text-transform: uppercase;
			font-size: $font-size;
		}
		td {
			text-align: right;
			font-weight: bold;
		}
	}
	.remove-product{
		.icon-close {
			border: 1px solid $border;
			display: block;
			height: 20px;
			width: 20px;
			text-align: center;
			color: $border;
			padding-top: 4px;
			@include radius(99px);
			line-height: 10px;
			font-size: 10px;
			display: inline-block;
			&:hover {
				border-color: $primary-color;
				color: $primary-color;
			}
		}
	}
	.product-name {
		padding: 0;
		//font-size: 100%;
		width: 35%;
	}
	.product-price {
		padding-right: 20px;
	}
	.product-quantity .quantity {
		display: inline-block;
	}
	.product-subtotal {
		font-weight: bold;
	}
	.total {
		color: #222;
	}
	.product-thumbnail img {
		width: 90px;
		padding: 0 30px 0 10px;
	}
	dl.variation {
		margin: 0;
		font-size: $font-size;
		opacity: 0.6;
		dt {
			display: inline-block;
			margin: 0;
			margin-right: 5px;
		}
		dd {
			display: inline-block;
			margin: 0;
			margin-right: 10px;
		}
	}
	&.my_account_orders{
		tbody{
			td{
				padding: 15px 0px;
				a.button{margin-bottom: 0px;}
			}
		}
	}
	.blockUI.blockOverlay{
		display: none !important;
	}
}

/* Shopping cart - Cart totals sumary */
.cart_totals {
	.order-total {
		vertical-align: center;
	}
	td {
		text-align: center;
	}
	th {
		padding-left: 15px;
	}
	h2 {
		padding-bottom: 10px;
		text-transform: uppercase;
		font-size: 100%;
	}
	p {
		line-height: 100%;
	}
	.shipping {
		font-weight: normal;
		#shipping_method {
			margin-bottom: 0;
			li {
				list-style: none;
				line-height: 90%;
				padding: 5px 0;
				input {
					display: inline;
					margin: 0 5px 0 0;
				}
				label {
					display: inline;
				}
			}
		}
		a.shipping-calculator-button {
			text-transform: uppercase;
			font-size: $font-size;
			margin-top: 15px;
			padding-top: 5px;
			border-top: 1px solid $border;
			display: block;
			width: 100%;
			&:before {
				font-family: icomoon;
				content: "\e00c";
				margin-right: 5px;
				font-size: 10px;
				position: relative;
				top: -2px;
			}
		}
	}
	.order-total {
		vertical-align: center;
	}
	
}

/* Quantity button general */
.quantity {
	display: inline-block;
	&.buttons_added {
		text-align: left;
		position: relative;
		white-space: nowrap;
		vertical-align: top;
	}
	input::-webkit-outer-spin-button {
		margin: 0;
	}
	input::-webkit-inner-spin-button {
		margin: 0;
	}
	.input-text.qty {
		width: 35px;
		height: 43px;
		padding: 0 5px;
		text-align: center;
		margin: 0;
	}
}


/* Coupon textbox */
.coupon h3{margin-bottom: 7px; padding-bottom: 10px;}

/* Cart total at right sidebar */
.cart-sidebar {
	.cart_totals {
		table {
			border-collapse: collapse;
			border: 1px solid $border;
		}
		td {
			border: 1px solid $border;
		}
		th {
			border: 1px solid $border;
		}
	}
	.button {
		margin-bottom: 10px;
	}
	.widget-title {
		padding-bottom: 10px;
	}
	.checkout-button {
		margin-bottom: 30px;
	}
}

/* Others */
.cross-sells {
	h2 {
		font-size: 100%;
		text-transform: uppercase;
		margin-top: 30px;
		margin-bottom: 15px;
		padding-top: 15px;
		border-top: 3px solid $border;
	}
	ul {
		margin-left: 0;
	}
	.row > .columns {
		padding: 0;
	}
}
.woocommerce-cart {
	.return-to-shop {
		text-align: center;
	}
	.cart-empty {
		text-align: center;
	}
}
.woocommerce address br {
	margin-top: 10px;
}