/* Order online – menu, item dialog, cart sheet & checkout */
.q-order { position: relative; }

.q-order__toolbar {
	position: sticky; top: var(--q-bar-top, var(--q-sticky-top, 0)); z-index: 20;
	display: grid; gap: 10px;
	margin: 0 0 8px;
	padding: 10px 0;
	background: color-mix(in srgb, var(--q-bg) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--q-line);
}
.q-order__toolbar > *, .q-order__layout > * { min-width: 0; }
/* "Restaurant Reserved for Private Booking …" for the coming week (order-menu.js). */
.q-order__private { display: grid; gap: 8px; margin: 0 0 12px; }
.q-order__private .q-notice { margin: 0; }

.q-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.q-order__layout { display: grid; gap: 32px; }
@media (min-width: 960px) {
	.q-order__layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; transition: grid-template-columns .45s cubic-bezier(.2,.8,.2,1); }
	/* Checkout: the order column widens over the menu so the details and the card have room. */
	.q-order.is-checkout .q-order__layout { grid-template-columns: minmax(0, 1fr) min(620px, 48%); }
	.q-order.is-checkout .q-items { grid-template-columns: 1fr; }
	.q-order.is-checkout .q-cart { padding: 24px 26px; }
	.q-cart { position: sticky; top: calc(var(--q-sticky-top, 0px) + 120px); max-height: calc(100vh - var(--q-sticky-top, 0px) - 140px); overflow: auto; }
}

.q-section { scroll-margin-top: var(--q-sec-gap, calc(var(--q-sticky-top, 0px) + 130px)); padding-top: 12px; }
.q-section + .q-section { margin-top: 28px; }
.q-section__title { margin: 0 0 4px; font-family: var(--q-font-display); font-size: clamp(1.5rem, 3vw, 2rem); }
.q-section__note { margin: 0 0 8px; color: var(--q-muted); }

.q-items { display: grid; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .q-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) and (max-width: 1180px) { .q-items { grid-template-columns: 1fr; } }

.q-item { position: relative; }
.q-item__open {
	display: flex; gap: 14px; justify-content: space-between; align-items: stretch;
	width: 100%; height: 100%; min-height: 128px; padding: 14px;
	border: 1px solid var(--q-line); border-radius: var(--q-radius);
	background: var(--q-surface); color: inherit; font: inherit; text-align: left; cursor: pointer;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.q-item__open:hover { border-color: color-mix(in srgb, var(--q-accent) 45%, var(--q-line)); box-shadow: var(--q-shadow); }
.q-item__open:focus-visible { outline: 3px solid color-mix(in srgb, var(--q-accent) 55%, transparent); outline-offset: 2px; }
.q-item__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-right: 4px; }
.q-item__name { font-weight: 700; line-height: 1.25; }
.q-item__desc { color: var(--q-muted); font-size: .9rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.q-item__price { margin-top: auto; padding-top: 4px; font-weight: 700; }
.q-item__was { font-weight: 400; color: var(--wp--preset--color--muted); margin-right: 2px; }
.q-item__plus { color: var(--q-muted); font-weight: 500; font-size: .85rem; }
.q-item__img { flex: none; width: 112px; height: 100px; object-fit: cover; border-radius: var(--q-radius-sm); background: var(--q-cream); }
@media (min-width: 900px) { .q-item__img { width: 132px; height: 110px; } }
.q-item.is-sold-out .q-item__open { opacity: .6; }
.q-badge { align-self: flex-start; padding: .15em .6em; border-radius: 999px; background: var(--q-cream); font-size: .75rem; font-weight: 700; }

.q-add {
	position: absolute; right: 8px; bottom: 8px;
	display: grid; place-items: center; width: 40px; height: 40px;
	border: 0; border-radius: 50%; background: var(--q-accent); color: #fff; cursor: pointer;
	box-shadow: 0 4px 12px rgb(181 86 47 / 35%);
	transition: transform .12s, background-color .15s;
}
.q-add:hover { background: var(--q-accent-dark); transform: scale(1.06); }
.q-add:focus-visible { outline: 3px solid var(--q-espresso); outline-offset: 2px; }


/* Cart */
.q-cart { background: var(--q-surface); border: 1px solid var(--q-line); border-radius: var(--q-radius); padding: 20px; box-shadow: var(--q-shadow); }
.q-cart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.q-cart__head h2 { margin: 0; font-family: var(--q-font-display); font-size: 1.5rem; }
.q-cart__close { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--q-cream); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.q-cart__empty { padding: 24px 0; text-align: center; }
.q-cart__empty p { margin: .25em 0; }
.q-lines { margin: 0 0 12px; padding: 0; list-style: none; }
.q-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--q-line); }
.q-line__main { display: grid; gap: 2px; font-size: .95rem; min-width: 0; }
.q-line__main .q-muted { font-size: .82rem; }
.q-line__total { font-weight: 700; min-width: 4.5em; text-align: right; }
.q-cart > .q-btn { margin-top: 12px; }
.q-totals { padding: 12px 14px; border-radius: var(--q-radius-sm); background: var(--q-bg); }
.q-totals p { margin: 4px 0 0; }
.q-gift summary { cursor: pointer; font-weight: 600; color: var(--q-accent-dark); }
.q-gift .q-row { margin-top: 10px; }
.q-gift .q-row--end { flex-wrap: wrap; }
.q-gift__info { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #eef7f0; color: #1e5631; font-size: .92em; }
.q-gift__info.is-bad { background: #fdf0ee; color: #8a1f12; }
.q-checkout legend { margin-bottom: 8px; }

.q-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--q-line); border-radius: 999px; background: var(--q-surface); }
.q-stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--q-text); font-size: 1.25rem; cursor: pointer; border-radius: 50%; }
.q-stepper button:hover { background: var(--q-cream); }
.q-stepper output { min-width: 1.6em; text-align: center; font-weight: 700; }
.q-stepper--sm button { width: 34px; height: 34px; font-size: 1rem; }

