/* Voltmen Mini Cart - slide-out cart design */
.cart-widget-side .widget_shopping_cart_content {
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.cart-widget-side .elementor-menu-cart__products {
	flex: 1 1 auto;
	overflow-y: auto;
	margin: 0;
	padding: 4px 20px;
}

/* One cart line */
.cart-widget-side .elementor-menu-cart__product {
	position: relative;
	display: grid;
	grid-template-columns: 76px 1fr;
	grid-template-areas:
		"img name"
		"img price"
		"img qty";
	column-gap: 14px;
	row-gap: 4px;
	align-items: start;
	padding: 16px 0;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.cart-widget-side .elementor-menu-cart__product-image { grid-area: img; margin: 0; }
.cart-widget-side .elementor-menu-cart__product-image img {
	display: block;
	width: 76px;
	height: 76px;
	object-fit: contain;
	border-radius: 8px;
	background: #f6f7f9;
}
.cart-widget-side .elementor-menu-cart__product-name {
	grid-area: name;
	padding-right: 32px;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 500;
}
.cart-widget-side .elementor-menu-cart__product-name a { color: inherit; text-decoration: none; }
.cart-widget-side .elementor-menu-cart__product-price {
	grid-area: price;
	font-size: 14px;
	font-weight: 600;
	color: var(--wd-primary-color, #2f5be7);
}
.cart-widget-side .elementor-menu-cart__product-price .product-quantity { display: none; }

/* Hide the theme's empty remove links; we use our own button */
.cart-widget-side .elementor-menu-cart__product-remove { display: none !important; }

/* Remove (x) button */
.cart-widget-side .vm-remove {
	position: absolute;
	top: 12px;
	right: 0;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f2f3f5;
	color: #555;
	font-size: 18px;
	line-height: 26px;
	text-align: center;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.cart-widget-side .vm-remove:hover { background: #fde8e8; color: #c62828; }

/* Quantity control */
.cart-widget-side .vm-qty {
	grid-area: qty;
	display: inline-flex;
	align-items: center;
	width: max-content;
	margin-top: 4px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
.cart-widget-side .vm-qty button {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: #fff;
	color: #222;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}
.cart-widget-side .vm-qty button:hover:not([disabled]) { background: #f2f3f5; }
.cart-widget-side .vm-qty button[disabled] { opacity: .35; cursor: not-allowed; }
.cart-widget-side .vm-count { min-width: 34px; text-align: center; font-size: 14px; font-weight: 600; }

/* Subtotal + buttons */
.cart-widget-side .elementor-menu-cart__subtotal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px 8px;
	border-top: 1px solid rgba(0, 0, 0, .08);
	font-size: 16px;
}
.cart-widget-side .elementor-menu-cart__footer-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 8px 20px 20px;
}
.cart-widget-side .elementor-menu-cart__footer-buttons .elementor-button {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 46px;
	padding: 0 12px;
	border: 1px solid var(--wd-primary-color, #2f5be7);
	border-radius: 8px;
	background: #fff;
	color: var(--wd-primary-color, #2f5be7);
	font-weight: 600;
	text-decoration: none;
	transition: opacity .15s;
}
.cart-widget-side .elementor-menu-cart__footer-buttons .elementor-button--checkout {
	background: var(--wd-primary-color, #2f5be7);
	color: #fff;
}
.cart-widget-side .elementor-menu-cart__footer-buttons .elementor-button:hover { opacity: .88; }

/* While the cart is updating */
body.vm-mc-loading .cart-widget-side .widget_shopping_cart_content {
	opacity: .55;
	pointer-events: none;
	transition: opacity .15s;
}
