/**
 * Minicart cart-design-2 – header type6 (pill: cerchio bianco + prezzo)
 * Override mirati su custom-css.css (righe 349–414, 2428–2434 mobile)
 *
 * Desktop: pill #DFDFDF, solo prezzo (niente "Cart", "Totale", contatore)
 * Mobile ≤991px: lascia icona sola (cart-subtotal già display:none in custom-css)
 */

/* Icona carrello custom (SVG) al posto di porto-icon / Font Awesome */
.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart .minicart-icon.porto-icon-shopping-cart {
	font-size: 0 !important;
	color: transparent;
}

.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart .minicart-icon.porto-icon-shopping-cart::before {
	content: none !important;
	display: none !important;
}

.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart .minicart-icon {
	background-image: url(../../images/header/cart-icon.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 19px 18px;
}

@media (min-width: 992px) {
	.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart {
		display: inline-flex;
		align-items: center;
		flex-wrap: nowrap;
		gap: 0;
		padding: 4px 18px 4px 4px;
		background-color: #dfdfdf;
		border-radius: 9999px;
		text-decoration: none;
		white-space: nowrap;
	}

	.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart>.text,
	.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart .counter.qty {
		display: none !important;
	}

	.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart .minicart-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		width: 44px;
		height: 44px;
		min-width: 44px;
		margin: 0;
		border: none;
		border-radius: 50%;
		background-color: #ffffff;
		line-height: 1;
	}

	.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart>.cart-subtotal {
		display: inline-flex;
		align-items: center;
		margin: 0;
		padding: 0 4px 0 10px;
		background-color: transparent;
		font-size: 0;
		line-height: 1;
		color: #3a3a3a;
	}

	.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart>.cart-subtotal .cart-price,
	.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart>.cart-subtotal .cart-price .amount {
		font-family: 'Roboto', sans-serif;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.2;
		color: #3a3a3a;
		margin: 0;
	}
}

/* Mobile: cerchio bianco sull’icona, senza pill (subtotal nascosto da custom-css) */
@media (max-width: 991px) {
	.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart>.text {
		display: none;
	}

	.page-header.type6 .minicart-wrapper.cart-design-2 .action.showcart .minicart-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		min-width: 36px;
		border: none;
		border-radius: 50%;
		background-color: #ffffff;
	}
}