/**
 * Restaurant for WooCommerce - menu, item popup and basket.
 *
 * Colours and sizes are CSS custom properties on .wxp-root; override them in your theme, e.g.
 * .wxp-root { --wxp-accent: #0f766e; --wxp-accent-hover: #115e59; --wxp-accent-soft: #e6f4f2; }
 * Raise the floating basket above a fixed footer bar of your theme with: body { --wxp-basket-lift: 60px; }
 */

.wxp-root {
	--wxp-accent: #c2410c;
	--wxp-accent-hover: #9a3412;
	--wxp-accent-contrast: #fff;
	--wxp-accent-soft: #fff1e8;
	--wxp-text: #1c1917;
	--wxp-muted: #6b635c;
	--wxp-border: #e9e4df;
	--wxp-border-strong: #cfc6bd;
	--wxp-surface: #fff;
	--wxp-surface-2: #f8f5f2;
	--wxp-nav-bg: rgba(255, 255, 255, .94);
	--wxp-veg: #15803d;
	--wxp-nonveg: #b42318;
	--wxp-error: #b42318;
	--wxp-radius: 16px;
	--wxp-radius-sm: 10px;
	--wxp-pill: 999px;
	--wxp-shadow: 0 1px 2px rgba(28, 25, 23, .06), 0 6px 20px rgba(28, 25, 23, .08);
	--wxp-sticky-top: 0px;
	box-sizing: border-box;
	color: var(--wxp-text);
	font-family: inherit;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.wxp-root *,
.wxp-root *::before,
.wxp-root *::after {
	box-sizing: inherit;
}

.wxp-root [hidden] {
	display: none !important;
}

body.admin-bar .wxp-root {
	--wxp-sticky-top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .wxp-root {
		--wxp-sticky-top: 46px;
	}
}

@media (max-width: 600px) {
	body.admin-bar .wxp-root {
		--wxp-sticky-top: 0px;
	}
}

html.wxp-locked,
html:has(dialog.wxp-root[open]) {
	overflow: hidden;
	scrollbar-gutter: stable;
}

.wxp-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------------------------------------------------------------- buttons (theme-proof reset) */

.wxp-root .wxp-btn {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	text-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.wxp-root .wxp-btn:focus {
	outline: none;
}

/* Themes outline links on mouse focus; keep the ring for keyboard users only. */
.wxp-root.wxp-menu .wxp-nav a:focus:not(:focus-visible) {
	outline: none;
}

/* Themes underline links in post content (e.g. .hentry .entry-content a). */
.wxp-root.wxp-menu .wxp-btn,
.wxp-root.wxp-menu .wxp-btn:hover,
.wxp-root.wxp-menu .wxp-nav a,
.wxp-root.wxp-menu .wxp-nav a:hover {
	text-decoration: none;
}

.wxp-root .wxp-btn:focus-visible,
.wxp-root a:focus-visible {
	outline: 2px solid var(--wxp-accent);
	outline-offset: 2px;
}

.wxp-root .wxp-btn:disabled {
	cursor: not-allowed;
	opacity: .4;
}

.wxp-root .wxp-svg {
	display: block;
	flex: none;
	width: 20px;
	height: 20px;
}

.wxp-root .wxp-btn-primary {
	height: 52px;
	padding: 0 20px;
	border-radius: 14px;
	background: var(--wxp-accent);
	color: var(--wxp-accent-contrast);
	font-size: 1rem;
	font-weight: 700;
}

.wxp-root .wxp-btn-primary:hover,
.wxp-root .wxp-btn-primary:focus,
.wxp-root .wxp-btn-primary:visited {
	color: var(--wxp-accent-contrast);
}

.wxp-root .wxp-btn-primary:hover {
	background: var(--wxp-accent-hover);
}

.wxp-root .wxp-btn-ghost {
	height: 46px;
	padding: 0 18px;
	border: 1px solid var(--wxp-border);
	border-radius: 12px;
	background: var(--wxp-surface);
	color: var(--wxp-text);
	font-weight: 600;
}

.wxp-root .wxp-btn-ghost:hover,
.wxp-root .wxp-btn-ghost:visited,
.wxp-root .wxp-btn-ghost:focus {
	color: var(--wxp-text);
}

.wxp-root .wxp-btn-ghost:hover {
	border-color: var(--wxp-border-strong);
	background: var(--wxp-surface-2);
}

.wxp-root .wxp-btn-block {
	display: flex;
	width: 100%;
}

.wxp-root .wxp-icon-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--wxp-text);
}

