/**
 * Header / Elementor shopping cart — replace Phlox icon font with SVG bag.
 */

.aux-cart-wrapper a.aux-cart-contents[class*="auxicon"] {
	align-items: center;
	color: var(--zitex-heading);
	display: inline-flex;
	font-size: 0;
	height: 2.75rem;
	justify-content: center;
	line-height: 1;
	min-width: 2.75rem;
	position: relative;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.aux-cart-wrapper a.aux-cart-contents[class*="auxicon"]:hover,
.aux-cart-wrapper a.aux-cart-contents[class*="auxicon"]:focus-visible {
	color: var(--zitex-secondary);
	opacity: 0.92;
}

.aux-cart-wrapper a.aux-cart-contents[class*="auxicon"]::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E")
		center / contain no-repeat;
	background-color: currentColor;
	content: "" !important;
	display: block;
	font-family: inherit !important;
	height: 1.35rem;
	margin: 0;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E")
		center / contain no-repeat;
	position: static;
	width: 1.35rem;
}

.aux-cart-wrapper a.aux-cart-contents[class*="auxicon"] > span {
	align-items: center;
	background-color: var(--zitex-primary);
	border-radius: 999px;
	color: var(--zitex-heading);
	display: inline-flex;
	font-family: var(--zitex-font-fa-body, inherit);
	font-size: 0.6875rem;
	font-weight: 700;
	height: 1.125rem;
	justify-content: center;
	line-height: 1;
	min-width: 1.125rem;
	padding: 0 0.2rem;
	position: absolute;
	right: 0.15rem;
	top: 0.35rem;
}

.aux-cart-wrapper a.aux-cart-contents[class*="auxicon"] > span:empty {
	display: none;
}

/* Soften legacy basket fill animation overlay on custom icon */
.aux-cart-wrapper.aux-basket-animation .aux-shopping-basket::before,
.aux-cart-wrapper.aux-basket-animation .aux-shopping-basket::after {
	opacity: 0 !important;
	pointer-events: none;
}

#site-elementor-header .aux-cart-element-container {
	align-items: center;
	display: flex;
}
