/**
 * Structured dish card extras: variant pricing rows, allergen badges and
 * allergen notes.
 *
 * Scoped under `.menu-page` so these component styles can never bleed into the
 * site navigation or any widget markup.
 */

.menu-page .dish-card__variants {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.menu-page .dish-card__variant {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	border-bottom: 1px dashed rgba(127, 127, 127, 0.35);
	font-size: 0.95rem;
}

.menu-page .dish-card__variant:last-child {
	border-bottom: 0;
}

.menu-page .dish-card__variant-label {
	color: inherit;
	opacity: 0.85;
}

.menu-page .dish-card__variant-price {
	font-weight: 700;
	white-space: nowrap;
}

.menu-page .dish-card__allergens {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.menu-page .dish-card__allergens-label {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.7;
}

.menu-page .dish-card__allergen {
	margin: 0;
	padding: 3px 10px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.75rem;
	line-height: 1.5;
	opacity: 0.85;
}

.menu-page .dish-card__allergen-notes {
	margin: 10px 0 0;
	font-size: 0.8rem;
	line-height: 1.5;
	opacity: 0.75;
}

@media screen and (max-width: 640px) {
	.menu-page .dish-card__variant {
		font-size: 0.9rem;
	}
}

/* "Choose a size" heading above the variant price rows (translated in inc/language.php). */
.menu-page .dish-card__variants-label {
	margin: 14px 0 4px;
	font-size: var(--text-xs, 0.75rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.7;
}