.wxp-root .wxp-icon-btn:hover {
	background: var(--wxp-surface-2);
}

.wxp-root .is-busy {
	position: relative;
}

.wxp-root .wxp-add.is-busy,
.wxp-root .wxp-dialog-add.is-busy {
	color: transparent;
	pointer-events: none;
}

.wxp-root .wxp-add.is-busy > *,
.wxp-root .wxp-dialog-add.is-busy > * {
	visibility: hidden;
}

.wxp-root .wxp-add.is-busy::after,
.wxp-root .wxp-dialog-add.is-busy::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 18px;
	height: 18px;
	margin: auto;
	border: 2px solid var(--wxp-accent);
	border-right-color: transparent;
	border-radius: 50%;
	animation: wxp-spin .7s linear infinite;
}

.wxp-root .wxp-dialog-add.is-busy::after {
	border-color: var(--wxp-accent-contrast);
	border-right-color: transparent;
}

.wxp-root .wxp-stepper.is-busy .wxp-step-qty {
	opacity: .55;
	animation: wxp-pulse .8s ease-in-out infinite alternate;
}

@keyframes wxp-pulse {
	to {
		opacity: .25;
	}
}

@keyframes wxp-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---------------------------------------------------------------- diet marks */

.wxp-root .wxp-diet {
	position: relative;
	display: inline-block;
	flex: none;
	width: 16px;
	height: 16px;
	border: 1.5px solid var(--wxp-veg);
	border-radius: 3px;
	background: #fff;
	vertical-align: middle;
}

.wxp-root .wxp-diet::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 8px;
	height: 8px;
	margin: auto;
	border-radius: 50%;
	background: var(--wxp-veg);
}

.wxp-root .wxp-diet-non-veg {
	border-color: var(--wxp-nonveg);
}

.wxp-root .wxp-diet-non-veg::after {
	width: 0;
	height: 0;
	border-right: 4.5px solid transparent;
	border-bottom: 8px solid var(--wxp-nonveg);
	border-left: 4.5px solid transparent;
	border-radius: 0;
	background: none;
}

/* ---------------------------------------------------------------- menu */

.wxp-root.wxp-menu {
	container: wxpmenu / inline-size;
	position: relative;
	margin: 0 0 2.5em;
}

.wxp-menu-empty,
.wxp-no-results {
	padding: 48px 24px;
	border: 1px dashed var(--wxp-border-strong);
	border-radius: var(--wxp-radius);
	background: var(--wxp-surface-2);
	color: var(--wxp-muted);
	text-align: center;
}

.wxp-menu-empty p,
.wxp-no-results p {
	margin: 0 0 16px;
}

.wxp-menu-empty p:last-child {
	margin: 0;
}

.wxp-root .wxp-no-results-title {
	color: var(--wxp-text);
	font-size: 1.05rem;
	font-weight: 600;
}

/* toolbar: search + diet filter */

.wxp-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
}

.wxp-search {
	position: relative;
	display: flex;
	flex: 1 1 260px;
	align-items: center;
}

.wxp-search > .wxp-svg-search {
	position: absolute;
	inset-inline-start: 16px;
	color: var(--wxp-muted);
	pointer-events: none;
}

.wxp-root .wxp-search-input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 46px;
	border: 1px solid var(--wxp-border);
	border-radius: var(--wxp-pill);
	outline: none;
	background: var(--wxp-surface);
	box-shadow: none;
	color: var(--wxp-text);
	font: inherit;
	font-size: 1rem;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.wxp-root .wxp-search-input::placeholder {
	color: var(--wxp-muted);
	opacity: 1;
}

.wxp-root .wxp-search-input:focus {
	border-color: var(--wxp-accent);
	box-shadow: 0 0 0 3px var(--wxp-accent-soft);
}

.wxp-root .wxp-search-input::-webkit-search-cancel-button,
.wxp-root .wxp-search-input::-webkit-search-decoration {
	-webkit-appearance: none;
	display: none;
}

.wxp-root .wxp-search-clear {
	position: absolute;
	inset-inline-end: 8px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: var(--wxp-muted);
}