/* Mobile cart bar + sheet */
.q-cartbar {
	position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60;
	display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px;
	border: 0; border-radius: 999px; background: var(--q-espresso); color: #fff;
	font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
}
.q-cartbar[hidden] { display: none; }
/* Tablets and up: a centred pill, not a bar across the whole screen. */
@media (min-width: 600px) { .q-cartbar { left: 0; right: 0; width: min(560px, calc(100% - 24px)); margin-inline: auto; } }
.q-cartbar__count { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; background: var(--q-accent); font-size: .85rem; }
.q-cartbar__total { margin-left: auto; }
.q-cartbar.is-bump { animation: q-bump .35s ease; }
@keyframes q-bump { 50% { transform: scale(1.04); } }

@media (max-width: 959.98px) {
	.q-cart { display: none; }
	.q-cart.is-open {
		display: block; position: fixed; inset: auto 0 0 0; z-index: 100;
		max-height: 92dvh; overflow: auto; padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
		border-radius: 20px 20px 0 0; border: 0;
		box-shadow: 0 -10px 40px rgb(0 0 0 / 35%);
		animation: q-up .25s ease;
	}
	.q-cart.is-open .q-cart__close { display: grid; place-items: center; }
	.q-cart.is-open .q-cart__head { position: sticky; top: -20px; z-index: 1; margin: -20px -16px 8px; padding: 16px; background: var(--q-surface); border-bottom: 1px solid var(--q-line); }
	/* Tablets: the sheet (cart and checkout) as a centred 640 px panel, not edge to edge. */
	@media (min-width: 600px) { .q-cart.is-open { width: min(640px, 100%); margin-inline: auto; } }
	html.q-lock { overflow: hidden; }
	html.q-lock body::after { content: ""; position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--wp--preset--color--espresso) 55%, transparent); }
	.q-order { padding-bottom: 80px; }
}
@keyframes q-up { from { transform: translateY(40px); opacity: 0; } }

/* Item dialog */
.q-dialog { width: min(560px, calc(100vw - 24px)); max-height: 92dvh; padding: 0; border: 0; border-radius: 20px; background: var(--q-surface); color: var(--q-text); box-shadow: 0 30px 80px rgb(0 0 0 / 40%); }
.q-dialog::backdrop { background: color-mix(in srgb, var(--wp--preset--color--espresso) 60%, transparent); backdrop-filter: blur(2px); }
.q-dialog[open] { animation: q-pop .2s ease; }
@keyframes q-pop { from { transform: scale(.97); opacity: 0; } }
.q-dialog__inner { display: flex; flex-direction: column; max-height: 92dvh; }
.q-dialog__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--q-shadow); }
.q-dialog__img { width: 100%; aspect-ratio: 4 / 3; max-height: 34vh; object-fit: cover; }
.q-dialog__body { display: grid; gap: 14px; padding: 20px; overflow: hidden auto; }
.q-gallery { position: relative; min-width: 0; }
.q-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.q-gallery__track::-webkit-scrollbar { display: none; }
.q-gallery__track > .q-dialog__img { flex: 0 0 100%; scroll-snap-align: start; }
.q-gallery__nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 38px; height: 38px; padding: 0 0 3px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--q-text); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--q-shadow); opacity: .85; transition: opacity .2s; }
.q-gallery__nav:hover, .q-gallery__nav:focus-visible { opacity: 1; }
.q-gallery__nav--prev { left: 10px; }
.q-gallery__nav--next { right: 10px; }
.q-gallery__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.q-gallery__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / 60%); box-shadow: 0 0 0 1px rgb(0 0 0 / 15%); cursor: pointer; transition: width .2s, background .2s; }
.q-gallery__dots [aria-current] { width: 22px; background: #fff; }
@media (hover: none) { .q-gallery__nav { display: none; } }
.q-dialog__body h2 { margin: 0; font-family: var(--q-font-display); font-size: 1.6rem; line-height: 1.15; padding-right: 36px; }
.q-dialog__body p { margin: 0; }
.q-dialog__foot { display: flex; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--q-line); }
.q-note { padding: .6em .9em; border-radius: var(--q-radius-sm); background: color-mix(in srgb, var(--wp--preset--color--accent-light) 12%, white); font-size: .9rem; }
.q-optgroup { display: grid; gap: 6px; }
.q-optgroup legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 4px; font-weight: 700; }
.q-optgroup legend .q-muted { font-weight: 500; font-size: .85rem; }
.q-opt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--q-line); border-radius: var(--q-radius-sm); cursor: pointer; }
.q-opt:has(input:checked) { border-color: var(--q-accent); background: color-mix(in srgb, var(--q-accent) 6%, transparent); }
.q-opt input { width: 20px; height: 20px; accent-color: var(--q-accent); }
.q-opt span:nth-of-type(1) { flex: 1; }

