.header-favorite {
	color: inherit;
	position: relative;
	display: flex;
	transition: color .2s ease-in-out;
}

.header-favorite:not(.header-favorite--count) {
	pointer-events: none;
}

.header-favorite .header-favorite__count {
	font-size: 12px;
	line-height: 14px;
	color: rgba(57, 54, 54, 1);
	position: absolute;
	top: -11px;
	right: -12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	background-color: rgba(255, 255, 255, 1);
	border-radius: 50%;
	transition: color .2s ease-in-out, background-color .2s ease-in-out;
}

.header.header--slider-white .header-favorite .header-favorite__count,
.header.header--white .header-favorite .header-favorite__count {
	color: rgba(255, 255, 255, 1);
	background-color: rgba(35, 32, 32, 1);
}

.header-favorite.header-favorite--count .header-favorite__icon.header-favorite__icon--empty,
.header-favorite:not(.header-favorite--count) .header-favorite__icon.header-favorite__icon--count,
.header-favorite:not(.header-favorite--count) .header-favorite__count {
	display: none;
}

@media screen and (max-width: 1439px) and (min-width: 1024px) {
	.header-favorite .header-favorite__icon {
		width: 16px;
		height: 16px;
	}

	.header-favorite .header-favorite__count {
		font-size: 8px;
		line-height: 9px;
		top: -8px;
		right: -9px;
		width: 15px;
		height: 15px;
	}
}

@media screen and (max-width: 1023px) {
	.header-favorite .header-favorite__count {
		font-size: 10px;
		line-height: 12px;
		color: rgba(255, 255, 255, 1);
		background-color: rgba(35, 32, 32, 1);
	}
}
