.sbb-cart-wrapper {
    position: relative; 
    /* z-index: 1001;  */
}

.sbb-cart-hover-area {
    position: relative;
}

.sbb-icons-row { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.sbb-icon { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    width: 45px; 
    height: 45px; 
    border: 1px solid #E0E0E0; 
    border-radius: 8px; 
    text-decoration: none; 
    background-color: #fff; 
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out; 
}
.sbb-icon:hover { 
    background-color: #F5F5F5; 
    border-color: #CCCCCC; 
}
.sbb-icon svg { 
    width: 22px; 
    height: 22px; 
    stroke: #333; 
    stroke-width: 1.5; 
}
.sbb-cart-count { 
    position: absolute; 
    top: -6px; 
    right: -6px; 
    min-width: 18px; 
    height: 18px; 
    padding: 0 4px; 
    background-color: #d9534f; 
    color: #fff; 
    border-radius: 50%; 
    font-size: 11px; 
    font-weight: bold; 
    line-height: 18px; 
    text-align: center; 
    box-sizing: border-box; 
}


.bx-basket-item-list.sbb-dropdown {
    position: absolute;
    top: calc(100% + 5px); 
    right: 0;
    width: 360px;
    z-index: 1000;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    border: none;
    padding: 0;
}


.sbb-cart-hover-area:hover .bx-basket-item-list.sbb-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sbb-dropdown-items { 
    max-height: 300px; 
    overflow-y: auto; 
}
.sbb-dropdown-item { 
    display: flex; 
    align-items: center; 
    padding: 15px; 
    gap: 15px; 
    border-bottom: 1px solid #f0f0f0; 
    position: relative; 
}
.sbb-dropdown-item-img { 
    flex-shrink: 0; 
}
.sbb-dropdown-item-img img { 
    width: 60px; 
    height: 60px; 
    object-fit: contain; 
    border: 1px solid #eee; 
    border-radius: 4px; 
}
.sbb-dropdown-item-info { 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    flex-grow: 1; 
    overflow: hidden; 
}
.sbb-dropdown-item-name { 
    font-size: 14px; 
    line-height: 1.3; 
    color: #333; 
    text-decoration: none; 
    white-space: nowrap; 
    text-overflow: ellipsis; 
    overflow: hidden; 
}
.sbb-dropdown-item-name:hover { 
    color: #21a79b; 
}
.sbb-dropdown-item-price-line { 
    display: flex; 
    align-items: baseline; 
    gap: 5px; 
}
.sbb-dropdown-item-price { 
    font-size: 16px; 
    font-weight: bold; 
    color: #000; 
}
.sbb-dropdown-item-quantity { 
    font-size: 13px; 
    color: #888; 
}
.sbb-dropdown-item-remove { 
    flex-shrink: 0; 
    width: 20px; 
    height: 20px; 
    opacity: .5; 
    cursor: pointer; 
    transition: opacity 250ms linear; 
    position: relative; 
}
.sbb-dropdown-item-remove:hover { 
    opacity: 1; 
}
.sbb-dropdown-item-remove:after, .sbb-dropdown-item-remove:before { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 12px; 
    height: 2px; 
    background-color: #333; 
    transform: translate(-50%, -50%) rotate(45deg); 
}
.sbb-dropdown-item-remove:before { 
    transform: translate(-50%, -50%) rotate(-45deg); 
}

.sbb-dropdown-footer { 
    padding: 15px;
    background-color: #fafafa; 
    border-top: 1px solid #f0f0f0; 
}
.sbb-dropdown-total { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 15px; 
    font-size: 16px; 
}
.sbb-dropdown-total span:last-child { 
    font-weight: bold; 
    font-size: 18px; 
}
.sbb-dropdown-btn { 
    display: block; 
    width: 100%; 
    padding: 12px; 
    background-color: #21a79b; 
    color: #fff; 
    font-size: 16px; 
    font-weight: 600; 
    text-align: center; 
    text-decoration: none; 
    border-radius: 8px; 
    transition: background-color 0.2s ease; 
}
.sbb-dropdown-btn:hover { 
    background-color: #1c8f82; 
    color: #fff; 
}


.sbb-dropdown .bx-basket-item-list-action,
.sbb-dropdown .bx-basket-item-list-button-container,
.sbb-dropdown .bx-basket-item-list-item-status {
    display: none !important;
}


@media (max-width: 767px) {
    .bx-basket-item-list.sbb-dropdown { 
        display: none !important; 
    }
}


.bx-basket { }

.basket-line-block {
	position: relative;
	padding-left: 25px;
	white-space: nowrap;
	font-size: 13px;
}

.basket-line-block-icon-cart,
.basket-line-block-icon-profile {
	position: relative;
	margin-right: 10px;
}

.basket-line-block-icon-cart:after,
.basket-line-block-icon-profile:after {
	position: absolute;
	top: -1px;
	left: -25px;
	display: block;
	width: 20px;
	height: 20px;
	content: '';
}

.basket-line-block-icon-profile:after { background: no-repeat center url(images/profile.svg); }

.basket-line-block-icon-cart:after { background: no-repeat center url(images/cart.svg); }

/*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; }
}

@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-fixed.vcenter {
		bottom: 10px;
		top: auto !important;
	}
	.bx-basket-item-list { display: none; }
}

.bx-basket-fixed .basket-line-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: initial!important; }

.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;
	max-height: 100%
}

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

.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;
	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 .basket-line { line-height: 1.44em; }