.bx-basket { }

.bx-basket-block {
	position: relative;
	padding-top: 3px;
	padding-left: 20px;
	white-space: nowrap;
	font-size: 12px;
	min-width: 130px;
}

.footer-basketmin .bx-basket-block{
	padding-top: 10px;
}

.bx-basket-block > .fa {
	position: absolute;
	top: 3px;
	left: 0;
	width: 12px;
	color: #97a1ab;
}

.bx-basket-block a { margin-right: 10px; }

/*FIXED BASKET*/

@media (min-width: 768px) {
	.bx-basket-fixed {
		position: fixed;
		z-index: 998;
		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: 70px }
}

@media (max-width: 767px) {
	.bx-basket-fixed {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 998;
		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 {
		margin-right: 20px;
		padding-bottom: 0;
	}

	/*.bx-basket-fixed */
}

.bx-basket-fixed .bx-basket-block { margin-left: 10px; }

.bx-basket-item-list {
	position: relative;
	overflow: hidden;
	padding-bottom: 20px;
	border-top: 1px solid #f7f7f7;
}

.bx-opener .bx-basket-item-list { 
	padding-bottom: 41px; 
}

.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;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 10px 0;
	border-top: 1px solid #f7f7f7;
	background: #fff;
	text-align: center;
}

.bx-basket-item-list-container {
	overflow-y: auto;
	max-height: 100%
}

.bx-basket-item-list-item {
	position: relative;
	padding-top: 15px;
	padding-right: 10px;
	padding-left: 10px;
	border-bottom: 1px solid #f7f7f7;
	display: flex;
	align-items: center;
}

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

.bx-basket-item-list-item-status {
	margin: 0 10px 20px;
	padding: 3px;
	border-radius: 3px;
	background: #ebebeb;
	text-align: center;
	white-space: normal;
	font-weight: bold;
	font-size: 12px;
	line-height: 16px;
}

