/* Lift the main header row (and its garage dropdown) above the menu bar
   (.header-gradient-bar is position:relative; z-index:200). */
#header .header-main {
	position: relative;
	z-index: 300;
}

.header-main-block-garage {
	position: relative;
}

.header-main-block-garage .garage-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 43px;
	height: 43px;
	padding: 0;
}

.garage-count {
	position: absolute;
	bottom: -.6rem;
	left: -.9rem;
	width: 1.65rem;
	height: 1.65rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.2rem;
	border-radius: 100%;
	border: 2px solid #ffd4d8;
	background: #a00017;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.4rem;
	text-align: center;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.garage-dropdown {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	width: 290px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
	padding: 12px;
}

.garage-dropdown::before {
	content: "";
	position: absolute;
	top: -7px;
	right: 16px;
	width: 12px;
	height: 12px;
	background: #fff;
	border-left: 1px solid #ececec;
	border-top: 1px solid #ececec;
	transform: rotate(45deg);
}

.garage-dropdown__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2px 4px 10px;
	border-bottom: 1px solid #f0f0f0;
	margin-bottom: 8px;
}

.garage-dropdown__title {
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #111;
}

.garage-clear {
	border: 0;
	background: none;
	color: #999;
	font-size: .7rem;
	cursor: pointer;
	padding: 0;
}

.garage-clear:hover {
	color: #DC0000;
}

.garage-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 320px;
	overflow-y: auto;
}

.garage-item__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 8px;
	border-radius: 8px;
	color: #1f1f1f;
	font-size: .82rem;
	text-decoration: none;
	transition: background .15s ease;
}

.garage-item__link:hover {
	background: #f6f6f6;
	color: #DC0000;
}

.garage-item__link i {
	color: #DC0000;
	font-size: 1rem;
	flex: 0 0 auto;
}

.garage-empty {
	padding: 14px 8px;
	text-align: center;
	color: #999;
	font-size: .78rem;
}