.wxp-root .wxp-search-clear:hover {
	background: var(--wxp-surface-2);
	color: var(--wxp-text);
}

.wxp-root .wxp-search-clear .wxp-svg {
	width: 16px;
	height: 16px;
}

.wxp-diet-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wxp-root .wxp-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	margin: 0;
	padding: 0 16px 0 12px;
	border: 1px solid var(--wxp-border);
	border-radius: var(--wxp-pill);
	background: var(--wxp-surface);
	color: var(--wxp-text);
	font-size: .9rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.wxp-root .wxp-chip input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
}

.wxp-root .wxp-chip:hover {
	border-color: var(--wxp-border-strong);
}

.wxp-root .wxp-chip:has(input:checked) {
	border-color: var(--wxp-text);
	background: var(--wxp-text);
	color: #fff;
}

.wxp-root .wxp-chip:has(input:focus-visible) {
	outline: 2px solid var(--wxp-accent);
	outline-offset: 2px;
}

/* layout: category navigation (chips bar, or a side column when there is room) + sections */

.wxp-layout {
	--wxp-nav-mode: bar;
}

.wxp-nav {
	position: sticky;
	top: var(--wxp-sticky-top);
	z-index: 20;
	margin: 0 0 8px;
	padding: 10px 0;
	background: var(--wxp-nav-bg);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	box-shadow: 0 1px 0 var(--wxp-border);
}

.wxp-root .wxp-nav-list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0 2px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.wxp-root .wxp-nav-list::-webkit-scrollbar {
	display: none;
}

.wxp-root .wxp-nav-item {
	flex: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wxp-root .wxp-nav-item::before,
.wxp-root .wxp-nav-item::marker {
	content: none;
}

.wxp-root .wxp-nav .wxp-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 14px;
	border: 1px solid var(--wxp-border);
	border-radius: var(--wxp-pill);
	background: var(--wxp-surface);
	box-shadow: none;
	color: var(--wxp-text);
	font-size: .9rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.wxp-root .wxp-nav .wxp-nav-link:visited,
.wxp-root .wxp-nav .wxp-nav-link:focus {
	color: var(--wxp-text);
}

.wxp-root .wxp-nav .wxp-nav-link:hover {
	border-color: var(--wxp-border-strong);
	color: var(--wxp-text);
}

.wxp-root .wxp-nav .wxp-nav-link.is-active,
.wxp-root .wxp-nav .wxp-nav-link.is-active:visited,
.wxp-root .wxp-nav .wxp-nav-link.is-active:hover {
	border-color: var(--wxp-accent);
	background: var(--wxp-accent);
	color: var(--wxp-accent-contrast);
}

.wxp-root .wxp-nav-count {
	font-size: .75rem;
	font-weight: 600;
	opacity: .65;
	font-variant-numeric: tabular-nums;
}

.wxp-section {
	margin: 0 0 12px;
	padding-top: 16px;
}

.wxp-section-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0 0 12px;
	border-bottom: 2px solid var(--wxp-text);
}

.wxp-root .wxp-section-title {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--wxp-text);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-transform: none;
}

.wxp-root .wxp-section-count {
	padding: 3px 9px;
	border-radius: var(--wxp-pill);
	background: var(--wxp-surface-2);
	color: var(--wxp-muted);
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.wxp-section-desc {
	margin: 12px 0 0;
	color: var(--wxp-muted);
	font-size: .92rem;
}

.wxp-section-desc p {
	margin: 0 0 .4em;
}

.wxp-section-desc p:last-child {
	margin: 0;
}

/* items */

.wxp-items {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.wxp-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--wxp-border);
}

.wxp-item:last-child {
	border-bottom: 0;
}

.wxp-item-info {
	flex: 1 1 auto;
	min-width: 0;
}

.wxp-item-info > .wxp-diet {
	margin: 0 0 8px;
}

.wxp-root .wxp-item-name {
	margin: 0 0 4px;
	padding: 0;
	color: var(--wxp-text);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
}

.wxp-root .wxp-item-name .wxp-item-open {
	display: inline;
	color: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-align: start;
}

