/* "Email me this cart" under the Mini-Cart drawer's buttons (assets/mini-cart.js): a third pill of the same shape and
   height, quieter than "Go to checkout" (a light fill, no border), with an envelope. Colours from the theme's
   presets, with fallbacks. */
.oobj-ac-mini-cart {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	margin-top: 12px;
	padding: 10px 24px;
	border: 1px solid transparent;
	border-radius: 40px;
	background: var(--wp--preset--color--surface, #f6f6f8);
	color: var(--wp--preset--color--contrast, #222);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.oobj-ac-mini-cart::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	background: currentColor;
	-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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
	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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.oobj-ac-mini-cart:hover {
	border-color: var(--wp--preset--color--contrast, #222);
}

.oobj-ac-mini-cart:focus-visible {
	outline: 3px solid var(--wp--preset--color--contrast, #222);
	outline-offset: 2px;
}

@media (forced-colors: active) {
	.oobj-ac-mini-cart {
		border-color: LinkText;
	}

	.oobj-ac-mini-cart::before {
		background: LinkText;
	}
}
