/* =========================================================
   MicroVida Admin - Mini Cart
========================================================= */

.ast-mini-cart-wrapper,
.ast-site-header-cart,
.ast-site-header-cart-data,
.widget_shopping_cart,
.widget_shopping_cart_content,
.woocommerce-mini-cart {
	max-width: 100% !important;
	overflow-x: hidden !important;
}

.elementor-menu-cart__product-remove.product-remove {
	width: 34px !important;
	height: 34px !important;
	border-radius: 50% !important;
	border: 1.5px solid var(--mv-pack-danger) !important;
	color: var(--mv-pack-danger) !important;
	background: transparent !important;
	box-shadow: 0 6px 14px var(--mv-pack-danger-shadow) !important;
	transition: all 0.2s ease !important;
}

.elementor-menu-cart__product-remove.product-remove:hover {
	background: var(--mv-pack-danger) !important;
	color: #fff !important;
	border-color: var(--mv-pack-danger-dark) !important;
	box-shadow: 0 10px 20px rgba(199, 54, 47, 0.28) !important;
}

.elementor-menu-cart__product-remove.product-remove::before {
	content: "delete" !important;
	display: inline-block !important;
	background: none !important;
	color: currentColor !important;
	font-family: "Material Symbols Outlined" !important;
	font-size: 22px !important;
	font-weight: 400 !important;
	font-style: normal !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-align: center !important;
	text-transform: none !important;
	white-space: nowrap !important;
	direction: ltr !important;
	font-feature-settings: "liga" !important;
	-webkit-font-smoothing: antialiased;
	width: auto !important;
	height: auto !important;
	left: 50% !important;
	top: 50% !important;
	margin: 0 !important;
	transform: translate(-50%, -50%) !important;
	z-index: 1 !important;
}

.elementor-menu-cart__product-remove.product-remove::after {
	content: none !important;
	display: none !important;
}

.woocommerce-mini-cart .woocommerce-mini-cart-item,
.ast-mini-cart-wrapper .woocommerce-mini-cart-item,
.ast-site-header-cart .woocommerce-mini-cart-item,
.widget_shopping_cart .woocommerce-mini-cart-item {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 15px 10px 15px 40px !important;
	overflow: visible !important;
}

.woocommerce-mini-cart .woocommerce-mini-cart-item img,
.ast-mini-cart-wrapper .woocommerce-mini-cart-item img,
.ast-site-header-cart .woocommerce-mini-cart-item img,
.widget_shopping_cart .woocommerce-mini-cart-item img {
	float: left !important;
	width: 75px !important;
	max-width: 75px !important;
	height: auto !important;
	margin: 0 10px 10px 0 !important;
}

.woocommerce-mini-cart .woocommerce-mini-cart-item > a:not(.remove),
.ast-mini-cart-wrapper .woocommerce-mini-cart-item > a:not(.remove),
.ast-site-header-cart .woocommerce-mini-cart-item > a:not(.remove),
.widget_shopping_cart .woocommerce-mini-cart-item > a:not(.remove) {
	display: block !important;
	width: calc(100% - 85px) !important;
	max-width: calc(100% - 85px) !important;
	margin-left: 85px !important;
	white-space: normal !important;
	line-height: 1.4 !important;
}

.woocommerce-mini-cart .variation,
.ast-mini-cart-wrapper .variation,
.ast-site-header-cart .variation,
.widget_shopping_cart .variation {
	position: relative !important;
	left: -140px !important;
	display: block !important;
	width: calc(100% + 140px) !important;
	max-width: calc(100% + 140px) !important;
	margin-left: 85px !important;
	margin-top: 35px !important;
	white-space: normal !important;
	line-height: 1.4 !important;
}

.woocommerce-mini-cart .variation dt,
.woocommerce-mini-cart .variation dd,
.ast-mini-cart-wrapper .variation dt,
.ast-mini-cart-wrapper .variation dd,
.ast-site-header-cart .variation dt,
.ast-site-header-cart .variation dd,
.widget_shopping_cart .variation dt,
.widget_shopping_cart .variation dd {
	display: block !important;
	float: none !important;
	width: max-content !important;
	max-width: 100% !important;
	white-space: nowrap !important;
	line-height: 1.4 !important;
	text-align: left !important;
}

