.sc_layouts_cart {
	position:relative;
	z-index:2000;
}
.sc_layouts_cart_icon,
.sc_layouts_cart_details {
	cursor:pointer;
}
.sc_layouts_cart_items_short {
	position: absolute;
	left: 10px;
	width: 21px;
	height: 21px;
	line-height: 23px;
	text-align:center;
	font-size:12px;
	font-weight: bold;
	background-color:#333;
	color: #fff;
	-webkit-border-radius: 50%;
	    -ms-border-radius: 50%;
			border-radius: 50%;
	position: absolute;
	z-index:1;
	top: -10px;
	pointer-events: none;
}

.sc_layouts_row_type_compact .sc_layouts_cart_details {
	display:none;
}
.sc_layouts_row_type_compact .sc_layouts_cart_details {
	display:none;
}
.sc_layouts_row_type_compact .sc_layouts_cart_items_short {
	display:block;
}

/* Widget: Cart */
.sc_layouts_cart_widget {
	display:none;
	text-align:left;
	position:absolute;
	z-index:2;
	right:-2em;
	top: 4em;
	width: 280px;
	padding: 1em;
	border: 1px solid #ddd;
	background-color: #fff;
	color: #888;
	-webkit-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	        box-sizing: border-box;
}
.sc_layouts_cart_widget:after {
	content: ' ';
	display:block;
	position:absolute;
	z-index:1;
	right: 2.5em;
	top: 0;
	margin: -5px 0 0 -4px;
	width: 8px;
	height:8px;
	border-left: 1px solid #ddd;
	border-top: 1px solid #ddd;
	background-color:#fff;
	-webkit-transform:rotate(45deg);
	    -ms-transform:rotate(45deg);
	        transform:rotate(45deg);
}
.sc_layouts_cart_widget .sc_layouts_cart_widget_close {
	position:absolute;
	z-index:100;
	right: 0;
	top: 0;
	padding:5px 6px;
	cursor:pointer;
	-webkit-transition: color .3s ease;
	    -ms-transition: color .3s ease;
	        transition: color .3s ease;
}
.sc_layouts_cart_widget .widget_shopping_cart {
	text-align: left !important;
	font-size: 0.9333em;
	line-height: 1.5em;
	
}
.sc_layouts_cart_widget .cart_list {
	max-height: 215px;
	overflow-y:auto;
	overflow-x:hidden;
}
.sc_layouts_cart_widget p {
	margin-bottom:0;
}
.sc_layouts_cart_widget p+p {
	margin-top:0.75em;
}

@media (max-width: 767px) {
	.sc_layouts_cart_widget {
		position: fixed;
		left: 0;
		top: 46px;
		right:0;
		bottom: 0;
		width: auto;
		height: auto;
	}
	.sc_layouts_cart_widget:after {
		display: none;
	}
	.sc_layouts_cart_widget .sc_layouts_cart_widget_close {
		font-size: 1.5em;
		padding: 1em;
		top: 32px;
	}
	.sc_layouts_cart_widget .widget_shopping_cart {
		position:absolute;
		z-index:2;
		top: 50%;
		left: 50%;
		-webkit-transform:translate(-50%, -50%);
			-ms-transform:translate(-50%, -50%);
				transform:translate(-50%, -50%);
		padding: 1em;
		width: 90%;
		max-height:80%;
		font-size: 14px;
		overflow-x: hidden;
		overflow-y: auto;
	}
	.sc_layouts_cart_widget .cart_list {
		max-height: none;
		overflow:visible;
	}
}
@media (max-width: 600px) {
	.sc_layouts_cart_widget {
		top: 0;
	}
}