.wxp-root .wxp-item-name .wxp-item-open:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.wxp-item-price {
	margin: 0 0 6px;
	color: var(--wxp-text);
	font-size: .98rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.wxp-root .wxp-item-price del,
.wxp-root .wxp-dialog-price del {
	margin-inline-end: 6px;
	color: var(--wxp-muted);
	font-weight: 400;
	opacity: 1;
}

.wxp-root .wxp-item-price ins,
.wxp-root .wxp-dialog-price ins {
	background: none;
	color: var(--wxp-accent);
	font-weight: 700;
	text-decoration: none;
}

.wxp-item-desc {
	display: -webkit-box;
	overflow: hidden;
	color: var(--wxp-muted);
	font-size: .9rem;
	line-height: 1.5;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.wxp-item-desc p {
	margin: 0;
}

.wxp-item-aside {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	width: 132px;
}

.wxp-item:not(.has-image) .wxp-item-aside {
	width: auto;
	min-width: 108px;
	padding-top: 4px;
}

.wxp-root .wxp-item-media {
	display: block;
	width: 132px;
	height: 132px;
	overflow: hidden;
	border-radius: var(--wxp-radius);
	background: var(--wxp-surface-2);
}

.wxp-root .wxp-item-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	transition: transform .35s ease;
}

.wxp-root .wxp-item-media:hover img {
	transform: scale(1.05);
}

.wxp-item-action {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.wxp-item.has-image .wxp-item-action {
	margin-top: -22px;
}

.wxp-item-note {
	color: var(--wxp-muted);
	font-size: .72rem;
	font-weight: 500;
}

.wxp-cart-control {
	position: relative;
	display: inline-flex;
}

.wxp-root .wxp-add {
	min-width: 108px;
	height: 42px;
	padding: 0 16px;
	border: 1px solid var(--wxp-border);
	border-radius: 12px;
	background: var(--wxp-surface);
	box-shadow: var(--wxp-shadow);
	color: var(--wxp-accent);
	font-size: .9rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.wxp-root .wxp-add:hover,
.wxp-root .wxp-add:visited,
.wxp-root .wxp-add:focus {
	color: var(--wxp-accent);
}

.wxp-root .wxp-add:hover {
	border-color: var(--wxp-accent);
	background: var(--wxp-accent-soft);
}

.wxp-root .wxp-add .wxp-svg {
	width: 16px;
	height: 16px;
	stroke-width: 2.5;
}

.wxp-root .wxp-add-link {
	max-width: 160px;
	font-size: .78rem;
	letter-spacing: .03em;
	text-align: center;
	white-space: normal;
}

.wxp-root .wxp-cart-control .wxp-stepper,
.wxp-root .wxp-item.is-in-cart .wxp-cart-control .wxp-add {
	display: none;
}

.wxp-root .wxp-item.is-in-cart .wxp-cart-control .wxp-stepper {
	display: inline-flex;
}

/* stepper */

.wxp-root .wxp-stepper {
	display: inline-flex;
	align-items: stretch;
	justify-content: space-between;
	min-width: 108px;
	height: 42px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--wxp-accent);
	box-shadow: var(--wxp-shadow);
	color: var(--wxp-accent-contrast);
}

.wxp-root .wxp-step {
	width: 38px;
	height: auto;
	color: inherit;
}

.wxp-root .wxp-step:hover:not(:disabled) {
	background: rgba(0, 0, 0, .14);
}

.wxp-root .wxp-step .wxp-svg {
	width: 16px;
	height: 16px;
	stroke-width: 2.5;
}

.wxp-root .wxp-step-qty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.wxp-root.wxp-drawer .wxp-stepper,
.wxp-root .wxp-stepper-lg {
	border: 1px solid var(--wxp-border);
	background: var(--wxp-surface);
	box-shadow: none;
	color: var(--wxp-text);
}

.wxp-root.wxp-drawer .wxp-step:hover:not(:disabled),
.wxp-root .wxp-stepper-lg .wxp-step:hover:not(:disabled) {
	background: var(--wxp-surface-2);
}

.wxp-root.wxp-drawer .wxp-stepper {
	min-width: 100px;
	height: 36px;
	border-radius: 10px;
}

.wxp-root.wxp-drawer .wxp-step {
	width: 34px;
}

.wxp-root .wxp-stepper-lg {
	flex: none;
	min-width: 128px;
	height: 52px;
	border-radius: 14px;
}

.wxp-root .wxp-stepper-lg .wxp-step {
	width: 44px;
}

/* sold out / unavailable */

.wxp-root .wxp-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--wxp-border);
	border-radius: var(--wxp-pill);
	background: var(--wxp-surface);
	color: var(--wxp-muted);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.wxp-item.is-soldout .wxp-item-media img,
.wxp-item.is-unavailable .wxp-item-media img {
	filter: grayscale(1);
	opacity: .55;
}

.wxp-item.is-soldout .wxp-item-name,
.wxp-item.is-soldout .wxp-item-price,
.wxp-item.is-unavailable .wxp-item-price {
	color: var(--wxp-muted);
}

/* side navigation when the menu is wide enough */

@container wxpmenu (min-width: 760px) {
	.wxp-layout {
		--wxp-nav-mode: side;
		display: grid;
		grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
		gap: 36px;
		align-items: start;
	}

	.wxp-nav {
		top: calc(var(--wxp-sticky-top) + 20px);
		max-height: calc(100vh - var(--wxp-sticky-top) - 40px);
		margin: 0;
		padding: 16px 0 0;
		overflow-y: auto;
		background: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		box-shadow: none;
		scrollbar-width: thin;
	}

	.wxp-root .wxp-nav-list {
		flex-direction: column;
		gap: 2px;
		padding: 0;
		overflow: visible;
	}

	.wxp-root .wxp-nav .wxp-nav-link {
		position: relative;
		display: flex;
		justify-content: space-between;
		width: 100%;
		height: auto;
		padding: 11px 14px;
		border: 0;
		border-radius: var(--wxp-radius-sm);
		background: none;
		color: var(--wxp-muted);
		font-size: .95rem;
		font-weight: 500;
		line-height: 1.3;
		white-space: normal;
	}

	.wxp-root .wxp-nav .wxp-nav-link:visited,
	.wxp-root .wxp-nav .wxp-nav-link:focus {
		color: var(--wxp-muted);
	}

	.wxp-root .wxp-nav .wxp-nav-link:hover {
		background: var(--wxp-surface-2);
		color: var(--wxp-text);
	}

	.wxp-root .wxp-nav .wxp-nav-link.is-active,
	.wxp-root .wxp-nav .wxp-nav-link.is-active:visited,
	.wxp-root .wxp-nav .wxp-nav-link.is-active:hover {
		background: var(--wxp-accent-soft);
		color: var(--wxp-accent);
		font-weight: 700;
	}

	.wxp-root .wxp-nav .wxp-nav-link.is-active::before {
		content: "";
		position: absolute;
		top: 10px;
		bottom: 10px;
		inset-inline-start: 0;
		width: 3px;
		border-radius: 3px;
		background: var(--wxp-accent);
	}

	.wxp-root .wxp-nav-depth-1 .wxp-nav-link {
		padding-inline-start: 28px;
		font-size: .88rem;
	}

	.wxp-root .wxp-nav-depth-2 .wxp-nav-link,
	.wxp-root .wxp-nav-depth-3 .wxp-nav-link {
		padding-inline-start: 40px;
		font-size: .85rem;
	}

	.wxp-section:first-child {
		padding-top: 16px;
	}
}

/* two columns of dishes on very wide menus */

@container wxpmenu (min-width: 1180px) {
	.wxp-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 40px;
	}

	.wxp-item:nth-last-child(2):nth-child(odd) {
		border-bottom: 0;
	}
}

