.bx-basket { }

/* изначально скрываем */
#basket .bx-basket-item-list {
	display: none;
}

/* при наведении на весь #basket показываем вложенный список */
#basket:hover .bx-basket-item-list {
	display: block;
}

#js-popup-container.hidden { display: none!important; }
  
.bx-basket-block > .fa {
	position: absolute;
	top: 3px;
	left: 0;
	width: 12px;
	color: #97a1ab;
}

/*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: 70px }
}

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

@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: relative;
	overflow: hidden;
	padding-bottom: 20px;
	z-index: 1000;
}

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

.bx-basket-item-list-container {
	overflow-y: auto;
	overflow-x: hidden;
	max-height: 500px;

}

.bx-basket-item-list-item {
	position: relative;
	padding-top: 15px;
	padding-right: 10px;
	padding-left: 10px;
}

.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 {
	padding-bottom: 5px;
	text-align: center;
}

.bx-basket-item-list-item-img img {
	max-width: 90px;
	height: auto;
}

.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; }



/* Main cart container */
.bx-basket-item-list {
	/* width: 100%; */
	width: 450px;
	margin: 0 auto;

	/* border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	border: 1px solid #e0e0e0; */
	position: absolute;
	right: 0;
	top: 60px;
  }

  .bx-basket-item-list .body {
	background-color: #fff;
	margin-top: 10px;
	border-radius: 2px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e0e0e0;
	padding-top: 25px;
  }
  
  
  /* Cart title */
  .bx-basket-item-list-item-status {
	font-size: 22px;
	font-weight: 500;
	padding: 20px;
	color: #333;
  }
  
  /* Cart items container */
  .bx-basket-item-list-container {
	padding: 0;
  }
  
  /* Individual cart item */
  .bx-basket-item-list-item {
	display: flex;
	padding: 5px 25px;
	position: relative;
	align-items: center;
  }
  
  /* Item image */
  .bx-basket-item-list-item-img {
	width: 60px;
    height: 60px;
	min-width: 70px;
	margin-right: 15px;
  }
  
  .bx-basket-item-list-item-img a {
	display: block;
	width: 100%;
	height: 100%;
  }
  
  .bx-basket-item-list-item-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
  }
  
  /* Item name */
  .bx-basket-item-list-item-name {
	flex: 1;
	padding-right: 30px;
  }
  
  .bx-basket-item-list-item-name a {
	font-size: 16px;
	line-height: 1.4;
	color: var(--bs-gray);
	text-decoration: none;
  }
  
  .bx-basket-item-list-item-name a:hover {
	color: #333;
  }
  
  /* Price block */
  .bx-basket-item-list-item-price-block {
	min-width: 100px;
  }
  
  /* Price */
  .bx-basket-item-list-item-price {
	font-size: 16px;
	margin-bottom: 2px;
	font-family: 'Stolzlmedium', 'Arial';
  }
  
  .bx-basket-item-list-item-price strong {
	font-weight: 500;
  }
  
  /* Old price with strike through */
  .bx-basket-item-list-item-price-old {
	font-size: 13px;
	color: #999;
	text-decoration: line-through;
	margin-bottom: 2px;
  }
  
  /* Item quantity and sum */
  .bx-basket-item-list-item-price-summ {
	font-size: 13px;
	color: #777;
  }
  
  /* Remove button (X) */
  .bx-basket-item-list-item-remove {
	position: absolute;
    top: 5px;
    right: 20px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s;
  }
  
  .bx-basket-item-list-item-remove:hover {
	opacity: 1;
  }
  
  .bx-basket-item-list-item-remove:before,
  .bx-basket-item-list-item-remove:after {
	content: "";
    position: absolute;
    width: 20px;
    height: 1px;
    background-color: #292929;
    top: 12px;
    left: -10px;
  }
  
  .bx-basket-item-list-item-remove:before {
	transform: rotate(45deg);
  }
  
  .bx-basket-item-list-item-remove:after {
	transform: rotate(-45deg);
  }
  
  /* Cart footer with total and checkout button */
  .cart-footer {
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top: 1px solid #f0f0f0;
  }
  
  /* Total price */
  .cart-total {
	font-size: 18px;
	font-weight: 500;
	color: #333;
  }
  
  .total-price {
	font-weight: 500;
  }
  
  /* Checkout button container */
.bx-basket-item-list-button-container {
    margin: 20px;
    height: 60px;
    display: flex;
    background: #EA5B0C;
    justify-content: center;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
    color: #ffffff;
    font-family: 'Stolzlmedium';
    align-content: center;
    align-items: center;
}
  
  /* Checkout button */
  .btn-primary {
	display: inline-block;
	background-color: #f26522;
	color: #fff;
	text-decoration: none;
	padding: 12px 30px;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 400;
	transition: background-color 0.2s;
	border: none;
	cursor: pointer;
	width: 100%;
	text-align: center;
  }
  
  .btn-primary:hover {
	background-color: #e35a14;
  }
  
  /* Responsive adjustments */
  @media (max-width: 480px) {
	.bx-basket-item-list {
	  max-width: 100%;
	}
	
	.bx-basket-item-list-item {
	  flex-direction: column;
	  align-items: flex-start;
	}
	
	.bx-basket-item-list-item-img {
	  margin-bottom: 10px;
	}
	
	.bx-basket-item-list-item-name {
	  width: 100%;
	  margin-bottom: 10px;
	  padding-right: 0;
	}
	
	.bx-basket-item-list-item-price-block {
	  width: 100%;
	  text-align: left;
	}
	
	.bx-basket-item-list-button-container {
	  padding: 15px;
	}
  }


.card-total {
    display: flex;
    padding: 20px;
    justify-content: space-between;
    font-family: 'Stolzlmedium';
    font-size: 18px;
}