.q-toast { position: fixed; left: 50%; bottom: 90px; z-index: 120; transform: translate(-50%, 20px); padding: .7em 1.2em; border-radius: 999px; background: var(--q-espresso); color: #fff; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.q-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .q-toast { bottom: 24px; } }

/* Text-note choices + missing required group */
.q-opt-text { width: 100%; min-height: 48px; padding: .65em .85em; border: 1.5px solid var(--q-line); border-radius: var(--q-radius-sm); font: inherit; font-size: max(16px, 1rem); }
.q-opt-text:focus { outline: none; border-color: var(--q-accent); }
.q-optgroup.is-missing { padding: 10px; margin: -10px; border-radius: var(--q-radius-sm); background: color-mix(in srgb, var(--wp--preset--color--accent-light) 12%, white); }
.q-optgroup.is-missing legend::after { content: "Please choose one"; margin-left: auto; color: var(--q-bad); font-size: .85rem; }
.q-opt:has(input:disabled) { opacity: .5; }

/* Desktop: product-page layout – photo left, choices right */
@media (min-width: 900px) {
	.q-dialog:has(.q-dialog__img) { width: min(960px, calc(100vw - 48px)); }
	.q-dialog:has(.q-dialog__img) .q-dialog__inner { display: grid; grid-template-columns: 44% minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; height: min(720px, 90dvh); }
	.q-dialog__inner .q-dialog__img { grid-row: 1 / span 2; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; }
	.q-dialog:has(.q-dialog__img) .q-dialog__body { padding: 28px 28px 20px; }
	.q-dialog:has(.q-dialog__img) .q-dialog__foot { grid-column: 2; padding: 14px 28px 18px; }
	.q-dialog__inner .q-gallery { grid-row: 1 / span 2; min-height: 0; }
	.q-gallery .q-gallery__track { height: 100%; }
	.q-dialog__inner .q-gallery .q-dialog__img { grid-row: auto; }
}
.q-dialog__body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.q-optgroup + .q-optgroup, .q-optgroup + .q-field { margin-top: 6px; }
@media (min-width: 480px) {
	.q-optgroup:has(> .q-opt:nth-of-type(5)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	.q-optgroup:has(> .q-opt:nth-of-type(5)) > legend { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.q-dialog { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
	.q-dialog__img { max-height: 22vh; }
	.q-dialog__foot .q-btn { white-space: nowrap; padding-inline: 1em; }
}

/* ===================== Sections: wrapped grid + burger ===================== */
.q-sectiongrid { margin: 0 0 14px; }
.q-sectiongrid__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.q-sectiongrid a, .q-secpanel a {
	display: inline-flex; align-items: center; gap: .5em; padding: .5em .6em .5em 1em; border-radius: 999px;
	color: var(--q-text); font-size: .92rem; font-weight: 600; text-decoration: none;
	background: var(--q-glass); border: 1px solid rgb(255 255 255 / 80%);
	box-shadow: var(--q-glass-edge), var(--q-glass-depth);
	transition: transform .2s var(--q-spring), background .2s, color .2s;
}
.q-sectiongrid a:hover, .q-secpanel a:hover { transform: translateY(-1px); }
.q-sectiongrid a[aria-current], .q-secpanel a[aria-current] { background: var(--q-glass-dark); color: #fff; border-color: rgb(255 255 255 / 15%); }
.q-count { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .4em; border-radius: 999px; background: color-mix(in srgb, var(--wp--preset--color--espresso) 7%, transparent); font-size: .75rem; font-variant-numeric: tabular-nums; }
a[aria-current] .q-count { background: rgb(255 255 255 / 18%); }
@media (max-width: 959.98px) { .q-sectiongrid { display: none; } }

/* The top padding makes room for the toran / lights hanging over the bar (order-menu.js fitBar). */
.q-order__toolbar { padding: calc(10px + var(--q-bar-hang, 0px)) 0 10px; }
.q-bar { display: flex; gap: 10px; align-items: center; }
.q-bar .q-filters { flex: 1; flex-wrap: nowrap; min-width: 0; }
/* Tablets and small laptops: the diet chips move under the type buttons as one row instead of spilling past the edge. */
@media (width > 560px) {
	.q-bar .q-filters { flex-wrap: wrap; row-gap: 8px; }
	.q-bar .q-chips { flex-wrap: nowrap; }
}
/* Large phones and small tablets: the Sections button gets its own row, the filters the next. */
@media (560px < width <= 760px) {
	.q-bar { flex-wrap: wrap; }
	.q-burger { max-width: none; flex: 1 1 100%; }
	.q-bar .q-filters { flex-basis: 100%; }
	.q-bar .q-kinds { flex: 1 1 100%; justify-content: space-between; }
	.q-bar .q-kind { flex: 1 1 auto; justify-content: center; padding-inline: .4em; white-space: nowrap; }
}
.q-burger {
	display: inline-flex; align-items: center; gap: .6em; flex: none; max-width: 46vw;
	min-height: 46px; padding: .35em .9em .35em .8em; border-radius: 999px;
	color: var(--q-text); font: inherit; cursor: pointer; text-align: left;
}
.q-burger[hidden] { display: none; }
.q-burger__label { display: grid; line-height: 1.1; min-width: 0; }
.q-burger__hint { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--q-accent-dark); }
.q-burger__label strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .92rem; }
.q-burger__label strong.is-swap { animation: q-swap .35s var(--q-spring); }
@keyframes q-swap { from { opacity: 0; transform: translateY(6px); } }
.q-burger.is-open .q-ico--burger path:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.q-burger.is-open .q-ico--burger path:nth-child(2) { opacity: 0; transform: scaleX(0); }
.q-burger.is-open .q-ico--burger path:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.q-burger .q-ico--chev { transition: transform .35s var(--q-spring); }
.q-burger.is-open .q-ico--chev { transform: rotate(180deg); }
.q-burger:not(.is-open):hover .q-ico--burger path:nth-child(2) { transform: scaleX(.6); }

.q-secpanel {
	position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 30;
	max-height: min(70vh, 560px); overflow: auto; padding: 14px; border-radius: 20px;
	background: linear-gradient(180deg, rgb(255 253 249 / 98%), rgb(251 247 241 / 96%));
	-webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
	border: 1px solid rgb(255 255 255 / 85%);
	box-shadow: var(--q-glass-edge), 0 24px 60px -20px color-mix(in srgb, var(--wp--preset--color--espresso) 45%, transparent);
	animation: q-drop .3s var(--q-spring);
}
@keyframes q-drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.q-secpanel__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.q-secpanel a { display: flex; justify-content: space-between; width: 100%; border-radius: 14px; padding: .8em .8em .8em 1em; }
@media (max-width: 560px) {
	.q-secpanel__list { grid-template-columns: 1fr 1fr; }
	.q-bar { flex-wrap: wrap; }
	.q-burger { max-width: none; flex: 1 1 100%; }
	.q-bar .q-filters { flex-basis: 100%; }
	.q-bar .q-chips { flex-wrap: nowrap; }
	.q-bar .q-chip { padding-inline: .8em; }
}

/* ===================== Checkout: day + time pickers ===================== */
.q-when { display: grid; gap: 8px; }
.q-when > legend, .q-when__label { margin: 0 0 2px; padding: 0; font-weight: 600; font-size: .9rem; }
.q-when__label { margin-top: 6px; }
.q-dates-wrap { display: flex; gap: 8px; align-items: stretch; min-width: 0; }
.q-dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; min-width: 0; flex: 1; }
.q-daychip, .q-datepick {
	position: relative; flex: none; display: grid; justify-items: center; align-content: center; gap: 1px;
	width: 62px; min-height: 76px; border-radius: 16px; cursor: pointer; scroll-snap-align: start;
	background: var(--q-glass); border: 1px solid rgb(255 255 255 / 80%); box-shadow: var(--q-glass-edge), var(--q-glass-depth);
	transition: transform .2s var(--q-spring), background .2s, color .2s;
}
.q-daychip:hover, .q-datepick:hover { transform: translateY(-2px); }
.q-daychip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.q-daychip__dow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--q-muted); }
.q-daychip__num { font-family: var(--q-font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.q-daychip__mon { font-size: .72rem; color: var(--q-muted); }
.q-daychip:has(input:checked) { background: var(--q-glass-tint); color: #fff; border-color: rgb(255 255 255 / 30%); box-shadow: 0 0 0 1px rgb(120 50 20 / 40%), inset 0 1px 0 rgb(255 255 255 / 45%), 0 10px 22px -10px rgb(181 86 47 / 70%); }
.q-daychip:has(input:checked) span { color: #fff; }
.q-daychip:has(input:checked) .q-daychip__num { animation: q-pop-in .35s var(--q-spring); }
.q-daychip:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--q-accent) 55%, transparent); outline-offset: 2px; }
.q-datepick { margin: 4px 0 8px; font-size: .7rem; font-weight: 700; color: var(--q-accent-dark); text-align: center; overflow: hidden; }
.q-datepick[hidden] { display: none; }
.q-datepick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.q-datepick:hover .q-ico__dot { animation: q-blink .8s ease-in-out infinite; }
@keyframes q-blink { 50% { opacity: .2; } }

.q-times { display: grid; gap: 10px; }
.q-times__label { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--q-muted); }
.q-times__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.q-timechip { justify-content: center; min-height: 42px; padding: .4em .5em; font-variant-numeric: tabular-nums; }
/* "ASAP 12:00 pm" is longer than a time: two cells, on one line. */
.q-times__grid .q-timechip.is-asap { grid-column: span 2; white-space: nowrap; }
.q-timechip b { margin-right: .25em; color: var(--q-accent-dark); }
.q-timechip:has(input:checked) b { color: color-mix(in srgb, var(--wp--preset--color--accent-light) 33%, white); }