.woocommerce-mini-cart .variation dd,
.ast-mini-cart-wrapper .variation dd,
.ast-site-header-cart .variation dd,
.widget_shopping_cart .variation dd {
	margin: 3px 0 12px 0 !important;
}

.woocommerce-mini-cart .variation dd p,
.ast-mini-cart-wrapper .variation dd p,
.ast-site-header-cart .variation dd p,
.widget_shopping_cart .variation dd p {
	margin: 0 !important;
	white-space: nowrap !important;
}

@media (min-width: 769px) {
	.elementor-menu-cart__main {
		width: 450px !important;
		max-width: 450px !important;
	}

	.elementor-menu-cart__products .elementor-menu-cart__product {
		position: relative !important;
		display: grid !important;
		grid-template-columns: 88px minmax(0, 1fr) 96px !important;
		column-gap: 14px !important;
		row-gap: 8px !important;
		align-items: start !important;
		padding: 18px 0 18px 0 !important;
	}

	.elementor-menu-cart__product-image.product-thumbnail {
		grid-column: 1 !important;
		grid-row: 1 / span 2 !important;
		width: 88px !important;
		max-width: 88px !important;
		margin: 0 !important;
	}

	.elementor-menu-cart__product-image.product-thumbnail img {
		float: none !important;
		width: 88px !important;
		max-width: 88px !important;
		height: auto !important;
		margin: 0 !important;
		display: block !important;
	}

	.elementor-menu-cart__product-name.product-name {
		display: contents !important;
	}

	.elementor-menu-cart__product-name.product-name > a {
		grid-column: 2 !important;
		grid-row: 1 !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		font-size: 16px !important;
		line-height: 1.35 !important;
		font-weight: 600 !important;
		white-space: normal !important;
	}

	.elementor-menu-cart__product-name.product-name .variation {
		position: static !important;
		left: auto !important;
		display: contents !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
	}

	.elementor-menu-cart__product-name.product-name .variation dt,
	.elementor-menu-cart__product-name.product-name .variation dd {
		float: none !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		white-space: normal !important;
		line-height: 1.35 !important;
	}

	.elementor-menu-cart__product-name.product-name .variation dt {
		grid-column: 2 !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		color: #5f6670 !important;
	}

	.elementor-menu-cart__product-name.product-name .variation dd {
		grid-column: 3 !important;
		justify-self: end !important;
		text-align: right !important;
		font-size: 14px !important;
		font-weight: 400 !important;
		color: #2f241a !important;
	}

	.elementor-menu-cart__product-name.product-name .variation dd p {
		white-space: normal !important;
		text-align: right !important;
	}

	.elementor-menu-cart__product-price.product-price {
		grid-column: 3 !important;
		grid-row: 1 !important;
		justify-self: end !important;
		align-self: start !important;
		text-align: right !important;
		width: 96px !important;
		max-width: 96px !important;
		min-width: 96px !important;
		margin: 0 !important;
	}

	.elementor-menu-cart__product-price.product-price .product-quantity {
		display: none !important;
	}

	.elementor-menu-cart__product-price.product-price .quantity {
		display: inline-block !important;
		font-size: 18px !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		white-space: nowrap !important;
	}

	.elementor-menu-cart__product-remove.product-remove {
		position: static !important;
		grid-column: 1 !important;
		grid-row: 3 !important;
		justify-self: center !important;
		align-self: start !important;
		margin: 0 !important;
	}

	.elementor-menu-cart__product-remove.product-remove a {
		display: none !important;
	}

	.elementor-menu-cart__product-remove.product-remove a:first-child {
		display: inline-flex !important;
	}

	.elementor-menu-cart__product-name.product-name .variation dt:last-of-type,
	.elementor-menu-cart__product-name.product-name .variation dd:last-of-type {
		padding-top: 4px !important;
		font-weight: 400 !important;
		color: #2f241a !important;
	}
}
