/* MenuHarbor ordering menu. Colours are custom properties so themes can override them. */
.mnhb {
	--mnhb-ink: #1d2733;
	--mnhb-muted: #5f6b78;
	--mnhb-line: #e7e1d6;
	--mnhb-paper: #fffdf9;
	--mnhb-soft: #f6f1e8;
	--mnhb-accent: #c8462b;
	--mnhb-accent-ink: #ffffff;
	--mnhb-sea: #17465f;
	--mnhb-radius: 14px;
	color: var(--mnhb-ink);
	max-width: 1120px;
	margin: 0 auto;
	position: relative;
}
.mnhb *,
.mnhb-overlay * {
	box-sizing: border-box;
}
.mnhb-status {
	padding: 12px 16px;
	border-radius: var(--mnhb-radius);
	margin: 0 0 18px;
	font-weight: 600;
	background: #fff4dc;
	border: 1px solid #f1d58e;
	color: #5c4300;
}
.mnhb-status--closed {
	background: #fde8e4;
	border-color: #f4b8aa;
	color: #7b2412;
}
.mnhb-toolbar-holder {
	min-height: 1px;
}
/* Pinned by menu.js (many themes set overflow on a wrapper, which breaks position: sticky). */
.mnhb-toolbar {
	position: relative;
	z-index: 20;
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	background: var(--mnhb-paper);
	border-bottom: 1px solid var(--mnhb-line);
	margin-bottom: 8px;
}
.mnhb-toolbar.is-pinned {
	position: fixed;
	top: var(--mnhb-pin-top, 0);
	box-shadow: 0 8px 18px -12px rgba(29, 39, 51, 0.35);
}
.mnhb-cats {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	flex: 1 1 auto;
	min-width: 0;
}
.mnhb-cats::-webkit-scrollbar {
	display: none;
}
.mnhb-cat {
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--mnhb-soft);
	color: var(--mnhb-ink) !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.92em;
	white-space: nowrap;
}
.mnhb-cat:hover,
.mnhb-cat.is-active {
	background: var(--mnhb-sea);
	color: #fff !important;
}
.mnhb-search {
	flex: 0 1 240px;
	margin: 0;
}
.mnhb-search input {
	width: 100%;
	padding: 9px 14px;
	border: 1px solid var(--mnhb-line);
	border-radius: 999px;
	background: #fff;
	font-size: 0.95em;
}
.mnhb-section {
	padding-top: 22px;
	scroll-margin-top: 120px;
}
.mnhb-section__title {
	font-size: 1.45em;
	margin: 0 0 4px;
	letter-spacing: -0.01em;
}
.mnhb-section__desc {
	color: var(--mnhb-muted);
	margin: 0 0 10px;
}
.mnhb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 14px;
	margin-top: 12px;
}
.mnhb-item {
	margin: 0;
}
.mnhb-item__open {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	gap: 14px;
	width: 100%;
	height: 100%;
	min-height: 132px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--mnhb-line);
	border-radius: var(--mnhb-radius);
	position: relative;
	transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.mnhb-item__open:hover,