/* Custom tip */
.q-tipamount { display: flex; align-items: center; gap: 6px; max-width: 170px; margin-top: 10px; animation: q-drop .3s var(--q-spring); }
.q-tipamount span { font-weight: 700; }
.q-tipamount input { min-height: 44px !important; }

/* Glass for the floating controls */
.q-add { background: var(--q-glass-tint); border: 1px solid rgb(255 255 255 / 30%); box-shadow: 0 0 0 1px rgb(120 50 20 / 35%), inset 0 1px 0 rgb(255 255 255 / 45%), 0 8px 18px -6px rgb(181 86 47 / 60%); transition: transform .25s var(--q-spring); }
.q-add:hover { background: var(--q-glass-tint); transform: scale(1.08); }
.q-add:hover .q-ico--plus { transform: rotate(90deg); }
.q-add:active { transform: scale(.92); }
.q-cartbar { background: linear-gradient(180deg, rgb(58 47 40 / 92%), color-mix(in srgb, var(--wp--preset--color--espresso) 94%, transparent)); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); border: 1px solid rgb(255 255 255 / 14%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 14px 34px -10px rgb(0 0 0 / 55%); }
.q-cartbar.is-bump .q-ico--bag { animation: q-wiggle .5s ease; }
@keyframes q-wiggle { 25% { transform: rotate(-12deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }
.q-times__grid.is-collapsed > .q-timechip:nth-child(n+9):not(:has(input:checked)) { display: none; }
.q-times__more { margin-top: 6px; font-size: .85rem; }
.q-bar .q-chip { white-space: nowrap; }
@media (max-width: 560px) {
	.q-bar .q-filters { flex-wrap: wrap; }
	.q-bar .q-chips { flex: 1 1 100%; }
	.q-bar .q-chip { flex: 1; justify-content: center; }
}

/* ---- Checkout: numbered steps ---- */
.q-checkout { counter-reset: qstep; gap: 14px; }
.q-step { display: grid; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--q-line); border-radius: var(--q-radius); background: var(--q-surface); box-shadow: 0 1px 2px color-mix(in srgb, var(--wp--preset--color--espresso) 4%, transparent); }
.q-step[hidden] { display: none; }
.q-step__title { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 1.05rem/1.25 var(--q-font-display); color: var(--q-text); counter-increment: qstep; }
.q-step__title::before { content: counter(qstep); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--q-accent); color: #fff; font: 700 .8rem/1 system-ui, sans-serif; }
.q-step__title .q-muted { font: 400 .85rem/1 system-ui, sans-serif; }
.q-step .q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-step .q-row--addr { grid-template-columns: 1fr 120px; }
.q-step .q-row--end { grid-template-columns: 1fr auto; align-items: end; }
/* The checkout sits in a narrow sidebar on desktop and a sheet on phones: stack paired fields there. */
@media (min-width: 960px), (max-width: 480px) { .q-step .q-row { grid-template-columns: 1fr; } .q-step .q-row--addr { grid-template-columns: 1fr 96px; } .q-step .q-row--end { grid-template-columns: 1fr auto; } }
/* …but the widened desktop checkout has room for pairs again. */
@media (min-width: 1100px) {
	.q-order.is-checkout .q-step .q-row { grid-template-columns: 1fr 1fr; }
	.q-order.is-checkout .q-step .q-row--addr { grid-template-columns: 1fr 130px; }
	.q-order.is-checkout .q-step .q-row--end { grid-template-columns: 1fr auto; }
}
@media (prefers-reduced-motion: reduce) { .q-order__layout { transition: none !important; } }
.q-step .q-field label { font-size: .85rem; }
.q-req { color: var(--q-bad); text-decoration: none; border: 0; }
.q-step .q-field input::placeholder, .q-step textarea::placeholder { color: color-mix(in srgb, var(--q-muted) 70%, transparent); }
.q-step--type .q-seg { margin: 0; }
.q-step--pay { background: color-mix(in srgb, var(--q-cream) 45%, var(--q-surface)); }
.q-zone { margin: 0; padding: 9px 12px; border-radius: var(--q-radius-sm); background: color-mix(in srgb, var(--q-cream) 60%, transparent); color: var(--q-muted); font-size: .85rem; }
.q-zone.is-ok { background: color-mix(in srgb, var(--wp--preset--color--sage) 8%, white); color: #2f5a3c; font-weight: 600; }
.q-zone.is-bad { background: color-mix(in srgb, var(--wp--preset--color--accent-light) 12%, white); color: var(--q-bad); font-weight: 600; }
.q-zone a { color: inherit; }
.q-field input[aria-invalid="true"] { border-color: var(--q-bad) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--q-bad) 15%, transparent); }

