body.body-small-basket{
	overflow: hidden;
}
.small-basket-buy{
	background: var(--btn-view);
	color: #fff!important;
	font-size: 14px!important;
	transition: all .3s;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-around;
	min-width: 120px;
	padding: 6px 12px;
	margin-bottom: 0;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
}
.small-basket-buy:hover,
.small-basket-buy:focus{
	background: var(--red);
}
.small-basket-more{
	border: 1px solid var(--btn-view);
	color: var(--btn-view);
	transition: all .3s;
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border-radius: 4px;
}

.small-basket_header{
	margin-left:15px;
}
.small-basket_header-icon{
	display: flex;
	align-items:center;
	justify-content: center;
	padding:3px;
}
.small-basket_header-icon svg{
	fill:var(--blue);
}
.bx-basket-block{
	position: relative;
	display: flex;
	flex-flow:row;
	align-items:center;
	justify-content: space-between;
	cursor: pointer;
}
.bx-basket-block:hover .small-basket_header-count{
	background: var(--red);
	color:#fff;
}
.small-basket_header{
	display: flex;
	flex-flow:row nowrap;
	align-items:center;
}
.small-basket_header-sum{
	color:var(--blue);
	font-weight:500;
}
.small-basket_header-count{
	position: absolute;
	top: -7px;
	left: 16px;
	width: 18px;
	height: 18px;
	background: var(--blue);
	color: #fff;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	transition:all .3s ease;
	font-weight: 600;
}
.bx-basket.active > .bx-basket-item-list,
.bx-basket.active > .bx-basket-item-list .bx-basket-item-list-wrapper{
	right: 0;
	opacity:1;
}
.main-header .nav .catalog{
	transform: unset;
}
.bx-basket{
	z-index: 10;
}
.main-header .nav{
	z-index: 9;
}
.bx-basket:hover > .bx-basket-item-list{
	display:block;
}

.bx-basket-item-list{
	position: fixed;
	top:0;
	right: -100%;
	overflow: hidden;
	z-index:200;
	width:100%;
	height: 100%;
	padding:0;
	transition: all .5s ease;
	opacity:0;
	background-color: rgba(10, 99, 170,.5);
}

.bx-basket-item-list-wrapper{
	position: absolute;
	right: -100%;
	height:100%;
	width:100%;
	max-width:500px;
	min-width:300px;
	background:#f6f8f9;
	padding:20px;
	transition:all 1s ease;
	opacity:0;
	overflow-x: auto;
}

.bx-basket-item-list-container{
	overflow-y: auto;
	font-family: 'SF UI Display';
}

.bx-basket-item-list-item{
	position: relative;
	padding: 20px 0;
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
	justify-content: space-between;
	background: #fff;
	margin-bottom: 5px;
	border: 1px solid #f2f2f2;
	border-radius: 5px;
}

.bx-basket-item-title{
	display:flex;
	flex-flow:row nowrap;
	height:100%;
	width:100%;
}

.bx-basket-item-list-item-name{
	display: flex;
	flex-flow:column;
	padding:0 20px;
	justify-content: space-around;
	width:100%;

}
.bx-basket-item-list-item-name a{
	color: var(--catalog-title);
	text-decoration: none;
	font-size: 14px;
	padding:0 10px 0 0;
	font-family: 'SF UI Display';
	line-height: 16px;
	font-weight:500;
}
.bx-basket-item-list-item-remove{
	cursor: pointer;
	transition: all .3s;
	width: 20px;
	position: relative;
	right: 12px;
	top: -6.5px;
	background: var(--blue);
	border-radius: 100%;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity:.2;
}
.bx-basket-item-list-item-remove:hover{
	opacity:1;
}
.bx-basket-item-list-item-remove svg{
	width: 6px;
	transition:all .3s;
	fill:#fff;
}
.bx-basket-item-list-item-remove:hover svg{
	transform: scale(1.1);
}
.bx-basket-item-list-button-container{
	display: flex;
	flex-flow:row nowrap;
	align-items:center;
	justify-content: space-between;
	flex:2.5;
}

