// Components Dropdowns
.menu-counter-bubble-outer,
.notifications-total-outer{
	position: absolute;
	@include center(y);
	right: 2px;
}

.menu-counter-bubble{
	position: relative;
	min-width: 16px;
	height: 16px;
	line-height: 16px;
	background: $danger_color;
	border-radius: 10px;
	display: block;
	text-align: center;
	font-size: 10px;
	color: #fff;
	transform: translateY(-55%);
	transition: transform 0.2s;
	padding: 0px 4px;
	margin-right: -2px;
}

.comp-sub-menu{
	display: none;
	position: absolute;
	z-index: 1;
	right: 0;
	width: 250px;
	overflow: hidden;
	padding: 20px;
	background: #ffffff;
	cursor: default;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	box-sizing: content-box;

	li.custom-menu-link:hover &{
		display: block;
	}

	li{
		position: relative;
		width: 100%;
	}

	.cart-list{
		max-height: 275px;
		overflow-y: auto;
		overflow-x: hidden;

		.remove{
			opacity: 0;
			transform: scale(0);
		}

		li{
			overflow: hidden;
			padding-bottom: 10px;
			margin-bottom: 10px;

			&:last-child{
				margin-bottom: 0;
			}

			&:hover .remove{
				opacity: 1;
				transform: scale(1);
			}
		}
	}

	.product-thumb{
		float: left;
		margin-right: 15px;
		width: 50px;

		img{
			display: block;
		}

		a{
			padding: 0;
			line-height: 0;
		}
	}

	.product-title{
		line-height: 10px;
		padding-right: 30px;

		a{
			display: inline;
			font-size: 14px;
			font-weight: 400;
			text-align: left;
			line-height: 20px;
			width: 100%;
			border: 0;
			padding: 0;
		}
	}

	.product-title,
	.notifications-item{
		a{
			background-color: transparent;
		}
	}

	.product-meta{
		display: block;
		line-height: 18px;
		font-size: 12px;
	}

	.shopping-subtotal{
		line-height: 30px;
		margin: 5px 0;
		font-size: 14px;
		text-align: center;

		span{
			font-weight: bold;
		}
	}

	.button,
	.view-cart-button{
		display: block;
		margin-top: 10px;
	}

	.view-cart-button,
	.cart-empty-message{
		text-align: center;
		line-height: 1.5;
	}

	&.bp-notifications-menu{
		padding: 0;

		li{
			padding: 0;
			margin: 0;
			line-height: 18px;
			font-size: 90%;

			a{
				padding: 10px 10px 10px 35px;
				display: block;

				span{
					margin-left: -22px;
					margin-right: 5px;
				}
			}
		}
	}

	#no-notifications{
		text-align: center;
	}

	&.dropdown-social-icons{
		width: 160px;
		padding: 0;
		margin: 0;
		line-height: 35px;

		li{
			margin: 0;
		}

		a{
			display: block;
			@include font-size(13px);

			span{
				color: $base-color;
			}

			.tie-social-icon{
				width: 35px;
				text-align: center;
				display: inline-block;
			}
		}

		li{
			&:last-child{
				border-bottom: 0;
			}
		}
	}
}

// User
.components-user-profile{
	width: 180px;

	.author-avatar{
		display: none;
	}

	.welcome-text{
		margin-bottom: 10px;
		font-size: 14px;
	}

	li{
		line-height: 32px;

		a{
			display: block;
		}
	}
}

// Cart list scrollbar
.cart-list{
	&::-webkit-scrollbar {
		width: 3px;
		opacity: 0;
	}

	&::-webkit-scrollbar-track {
		-webkit-box-shadow: none;
	}

	&:hover::-webkit-scrollbar-track {
		 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);

		.main-nav-dark .main-nav &,
		.top-nav-dark .top-nav &{
			-webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.2);
		}
	}

	&::-webkit-scrollbar-thumb {
		background-color: transparent;
	}

	&:hover::-webkit-scrollbar-thumb {
		background-color: rgba(0,0,0,0.5);
		outline: 1px solid slategrey;

		.main-nav-dark .main-nav &,
		.top-nav-dark .top-nav &{
			background-color: rgba(255, 255, 255, 0.2);
		}
	}
}

//Components dropdowns in dark
.main-nav-dark .main-nav,
.top-nav-dark .top-nav{
	.comp-sub-menu{
		background: $light-darker-bg;
		color: $light-dark-base-color;
	}

	.dropdown-social-icons li a span{
		color: $light-dark-base-color;
	}

	.comp-sub-menu{
		a:not(:hover){
			color: #ffffff;
		}

		a.checkout-button:not(:hover){
			color: $bright;
		}
	}

	input{
		color: $light-dark-base-color;
	}
}

.top-nav-dark .top-nav{
	.comp-sub-menu{
		background: $top-nav-dark-bg;
	}

	input{
		color: $light-dark-base-color;
	}
}