/* ---- "We don't deliver there" popup ---- */
.q-nodeliver { width: min(440px, 92vw); padding: 26px 24px 22px; border: 0; border-radius: 20px; background: var(--q-surface, #fff); color: var(--q-text, #2a211c); text-align: center; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 45%); }
.q-nodeliver::backdrop { background: color-mix(in srgb, var(--wp--preset--color--espresso) 55%, transparent); backdrop-filter: blur(3px); }
.q-nodeliver__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 50%; background: color-mix(in srgb, var(--wp--preset--color--accent-light) 12%, white); color: #b42318; }
.q-nodeliver__icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.q-nodeliver h2 { margin: 0 0 8px; font: 600 1.35rem/1.2 var(--wp--preset--font-family--display, Georgia, serif); }
.q-nodeliver p { margin: 0 0 10px; line-height: 1.5; }
.q-nodeliver p a { color: var(--wp--preset--color--accent-dark); }
.q-nodeliver__btns { display: grid; gap: 8px; margin-top: 16px; }
.q-nodeliver, .q-nodeliver * { box-sizing: border-box; }
.q-nodeliver { overflow: hidden; }
.q-nodeliver__btns .q-btn { justify-content: center; width: 100%; min-width: 0; margin: 0; }

/* Saved addresses at checkout (signed-in customers) */
.q-saved-addr { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-bottom: 10px; }
.q-saved-addr__btn { display: grid; gap: 1px; min-width: 0; flex: 1 1 140px; padding: 9px 12px; border: 1.5px solid var(--q-line); border-radius: 12px; background: var(--q-surface); color: var(--q-text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.q-saved-addr__btn span { overflow: hidden; color: var(--q-muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.q-saved-addr__btn em { color: var(--q-sage); font-size: .72rem; font-style: normal; font-weight: 700; }
.q-saved-addr__btn:hover:not(:disabled), .q-saved-addr__btn.is-on { border-color: var(--q-accent); box-shadow: 0 0 0 1px var(--q-accent); }
.q-saved-addr__btn.is-far { opacity: .55; cursor: not-allowed; }
.q-saved-addr__btn.is-far em { color: var(--q-bad); }
.q-saved-addr__manage { align-self: center; font-size: .82rem; font-weight: 600; }

/* Ordering windows (Menu → item/section “When it can be ordered”) */
.q-avail { align-self: flex-start; display: inline-block; margin-top: .25em; padding: .1em .55em; border-radius: 999px; background: color-mix(in srgb, var(--q-sage) 16%, transparent); color: var(--q-text); font-size: .75rem; font-weight: 600; }
.q-avail.is-off { background: var(--q-cream); color: var(--q-accent-dark); }
.q-item.is-unavailable .q-item__img { filter: grayscale(.6); opacity: .8; }
.q-item.is-closed-item .q-item__open { opacity: .55; }
.q-item.is-closed-item .q-add { display: none; }
.q-note--avail { background: var(--q-cream); }
.q-line__avail { display: block; margin-top: .15em; color: var(--q-accent-dark); font-size: .8rem; font-weight: 600; }
.q-timechip.is-off { opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.q-timechip.is-off input { cursor: not-allowed; }

/* Sunday & public holiday surcharge */
/* Sunday / public holiday surcharge – only shown on those days, so it should be seen. */
.q-notice--surcharge { display: flex; align-items: center; gap: .7em; padding: .8em 1.1em; border: 1px solid color-mix(in srgb, var(--q-accent) 45%, transparent); border-left: 6px solid var(--q-accent); background: color-mix(in srgb, var(--q-accent) 12%, var(--q-surface)); color: var(--q-text); font-size: 1rem; font-weight: 700; line-height: 1.4; box-shadow: 0 6px 18px -12px color-mix(in srgb, var(--q-accent) 70%, transparent); }
.q-notice--surcharge[hidden] { display: none; }
.q-notice__icon { flex: none; display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--q-accent); color: #fff; font-size: .95em; font-weight: 800; }
.q-cart-surcharge { margin: .6em 0 0; padding: .45em .7em; border-left: 4px solid var(--q-accent); border-radius: 6px; background: color-mix(in srgb, var(--q-accent) 12%, var(--q-surface)); color: var(--q-text); font-size: .85rem; font-weight: 700; }
.q-daychip { position: relative; }
.q-daychip__sur { position: absolute; top: -.55em; right: -.35em; padding: .05em .4em; border-radius: 999px; background: var(--q-accent); color: #fff; font-size: .62rem; font-weight: 700; line-height: 1.5; pointer-events: none; }
.q-paymethod__fee { margin-left: .4em; color: var(--q-muted); font-size: .8em; font-style: normal; font-weight: 600; }

/* Reward points at checkout */
.q-deal--points .q-deal__name { color: #8a6414; }
.q-dealbadge--points { background: color-mix(in srgb, #c9a45c 26%, transparent); color: #6b4a12; font-weight: 700; }
.q-dealbadge--points::before { content: none; }

/* ===================== Search: a round button that slides open ===================== */
.q-search { position: relative; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 999px; background: var(--q-surface); border: 1.5px solid var(--q-line); overflow: hidden; transition: flex-basis .45s var(--q-spring), width .45s var(--q-spring), border-color .2s, box-shadow .2s; }
.q-search.is-open { flex: 1 1 320px; width: auto; max-width: 420px; border-color: var(--q-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--q-accent) 14%, transparent); }
.q-search__btn { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 43px; height: 43px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--q-text); cursor: pointer; }
.q-search__btn:hover { color: var(--q-accent-dark); }
.q-search__btn:focus-visible { outline: 2px solid var(--q-accent); outline-offset: -3px; }
.q-search__btn svg { grid-area: 1 / 1; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .35s var(--q-spring), opacity .2s; }
.q-search__x { opacity: 0; transform: rotate(-90deg) scale(.5); }
.q-search.is-open .q-search__glass { opacity: 0; transform: rotate(90deg) scale(.5); }
.q-search.is-open .q-search__x { opacity: 1; transform: none; }
.q-search:not(.is-open):hover .q-search__glass { transform: rotate(-12deg) scale(1.1); }
.q-search input { width: 100%; height: 100%; padding: 0 1em 0 44px; border: 0; background: none; font: inherit; font-size: max(16px, .95rem); opacity: 0; transform: translateX(-10px); transition: opacity .25s .1s, transform .35s .1s var(--q-spring); }
.q-search input::-webkit-search-cancel-button { display: none; }
.q-search.is-open input { opacity: 1; transform: none; }
.q-search input:focus { outline: none; }
.q-search:not(.is-open) input { pointer-events: none; }
@media (max-width: 560px) {
	.q-bar .q-filters { flex-wrap: nowrap; }
	.q-bar .q-chips { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
	.q-bar .q-chip { flex: none; }
	.q-search.is-open { flex: 1 0 100%; max-width: none; }
	.q-bar .q-filters:has(.q-search.is-open) { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .q-search, .q-search input, .q-search__btn svg { transition: none; } }

/* ===================== Dish: "how many" choices ===================== */
.q-opt--qty { cursor: pointer; user-select: none; transition: border-color .2s, background .2s; }
.q-opt--qty.is-on { border-color: var(--q-accent); background: color-mix(in srgb, var(--q-accent) 6%, transparent); }
.q-opt--qty.is-bump output { animation: q-pop .3s var(--q-spring); }
@keyframes q-pop { 40% { transform: scale(1.35); } }
.q-qty { display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; border: 1.5px solid var(--q-line); border-radius: 999px; background: var(--q-surface); }
.q-qty button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--q-text); font-size: 1.1rem; cursor: pointer; }
.q-qty button:hover:not(:disabled) { background: var(--q-cream); }
.q-qty button:disabled { opacity: .35; cursor: default; }
.q-qty output { min-width: 1.4em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ===================== Dish: price breakdown ===================== */
.q-breakdown { display: grid; gap: 4px; margin-top: 14px; padding: 12px 14px; border-radius: var(--q-radius-sm); background: var(--q-cream); font-size: .92rem; animation: q-drop .3s var(--q-spring); }
.q-breakdown__row { display: flex; justify-content: space-between; gap: 12px; }
.q-breakdown__row > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.q-breakdown__total { margin-top: 4px; padding-top: 6px; border-top: 1px dashed var(--q-line); font-weight: 700; }
.q-free { color: var(--q-sage); font-style: normal; font-weight: 700; }

/* ===================== Ordering hours: countdown ===================== */
.q-left { align-self: flex-start; display: inline-flex; align-items: center; gap: .35em; margin-top: .3em; padding: .12em .6em; border-radius: 999px; background: color-mix(in srgb, var(--q-sage) 14%, transparent); color: var(--q-text); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.q-left::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--q-sage); }
.q-left[data-level="hour"] { background: color-mix(in srgb, var(--wp--preset--color--brass) 22%, transparent); }
.q-left[data-level="hour"]::before { background: var(--wp--preset--color--brass); }
.q-left[data-level="urgent"] { background: color-mix(in srgb, var(--q-accent) 14%, transparent); color: var(--q-accent-dark); }
.q-left[data-level="urgent"]::before { background: var(--q-accent); animation: q-blink 1s ease-in-out infinite; }
.q-left[data-level="soon"]::before { background: var(--q-muted); }
.q-left[data-level="over"] { background: var(--q-cream); color: var(--q-muted); }
.q-left[data-level="over"]::before { display: none; }
.q-left--dialog { margin: 0 0 12px; font-size: .85rem; }
.q-left[hidden] { display: none; }
@keyframes q-blink { 50% { opacity: .25; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .q-left::before { animation: none !important; } }

/* ===================== Deals & offers ===================== */
.q-deals { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--q-radius, 16px); background: linear-gradient(135deg, color-mix(in srgb, var(--q-accent) 10%, var(--q-surface)), color-mix(in srgb, var(--wp--preset--color--brass) 14%, var(--q-surface))); border: 1px dashed color-mix(in srgb, var(--q-accent) 40%, transparent); }
.q-deals__title { margin: 0 0 8px; font-size: 1.15rem; }
.q-deals__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.q-deal { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--q-radius-sm, 10px); background: var(--q-surface); box-shadow: 0 6px 16px -12px color-mix(in srgb, var(--wp--preset--color--espresso) 50%, transparent); }
.q-deal__name { font-size: .98rem; }
.q-deal__head { color: var(--q-accent-dark); font-weight: 700; font-size: .88rem; }
.q-deal__desc, .q-deal__when { color: var(--q-muted); font-size: .8rem; }
.q-deals__note { margin: 8px 0 0; color: var(--q-muted); font-size: .8rem; }
.q-dealbadge { align-self: flex-start; display: inline-block; margin-top: .3em; padding: .12em .6em; border-radius: 999px; background: var(--q-accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .01em; }
.q-dealbadge::before { content: "🏷 "; }
.q-note--deal { background: color-mix(in srgb, var(--q-accent) 10%, transparent); color: var(--q-accent-dark); font-weight: 600; }
.q-sum--deal span:first-child { color: var(--q-accent-dark); }
.q-sum--save { color: var(--q-sage); font-weight: 700; }
.q-dealhint { margin: 6px 0 0; padding: 6px 10px; border-radius: var(--q-radius-sm, 10px); background: color-mix(in srgb, var(--wp--preset--color--brass) 18%, transparent); font-size: .85rem; font-weight: 600; animation: q-drop .3s var(--q-spring); }

/* ===================== Veg / Non-veg / Seafood filter ===================== */
.q-kinds { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 999px; background: var(--q-surface); border: 1.5px solid var(--q-line); box-shadow: inset 0 1px 2px rgb(0 0 0 / 5%); }
.q-kind { display: inline-flex; align-items: center; gap: .4em; min-height: 36px; padding: 0 .9em; border: 0; border-radius: 999px; background: none; color: var(--q-text); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s, transform .2s var(--q-spring); }
.q-kind:hover { background: var(--q-cream); transform: translateY(-1px); }
.q-kind:focus-visible { outline: 3px solid color-mix(in srgb, var(--q-accent) 55%, transparent); outline-offset: 1px; }
.q-kind .q-mark { width: 18px; height: 18px; }
.q-kind__all { width: 16px; height: 16px; border-radius: 5px; background: conic-gradient(#1f9d47 0 33%, #8b2a1a 0 66%, #1d6fb8 0); box-shadow: inset 0 0 0 2px #fff; animation: q-kind-spin 8s linear infinite; }
@keyframes q-kind-spin { to { transform: rotate(360deg); } }
.q-kind[aria-pressed=true] { background: var(--q-espresso, #2a211c); color: #fff; box-shadow: 0 6px 14px -8px rgb(0 0 0 / 60%); }
.q-kind--veg[aria-pressed=true] { background: linear-gradient(135deg, #27a852, #15793a); }
.q-kind--nonveg[aria-pressed=true] { background: linear-gradient(135deg, #a8392a, #6e1d12); }
.q-kind--seafood[aria-pressed=true] { background: linear-gradient(135deg, #2a86d1, #135a96); }
.q-kind.is-pop .q-mark, .q-kind.is-pop .q-kind__all { animation: q-kind-pop .45s var(--q-spring); }
@keyframes q-kind-pop { 40% { transform: scale(1.35) rotate(-8deg); } }

/* Spice filter */
.q-spicef { position: relative; flex: none; }
.q-chip--spice { gap: .35em; }
.q-chip--spice .q-chilli { width: 18px; height: 18px; }
.q-chip--spice[aria-pressed=true] { background: #fff1ee; border-color: #e3261d; color: #9c1210; box-shadow: 0 0 0 3px rgb(227 38 29 / 14%); }
.q-chip--spice[aria-pressed=true] .q-chilli { animation: q-chilli-sway 1.2s ease-in-out infinite, q-chilli-heat .9s ease-in-out infinite alternate; }
.q-chip--spice[aria-expanded=true] .q-ico--chev { transform: rotate(180deg); }
.q-chip--spice .q-ico--chev { transition: transform .3s var(--q-spring); fill: none; stroke: currentColor; stroke-width: 2; }
.q-spicepop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; display: grid; min-width: 200px; padding: 6px; border-radius: 16px; background: var(--q-surface); border: 1px solid var(--q-line); box-shadow: 0 18px 40px -16px rgb(0 0 0 / 45%); animation: q-drop .25s var(--q-spring); }
.q-spicepop button { white-space: nowrap; display: flex; align-items: center; gap: .6em; min-height: 40px; padding: 0 .8em; border: 0; border-radius: 10px; background: none; color: var(--q-text); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.q-spicepop button:hover { background: var(--q-cream); }
.q-spicepop button[aria-checked=true] { background: color-mix(in srgb, #e3261d 10%, transparent); color: #9c1210; }
.q-spicepop__c { display: inline-flex; min-width: 3.4em; }
.q-spicepop__c--none { font-size: .9rem; }

/* Filters in the bar on phones */
@media (max-width: 560px) {
	.q-bar .q-filters:has(.q-kinds) { flex-wrap: wrap; }
	.q-bar .q-kinds { flex: 1 1 100%; justify-content: space-between; }
	/* Sized by their words, the spare room shared out – equal widths left "Seafood" touching its edges. */
	.q-kind { flex: 1 1 auto; justify-content: center; gap: .3em; padding: 0 .3em; font-size: .82rem; white-space: nowrap; }
	.q-kind .q-mark { width: 16px; height: 16px; }
	/* Search + chips share one scrolling row under the type buttons. */
	.q-bar .q-filters:has(.q-kinds) .q-chips { flex: 1 1 0; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.q-bar .q-filters:has(.q-kinds) .q-chips::-webkit-scrollbar { display: none; }
	.q-bar .q-filters:has(.q-kinds) .q-chip { flex: none; }
	.q-spicepop { position: fixed; left: 16px; right: 16px; top: auto; }
}

/* No results */
.q-nomatch { margin: 24px 0; padding: 28px 16px; border: 2px dashed var(--q-line); border-radius: var(--q-radius, 16px); text-align: center; color: var(--q-muted); animation: q-drop .3s var(--q-spring); }
.q-nomatch p { margin: 0 0 12px; }
.q-sectiongrid li[hidden], .q-secpanel li[hidden] { display: none; }

/* Dish dialog: type + heat */
.q-dialog__type { display: flex; flex-wrap: wrap; align-items: center; gap: .4em .8em; margin: -4px 0 10px; font-weight: 600; font-size: .9rem; }
.q-dialog__type .q-mark { width: 18px; height: 18px; }
.q-dialog__type .q-spice { margin: 0; font-size: 1.1rem; }
.q-dietkey__mark { display: inline-flex; align-items: center; gap: .3em; margin-right: .9em; }

/* Phones: the Sections menu icon keeps a gentle wave too, so it reads as a button. */
@media (max-width: 959.98px) {
	.q-burger:not(.is-open) .q-ico--burger path:nth-child(1) { animation: q-sec-wave 3.6s ease-in-out infinite; }
	.q-burger:not(.is-open) .q-ico--burger path:nth-child(2) { animation: q-sec-wave 3.6s ease-in-out -.25s infinite; }
	.q-burger:not(.is-open) .q-ico--burger path:nth-child(3) { animation: q-sec-wave 3.6s ease-in-out -.5s infinite; }
	.q-burger:not(.is-open) .q-ico--burger path { transform-box: fill-box; transform-origin: left center; }
}
@keyframes q-sec-wave { 0%, 55%, 100% { transform: scaleX(1); } 20% { transform: scaleX(.55); } 38% { transform: scaleX(.85); } }
@media (prefers-reduced-motion: reduce) { .q-burger .q-ico--burger path { animation: none !important; } }

/* ===================== Dish dialog: choices as steps + pills ===================== */
.q-og { gap: 0; border: 1.5px solid var(--q-line); border-radius: 16px; padding: 0; background: var(--q-surface); transition: border-color .2s, box-shadow .2s; }
.q-og + .q-og { margin-top: 0; }
.q-og.is-open { border-color: color-mix(in srgb, var(--q-accent) 45%, var(--q-line)); box-shadow: 0 8px 22px -16px color-mix(in srgb, var(--q-accent) 70%, transparent); }
.q-og__head { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 14px; border: 0; background: none; color: var(--q-text); font: inherit; text-align: left; cursor: pointer; }
.q-og:not(.is-step) .q-og__head { cursor: default; padding-bottom: 2px; }
.q-og__t { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.q-og__t b { font-size: 1rem; }
.q-og__t small { color: var(--q-muted); font-size: .78rem; font-weight: 500; }
.q-og__sum { max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--q-accent-dark); font-size: .86rem; font-weight: 700; }
.q-og:not(.is-step) .q-og__sum:not(:empty) { display: none; }
.q-og.is-step.is-open .q-og__sum { opacity: .55; }
.q-og__n { position: relative; display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--q-cream); color: var(--q-text); font-size: .8rem; font-weight: 800; transition: background .25s, color .25s; }
.q-og__n svg { position: absolute; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; }
.q-og.is-done .q-og__n { background: var(--q-sage); color: transparent; }
.q-og.is-done .q-og__n svg { animation: q-og-tick .35s .05s ease-out forwards; }
@keyframes q-og-tick { to { stroke-dashoffset: 0; } }
.q-og.is-open .q-og__n { background: var(--q-accent); color: #fff; }
.q-og.is-open.is-done .q-og__n { color: transparent; }
.q-og__chev { flex: none; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--q-spring); }
.q-og.is-open .q-og__chev { transform: rotate(180deg); }
.q-og__body { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 14px 14px; }
.q-og.is-step:not(.is-open) .q-og__body { display: none; }
.q-og.is-step.is-open .q-og__body { animation: q-drop .28s var(--q-spring); }
.q-og.is-missing { background: color-mix(in srgb, var(--wp--preset--color--accent-light) 10%, var(--q-surface)); border-color: var(--q-bad); margin: 0; padding: 0; }
.q-og.is-missing legend::after { content: none; }
.q-og.is-missing .q-og__sum { color: var(--q-bad); }
/* Pills */
.q-og .q-opt { flex: 0 1 auto; min-height: 40px; gap: 7px; padding: 0 12px 0 10px; border-radius: 999px; font-size: .92rem; transition: border-color .15s, background .15s, transform .15s var(--q-spring); }
.q-og .q-opt:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--q-accent) 45%, var(--q-line)); }
.q-og .q-opt input { width: 17px; height: 17px; margin: 0; }
.q-og .q-opt span:nth-of-type(1) { flex: none; }
.q-og .q-opt:has(input:checked) { background: color-mix(in srgb, var(--q-accent) 10%, transparent); box-shadow: inset 0 0 0 1px var(--q-accent); }
.q-opt__price { padding: .05em .45em; border-radius: 999px; background: var(--q-cream); color: var(--q-accent-dark); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.q-og .q-opt--qty { flex: 1 1 100%; border-radius: 14px; padding-right: 6px; }
.q-og .q-opt--qty span:nth-of-type(1) { flex: 1; }
.q-og--text .q-og__body { display: block; }
.q-og .q-opt-text { min-height: 44px; }
/* Short description with More */
.q-dialog__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.q-dialog__desc.is-open { display: block; -webkit-line-clamp: unset; }
.q-dialog__more { justify-self: start; margin-top: -8px; font-size: .88rem; }
/* Special request, folded */
.q-req summary { display: inline-flex; align-items: center; gap: 6px; color: var(--q-accent-dark); font-weight: 700; font-size: .9rem; cursor: pointer; list-style: none; }
.q-req summary::-webkit-details-marker { display: none; }
.q-req summary svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transition: transform .25s; }
.q-req[open] summary svg { transform: rotate(45deg); }
.q-req .q-field { margin-top: 8px; }
/* Less room for the photo so choices get more */
@media (min-width: 760px) {
	.q-dialog:has(.q-dialog__img) .q-dialog__inner { grid-template-columns: 38% minmax(0, 1fr); }
	.q-dialog__body { gap: 12px; }
}
@media (max-width: 759.98px) {
	.q-dialog__img { max-height: 18vh; }
	.q-og .q-opt { font-size: .88rem; padding: 0 10px 0 8px; }
}
@media (prefers-reduced-motion: reduce) { .q-og *, .q-og { animation: none !important; transition: none !important; } }
.q-dialog .screen-reader-text { position: absolute !important; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* Phones: choices in two even columns (label, price underneath) – half the scrolling. */
@media (max-width: 559.98px) {
	.q-og:not(.q-og--text) .q-og__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 2px 10px 12px; }
	.q-og .q-opt { flex-wrap: wrap; align-content: center; row-gap: 1px; min-height: 46px; padding: 5px 8px; border-radius: 12px; font-size: .86rem; line-height: 1.2; }
	.q-og .q-opt input { flex: none; }
	.q-og .q-opt:not(.q-opt--qty) span:nth-of-type(1) { flex: 1 1 calc(100% - 26px); min-width: 0; }
	.q-og .q-opt .q-opt__price { margin-left: 24px; font-size: .72rem; }
	.q-og .q-opt--qty { grid-column: 1 / -1; flex-wrap: nowrap; }
	.q-og .q-opt--qty .q-opt__price, .q-og .q-opt--qty .q-muted { margin: 0; }
	.q-og__head { padding: 8px 10px; }
}

/* Alcohol: badge, notes and the warning when it's added */
.q-badge--alc { background: #f6e7ec; color: #7a1f3d; }
.q-note--alc { border-left: 3px solid #a3294e; background: #fbf0f3; color: #5c1530; }
.q-line__alc { color: #8a2446; font-size: .8rem; font-weight: 600; }
[data-q-toast].is-warn { max-width: min(520px, calc(100vw - 32px)); background: #5c1530; line-height: 1.4; }

/* Veg / Non-veg / Seafood per section (2026-11-08): each heading has its own buttons; the toolbar's work on the
   section in view, and a kind that section doesn't have is greyed out there. */
.q-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 4px; }
.q-section__head .q-section__title { margin: 0; }
.q-kinds--sec { padding: 2px; border-width: 1px; box-shadow: none; }
.q-kinds--sec .q-kind { min-height: 30px; padding: 0 .75em; font-size: .8rem; }
.q-kinds--sec .q-kind .q-mark { width: 15px; height: 15px; }
.q-kinds--sec .q-kind__all { width: 13px; height: 13px; }
.q-kind:disabled { opacity: .35; cursor: not-allowed; transform: none; background: none; }
.q-kind:disabled:hover { background: none; }
@media (max-width: 600px) {
	.q-section__head { align-items: flex-start; flex-direction: column; }
	.q-kinds--sec { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
	.q-kinds--sec::-webkit-scrollbar { display: none; }
	.q-kinds--sec .q-kind { flex: none; }
}
