/* === HEADER WRAP === */
.mlc-header-account {
	position: relative;
	z-index: 999999;
	overflow: visible !important;
	line-height: 1;
}

/* === WRAP === */
.ml-acc-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 40px;
	cursor: pointer;
	background: transparent !important;
	text-decoration: none !important;
	z-index: 999999;
	-webkit-tap-highlight-color: transparent !important;
}

.ml-acc-inner {
	position: relative;
	display: inline-flex;
	align-items: center;
}

/* === BUTTON RESET === */
button.ml-acc-trigger {
	all: unset;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
}

button.ml-acc-trigger:hover,
button.ml-acc-trigger:focus,
button.ml-acc-trigger:active {
	background: transparent !important;
	box-shadow: none !important;
}

button.ml-acc-trigger:focus-visible {
	box-shadow: 0 0 0 3px rgba(185,152,99,.2) !important;
	border-radius: 99px;
}

/* === ICON === */
.ml-acc-svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	color: #333;
	transition: color .2s ease;
	pointer-events: none;
}

.ml-acc-dashicon {
	font-size: 26px;
	line-height: 1;
	display: block;
	color: #333;
	transition: color .2s ease;
	pointer-events: none;
}

.ml-acc-wrap.is-logged-in .ml-acc-svg {
	color: #C3AE59;
}

.ml-acc-wrap.is-logged-in .ml-acc-dashicon {
	color: #C3AE59;
}

@media (hover:hover) {
	.ml-acc-wrap:hover .ml-acc-svg {
		color: #cfb16d;
	}

	.ml-acc-wrap:hover .ml-acc-dashicon {
		color: #cfb16d;
	}
}

/* === BADGE === */
.ml-acc-badge {
	position: absolute;
	top: 5px;
	right: 2px;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #a5d17b;
	box-shadow: 0 0 0 1px #fff;
	pointer-events: none;
}

/* === DROPDOWN === */
.ml-acc-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	width: 210px;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 10px;
	box-shadow: 0 15px 30px rgba(0,0,0,.1);
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: all .22s cubic-bezier(.2,.8,.2,1);
	z-index: 999999;
}

.ml-acc-wrap:hover .ml-acc-dropdown,
.ml-acc-wrap:focus-within .ml-acc-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ml-acc-dropdown::after {
	content:'';
	position:absolute;
	top:-6px;
	right:10px;
	width:12px;
	height:12px;
	background:#fff;
	transform:rotate(45deg);
	border-top:1px solid #f0f0f0;
	border-left:1px solid #f0f0f0;
}

/* === CONTENT === */
.ml-acc-header {
	padding: 10px 18px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #999;
	border-bottom: 1px solid #f5f5f5;
	margin-bottom: 6px;
	font-family: Lora, Georgia, serif;
}

.ml-acc-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ml-acc-menu a {
	display: block;
	padding: 9px 18px;
	color: #444;
	font-size: 14px;
	text-decoration: none;
	transition: background .18s, color .18s, padding-left .18s;
	font-family: Karla, Helvetica, sans-serif;
}

.ml-acc-menu a:hover {
	background: #fafafa;
	color: #B99863;
	padding-left: 22px;
}

.ml-acc-sep {
	height: 1px;
	background: #f0f0f0;
	margin: 6px 0;
}

.ml-acc-logout {
	color: #d65b5b !important;
}

.ml-acc-logout:hover {
	background: #fff0f0 !important;
}