/* small menus (phones, narrow columns) */

@container wxpmenu (max-width: 479px) {
	.wxp-toolbar {
		gap: 10px;
	}

	.wxp-diet-filter {
		width: 100%;
	}

	.wxp-item {
		gap: 12px;
		padding: 18px 0;
	}

	.wxp-item-aside {
		width: 112px;
	}

	.wxp-root .wxp-item-media {
		width: 112px;
		height: 112px;
		border-radius: 14px;
	}

	.wxp-root .wxp-add,
	.wxp-root .wxp-stepper {
		min-width: 96px;
		height: 38px;
	}

	.wxp-root .wxp-step {
		width: 32px;
	}

	.wxp-item:not(.has-image) .wxp-item-aside {
		min-width: 96px;
	}

	.wxp-root .wxp-section-title {
		font-size: 1.25rem;
	}
}

/* ---------------------------------------------------------------- floating basket button */

.wxp-root.wxp-basket-btn {
	-webkit-appearance: none;
	appearance: none;
	position: fixed;
	z-index: 9990;
	right: 24px;
	bottom: calc(24px + var(--wxp-basket-lift, 0px));
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 8px 20px 8px 8px;
	border: 0;
	border-radius: var(--wxp-pill);
	background: var(--wxp-text);
	box-shadow: 0 12px 32px rgba(28, 25, 23, .28);
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-align: start;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}

