/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


.mini-cart-wrapper {
	position: relative;
}

.mini-cart-popup {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: auto;
	width: 360px;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 10px 25px rgba(0,0,0,0.12);
	z-index: 9999;
	display: none;
	border-radius: 6px;
	overflow: hidden;
}

	.mini-cart-popup.show {
		display: block;
	}

.mini-cart-title {
	padding: 14px 16px;
	font-weight: 700;
	font-size: 15px;
	border-bottom: 1px solid #eee;
	background: #fafafa;
}

.mini-cart-items {
	max-height: 320px;
	overflow-y: auto;
}

.mini-cart-item {
	display: flex;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f1f1;
}

	.mini-cart-item:last-child {
		border-bottom: none;
	}

.mini-cart-item-image {
	width: 55px;
	height: 55px;
	flex: 0 0 55px;
	border: 1px solid #eee;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

	.mini-cart-item-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

.mini-cart-item-body {
	flex: 1;
}

.mini-cart-item-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 4px;
}

.mini-cart-item-meta {
	font-size: 12px;
	color: #666;
	line-height: 1.5;
}

.mini-cart-footer {
	padding: 14px 16px;
	border-top: 1px solid #eee;
	background: #fafafa;
}

.mini-cart-total {
	font-weight: 700;
	margin-bottom: 10px;
}

.mini-cart-actions .button {
	width: 100%;
	text-align: center;
}

.mini-cart-empty {
	padding: 18px 16px;
	color: #777;
	font-size: 13px;
}