.bx-basket-item-list-item-img {
	position: relative;
	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 {
	font-size: 12px;
    padding-left: 5px;
    line-height: 135%;
    font-weight: 500;
    flex-grow: 2;
}

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

.bx-basket-item-list-item-remove {
	position: absolute;
	top: 14px;
	right: 2px;
	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 {
	font-size: 12px;
	padding-left: 5px;
	width: 60px;
    min-width: 60px;
}

.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; }
.bx-basket-item-list{
	display: none;
}
.js-header__basketmin-block{
	position: relative;
}
.bx-basket-item-list{
	position: absolute;
	width: 300px;
    right: 0;
    background: #fff;
    z-index: 12;
    border: 1px solid #e8e8e8;
}
.js-header__basketmin-block:hover .bx-basket-item-list{
	display: block;
}
.bx-basket-block-link{
	display: flex;
}
.bx-basket-block-link:hover{
	text-decoration: none;
}
.bx-basket-block-icon{
	position: relative;
}
.bx-basket-block-icon svg{
	width: 27px;
    height: 27px;
    font-size: 21px;
}
.bx-basket-block-icon span{
	position: absolute;
    width: 25px;
    height: 25px;
    background: #ff8400;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    top: -13px;
    left: 18px;
    border: 2px solid #fff;
}
.bx-basket-block-total{
	margin-left: 15px;
    font-size: 14px;
    font-weight: 600;
}
.bx-basket-item-list-item-price-summ{
	display: flex;
	flex-direction: column;
}
.giftsindic-block{
	position: fixed;
    right: 0;
    top: 50%;
    transform: translate(267px, -50%);
    z-index: 11;
    transition: 0.3s
}
.giftsindic-block.show{
	transform: translate(0, -50%);
}
.giftsindic__main{
	display: flex;
	align-items: flex-end;
    background: #fff;
    padding: 20px;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    position: relative;
}
.giftsindic__main-ind{
	border-radius: 3px;
    background-color: #ffffff;
    border: solid 1px #ff8400;
    width: 22px;
    height: 341px;
    position: relative;
}
.giftsindic__main-ind-gdare{
	background: url('/local/templates/food_s2/images/gift-grade.png')no-repeat scroll center bottom;
	width: 12px;
    height: 0;
    position: absolute;
    bottom: 4px;
    right: 4px;
    transition: all 0.5s ease;
    background-size: 12px 331px;
    max-height: calc(100% - 8px);
    background-attachment: scroll;
}
.giftsindic__main-info{
	padding-left: 20px;
    width: 265px;
    display: flex;
    flex-direction: column;
}
.giftsindic__main-info-title{
	font-size: 20px;
    font-weight: 600;
}
.giftsindic__main-info-preview{
	margin: 2px 0 5px 0;
    font-size: 12px;
}
.giftsindic__main-info-panel{
	margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ebebeb;
    height: 65px;
    position: relative;
}
.giftsindic__main-info-panel-last{
	height: 130px;
}
.giftsindic__main-info-panel-text{
	width: fit-content;
    padding: 2px 5px;
    font-weight: 500;
    color: #fff;
    background: #ff8400;
    border-radius: 5px;
}
.giftsindic__main-info-panel-preview{
	font-size: 12px;
    line-height: 15px;
    padding: 5px;
    font-weight: 500;
}
.giftsindic__main-open-close{
	background: #ff8400 url('/local/templates/food_s2/images/gift-icon-open.svg')no-repeat center center;
	background-size: 25px 25px;
    width: 35px;
    height: 35px;
    left: 14px;
    border-radius: 5px;
    top: 27px;
    position: absolute;
    transition: 0.3s;
    border: 1px solid #ff8400;
}
.giftsindic__main-open-close:hover{
	cursor: pointer;
}
.giftsindic__main-info-panel.active{
	background: #ff8400;
	color: #fff;
	border: 1px solid #ff8400;
}
.giftsindic__main-info-panel-btn{
	position: absolute;
    top: 1px;
    right: 0;
    font-size: 12px;
    padding: 3px 5px;
}
.giftsindic__main-cart .giftsindic__main-info-panel{
	transition: 0.3s
}
.giftsindic__main-cart .giftsindic__main-info-panel:hover{
	cursor: pointer;
	opacity: 0.8
}
.popup__gifts{
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: rgba(0,0,0,0.6);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.popup__gifts.open {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
.popup__main{
	background: #FFFFFF;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    width: 745px;
    position: relative;
    padding: 40px;
    max-height: 90%;
    overflow: auto;
}
.popup__close{
	position: absolute;
    top: 14px;
    right: 13px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.popup__close::before, .popup__close::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 25px;
    height: 2px;
    background: #495057;
    -webkit-transform: rotate( 45deg);
    -ms-transform: rotate(45deg);
    transform: rotate( 45deg);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.popup__close::after {
    -webkit-transform: rotate( -45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate( -45deg);
}
.popup__close:hover::before,
.popup__close:hover::after{
	background: #000
}
.popup__block{
	position: relative;
}
.popup__block-title{
	font-weight: 600;
    font-size: 20px;
}
.popup__block-tovar{
	display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 5px 5px;
    margin-top: 10px;
}
.popup__block-tovar-item{
	border: 1px solid #ebebeb;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}	
.popup__block-tovar-item-img{
	height: 120px;
}
.popup__block-tovar-item-img-pic{
	object-fit: contain;
}
.popup__block-tovar-item-name{
	text-align: center;
    font-weight: 500;
    line-height: 135%;
    margin-top: 5px;
    font-size: 13px;
    flex-grow: 2;
}
.popup__block-tovar-item-btn{
	border-radius: 5px;
    background: #ff8400;
    color: #fff;
    font-size: 12px;
    padding: 3px 20px;
    margin-top: 7px;
    transition: 0.3s;
}
.popup__block-tovar-item-btn:hover{
	cursor: pointer;
	opacity: 0.8
}
@media(max-width: 1500px){
	.giftsindic__main{
		padding: 12px
	}
	.giftsindic__main-info{
		padding-left: 12px;
	}
	.giftsindic__main-open-close{
		left: 5px;
	}
}
@media(max-width:767px){
	.popup__main{
		width: 95%;
		padding: 40px 20px;
	}
	.popup__block-tovar{
		grid-template-columns: 1fr 1fr 1fr;
	}
}
@media(max-width:576px){
	.c-panel-template-1 .intec-grid > .intec-grid-item-400-4{
		-ms-flex: 0 0 50%;
    	flex: 0 0 50%;
    	max-width: 50%;
	}
	.c-panel-template-1 .intec-grid > .intec-grid-item-1-cart{
		-ms-flex: 0 0 100%;
    	flex: 0 0 100%;
    	max-width: 100%;
	}
	.giftsindic__main-open-close {
	    left: 1px;
	    width: 25px;
	    height: 25px;
	}
	.giftsindic__main {
	    padding: 7px 5px;
	}
	.giftsindic__main-ind{
		width: 18px;
	}
	.giftsindic__main-ind-gdare{
		width: 8px;
	}
	.giftsindic__main-info {
	    padding-left: 6px;
	}
}