.mnhb-item__open:focus-visible {
	border-color: #d8cdb9;
	box-shadow: 0 10px 26px rgba(29, 39, 51, 0.09);
	transform: translateY(-1px);
}
.mnhb-item__open:focus-visible {
	outline: 3px solid var(--mnhb-sea);
	outline-offset: 2px;
}
.mnhb-item__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1 1 auto;
	min-width: 0;
}
.mnhb-item__name {
	font-weight: 700;
	font-size: 1.04em;
	line-height: 1.3;
}
.mnhb-item__desc {
	color: var(--mnhb-muted);
	font-size: 0.9em;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.mnhb-item__price {
	margin-top: auto;
	font-weight: 700;
	color: var(--mnhb-sea);
}
.mnhb-item__media {
	flex: 0 0 112px;
	width: 112px;
	height: 104px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--mnhb-soft);
}
.mnhb-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mnhb-item__add {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--mnhb-accent);
	color: var(--mnhb-accent-ink);
	display: grid;
	place-items: center;
	font-size: 22px;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(200, 70, 43, 0.35);
}
.mnhb-item.is-sold-out .mnhb-item__open {
	opacity: 0.6;
}
.mnhb-item.is-sold-out .mnhb-item__add {
	display: none;
}
.mnhb-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.mnhb-badge {
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 2px 8px;
	border-radius: 999px;
	background: #e9f3ea;
	color: #2b6a34;
}
.mnhb-badge--hot {
	background: #fde6df;
	color: #a3321a;
}
.mnhb-badge--gluten_free,
.mnhb-badge--dairy_free,
.mnhb-badge--nut_free {
	background: #e6eef6;
	color: #1f4f78;
}
.mnhb-badge--halal {
	background: #efe9f7;
	color: #5a3d86;
}
.mnhb {
	padding-bottom: 90px;
}
.mnhb-no-results,
.mnhb-empty-menu {
	padding: 30px;
	text-align: center;
	color: var(--mnhb-muted);
}
.mnhb-bar {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 14px;
	z-index: 9990;
	margin: 0;
	width: min(620px, calc(100vw - 32px));
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 10px 10px 18px;
	border-radius: 999px;
	background: var(--mnhb-sea);
	color: #fff;
	box-shadow: 0 14px 34px rgba(23, 70, 95, 0.35);
}
.mnhb-bar[hidden] {
	display: none;
}
.mnhb-bar__summary {
	flex: 1 1 auto;
	display: flex;
	gap: 10px;
	align-items: baseline;
	min-width: 0;
}
.mnhb-bar a {
	text-decoration: none !important;
	font-weight: 700;
	padding: 9px 16px;
	border-radius: 999px;
	white-space: nowrap;
}
.mnhb-bar__cart {
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.4);
}
.mnhb-bar__checkout {
	background: var(--mnhb-accent);
	color: #fff !important;
}
.mnhb-toast {
	position: fixed;
	left: 50%;
	bottom: 90px;
	transform: translateX(-50%);
	background: #1d2733;
	color: #fff;
	padding: 10px 18px;
	border-radius: 10px;
	z-index: 100001;
	font-weight: 600;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
	max-width: calc(100vw - 32px);
}
.mnhb-toast[hidden] {
	display: none;
}

