/* Product card states: out-of-stock badge, "Get notified" button and price emphasis. */
body ul.products li.product .product-out-of-stock {
	top: 0.6rem;
	right: auto;
	bottom: auto;
	left: 0.6rem;
	width: auto;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: #c62828;
	color: #fff;
	font-size: 0.8rem;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

body ul.products li.product.outofstock .woocommerce-image__wrapper img {
	opacity: 0.6;
}

body ul.products li.product.outofstock .button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	border: 1px solid #111;
	background: #fafafa;
	color: #111;
	font-weight: 700;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body ul.products li.product.outofstock .button::before {
	content: "";
	width: 1.1em;
	height: 1.1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22a2.5 2.5 0 0 0 2.4-1.8h-4.8A2.5 2.5 0 0 0 12 22zm7-6.5V11c0-3.1-1.6-5.6-4.5-6.3V4a2.5 2.5 0 0 0-5 0v.7C6.6 5.4 5 7.9 5 11v4.5l-2 2V19h18v-1.5l-2-2z'/%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'%3E%3Cpath d='M12 22a2.5 2.5 0 0 0 2.4-1.8h-4.8A2.5 2.5 0 0 0 12 22zm7-6.5V11c0-3.1-1.6-5.6-4.5-6.3V4a2.5 2.5 0 0 0-5 0v.7C6.6 5.4 5 7.9 5 11v4.5l-2 2V19h18v-1.5l-2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body ul.products li.product.outofstock .button:hover,
body ul.products li.product.outofstock .button:focus-visible {
	background: #111;
	color: #fff;
}

/* Prices: current price is the most prominent text after the title. */
body ul.products li.product .price {
	margin: 0.4rem 0 0.7rem;
	color: #111;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.2;
}

body ul.products li.product .price:has(ins) {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.15em 0.6em;
}

body ul.products li.product .price .woocommerce-Price-amount {
	white-space: nowrap;
}

body ul.products li.product .price ins {
	order: -1;
	color: #d33;
	font-size: 1.25rem;
	font-weight: 800;
	text-decoration: none;
}

body ul.products li.product .price del {
	color: #6b7076;
	font-size: 0.85rem;
	font-weight: 400;
}

body ul.products li.product .price .woocommerce-Price-currencySymbol {
	font-size: 0.75em;
	font-weight: 700;
}

/* Image tile: a visible edge and soft tint so white product backgrounds don't dissolve into the page. */
body ul.products li.product .woocommerce-image__wrapper {
	overflow: hidden;
	border: 1px solid #ddd;
	border-radius: 1rem;
	background: #f5f5f5;
}

body ul.products li.product .woocommerce-image__wrapper img {
	box-sizing: border-box;
	padding: 0.6rem;
	mix-blend-mode: multiply;
}
