/*
 * Performance badges (v0.7.19): Sold Out, the manual marketing badge and the
 * Promotion badge. Tiny Orchestra palette (burgundy #780b2b, navy #202c3e,
 * cream #fcf4e5, gold #ad8446). The list wraps and every badge may wrap its
 * own text, so nothing runs past a card or covers its title, date or button.
 */
.to-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 6px;
	max-width: 100%;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.to-badges > .to-badge {
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	margin: 0;
	padding: 4px 10px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
	text-align: left;
	white-space: normal;
	overflow-wrap: anywhere;
	list-style: none;
}

.to-badges > .to-badge::before,
.to-badges > .to-badge::marker {
	content: none;
}

.to-badges > .to-badge--sold-out {
	background: #202c3e;
	border-color: #202c3e;
	color: #fffaf3;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.to-badges > .to-badge--marketing {
	/* v0.7.21: warm amber, so Hot Selling is not mistaken for the burgundy buttons. */
	background: #f3a833;
	border-color: #d98f14;
	color: #2b1700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.to-badges > .to-badge--promotion {
	background: #fcf4e5;
	border-color: #ad8446;
	color: #780b2b;
}
