/* Inline SVG в хедере: контур через stroke, цвет — currentColor (как var(--header-icon-c) на <i>) */
.header-block__item-account,
.header-block__item-wishlist,
.header-block__item-compare,
.header-block__item-cart {
	align-items: center;
}

.header-compare {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.header-account,
.header-wishlist {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.header-cart > .header-cart__btn {
	display: flex;
	align-items: center;
	justify-content: center;
}

.header-search__btn {
	display: flex;
	align-items: center;
	justify-content: center;
}

.header-account__icon,
.header-wishlist__icon,
.header-cart__icon,
.header-cart__empty-icon,
.header-search__icon,
.fly-menu__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	font-style: normal;
}

/* нижнее меню (fly-menu): иконка по центру ячейки */
.fly-menu__block {
	align-items: center;
}

.header-account__icon .header-inline-svg,
.header-wishlist__icon .header-inline-svg,
.header-cart__icon .header-inline-svg,
.header-cart__empty-icon .header-inline-svg,
.header-search__icon .header-inline-svg,
.fly-menu__icon .header-inline-svg {
	display: block;
	height: 20px;
	width: auto;
	max-width: none;
	vertical-align: middle;
	flex-shrink: 0;
}

.fa.fa-max:not(.footer__socials-icon):not(.fly-block__contacts-item),
.fab.fa-max:not(.footer__socials-icon):not(.fly-block__contacts-item) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: inherit !important;
	font-weight: normal !important;
}

.fa.fa-max:not(.footer__socials-icon):not(.fly-block__contacts-item):before,
.fab.fa-max:not(.footer__socials-icon):not(.fly-block__contacts-item):before {
	content: '';
	display: inline-block;
	width: .94em;
	height: .94em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.39 41.58C17.28 41.58 15.37 40.98 12.05 38.58C9.95 41.28 3.3 43.39 3.01 39.78C3.01 37.07 2.41 34.78 1.73 32.28C0.92 29.2 0 25.77 0 20.8C0 8.93 9.74 0 21.28 0C32.83 0 41.88 9.37 41.88 20.91C41.8986 26.3666 39.7516 31.6076 35.9101 35.4829C32.0686 39.3581 26.8465 41.5509 21.39 41.58ZM21.56 10.26C15.94 9.97 11.56 13.86 10.59 19.96C9.79 25.01 11.21 31.16 12.42 31.48C13 31.62 14.46 30.44 15.37 29.53C16.8747 30.5695 18.627 31.1938 20.45 31.34C23.2493 31.4746 25.9896 30.5057 28.0821 28.6414C30.1745 26.777 31.452 24.1662 31.64 21.37C31.7494 18.568 30.7545 15.8351 28.8694 13.7592C26.9842 11.6833 24.3595 10.4303 21.56 10.27V10.26Z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.39 41.58C17.28 41.58 15.37 40.98 12.05 38.58C9.95 41.28 3.3 43.39 3.01 39.78C3.01 37.07 2.41 34.78 1.73 32.28C0.92 29.2 0 25.77 0 20.8C0 8.93 9.74 0 21.28 0C32.83 0 41.88 9.37 41.88 20.91C41.8986 26.3666 39.7516 31.6076 35.9101 35.4829C32.0686 39.3581 26.8465 41.5509 21.39 41.58ZM21.56 10.26C15.94 9.97 11.56 13.86 10.59 19.96C9.79 25.01 11.21 31.16 12.42 31.48C13 31.62 14.46 30.44 15.37 29.53C16.8747 30.5695 18.627 31.1938 20.45 31.34C23.2493 31.4746 25.9896 30.5057 28.0821 28.6414C30.1745 26.777 31.452 24.1662 31.64 21.37C31.7494 18.568 30.7545 15.8351 28.8694 13.7592C26.9842 11.6833 24.3595 10.4303 21.56 10.27V10.26Z' fill='currentColor'/%3E%3C/svg%3E") center/contain no-repeat;
	vertical-align: -.06em;
}

.footer__socials-icon.fa-max {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	line-height: 30px !important;
}

.footer__socials-icon.fa-max:before {
	content: '';
	display: inline-block;
	width: .82em;
	height: .82em;
	background: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.39 41.58C17.28 41.58 15.37 40.98 12.05 38.58C9.95 41.28 3.3 43.39 3.01 39.78C3.01 37.07 2.41 34.78 1.73 32.28C0.92 29.2 0 25.77 0 20.8C0 8.93 9.74 0 21.28 0C32.83 0 41.88 9.37 41.88 20.91C41.8986 26.3666 39.7516 31.6076 35.9101 35.4829C32.0686 39.3581 26.8465 41.5509 21.39 41.58ZM21.56 10.26C15.94 9.97 11.56 13.86 10.59 19.96C9.79 25.01 11.21 31.16 12.42 31.48C13 31.62 14.46 30.44 15.37 29.53C16.8747 30.5695 18.627 31.1938 20.45 31.34C23.2493 31.4746 25.9896 30.5057 28.0821 28.6414C30.1745 26.777 31.452 24.1662 31.64 21.37C31.7494 18.568 30.7545 15.8351 28.8694 13.7592C26.9842 11.6833 24.3595 10.4303 21.56 10.27V10.26Z' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask: none;
	mask: none;
	vertical-align: 0;
}

.fly-block__contacts-item.fa-max {
	color: #fff;
	background: #6d33ea;
}

.fly-block__contacts-item.fa-max:before {
	content: '';
	display: inline-block;
	width: 22px;
	height: 22px;
	background: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.39 41.58C17.28 41.58 15.37 40.98 12.05 38.58C9.95 41.28 3.3 43.39 3.01 39.78C3.01 37.07 2.41 34.78 1.73 32.28C0.92 29.2 0 25.77 0 20.8C0 8.93 9.74 0 21.28 0C32.83 0 41.88 9.37 41.88 20.91C41.8986 26.3666 39.7516 31.6076 35.9101 35.4829C32.0686 39.3581 26.8465 41.5509 21.39 41.58ZM21.56 10.26C15.94 9.97 11.56 13.86 10.59 19.96C9.79 25.01 11.21 31.16 12.42 31.48C13 31.62 14.46 30.44 15.37 29.53C16.8747 30.5695 18.627 31.1938 20.45 31.34C23.2493 31.4746 25.9896 30.5057 28.0821 28.6414C30.1745 26.777 31.452 24.1662 31.64 21.37C31.7494 18.568 30.7545 15.8351 28.8694 13.7592C26.9842 11.6833 24.3595 10.4303 21.56 10.27V10.26Z' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat;
	-webkit-mask: none;
	mask: none;
	vertical-align: 0;
}

@media (max-width:767px) {
	.fly-block__contacts-item.fa-max:before {
		width: 19px;
		height: 19px;
	}
}
