.bx-basket {
	position: relative;
}

.bx-basket-block {
	margin: auto;
	position: relative;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	padding: 5px 7px;
}
.bx-basket-block__top{
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	text-decoration: none !important;
	margin-bottom: 3px;
}
.bx-basket-block__top > .fa {
	color: #434343;
	font-size: 24px;
	transition: all 0.3s ease-out;
}
.bx-basket-block:hover .bx-basket-block__top > .fa{
	color: #b11e29;
}

.bx-basket-block__top .cart-count{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: sans-serif;
	background-color: #b11e29;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1;
	height: 16px;
	min-width: 16px;
	padding: 0 4px;
	position: absolute;
	right: 0px;
	top: 0px;
}

/*FIXED BASKET*/

@media (min-width: 768px) {
	.bx-basket-fixed {
		position: fixed;
		z-index: 100;
		overflow: hidden;
		padding-top: 10px;
		width: 200px;
		border: 1px solid #f0f0f0;
		border-radius: 1px;
		background: #fff;
		box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
	}

	.bx-basket-fixed.top { top: 10px }

	.bx-basket-fixed.right { right: 10px }

	.bx-basket-fixed.bottom { bottom: 10px }

	.bx-basket-fixed.left { left: 10px }

	.bx-basket-fixed.bx-max-height { top: 10px; bottom: 10px; }

	.block-store-catalog-list .bx-basket-fixed.bottom { bottom: 140px }
	.block-store-catalog-list .bx-basket-fixed.left { left: 30px }
}

@media (min-width: 768px) and (width <= 992px) {
	.block-store-catalog-list .bx-basket-fixed.bottom { bottom: 140px }
	.block-store-catalog-list .bx-basket-fixed.left { left: 30px }
}

@media (max-width: 767px) {
	.bx-basket-fixed {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 100;
		overflow: hidden;
		padding-top: 10px;
		border: 1px solid #f0f0f0;
		border-radius: 1px;
		background: #fff;
		box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
	}

	.bx-basket-item-list { display: none; }

	.block-wrapper .bx-basket-fixed {
		padding-top: 0;
	}

	.block-wrapper .bx-basket-fixed .bx-hdr-profile {
		display: flex;
		justify-content: space-between;
	}

	.block-wrapper .bx-basket-fixed .bx-hdr-profile .bx-basket-block {
		padding-bottom: 0;
	}

	/*.bx-basket-fixed */
}

.bx-basket-item-list {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 100%;
	overflow: hidden;
	padding-top: 10px;
	padding-left: 10px;
	padding-bottom: 50px;
	padding-right: 0;
	background-color: #fff;
	border: 1px solid #f7f7f7;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
	border-radius: 5px;
	max-height: 0;
	z-index: -2;
	opacity: 0;
	transition: all 0.3s ease-out;
}

.bx-basket:hover .bx-basket-item-list{
	max-height: 350px;
	z-index: 99;
	opacity: 1;
}

.bx-max-height .bx-basket-item-list {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
}

.bx-closed .bx-basket-item-list {
	overflow: hidden;
	height: 20px;
}

.bx-basket-item-list-action {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 120;
	padding: 3px 0;
	height: 20px;
	background: #f7f7f7;
	color: #4f4f4f;
	vertical-align: middle;
	text-align: center;
	font-size: 12px;
	line-height: 14px;
	cursor: pointer;
}

.bx-basket-item-list-button-container {
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
	padding-top: 10px;
	border-top: 1px solid #dbdbdb;
	text-align: center;
}

.bx-basket-item-list-button-container .bt{
	height: auto;
	padding: 5px 10px;
	font-size: 14px;
	line-height: 1.2;
}

.bx-basket-item-list-container {
	overflow-y: auto;
	max-height: 290px;
	scrollbar-width: thin;
	scrollbar-gutter: stable;
}

.bx-basket-item-list-item {
	position: relative;
	margin-bottom: 15px;
	padding-top: 15px;
	border-bottom: 1px solid #dbdbdb;
}

.bx-basket-item-list-container .bx-basket-item-list-item:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.bx-basket-item-list-item-status {
	padding: 3px 5px;
	border-radius: 4px;
	background-color: #ebebeb;
	text-align: center;
	white-space: nowrap;
	font-weight: bold;
	font-size: 12px;
	line-height: 16px;
}

.bx-basket-item-list-item-img {
	position: relative;
	padding-bottom: 5px;
	text-align: center;
}

.bx-basket-item-list-item-img img {
	max-width: 90px;
	height: auto;
	border: 1px solid #e6e6e6;
}

.bx-basket-item-list-item-name { padding-bottom: 5px; }

.bx-basket-item-list-item-name a {
	font-size: 13px;
	line-height: 16px;
}

.bx-basket-item-list-item-remove {
	position: absolute;
	top: -7px;
	right: 10px;
	width: 20px;
	height: 20px;
	opacity: .5;
	cursor: pointer;
	transition: 250ms linear all;
}

.bx-basket-item-list-item-remove:after,
.bx-basket-item-list-item-remove:before {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 10px;
	height: 2px;
	border-radius: 1px;
	background-color: #333;
	content: '';
	transform: translate(-50%, -50%);
}

.bx-basket-item-list-item-remove:after {
	-webkit-transform: translate(-50%, -50%) rotate(45deg);
	-moz-transform: translate(-50%, -50%) rotate(45deg);
	-ms-transform: translate(-50%, -50%) rotate(45deg);
	-o-transform: translate(-50%, -50%) rotate(45deg);
	transform: translate(-50%, -50%) rotate(45deg);
}

.bx-basket-item-list-item-remove:before {
	-webkit-transform: translate(-50%, -50%) rotate(135deg);
	-moz-transform: translate(-50%, -50%) rotate(135deg);
	-ms-transform: translate(-50%, -50%) rotate(135deg);
	-o-transform: translate(-50%, -50%) rotate(135deg);
	transform: translate(-50%, -50%) rotate(135deg);
}

.bx-basket-item-list-item-remove:hover { opacity: .7; }

.bx-basket-item-list-item-price-block {
	padding-bottom: 5px;
	font-size: 12px;
}

.bx-basket-item-list-item-price {
	display: inline-block;
	margin-right: 5px;
}

.bx-basket-item-list-item-price-old {
	display: inline-block;
	margin-right: 5px;
	color: #b0b0b0;
	text-decoration: line-through
}

.bx_cart_login_top .bx-hdr-profile { line-height: 1.44em; }
