/* Microless-style fixed comparison drawer. */
#compare-list-bottom-drawer {
	position: fixed;
	top: 89px;
	right: 0;
	z-index: 9999;
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	padding: 10px;
	background: rgba(80, 80, 80, 0.97);
	direction: ltr;
	transition: right 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@media screen and (min-width: 464px) {
	#compare-list-bottom-drawer {
		top: 30%;
	}
}

#compare-list-bottom-drawer.draw-down {
	right: -420px;
}

#compare-list-bottom-drawer.no-items {
	visibility: hidden;
	pointer-events: none;
}

.compare-items-wrapper {
	height: auto;
	text-align: center;
}

.compare-items-wrapper .title {
	position: relative;
	padding-bottom: 6px;
	margin-bottom: 16px;
	border-bottom: 1px solid #6f6d6d;
}

.compare-items-wrapper .title h4,
.compare-items-wrapper .title p.selected-info {
	color: #fff;
	text-align: left;
}

.compare-items-wrapper .title h4 {
	margin: 20px 0 10px;
	font-size: 18px;
	font-weight: 500;
	line-height: 19.8px;
}

.compare-items-wrapper .title p.selected-info {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 20px;
}

.compare-items-wrapper .title .title-close {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 0;
	text-indent: -999em;
	transform: rotate(45deg);
}

.compare-items-wrapper .title .title-close::after,
.compare-items-wrapper .title .title-close::before {
	position: absolute;
	top: 0;
	left: 12px;
	display: block;
	width: 2px;
	height: 100%;
	background: #fff;
	content: "";
}

.compare-items-wrapper .title .title-close::after {
	transform: rotate(90deg);
}

.compare-items-wrapper .title .title-close:hover::after,
.compare-items-wrapper .title .title-close:hover::before {
	background: #fecb02;
}

.compare-drawer__items {
	display: block;
	min-height: 120px;
	padding: 0;
	margin: 0 0 20px;
	list-style: none;
	text-align: center;
}

.compare-drawer__items > li {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 60px;
	padding: 5px;
	margin: 5px;
	text-align: left;
}

.compare-drawer__item {
	position: relative;
	width: 100%;
	height: 60px;
}

.compare-drawer__remove {
	position: static;
	float: left;
	display: block;
	box-sizing: border-box;
	width: 25px;
	height: 25px;
	padding: 0;
	margin: 10px 10px 0 0;
	border: 2px solid #fecb02;
	border-radius: 50%;
	background: transparent;
	color: #fecb02;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	text-align: center;
}

.compare-drawer__remove:hover,
.compare-drawer__remove:focus {
	background: #fecb02;
	color: #222;
}

.compare-drawer__remove .fa {
	margin: 0;
}

.compare-drawer__image {
	float: left;
	display: block;
	box-sizing: border-box;
	width: 45px;
	height: 45px;
	padding: 2px;
	margin-right: 10px;
	background: #fff;
	border-radius: 5px;
}

.compare-drawer__image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	object-fit: contain;
}

.compare-drawer__name {
	display: block;
	height: 45px;
	overflow: hidden;
	color: #fff;
	font-size: 13px;
	line-height: 21px;
	text-align: left;
}

.compare-drawer__name:hover {
	color: #fecb02;
}

.bottom-drawer-ctrl {
	position: absolute;
	top: 45%;
	left: -107px;
	display: block;
	width: 175px;
	padding: 10px;
	border: 0;
	border-radius: 3px 3px 0 0;
	background: #fecb02;
	color: #222;
	font-size: 14px;
	font-weight: 400;
	transform: rotate(-90deg);
}

.bottom-drawer-ctrl span {
	margin-left: 14px;
}

.compare-bottom-btn-wrap {
	display: block;
}

.show-comparison {
	display: block;
	padding: 12px;
	background: #fecb02;
	color: #222;
	font-size: 16px;
	font-weight: 700;
	line-height: 21px;
	text-align: center;
}

.show-comparison:hover,
.show-comparison:focus {
	background: #ffd624;
	color: #222;
}

.show-comparison.is-disabled {
	cursor: default;
}

html[dir="rtl"] #compare-list-bottom-drawer {
	direction: rtl;
}

html[dir="rtl"] .compare-items-wrapper .title h4,
html[dir="rtl"] .compare-items-wrapper .title p.selected-info,
html[dir="rtl"] .compare-drawer__items > li,
html[dir="rtl"] .compare-drawer__name {
	text-align: right;
}

html[dir="rtl"] .compare-items-wrapper .title .title-close {
	right: auto;
	left: 0;
}

html[dir="rtl"] .compare-drawer__remove {
	float: right;
	margin: 10px 0 0 10px;
}

html[dir="rtl"] .compare-drawer__image {
	float: right;
	margin-right: 0;
	margin-left: 10px;
}

html[dir="rtl"] .bottom-drawer-ctrl span {
	margin-right: 14px;
	margin-left: 0;
}

.dark-theme #compare-list-bottom-drawer {
	background: rgba(38, 38, 38, 0.97);
}

@media screen and (max-width: 419px) {
	#compare-list-bottom-drawer {
		width: 100%;
	}

	#compare-list-bottom-drawer.draw-down {
		width: 420px;
	}
}
