/*Маленькая корзина*/
.basket-mini{
	width:150px;
}
.basket-mini__icon{
	display:inline-block;
	vertical-align: top;
	background: #eaebec;
	border-radius: 4px;
	width: 40px;
	height: 40px;
	text-decoration: none;
	text-align:center;
	position: relative;
	padding-top:10px;
	box-sizing: border-box;
	float:left;
	margin:0px 20px 10px 0;
}

.basket-mini__icon .fa:before{
	color:#333;
	font-size:20px;
}

.basket-mini:hover .fa:before{
	color:#555;
}

.basket-mini__count{
	top: -4px;
	right: -6px;
	position: absolute;
	width: 20px;
	display: block;
	height: 20px;
	vertical-align: middle;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	line-height: 20px;
	background: #afafaf;
	text-align: center;
	font-size: 12px;
	color:#fff;
}

.basket-mini__title{
	text-decoration:none;
	font-size: 14px;
	line-height: 18px;
	display: block;
}

.basket-mini__price-total{
	font-size:13px;
	color: #5f5f5f;
	line-height: 16px;
	max-width: 67px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}


/*Большая корзина*/

.basket__table{
	border: 1px solid #ddd;
}

.basket__item,
.basket__table-foot{
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
}

.basket__item{
	border-bottom: 1px solid #ddd;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	box-sizing: border-box;
}

.basket__table-foot{
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding-right: 55px;
	box-sizing: border-box;
}

.basket__item_head{
	font-weight: bold;
	background-color: #f7f7f7;
}

.basket__total{
	text-align: right;
}
.basket__total,
.basket__total-value{
	font-weight: bold;
}

.basket__cell{
	padding: 10px 15px;
	box-sizing: border-box;
}

.basket__img{padding-left: 20px}
.basket__img-link{
	display: block;
	width: 50px;
	height: 50px;
	border: 1px solid #ddd;
	background-image: url(/lib/alma/i/no-photo.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}


.basket__cell_img{		width:80px;}
.basket__cell_content{
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: calc(100% - 80px);
}

.basket__cell_count{	width:120px;}
.basket__cell_price{	width:100px; white-space: nowrap;}
.basket__cell_total{	width:100px; white-space: nowrap;}
.basket__cell_delete{	width:55px;}
.basket__total_value{	width:100px;}


.basket__cell_name {
	width: calc(100% - 375px);
}

.basket__prop{
	font-size: 11px;
	color: #777;
}

.basket__control,
.basket__btn_delete{
	cursor: pointer;
}

.basket__btn_delete{
	background: #fafafa;
	border: 1px solid #dc0000;
	color: #dc0000;
	outline: none;
}

.basket__cell_delete .basket-btn-delete{
	font-size: 0;
}

.basket__count-input{	width: 40px;}

.basket__wrap-button{
	padding-top: 15px;
	text-align: right;
}

.basket__button{
	outline: none;
}

.basket__msg-mininum{
	color:#f00;
	text-align:center;
	font-size:18px;
}



/*Количество в корзине*/
.basket__control-wrap{
	box-sizing: border-box;
	border: 1px solid #e5e5e5;
	font-size: 0;
	width: 84px;
	margin: 0 auto;
	display: inline-block;
	vertical-align: top;
	border-radius: 2px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	height: 30px;
}

.basket__control{
	font-size: 12px;
	line-height: 28px;
	font-weight: 600;
	height: 28px;
	width: 24px;
	text-align: center;
	display: inline-block;
	cursor: pointer;
	vertical-align: top;
	box-sizing: border-box;
	color:#555;
}

.basket__control:hover{
	color:#333;
}

.basket__count-input{
	width: 34px;
	border: 0;
	border-left: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	background: #f7f7f7;
	color: #666666;
	font-size: 13px;
	height: 28px;
	border-radius: 0;
	text-align: center;
	line-height: 13px;
	padding: 7px 3px 7px;
	box-sizing: border-box;
}

.basket-mini-line{
	position: relative;
	cursor: pointer;
}

.basket-popup{
	width: 400px;
	position: absolute;
	top: 100%;
	right: 10px;
	background: #ffffff;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
	z-index: 20;
	box-sizing: border-box;
	font-size: 13px;
	line-height: 21px;
	color: #484c51;
	display: none;
}

.basket-mini-line:hover .basket-popup{
	display: block;
}

.basket-popup-cart{
	width: 100%;
	padding-bottom: 15px;
}

.basket-popup-cart__item{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 15px 10px 0;
}

.basket-popup-cart__name{
	white-space: normal;
}

.basket-popup-cart__img{
	width: 50px;
}

.basket-popup-cart__del{
	width: 20px;
}


.basket-popup-cart__desc{
	width:calc(100% - 90px);
}


.basket-popup-cart__img-link{
	box-sizing: border-box;
	display: block;
	width: 50px;
	height: 50px;
	border: 1px solid #ddd;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.basket-popup-cart__img-link_no-photo{
	background-image: url(/lib/alma/i/no-photo.svg);
	background-size:30px 30px;
}

.basket-popup-cart__price{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.basket-popup-btn,
.basket-popup-rezult{
	background: #f7f7f9;
	padding: 15px;
	border-top: 1px solid #e5e5e5;
}

.basket-popup-rezult{
	font-weight: bold;
	padding-right:30px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.basket-popup-btn{
	text-align: center;
}

.basket-btn-delete{
	display: block;
	width: 20px;
	height: 20px;
	background-image:  url('data:image/png;base64,iVB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MTFFNzgwMTdCMUY2Q0VGMjdCQUYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7ZRUmVAAAAuklEQVR42mzQwQpBQRTG8THmBSzxBJZK2Qhrb2AtGw9gg+uiWEg35QmsZCk7C8lCoiTPYGlvIdd/6tyadKd+0+nM13Q6iYYfzJRSK1xU/Knhrbm2GKIQEyqjiZcN7jEWRSdk6zY83LU0jxiJPHIS8PGwAeP8YMMdDJBEH9fo0fzN9JReCl/3QTt1FgsEaGGC0n8wjbmsaYebzOdFYYJhBlNssIYSJ/TA3GHFfLSp0j1gGbPHM7qo/wQYAPjdLXiiIiBzAAAAAElFTkSuQmCC');
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: none;
	border: none;
	outline: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

.basket-btn-delete:hover{
	background-color: #f7f7f9;
}

@media screen and (max-width: 767px) {
	.basket__item_head, .basket__cell_total{display: none;}
	.basket__item{
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
	}
	.basket__cell_content{
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
	.basket__item,
	.basket__cell_content{
		-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start;
	}
	.basket__cell{padding: 10px;}
	.basket__cell_content{width: calc(100% - 135px);}
	.basket__cell_img, .basket__cell_count, .basket__cell_price, .basket__cell_delete, .basket__cell_total, .basket__total_value{width: auto;}
	.basket__cell_name{width: 100%;}
	.basket__cell_delete .basket-btn-delete{font-size: 13px; text-decoration: underline; color: #859ba7; padding-left: 20px; padding-bottom: 2px; display: inline-block; background-color: transparent; background-position: 0; border-radius: 0; width: auto;}
	.basket__img-link{width: 80px; height: 80px;}
	.basket__table-foot{padding-right: 0;}
	.basket__name{font-weight: bold;}
}

@media screen and (max-width: 480px) {
	.basket__table-foot{
		padding: 5px 10px;
		-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start;
	}
	.basket__wrap-button{text-align: center;}
}