.small-basket-item-btn-plus,
.small-basket-item-btn-minus {
	position: relative;
	display: inline-block;
	min-width: 30px;
	height: 30px;
	border-radius: 2px;
	background-color: #ebebeb;
	color: #fff;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
	transition: background 300ms ease, opacity 300ms ease;
}

.small-basket-item-amount-field {
	display: inline-block;
	padding: 0;
	max-width: 50px;
	width: auto;
	height: 30px;
	border: 1px solid transparent;
	border-radius: 2px;
	background: transparent !important;
	color: var(--btn-view);
	vertical-align: middle;
	text-align: center;
	font-weight: 500;
	line-height: 22px;
	transition: border 300ms ease;
}

.small-basket-item-btn-plus:after {
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgdmlld0JveD0iMCAwIDMwIDMwIj4gIDxwYXRoIGZpbGw9IiM1MjVDNjgiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTE4LDEyIEwxOCwwIEwxMiwwIEwxMiwxMiBMMCwxMiBMMCwxOCBMMTIsMTggTDEyLDMwIEwxOCwzMCBMMTgsMTggTDMwLDE4IEwzMCwxMiBMMTgsMTIgWiIvPjwvc3ZnPg==) no-repeat center;
	background-size: 10px;
}
.small-basket-item-btn-minus:after {
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgdmlld0JveD0iMCAwIDMwIDMwIj4gIDxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSI2IiB5PSIxMiIgZmlsbD0iIzUyNUM2OCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat center;
	background-size: 10px;
}
.small-basket-item-btn-plus:after,
.small-basket-item-btn-minus:after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: "";
	opacity: .8;
	transition: opacity 300ms ease, background 300ms ease;
}

.bx-basket-item-list-item-img{
	min-width: 100px;
	max-width: 100px;
	width: 100%;
}
.bx-basket-item-list-item-img img{
	width:100%;
}
input[type='number'] {
	-moz-appearance: textfield;
}

.title-small-basket{
	padding:0 0 10px;
	display: flex;
	flex-flow:row nowrap;
	align-items:center;
}
.title-small-basket span{
	font-size:24px;
	font-weight:500;
	font-family: 'SF UI Display';
	color:var(--btn-view);
	margin-left:30px;
}
.close-small-basket{
	width:26px;
	height:26px;
	cursor: pointer;
	background-color:rgba(20,91,163,.2);
	border-radius: 100%;
	padding: 8px;
}
.close-small-basket:hover{
	background-color:rgba(20,91,163,1);
}
.close-small-basket svg{
	fill:#fff;
}
.small-cart-item-price{
	color:var(--red);
	font-weight:500;
}

.bx-basket-item-list-item-price-sum{
	display: flex;
	flex-flow:row nowrap;
	width:100%;
	align-items:center;
}

.small-cart-item-price-text{
	padding:0 15px 0 5px;
	color:var(--btn-view);
}

.small-cart-item-count{
	font-weight:600;
}

.small-basket-product-item-amount{
	padding:10px 0;
}

.bx-basket-item-control{
	display: flex;
	flex-flow:row nowrap;
	align-items:center;
	justify-content: space-between;
	width:100%;
}

.bx-basket-item-control .quantity-block,
.bx-basket-item-control .bx-basket-item-list-item-price-block,
.bx_total_block{
	flex:1;
}
.bx_total_block{
	display: flex;
	flex-flow:row nowrap;
	align-items:center;
	justify-content: space-between;
	padding:0 5px 0 15px;
	font-size:14px;
	font-weight:600;
	font-family: 'SF UI Display';
	color:var(--btn-view);
}
.bx-basket-total-price{
	width: 100%;
	background: #fff;
	padding: 20px 10px;
	border: 1px solid #f2f2f2;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.small-basket-checkout{
	color:#fff!important;
}

#bx_total_price{
	color:var(--red);
	font-size:16px;
}