/* Dialog */
.mnhb-locked,
.mnhb-locked body {
	overflow: hidden;
}
.mnhb-overlay {
	position: fixed;
	inset: 0;
	background: rgba(17, 24, 32, 0.55);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	color: #1d2733;
}
.mnhb-overlay[hidden] {
	display: none;
}
.mnhb-dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	background: #fff;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}
.mnhb-dialog__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #1d2733;
	font-size: 24px;
	line-height: 38px;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.mnhb-dialog__scroll {
	overflow-y: auto;
	flex: 1 1 auto;
}
.mnhb-dialog__media {
	aspect-ratio: 16 / 9;
	background: #f6f1e8;
}
.mnhb-dialog__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mnhb-dialog__head {
	padding: 18px 20px 6px;
}
.mnhb-dialog__title {
	margin: 0 44px 6px 0;
	font-size: 1.4em;
	line-height: 1.25;
}
.mnhb-dialog__desc {
	margin: 0 0 8px;
	color: #5f6b78;
}
.mnhb-dialog__allergens {
	margin: 8px 0 0;
	font-size: 0.85em;
	color: #5f6b78;
}
.mnhb-groups {
	padding: 0 20px;
}
.mnhb-overlay .mnhb-group {
	border: 0;
	border-top: 1px solid #ece6db;
	margin: 12px 0 0;
	padding: 12px 0 4px;
	min-width: 0;
	background: none;
}
.mnhb-overlay .mnhb-group__legend {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	width: 100%;
	padding: 0;
	margin: 0 0 6px;
	float: left;
	font-size: 1em;
	border: 0;
}
.mnhb-group__legend + * {
	clear: both;
}
.mnhb-group__name {
	font-weight: 700;
}
.mnhb-group__rule {
	font-size: 0.78em;
	color: #5f6b78;
	background: #f2efe9;
	padding: 2px 8px;
	border-radius: 999px;
	white-space: nowrap;
}
.mnhb-group__rule.is-required {
	background: #fde8e4;
	color: #9a2f17;
	font-weight: 700;
}
.mnhb-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	clear: both;
}
.mnhb-option.is-on {
	background: #f4f8fa;
}
.mnhb-option__label {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	cursor: pointer;
	margin: 0;
}
.mnhb-option__label input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #17465f;
}
.mnhb-option__price {
	color: #5f6b78;
	font-size: 0.92em;
	white-space: nowrap;
}
.mnhb-mini-step {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.mnhb-mini-step button,
.mnhb-step button {
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #d9d2c5;
	background: #fff;
	color: #1d2733;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.mnhb-mini-step button:disabled,
.mnhb-step button:disabled {
	opacity: 0.4;
	cursor: default;
}
.mnhb-note {
	display: block;
	padding: 12px 20px 16px;
	margin: 0;
}
.mnhb-note__label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
}
.mnhb-note textarea {
	width: 100%;
	border: 1px solid #ddd5c8;
	border-radius: 10px;
	padding: 8px 10px;
	font: inherit;
	resize: vertical;
}
.mnhb-dialog__foot {
	border-top: 1px solid #ece6db;
	padding: 12px 16px;
	background: #fffdf9;
}
.mnhb-dialog__row {
	display: flex;
	gap: 12px;
	align-items: center;
}
.mnhb-step {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.mnhb-step__n {
	min-width: 20px;
	text-align: center;
	font-weight: 700;
}
.mnhb-add {
	flex: 1 1 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 13px 18px;
	border: 0;
	border-radius: 12px;
	background: #c8462b;
	color: #fff;
	font-weight: 700;
	font-size: 1em;
	cursor: pointer;
}
.mnhb-add:disabled {
	background: #b9b2a7;
	cursor: not-allowed;
}
.mnhb-dialog__error {
	margin: 0 0 10px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #fde8e4;
	color: #8d2a14;
	font-weight: 600;
}
.mnhb-dialog__error[hidden] {
	display: none;
}
.mnhb-dialog__closed {
	margin: 10px 0 0;
	color: #7b2412;
	font-size: 0.9em;
}

/* Opening hours */
.mnhb-hours {
	border-collapse: collapse;
	min-width: 260px;
}
.mnhb-hours caption {
	text-align: left;
	font-weight: 700;
	padding-bottom: 6px;
}
.mnhb-hours th,
.mnhb-hours td {
	padding: 6px 12px 6px 0;
	border-bottom: 1px solid #ece6db;
	text-align: left;
}
.mnhb-hours tr.is-today {
	font-weight: 700;
}

/* Checkout */
.mnhb-fulfilment {
	border: 1px solid #e7e1d6;
	border-radius: 14px;
	padding: 16px 18px 6px;
	margin: 0 0 24px;
	background: #fffdf9;
}
.mnhb-fulfilment h3 {
	margin: 0 0 12px;
}
.mnhb-fulfilment__types {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}
.mnhb-type {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 2px solid #e2dbcf;
	border-radius: 12px;
	cursor: pointer;
	font-weight: 700;
	background: #fff;
}
.mnhb-type:has(input:checked) {
	border-color: #17465f;
	background: #eef5f8;
}
.mnhb-when__select {
	width: 100%;
	max-width: 420px;
	padding: 8px;
}
.mnhb-delivery-note {
	font-size: 0.88em;
	color: #5f6b78;
}
.mnhb-order-summary {
	padding: 12px 16px;
	background: #eef5f8;
	border-radius: 10px;
}

/* Storefront's fixed footer bar on phones. */
@media (max-width: 767px) {
	body.theme-storefront .mnhb-bar {
		bottom: 84px;
	}
	body.theme-storefront .mnhb-toast {
		bottom: 160px;
	}
}

@media (max-width: 640px) {
	.mnhb-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}
	.mnhb-search {
		flex-basis: auto;
	}
	.mnhb-grid {
		grid-template-columns: 1fr;
	}
	.mnhb-item__media {
		flex-basis: 96px;
		width: 96px;
		height: 96px;
	}
	.mnhb-overlay {
		align-items: flex-end;
		padding: 0;
	}
	.mnhb-dialog {
		max-height: 92vh;
		border-radius: 18px 18px 0 0;
	}
	.mnhb-bar {
		border-radius: 16px;
		flex-wrap: wrap;
		padding: 10px 12px;
	}
	.mnhb-bar__summary {
		flex-basis: 100%;
	}
	.mnhb-bar a {
		flex: 1 1 0;
		text-align: center;
	}
}
