.basket_block {
    display: block;
    margin-top: 7px;
}

.basket_block .icon_block {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.basket_block .basket_icon {
	display: block;
	width: 30px;
	height: 30px;
	background-color: #000;
	-webkit-mask-image: url("./images/cart.svg");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-image: url("./images/cart.svg");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

.basket_block .basket_icon:hover{
    background-color: #aa0303;
}

.basket_block.basket_block--active .basket_icon {
	-webkit-mask-image: url("./images/cart_active.svg");
	mask-image: url("./images/cart_active.svg");
}

.basket_block .number_block {
	position: absolute;
	top: 25%;
	left: 50%;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}

@media (max-width: 767px) {
	.basket_block .basket_icon {
		background-color: #fff;
	}

	.basket_block .number_block {
		color: #000;
	}
}

@media (min-width: 768px) {

    .site-header__bottom .header-actions--sticky .basket_block .icon_block {
        color: #ffffff;
    }

    .site-header__bottom .header-actions--sticky .basket_block .basket_icon {
        background-color: #ffffff;
    }

    .site-header__bottom .header-actions--sticky .basket_block .basket_icon:hover,
    .site-header__bottom .header-actions--sticky .basket_block .icon_block:hover .basket_icon {
        background-color: var(--color-accent);
    }

    .site-header__bottom .header-actions--sticky .basket_block .number_block {
        color: #000000;
    }

    .site-header__bottom .header-actions--sticky .basket_block .icon_block:hover .number_block {
        color: #ffffff;
    }

    .site-header__bottom .header-actions--sticky .basket_block.basket_block--active .basket_icon {
        background-color: #ffffff;
    }

    .site-header__bottom .header-actions--sticky .basket_block.basket_block--active .icon_block:hover .basket_icon {
        background-color: var(--color-accent);
    }
}