/* Harry's Parlour menu (09), rendered by harrys/menu-section (includes/menu-items.php). Loaded on the front end and in the editor.
   C3 in IMPLEMENTATION-PLAN.md section 3: two columns that fill down then across (1000px, 64px gap on desktop),
   two columns with a 40px gap at tablet, one column at 767px. Breakpoints match Kadence. */

/* C3: list layout */
.hp-menu-list__items {
	columns: 2;
	column-gap: 64px; /* 0.7.0, QA fix: columns land on x200 / 732 at 1400 as drawn (was 960 / 110) */
	max-width: 1000px;
	margin: 0 auto -28px; /* cancels the last item's spacing so Row padding is the real bottom gap */
}
.hp-menu-item {
	break-inside: avoid;
	display: flow-root;
	padding-bottom: 28px;
	text-align: left;
}
@media (max-width: 1024px) {
	.hp-menu-list__items {
		column-gap: 40px;
		max-width: none;
	}
}
@media (max-width: 767px) {
	.hp-menu-list__items {
		columns: 1;
	}
}

/* C18 (0.11.0, Matt, 13 Nov 2026): tablet only (768 to 1024px). In the narrower columns some ingredient lines wrap to
   two lines, and CSS columns stack each column on its own, so the two columns' items drifted out of line
   (BUILD-LOG section 22). Here the list is a two-column grid filled down then across (grid-auto-flow: column,
   with as many rows as the first column has items, passed by the block as --hp-menu-rows), so each row is as tall as
   the taller of its two items and the items line up across the columns. Same order, gap and spacing as before.
   Desktop (two CSS columns, every item the same height there) and mobile (one column) are unchanged. */
@media (min-width: 768px) and (max-width: 1024px) {
	.hp-menu-list__items {
		columns: auto;
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(var(--hp-menu-rows, 4), auto);
		grid-auto-flow: column;
		column-gap: 40px;
	}
}

/* Item internals: name is the theme's H4 (Display M, device sizes from the Customizer),
   ingredients are body type, descriptors are Subheading, allergen note is Small print. */
.hp-menu-item .hp-menu-item__name {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	color: var(--global-palette3, #151515);
}
.hp-menu-item__price {
	flex: none;
	white-space: nowrap;
}
.hp-menu-item .hp-menu-item__descriptors {
	margin: 4px 0 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.3;
	color: var(--global-palette5, #6e6e6e);
}
.hp-menu-item .hp-menu-item__ingredients {
	margin: 4px 0 0;
	font-size: 16px; /* 0.7.0, QA fix: drawn at about 16px at every width (was body size, 18 / 18 / 17) */
	color: var(--global-palette5, #6e6e6e);
}
.hp-menu-item .hp-menu-item__allergen {
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--global-palette5, #6e6e6e);
}

/* The name takes the free space so a food price sits right. (Was filed under "Editor only" with the editor rules of
   the old block menu, removed in 0.10.0; it applies on the front end too, so it stays.) */
.hp-menu-item__name .hp-menu-item__name-text {
	flex: 1 1 auto;
}