[dir="rtl"] .wxp-root.wxp-basket-btn {
	right: auto;
	left: 24px;
}

.wxp-root.wxp-basket-btn:hover,
.wxp-root.wxp-basket-btn:focus {
	background: var(--wxp-text);
	color: #fff;
}

.wxp-root.wxp-basket-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(28, 25, 23, .32);
}

.wxp-root.wxp-basket-btn:focus-visible {
	outline: 3px solid var(--wxp-accent);
	outline-offset: 3px;
}

.wxp-basket-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
}

.wxp-root .wxp-basket-count {
	position: absolute;
	top: -3px;
	right: -3px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--wxp-accent);
	color: #fff;
	font-size: .72rem;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}

.wxp-basket-btn:not(.has-items) .wxp-basket-count {
	display: none;
}

.wxp-basket-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.wxp-basket-label {
	font-size: .78rem;
	font-weight: 500;
	opacity: .8;
}

.wxp-basket-btn:not(.has-items) .wxp-basket-label {
	font-size: .92rem;
	font-weight: 600;
	opacity: 1;
}

.wxp-basket-total {
	font-size: 1.02rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.wxp-basket-cta {
	display: none;
}

.wxp-basket-cta .wxp-svg {
	width: 18px;
	height: 18px;
}

/* Lift the basket above a theme's fixed mobile footer bar (Storefront's handheld bar is built in). */
@media (max-width: 767px) {
	body:has(.storefront-handheld-footer-bar) {
		--wxp-basket-lift: 69px;
	}
}

@media (max-width: 640px) {
	.wxp-root.wxp-basket-btn {
		right: 12px;
		bottom: calc(12px + var(--wxp-basket-lift, 0px));
		padding: 6px;
	}

	.wxp-basket-btn:not(.has-items) .wxp-basket-text {
		display: none;
	}

	.wxp-root.wxp-basket-btn.has-items {
		left: 12px;
		padding: 8px 16px 8px 8px;
		border-radius: 18px;
		background: var(--wxp-accent);
	}

	[dir="rtl"] .wxp-root.wxp-basket-btn.has-items {
		right: 12px;
	}

	.wxp-basket-btn.has-items .wxp-basket-icon {
		background: rgba(255, 255, 255, .18);
	}

	.wxp-root .wxp-basket-btn.has-items .wxp-basket-count,
	.wxp-root.wxp-basket-btn.has-items .wxp-basket-count {
		background: #fff;
		color: var(--wxp-accent);
	}

	.wxp-basket-btn.has-items .wxp-basket-cta {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		margin-inline-start: auto;
		font-weight: 800;
	}

	.wxp-root.wxp-menu {
		padding-bottom: 72px;
	}
}

/* ---------------------------------------------------------------- basket drawer */

.wxp-root.wxp-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(440px, 100vw);
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: var(--wxp-surface);
	box-shadow: -12px 0 48px rgba(28, 25, 23, .2);
	color: var(--wxp-text);
}

[dir="rtl"] .wxp-root.wxp-drawer {
	inset: 0 auto 0 0;
}

.wxp-root.wxp-drawer[open] {
	display: flex;
	animation: wxp-drawer-in .3s cubic-bezier(.2, .8, .2, 1);
}

[dir="rtl"] .wxp-root.wxp-drawer[open] {
	animation-name: wxp-drawer-in-rtl;
}

.wxp-root.wxp-drawer::backdrop {
	background: rgba(28, 25, 23, .45);
}

@keyframes wxp-drawer-in {
	from {
		transform: translateX(100%);
	}
}

@keyframes wxp-drawer-in-rtl {
	from {
		transform: translateX(-100%);
	}
}

.wxp-drawer-panel {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.wxp-drawer-head {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	padding: 16px 16px 16px 24px;
	border-bottom: 1px solid var(--wxp-border);
}

.wxp-root .wxp-drawer-title {
	margin: 0;
	padding: 0;
	color: var(--wxp-text);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: none;
}

.wxp-drawer-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
}

.wxp-root .wxp-lines {
	flex: 1;
	margin: 0;
	padding: 4px 24px;
	overflow-y: auto;
	list-style: none;
}