@media screen and (max-width:767px){
	.header__small-cart{
		position: absolute;
		right: 10px;
		bottom: -32px;
		display: flex;
		flex-flow:row;
		color:#fff;
		z-index: 999;
	}
	.small-basket_header-sum{
		color:#fff;
	}
	.small-basket_header-count{
		background: #fff;
		color:var(--blue);
	}
	.small-basket_header-icon svg {
		fill: #fff;
	}
	.bx-basket-item-list-item-name{
		padding:0 0 0 10px;
	}
	.bx-basket-item-list-item-name a{
		font-size:12px;
		line-height:14px;
		text-align: left;
	}
	.bx-basket-item-list-wrapper{
		max-width:320px;
		padding:10px 5px;
	}
	.small-basket-item-btn-plus,
	.small-basket-item-btn-minus{
		min-width:24px;
		height:24px;
	}
	.small-basket-item-amount-field{
		height:24px;
	}
	.bx-basket-item-list-item-img {
		min-width: 60px;
		max-width: 60px;
	}
	.bx-basket-item-list-item-remove{
		width:16px;
		height:16px;
		right:5px;
		top:-15px;
	}
	.small-cart-item-price-text{
		font-size:12px;
	}
	.small-cart-item-price{
		font-size:12px;
	}
	.bx-basket-total-price{
		flex-flow:row wrap;
	}
	.small-basket-checkout{
		font-size:14px;
	}
	.bx_total_block{
		margin-top:20px;
		padding:0 5px;
	}
}



/******************** LOADER **********************/

#loader-small-cart{
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color:rgba(255,255,255,.7);
	z-index:100;
	visibility: hidden;
	transition:all .3s;
	display: flex;
	align-items:center;
	justify-content: center;
}
#loader-small-cart.active{
	visibility: visible;
}
/*
.dots {
	padding: 30px;
}

.dot {
	background: var(--blue);
	border-radius: 50%;
	display: inline-block;
	margin-right: 20px;
	width: 16px;
	height: 16px;
}

.dot:first-child {
	animation: FirstDot 3s infinite;
}

.dot:nth-child(2) {
	animation: SecondDot 3s infinite;
}

.dot:nth-child(3) {
	animation: ThirdDot 3s infinite;
}

.dot:nth-child(4) {
	animation: FourthDot 3s infinite;
}

.dot:nth-child(5) {
	animation: FifthDot 3s infinite;
}

@keyframes FirstDot {
	0% {
		transform: scale(1) translateX(0);
	}
	25% {
		transform: scale(2.5) translateX(0);
	}
	50% {
		transform: scale(1) translateX(0);
	}
	83% {
		transform: scale(1) translateX(240px);
	}
	100% {
		transform: scale(1) translateX(0);
	}
}

@keyframes SecondDot {
	0% {
		transform: translateX(0px);
	}
	27% {
		transform: translateX(-40px);
	}
	50% {
		transform: translateX(0px);
	}
	81% {
		transform: translateX(180px);
	}
	100% {
		transform: translateX(0);
	}
}

@keyframes ThirdDot {
	0% {
		transform: translateX(0px);
	}
	29% {
		transform: translateX(-100px);
	}
	50% {
		transform: translateX(0px);
	}
	79% {
		transform: translateX(120px);
	}
	100% {
		transform: translateX(0);
	}
}

@keyframes FourthDot {
	0% {
		transform: translateX(0px);
	}
	31% {
		transform: translateX(-160px);
	}
	50% {
		transform: translateX(0px);
	}
	77% {
		transform: translateX(60px);
	}
	100% {
		transform: translateX(0);
	}
}

@keyframes FifthDot {
	0% {
		transform: scale(1) translateX(0);
	}
	33% {
		transform: scale(1) translateX(-220px);
	}
	50% {
		transform: scale(1) translateX(0);
	}
	75% {
		transform: scale(2.5) translateX(0);
	}
	100% {
		transform: scale(1) translateX(0);
	}
}*/

/***************************/
