/*
 * shop-mini-cart.scss
 * -----------------------------------------------
*/
.top-nav-mini-cart-icon-container {
	.top-nav-mini-cart-icon-contents {
		position: relative;
		.mini-cart-icon {
			color: $headings-nav-side-icons-color;
			display: block;
			font-size: 20px;
			line-height: 1;
			padding: 5px;
			position: relative;

			.items-count {
				background-color: var(--theme-color1);
				border-radius: 50%;
				color: #fff;
				font-size: 11px;
				font-weight: 500;
				height: 18px;
				line-height: 18px;
				margin-right: -2px;
				position: absolute;
				right: -2px;
				text-align: center;
				top: -2px;
				width: 18px;
				@include transition(all .3s ease);
			}
			.cart-quick-info {
				display: none;
			}
			&:hover {
				color: var(--theme-color1);
			}
		}
		.dropdown-content {
			background-color: #fff;
			border: 1px solid #eee;
			border-radius: 10px;
			@include box-shadow( 0px 10px 30px rgba(5, 5, 5, 0.08) );
			font-size: 14px;
			left: auto;
			opacity: 0;
			padding: 30px 30px 30px;
			position: absolute;
			right: 0;
			text-align: left;
			top: calc(100%);
			@include transition( all .2s ease );
			visibility: hidden;
			width: 300px;
			z-index: 1000;
			@include media-breakpoint-down(lg) {
				top: calc(100%);
			}
			.woocommerce-mini-cart__empty-message {
				margin-bottom: 0;
			}

			ul {
				list-style: none;
			}
			.cart_list {
				.mini_cart_item {
					a {
						color: $black-444;
					}
					a.remove {
						color: #e81123;
						float: left;
						font-size: 16px;
						font-weight: 800;
						margin-left: 0;
						margin-right: 6px;
						margin-bottom: 30px;
						position: relative;
						top: -4px;
					}
					.attachment-woocommerce_thumbnail {
						width: 56px;
						float: right;
						border-radius: 5px;
					}
					.quantity {
						display: block;
					}
				}
			}

			.total {
				display: flex;
				justify-content: space-between;
				align-items: center;
			}
			.buttons {
				margin-bottom: 0;
				display: flex;
				justify-content: space-between;
				align-items: center;
				.button.wc-forward {
					padding: .6rem 0.9rem;
					font-size: .75rem;
					border-radius: .2rem;
					width: 47%;
					text-decoration: none;
					text-align: center;
					&:first-child {
					}
					&:last-child {
						border-color: var(--theme-color2);
						background-color: var(--theme-color2);
						&:hover {
						}
					}
				}
			}
		}
		&:hover {
			color: #888;
			.mini-cart-icon {
				.items-count {
					background-color: var(--theme-color2);
					top: -7px;
				}
			}
			.dropdown-content {
				opacity: 1;
				visibility: visible;
			}
		}
	}

	@include media-breakpoint-down(lg) {
	}
}



.widget_shopping_cart {
	.widget_shopping_cart_content {
		.woocommerce-mini-cart__empty-message {
			margin-bottom: 0;
		}
		.cart_list {
			list-style: none;
			.mini_cart_item {
				a {
					color: $black-444;
				}
				a.remove {
					color: #e81123;
					float: left;
					font-size: 16px;
					font-weight: 800;
					margin-left: 0;
					margin-right: 6px;
					margin-bottom: 30px;
					position: relative;
					top: -4px;
				}
				.attachment-woocommerce_thumbnail {
					width: 56px;
					float: right;
					border-radius: 5px;
				}
				.quantity {
					display: block;
					.amount {
						font-size: 0.9rem;
					}
				}
			}
		}

		.total {
			display: flex;
			justify-content: space-between;
			align-items: center;
		}
		.buttons {
			margin-bottom: 0;
			display: grid;
			.button.wc-forward {
				padding: .6rem 0.9rem;
				font-size: .75rem;
				border-radius: .2rem;
				text-decoration: none;
				text-align: center;
				&:first-child {
				}
				&:last-child {
					border-color: var(--theme-color2);
					background-color: var(--theme-color2);
					&:hover {
					}
				}
			}
		}
	}
}