.wxp-root .wxp-line {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr) auto;
	align-items: start;
	gap: 14px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--wxp-border);
	list-style: none;
}

.wxp-root .wxp-line:last-child {
	border-bottom: 0;
}

.wxp-line-thumb {
	width: 60px;
	height: 60px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--wxp-surface-2);
}

.wxp-root .wxp-line-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

.wxp-line-name {
	display: block;
	font-weight: 700;
	line-height: 1.3;
}

.wxp-root .wxp-line-name a {
	color: inherit;
	text-decoration: none;
}

.wxp-line-meta {
	margin: 2px 0 0;
	color: var(--wxp-muted);
	font-size: .8rem;
}

.wxp-root .wxp-line-meta dl {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0 6px;
	margin: 0;
	padding: 0;
	border: 0;
}

.wxp-root .wxp-line-meta dt,
.wxp-root .wxp-line-meta dd,
.wxp-root .wxp-line-meta p {
	float: none;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.wxp-root .wxp-line-meta dd p {
	display: inline;
}

.wxp-line-price {
	display: block;
	margin-top: 2px;
	color: var(--wxp-muted);
	font-size: .8rem;
}

.wxp-line-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.wxp-line-total {
	font-size: .98rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.wxp-drawer-foot {
	display: grid;
	flex: none;
	gap: 10px;
	padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--wxp-border);
	background: var(--wxp-surface);
}

.wxp-subtotal {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	font-size: 1rem;
	font-weight: 600;
}

.wxp-subtotal strong {
	font-size: 1.25rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.wxp-root .wxp-drawer-note {
	margin: 0 0 4px;
	color: var(--wxp-muted);
	font-size: .8rem;
}

.wxp-drawer-empty {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 32px;
	color: var(--wxp-muted);
	text-align: center;
}

.wxp-drawer-empty p {
	margin: 0 0 6px;
}

.wxp-drawer-empty-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--wxp-surface-2);
	color: var(--wxp-accent);
}

.wxp-root .wxp-drawer-empty-icon .wxp-svg {
	width: 32px;
	height: 32px;
}

.wxp-root .wxp-drawer-empty-title {
	color: var(--wxp-text);
	font-size: 1.1rem;
	font-weight: 700;
}

/* ---------------------------------------------------------------- item popup */

.wxp-root.wxp-dialog {
	width: 100%;
	max-width: min(560px, calc(100vw - 32px));
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	color: var(--wxp-text);
}

.wxp-root.wxp-dialog[open] {
	animation: wxp-pop .22s ease-out;
}

.wxp-root.wxp-dialog::backdrop {
	background: rgba(28, 25, 23, .55);
}

@keyframes wxp-pop {
	from {
		opacity: 0;
		transform: translateY(12px) scale(.98);
	}
}

@keyframes wxp-sheet {
	from {
		transform: translateY(100%);
	}
}

.wxp-dialog-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	max-height: calc(100dvh - 32px);
	overflow: hidden;
	border-radius: 22px;
	background: var(--wxp-surface);
	box-shadow: 0 24px 64px rgba(0, 0, 0, .3);
}

.wxp-root .wxp-dialog-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

[dir="rtl"] .wxp-root .wxp-dialog-close {
	right: auto;
	left: 12px;
}

.wxp-root .wxp-dialog-close:hover {
	background: #fff;
}

.wxp-dialog-media {
	flex: none;
	height: clamp(180px, 34vh, 300px);
	background: var(--wxp-surface-2);
}

.wxp-root .wxp-dialog-media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
}

.wxp-dialog-body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 22px 24px 8px;
	overflow-y: auto;
}

.wxp-dialog-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-inline-end: 40px;
}

.wxp-dialog.has-media .wxp-dialog-head {
	padding-inline-end: 0;
}

.wxp-root .wxp-dialog-title {
	margin: 0;
	padding: 0;
	color: var(--wxp-text);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.25;
	text-transform: none;
}

.wxp-dialog-price {
	margin: 6px 0 12px;
	font-size: 1.08rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.wxp-dialog-desc {
	color: var(--wxp-muted);
	font-size: .95rem;
}

.wxp-dialog-desc p {
	margin: 0 0 .6em;
}

.wxp-root .wxp-attr {
	min-width: 0;
	margin: 18px 0 0;
	padding: 0;
	border: 0;
	background: none;
}

.wxp-root .wxp-attr legend {
	float: none;
	width: auto;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
	background: none;
	text-transform: none;
	color: var(--wxp-text);
	font-size: .95rem;
	font-weight: 800;
}

.wxp-attr-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wxp-root .wxp-opt {
	position: relative;
	display: inline-flex;
	margin: 0;
	cursor: pointer;
}

.wxp-root .wxp-opt input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.wxp-root .wxp-opt span {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 18px;
	border: 1.5px solid var(--wxp-border);
	border-radius: var(--wxp-pill);
	background: var(--wxp-surface);
	color: var(--wxp-text);
	font-size: .92rem;
	font-weight: 600;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.wxp-root .wxp-opt:hover span {
	border-color: var(--wxp-border-strong);
}

.wxp-root .wxp-opt input:checked + span {
	border-color: var(--wxp-accent);
	background: var(--wxp-accent-soft);
	color: var(--wxp-accent);
}

.wxp-root .wxp-opt input:focus-visible + span {
	outline: 2px solid var(--wxp-accent);
	outline-offset: 2px;
}

.wxp-root .wxp-opt.is-disabled,
.wxp-root .wxp-opt.is-disabled input {
	cursor: not-allowed;
}

.wxp-root .wxp-opt.is-disabled span {
	border-style: dashed;
	color: var(--wxp-muted);
	text-decoration: line-through;
	opacity: .6;
}

.wxp-root .wxp-dialog-msg {
	margin: 14px 0 4px;
	color: var(--wxp-error);
	font-size: .9rem;
	font-weight: 600;
}

.wxp-root .wxp-dialog-msg:empty {
	display: none;
}

.wxp-dialog-foot {
	display: flex;
	flex: none;
	align-items: center;
	gap: 12px;
	padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--wxp-border);
	background: var(--wxp-surface);
}

.wxp-root .wxp-dialog-add {
	flex: 1;
	justify-content: space-between;
	min-width: 0;
}

.wxp-root .wxp-dialog-add.is-waiting {
	opacity: .55;
}

.wxp-root .wxp-dialog-add-price {
	font-variant-numeric: tabular-nums;
}

.wxp-root .wxp-dialog-foot .wxp-badge {
	width: 100%;
	height: 52px;
	border-radius: 14px;
}

@media (max-width: 600px) {
	.wxp-root.wxp-dialog {
		width: 100vw;
		max-width: 100vw;
		max-height: 94dvh;
		margin: auto 0 0;
	}

	.wxp-root.wxp-dialog[open] {
		animation: wxp-sheet .28s cubic-bezier(.2, .8, .2, 1);
	}

	.wxp-dialog-panel {
		max-height: 94dvh;
		border-radius: 22px 22px 0 0;
	}

	.wxp-dialog-body {
		padding: 18px 18px 8px;
	}

	.wxp-dialog-foot {
		padding-right: 18px;
		padding-left: 18px;
	}

	.wxp-root .wxp-stepper-lg {
		min-width: 116px;
	}
}

/* ---------------------------------------------------------------- toast */

.wxp-root.wxp-toast {
	position: fixed;
	inset: auto auto calc(96px + var(--wxp-basket-lift, 0px)) 50%;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 12px;
	width: max-content;
	max-width: min(92vw, 480px);
	height: auto;
	margin: 0;
	padding: 12px 12px 12px 18px;
	overflow: visible;
	border: 0;
	border-radius: 14px;
	background: var(--wxp-text);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
	color: #fff;
	font-size: .92rem;
	opacity: 0;
	transform: translate(-50%, 8px);
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: none;
}

.wxp-root.wxp-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
	pointer-events: auto;
}

.wxp-root.wxp-toast.is-error {
	background: var(--wxp-error);
}

.wxp-toast-text {
	padding: 4px 0;
}

.wxp-root .wxp-toast-action {
	flex: none;
	padding: 8px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}

.wxp-root .wxp-toast-action:hover {
	background: rgba(255, 255, 255, .26);
}

@media (min-width: 641px) {
	.wxp-root.wxp-toast {
		bottom: calc(32px + var(--wxp-basket-lift, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.wxp-root,
	.wxp-root *,
	.wxp-root::backdrop {
		animation: none !important;
		transition: none !important;
	}
}
