/* Menu Designer – a menu on the page. Three templates (bistro, elegant, modern), photos as plates or with soft
   edges, section photos that fade into the paper. Nothing here loads from other servers. */

.dms-menu {
	--dms-accent: #8a3324;
	--dms-paper: #fbf7ef;
	--dms-paper-2: #f4ecdd;
	--dms-ink: #2b2420;
	--dms-muted: #6f625a;
	--dms-line: rgba(43, 36, 32, .18);
	--dms-pad: clamp(22px, 5vw, 56px);
	--dms-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--dms-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--dms-head: var(--dms-serif);
	--dms-body: var(--dms-serif);
	position: relative;
	max-width: 860px;
	margin: 0 auto 2em;
	padding: var(--dms-pad);
	border-radius: 6px;
	background:
		radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .7), transparent 60%),
		radial-gradient(100% 100% at 100% 100%, var(--dms-paper-2), transparent 70%),
		var(--dms-paper);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 30px 60px -40px rgba(60, 40, 20, .45);
	color: var(--dms-ink);
	font-family: var(--dms-body);
	line-height: 1.45;
	overflow: hidden;
	/* clip (not hidden): the section bar can stay on top while scrolling. */
	overflow: clip;
}
.dms-menu *, .dms-menu *::before, .dms-menu *::after { box-sizing: border-box; }

/* ---------- Sections ---------- */
.dms-sections { display: flex; flex-direction: column; gap: clamp(28px, 5vw, 52px); }
.dms-section { break-inside: avoid; }
.dms-section-title {
	margin: 0 0 .15em;
	color: var(--dms-accent);
	font-family: var(--dms-head);
	font-size: clamp(1.5em, 3.4vw, 2em);
	font-weight: 400;
	letter-spacing: .01em;
	line-height: 1.15;
}
.dms-note { margin: 0 0 .9em; color: var(--dms-muted); font-style: italic; font-size: .95em; }
.dms-items { display: flex; flex-direction: column; gap: 1.05em; margin: .8em 0 0; padding: 0; list-style: none; }
.dms-item { display: flex; gap: 16px; align-items: flex-start; }
.dms-item-body { flex: 1; min-width: 0; }
.dms-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .45em; }
.dms-name { margin: 0; font-family: var(--dms-head); font-size: 1.08em; font-weight: 600; line-height: 1.3; }
.dms-codes { display: inline-flex; gap: .25em; color: var(--dms-accent); font-family: var(--dms-sans); font-size: .66em; font-weight: 600; letter-spacing: .04em; vertical-align: super; opacity: .85; }
.dms-codes abbr { text-decoration: none; cursor: help; }
.dms-mark { display: inline-block; padding: .1em .55em; border-radius: 999px; background: rgba(0, 0, 0, .06); color: var(--dms-muted); font-family: var(--dms-sans); font-size: .66em; font-weight: 600; letter-spacing: .03em; white-space: nowrap; transform: translateY(-.1em); }
.dms-mark--vegan { background: #dcebd9; color: #245c33; }
.dms-mark--vegetarian { background: #e6eed6; color: #43601f; }
.dms-mark--spicy { background: #f6dccf; color: #9a3412; }
.dms-mark--halal { background: #d7ece4; color: #1d5b46; }
.dms-mark--alcoholfree { background: #dbe8f4; color: #24507a; }
.dms-mark--kids { background: #fbe6c4; color: #8a5208; }
.dms-mark--homemade, .dms-mark--regional { background: #ece4d6; color: #5e4a2c; }
.dms-mark--new, .dms-mark--chef { background: color-mix(in srgb, var(--dms-accent) 14%, transparent); color: var(--dms-accent); }
.dms-dots { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted var(--dms-line); transform: translateY(-.3em); }
.dms-price { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 1.02em; }
.dms-price-label { color: var(--dms-muted); font-size: .8em; }
.dms-price-sep { color: var(--dms-muted); padding: 0 .1em; }
.dms-text { margin: .2em 0 0; color: var(--dms-muted); font-size: .93em; font-style: italic; }

/* Two columns: sections flow side by side on wide screens. */
@media (min-width: 760px) {
	.dms-cols-2 .dms-sections { display: block; columns: 2; column-gap: clamp(32px, 5vw, 64px); }
	.dms-cols-2 .dms-section { margin-bottom: clamp(28px, 5vw, 52px); }
	.dms-cols-2 .dms-hero { margin-left: 0; margin-right: 0; border-radius: 10px; }
}

/* ---------- Photos ---------- */
.dms-photo { flex: none; margin: 0; width: 86px; aspect-ratio: 1; min-height: 0; } /* min-height: Safari otherwise lets the picture (height 100%) stretch the box: an oval plate */
.dms-photo-img { display: block; width: 100%; height: auto; aspect-ratio: inherit; object-fit: cover; } /* not height: 100% – Safari measures that against the wrong height in an aspect-ratio box */
/* On a plate: round, a rim of paper, a soft shadow below – as if the dish were set down next to its text. */
.dms-photos-plate .dms-photo { border-radius: 50%; padding: 4px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 18px -8px rgba(60, 40, 20, .55), inset 0 0 0 1px rgba(0, 0, 0, .04); }
.dms-photos-plate .dms-photo-img { border-radius: 50%; }
/* Soft: the photo fades into the paper at its edges, like printed on it. */
.dms-photos-soft .dms-photo { width: 104px; aspect-ratio: 4 / 3; }
.dms-photos-soft .dms-photo-img { border-radius: 14px; -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(75% 75% at 50% 50%, #000 55%, transparent 100%); }
/* Section photo: wide at the top of a section, fading downwards into the paper; it reaches the menu's edges. */
.dms-hero { margin: 0 calc(var(--dms-pad) * -1) .4em; aspect-ratio: 16 / 6; overflow: hidden; }
.dms-section:first-child .dms-hero { margin-top: calc(var(--dms-pad) * -1); }
.dms-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 96%); mask-image: linear-gradient(to bottom, #000 45%, transparent 96%); }
.dms-hero + .dms-section-title { margin-top: -.9em; position: relative; }

/* ---------- Templates ---------- */
/* Elegant: centred, airy, fine rules, small caps. */
.dms-t-elegant { --dms-paper: #fcfaf6; --dms-paper-2: #f2ede4; }
.dms-t-elegant .dms-section-title { text-align: center; font-variant: small-caps; letter-spacing: .12em; font-size: clamp(1.35em, 3vw, 1.75em); }
.dms-t-elegant .dms-section-title::after { content: ""; display: block; width: 56px; margin: .45em auto 0; border-top: 1px solid currentColor; opacity: .5; }
.dms-t-elegant .dms-note { text-align: center; }
.dms-t-elegant .dms-item:not(.has-photo) { text-align: center; justify-content: center; }
.dms-t-elegant .dms-item:not(.has-photo) .dms-head { justify-content: center; }
.dms-t-elegant .dms-dots { display: none; }
.dms-t-elegant .dms-price::before { content: "— "; color: var(--dms-line); }
.dms-t-elegant .dms-name { font-weight: 500; letter-spacing: .02em; }
/* Modern: a clean sans, bold headings, white card. */
.dms-t-modern { --dms-paper: #ffffff; --dms-paper-2: #f6f6f4; --dms-head: var(--dms-sans); --dms-body: var(--dms-sans); border-radius: 18px; }
.dms-t-modern .dms-section-title { font-weight: 800; letter-spacing: -.01em; color: var(--dms-ink); }
.dms-t-modern .dms-section-title::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .4em; border-radius: 3px; background: var(--dms-accent); vertical-align: .1em; }
.dms-t-modern .dms-text { font-style: normal; }
.dms-t-modern .dms-dots { border-bottom-style: solid; opacity: .5; }
.dms-t-modern .dms-price { font-weight: 700; }

/* Chalkboard: a dark board, chalk-white writing, the accent as coloured chalk. */
.dms-t-chalk { --dms-paper: #26302b; --dms-paper-2: #1d2521; --dms-ink: #f1efe8; --dms-muted: #b9bcb3; --dms-line: rgba(241, 239, 232, .28); --dms-head: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", cursive; border-radius: 4px; box-shadow: 0 0 0 10px #6b4a2f, 0 0 0 12px #4e3420, 0 30px 60px -30px rgba(0, 0, 0, .6); }
.dms-t-chalk { background: radial-gradient(90% 60% at 30% 20%, rgba(255, 255, 255, .07), transparent 70%), radial-gradient(80% 80% at 80% 90%, rgba(255, 255, 255, .04), transparent 70%), var(--dms-paper); }
.dms-t-chalk .dms-section-title { color: color-mix(in srgb, var(--dms-accent) 45%, #fff); font-weight: 700; }
.dms-t-chalk .dms-name { font-family: var(--dms-sans); letter-spacing: .02em; }
.dms-t-chalk .dms-dots { border-bottom-style: dashed; }
.dms-t-chalk .dms-codes, .dms-t-chalk .dms-legend dt { color: color-mix(in srgb, var(--dms-accent) 40%, #fff); }
.dms-t-chalk .dms-mark { background: rgba(255, 255, 255, .12) !important; color: #f1efe8 !important; }
.dms-t-chalk .dms-chip { background: rgba(255, 255, 255, .06); }
.dms-t-chalk .dms-photos-plate .dms-photo, .dms-t-chalk.dms-photos-plate .dms-photo { background: #f1efe8; }
/* Kraft: brown paper, stamped capitals, prices in a box. */
.dms-t-kraft { --dms-paper: #d9bf93; --dms-paper-2: #c8a978; --dms-ink: #2f2418; --dms-muted: #5a4631; --dms-line: rgba(47, 36, 24, .35); --dms-head: "Rockwell", "Roboto Slab", "Courier New", serif; --dms-body: var(--dms-sans); border-radius: 2px; }
.dms-t-kraft { background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 6px), radial-gradient(120% 90% at 10% 0%, rgba(255, 255, 255, .25), transparent 60%), var(--dms-paper); }
.dms-t-kraft .dms-section-title { color: var(--dms-ink); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: clamp(1.2em, 2.8vw, 1.55em); padding-bottom: .3em; border-bottom: 3px double var(--dms-accent); }
.dms-t-kraft .dms-name { text-transform: uppercase; letter-spacing: .06em; font-size: .98em; font-weight: 700; }
.dms-t-kraft .dms-dots { visibility: hidden; }
.dms-t-kraft .dms-price { padding: .05em .45em; border: 1.5px solid var(--dms-ink); border-radius: 3px; font-family: var(--dms-head); font-size: .92em; font-weight: 700; }
.dms-t-kraft .dms-text { font-style: normal; }
.dms-t-kraft .dms-chip { background: rgba(255, 255, 255, .3); }
/* Like the website: the fonts and colours of the theme (Devenzi_Menu_Render::site_look), no paper of its own – the
   menu sits on the page as if the theme had made it. Without a block theme it simply inherits. */
.dms-t-site { --dms-paper: transparent; --dms-paper-2: transparent; --dms-ink: var(--dms-site-ink, currentColor); --dms-muted: color-mix(in srgb, var(--dms-ink) 70%, transparent); --dms-line: color-mix(in srgb, var(--dms-ink) 22%, transparent); --dms-head: var(--dms-site-head, inherit); --dms-body: var(--dms-site-body, inherit); --dms-pad: 0; max-width: none; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.dms-t-site .dms-section-title { color: var(--dms-ink); }
.dms-t-site .dms-text { font-style: normal; }
.dms-t-site .dms-nav, .dms-t-site .dms-filter { background: var(--dms-site-paper, transparent); }
/* Minimal: black on white, lots of air, small capitals, prices without lines. */
.dms-t-minimal { --dms-paper: #ffffff; --dms-paper-2: #ffffff; --dms-ink: #111; --dms-muted: #707070; --dms-line: rgba(0, 0, 0, .12); --dms-head: var(--dms-sans); --dms-body: var(--dms-sans); border-radius: 0; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.dms-t-minimal .dms-section-title { color: var(--dms-ink); font-size: .8em; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.dms-t-minimal .dms-section-title::after { content: ""; display: block; width: 24px; margin-top: .9em; border-top: 2px solid var(--dms-accent); }
.dms-t-minimal .dms-items { gap: 1.4em; margin-top: 1.4em; }
.dms-t-minimal .dms-name { font-weight: 500; font-size: 1em; }
.dms-t-minimal .dms-dots { visibility: hidden; }
.dms-t-minimal .dms-text { font-style: normal; font-size: .88em; }
.dms-t-minimal .dms-price { font-size: .95em; }

/* ---------- Bar to the sections, search ---------- */
.dms-nav { position: sticky; top: var(--dms-sticky-top, 0px); z-index: 4; display: flex; align-items: center; gap: 10px; margin: calc(var(--dms-pad) * -1) calc(var(--dms-pad) * -1) clamp(18px, 3vw, 28px); padding: 10px var(--dms-pad); background: color-mix(in srgb, var(--dms-paper) 92%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--dms-line); font-family: var(--dms-sans); }
.dms-nav-links { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
.dms-nav-links::-webkit-scrollbar { display: none; }
.dms-nav-links a { flex: none; padding: .38em .85em; border-radius: 999px; color: var(--dms-muted); font-size: .82em; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.dms-nav-links a:hover { color: var(--dms-ink); background: color-mix(in srgb, var(--dms-ink) 6%, transparent); }
.dms-nav-links a.is-on { background: var(--dms-accent); color: #fff; }
.dms-search { flex: none; }
.dms-search input { width: 11em; padding: .4em .9em; border: 1px solid var(--dms-line); border-radius: 999px; background: color-mix(in srgb, #fff 55%, transparent); color: var(--dms-ink); font: inherit; font-size: .82em; transition: width .2s; }
.dms-search input:focus { width: 15em; outline: none; border-color: var(--dms-accent); }
.dms-section { scroll-margin-top: calc(var(--dms-sticky-top, 0px) + 64px); }
.dms-search-none { margin: 1em 0 0; color: var(--dms-muted); font-family: var(--dms-sans); font-size: .9em; text-align: center; }
.dms-item.is-nomatch { display: none; }
.dms-hero + .dms-section-title { scroll-margin-top: 80px; }
/* With the bar the first section photo starts below it, not under it. */

/* ---------- Pairs of fonts: heading and text. Fonts every computer has – nothing loads from other servers. ---------- */
.dms-f-classic { --dms-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; --dms-body: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; }
.dms-f-elegant { --dms-head: Didot, "Bodoni 72", "Bodoni MT", "Big Caslon", "Times New Roman", serif; --dms-body: Garamond, "EB Garamond", "Adobe Garamond Pro", Baskerville, "Baskerville Old Face", Georgia, serif; }
.dms-f-modern { --dms-head: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif; --dms-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; }
.dms-f-hand { --dms-head: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", cursive; --dms-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; }
.dms-f-slab { --dms-head: Rockwell, "Roboto Slab", "Courier New", serif; --dms-body: Georgia, "Times New Roman", serif; }
.dms-f-typewriter { --dms-head: "American Typewriter", "Courier Prime", "Courier New", Courier, monospace; --dms-body: "American Typewriter", "Courier Prime", "Courier New", Courier, monospace; }
.dms-f-modern .dms-section-title, .dms-f-modern .dms-mast-name { font-weight: 700; letter-spacing: -.01em; }
.dms-f-elegant .dms-section-title, .dms-f-elegant .dms-mast-name { letter-spacing: .04em; }
.dms-f-typewriter .dms-text { font-style: normal; }
/* ---------- The head: logo, name of the restaurant, a line below ---------- */
.dms-masthead { margin: 0 0 clamp(22px, 4vw, 40px); text-align: center; }
.dms-mast-mark { margin: 0 auto .7em; }
.dms-mast-logo { display: block; width: auto; max-width: min(220px, 60%); max-height: 110px; height: auto; margin: 0 auto; object-fit: contain; }
.dms-mast-name { margin: 0; color: var(--dms-accent); font-family: var(--dms-head); font-size: clamp(1.9em, 5vw, 2.7em); font-weight: 400; letter-spacing: .02em; line-height: 1.1; }
.dms-mast-sub { margin: .55em 0 0; color: var(--dms-muted); font-family: var(--dms-sans); font-size: .74em; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.dms-masthead::after { content: ""; display: block; width: 3.2em; margin: 1.1em auto 0; border-top: 1px solid var(--dms-accent); opacity: .45; }
.dms-t-modern .dms-mast-name, .dms-t-kraft .dms-mast-name { color: var(--dms-ink); font-weight: 800; }
.dms-t-kraft .dms-mast-name { text-transform: uppercase; letter-spacing: .12em; font-size: clamp(1.5em, 4vw, 2.1em); }
.dms-t-minimal .dms-mast-name { color: var(--dms-ink); font-size: 1.15em; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; }
.dms-t-elegant .dms-mast-name { font-variant: small-caps; letter-spacing: .1em; }
.dms-t-chalk .dms-mast-name { color: #f1efe8; font-weight: 700; }
/* Below the head the bar and a first section photo do not reach up to the edge. */
.dms-masthead + .dms-nav { margin-top: 0; }
.dms-masthead ~ .dms-sections > .dms-section:first-child .dms-hero { margin-top: 0; }
.dms-nav ~ .dms-sections > .dms-section:first-child .dms-hero { margin-top: calc(clamp(18px, 3vw, 28px) * -1); }
.dms-t-chalk .dms-search input { background: rgba(255, 255, 255, .08); }

/* ---------- Prices: from, text, extras ---------- */
.dms-price-from { color: var(--dms-muted); font-size: .8em; }
.dms-price--text { color: var(--dms-muted); font-style: italic; font-size: .92em; }
.dms-extras { display: flex; flex-wrap: wrap; gap: .15em .9em; margin: .3em 0 0; color: var(--dms-muted); font-family: var(--dms-sans); font-size: .78em; }
/* Sold out today: crossed out, softer, with a small note – the dish is still on the menu. */
.dms-soldout { display: inline-block; padding: .1em .55em; border-radius: 999px; background: var(--dms-ink); color: var(--dms-paper); font-family: var(--dms-sans); font-size: .64em; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transform: translateY(-.1em); }
.dms-item--soldout .dms-name, .dms-item--soldout .dms-price { text-decoration: line-through; text-decoration-thickness: 1px; }
.dms-item--soldout .dms-photo, .dms-item--soldout .dms-name, .dms-item--soldout .dms-price, .dms-item--soldout .dms-text, .dms-item--soldout .dms-codes { opacity: .55; }
.dms-deposit { margin: .2em 0 0; color: var(--dms-muted); font-family: var(--dms-sans); font-size: .74em; }
.dms-extra b { color: var(--dms-ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Our recommendation ---------- */
.dms-item--featured { position: relative; flex-wrap: wrap; padding: 1.1em 1.2em 1.1em; margin: .3em 0; border: 1px solid color-mix(in srgb, var(--dms-accent) 35%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--dms-accent) 6%, transparent); }
.dms-item--featured .dms-name { font-size: 1.22em; }
.dms-item--featured .dms-photo { width: 120px; }
.dms-photos-soft .dms-item--featured .dms-photo { width: 150px; }
.dms-badge { position: absolute; top: -.75em; left: 1.1em; padding: .2em .75em; border-radius: 999px; background: var(--dms-accent); color: #fff; font-family: var(--dms-sans); font-size: .68em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dms-t-elegant .dms-item--featured { text-align: left; justify-content: flex-start; }

/* ---------- A menu of courses for one price ---------- */
.dms-set { padding: clamp(18px, 3vw, 30px); border: 1px solid var(--dms-line); border-radius: 16px; text-align: center; background: color-mix(in srgb, #fff 35%, transparent); }
.dms-set .dms-hero { margin: calc(clamp(18px, 3vw, 30px) * -1) calc(clamp(18px, 3vw, 30px) * -1) .4em; border-radius: 16px 16px 0 0; }
.dms-section:first-child.dms-set .dms-hero { margin-top: calc(clamp(18px, 3vw, 30px) * -1); }
.dms-set .dms-items { gap: .35em; align-items: center; }
.dms-set .dms-item { justify-content: center; text-align: center; }
.dms-set .dms-head { justify-content: center; }
.dms-set .dms-photo { display: none; }
.dms-course { margin-top: 1em; list-style: none; }
.dms-course span { color: var(--dms-accent); font-family: var(--dms-sans); font-size: .72em; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.dms-course--none { margin-top: .6em; }
.dms-or { list-style: none; color: var(--dms-muted); font-style: italic; font-size: .85em; }
.dms-or span::before, .dms-or span::after { content: ""; display: inline-block; width: 1.6em; margin: 0 .5em; border-top: 1px solid var(--dms-line); vertical-align: middle; }
.dms-set-price { margin: 1.2em 0 0; font-family: var(--dms-head); font-size: 1.5em; color: var(--dms-accent); font-variant-numeric: tabular-nums; }
.dms-set-price .dms-price-label { font-size: .55em; }
.dms-t-chalk .dms-set { background: rgba(255, 255, 255, .04); }

/* ---------- Times of a section (Pro) ---------- */
.dms-when { display: flex; align-items: center; gap: .5em; margin: .1em 0 .7em; color: var(--dms-muted); font-family: var(--dms-sans); font-size: .78em; font-weight: 600; letter-spacing: .02em; }
.dms-when-now { display: none; padding: .1em .6em; border-radius: 999px; background: #1a7f37; color: #fff; font-size: .9em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dms-section[data-now] .dms-when-now { display: inline-block; }
.dms-section[data-now] .dms-when { color: #1a7f37; }
.dms-t-elegant .dms-when, .dms-set .dms-when { justify-content: center; }
.dms-section[hidden] { display: none; }
.dms-nav-links a[hidden] { display: none; }

/* ---------- Language switch (Pro) ---------- */
.dms-langs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; margin: calc(var(--dms-pad) * -.45) 0 1em; font-family: var(--dms-sans); }
.dms-langs button { appearance: none; padding: .3em .75em; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--dms-muted); font: inherit; font-size: .78em; font-weight: 600; cursor: pointer; }
.dms-langs button:hover { border-color: var(--dms-line); color: var(--dms-ink); }
.dms-langs button[aria-pressed="true"] { border-color: var(--dms-line); background: color-mix(in srgb, var(--dms-ink) 6%, transparent); color: var(--dms-ink); }
.dms-lang[hidden] { display: none; }
.dms-langs + .dms-nav { margin-top: 0; }

/* ---------- Filter for guests ---------- */
.dms-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 clamp(20px, 4vw, 34px); font-family: var(--dms-sans); }
.dms-filter-label { color: var(--dms-muted); font-size: .8em; margin-right: 2px; }
.dms-chip { appearance: none; padding: .38em .85em; border: 1px solid var(--dms-line); border-radius: 999px; background: rgba(255, 255, 255, .6); color: var(--dms-ink); font: inherit; font-size: .8em; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.dms-chip:hover { border-color: var(--dms-accent); }
.dms-chip[aria-pressed="true"] { background: var(--dms-accent); border-color: var(--dms-accent); color: #fff; }
.dms-filter-none { flex-basis: 100%; margin: 4px 0 0; color: var(--dms-muted); font-size: .85em; }
.dms-item.is-out { display: none; }
.dms-section.is-empty { display: none; }

/* ---------- Legend ---------- */
.dms-legend { margin-top: clamp(28px, 5vw, 48px); padding-top: 1.1em; border-top: 1px solid var(--dms-line); font-family: var(--dms-sans); }
.dms-legend-title { margin: 0 0 .6em; color: var(--dms-muted); font-size: .72em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dms-legend dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .25em 1.4em; margin: 0; font-size: .82em; color: var(--dms-muted); }
.dms-legend dl > div { display: flex; gap: .55em; }
.dms-legend dt { min-width: 1.4em; color: var(--dms-accent); font-weight: 700; }
.dms-legend dd { margin: 0; }

@media (max-width: 520px) {
	.dms-photo { width: 66px; }
	.dms-photos-soft .dms-photo { width: 80px; }
	.dms-item { gap: 12px; }
}
/* Printing the website page: white paper, dark writing (also for the chalkboard), no filter, no split dishes.
   The print page of the studio (body.dmp) has its own rules in print.css. */
@media print {
	body:not(.dmp) .dms-menu { box-shadow: none; background: #fff; }
	body:not(.dmp) .dms-t-chalk { --dms-ink: #222; --dms-muted: #5c5c5c; --dms-line: rgba(0, 0, 0, .25); }
	body:not(.dmp) .dms-t-chalk .dms-section-title, body:not(.dmp) .dms-t-chalk .dms-codes, body:not(.dmp) .dms-t-chalk .dms-legend dt { color: var(--dms-accent); }
	body:not(.dmp) .dms-t-chalk .dms-mark { background: rgba(0, 0, 0, .07) !important; color: #444 !important; }
	.dms-filter, .dms-nav { display: none; }
	.dms-item { break-inside: avoid; }
	.dms-section-title { break-after: avoid; }
}

/* ---------- In a page builder's editor ---------- */
.dms-builder { position: relative; }
.dms-builder-edit { position: absolute; z-index: 5; top: 12px; right: 12px; padding: 7px 14px; border-radius: 999px; background: #1f1d1b; color: #fff !important; font: 600 13px/1.2 "Segoe UI", system-ui, sans-serif; text-decoration: none !important; opacity: 0; transition: opacity .15s; }
.dms-builder:hover .dms-builder-edit { opacity: 1; }
.dms-builder-empty { padding: 24px; border: 2px dashed #ddd4c7; border-radius: 12px; color: #6b665f; font: 14px/1.4 "Segoe UI", system-ui, sans-serif; text-align: center; }

/* The bar stays below WordPress' admin bar for logged-in people. */
.admin-bar .dms-nav { top: calc(32px + var(--dms-sticky-top, 0px)); }
@media (max-width: 782px) { .admin-bar .dms-nav { top: calc(46px + var(--dms-sticky-top, 0px)); } }
@media (max-width: 600px) { .admin-bar .dms-nav { top: var(--dms-sticky-top, 0px); } }

/* Wide and full width (block toolbar): the menu grows with its block. */
.dms-block.alignwide > .dms-menu, .dms-block.alignwide > .dms-multi .dms-menu { max-width: none; }
.dms-block.alignfull > .dms-menu, .dms-block.alignfull > .dms-multi .dms-menu { max-width: 1100px; }

/* ---------- Narrow menus (phones, sidebars): filter folded, search behind a magnifier ---------- */
.dms-menu { container-type: inline-size; }
.dms-filter-toggle, .dms-search-open { display: none; }
.dms-filter-chips { display: contents; }
@container (max-width: 560px) {
	.dms-filter-toggle { display: inline-flex; align-items: center; gap: .4em; appearance: none; padding: .38em .95em; border: 1px solid var(--dms-line); border-radius: 999px; background: rgba(255, 255, 255, .6); color: var(--dms-ink); font: inherit; font-size: .82em; font-weight: 600; cursor: pointer; }
	.dms-filter-toggle::after { content: ""; width: .45em; height: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.15em) rotate(45deg); transition: transform .15s; }
	.dms-filter.is-open .dms-filter-toggle::after { transform: translateY(.1em) rotate(-135deg); }
	.dms-filter-count { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 999px; background: var(--dms-accent); color: #fff; font-size: .8em; }
	.dms-filter-count[hidden] { display: none; }
	.dms-filter-chips { display: none; flex-basis: 100%; flex-wrap: wrap; gap: 8px; }
	.dms-filter.is-open .dms-filter-chips { display: flex; }
	.dms-filter-label { display: none; }
	.dms-search-open:not([hidden]) { display: grid; place-items: center; flex: none; width: 2.3em; height: 2.3em; padding: 0; border: 1px solid var(--dms-line); border-radius: 50%; background: color-mix(in srgb, #fff 55%, transparent); color: var(--dms-ink); cursor: pointer; }
	.dms-nav:not(.is-searching) .dms-search { display: none; }
	.dms-nav.is-searching .dms-nav-links, .dms-nav.is-searching .dms-search-open { display: none; }
	.dms-nav.is-searching .dms-search { flex: 1; }
	.dms-nav.is-searching .dms-search input, .dms-nav.is-searching .dms-search input:focus { width: 100%; }
	.dms-t-chalk .dms-filter-toggle, .dms-t-chalk .dms-search-open { background: rgba(255, 255, 255, .06); }
}
@container (max-width: 560px) {
	/* The price stays on the right, below the name when there is no room beside it. */
	.dms-head .dms-dots { flex: 1 1 12px; min-width: 12px; }
	.dms-head .dms-price { margin-left: auto; }
	.dms-item--featured { padding: .9em 1em; }
	.dms-item--featured .dms-photo, .dms-photos-soft .dms-item--featured .dms-photo { width: 86px; }
	.dms-item--featured .dms-name { font-size: 1.1em; }
}

/* ---------- Allergens as icons (the default) or short names ---------- */
.dms-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dms-codes--icons { gap: .22em; font-size: 1em; vertical-align: -.18em; opacity: 1; }
.dms-aicon { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%; background: color-mix(in srgb, var(--dms-accent) 11%, transparent); color: var(--dms-accent); cursor: help; }
.dms-aic { width: 1em; height: 1em; display: block; }
.dms-codes--names { gap: 0; font-size: .7em; font-weight: 600; letter-spacing: .02em; vertical-align: .1em; opacity: .9; }
.dms-codes--names abbr + abbr::before { content: ", "; }
.dms-chip .dms-aic { display: inline-block; width: 1.1em; height: 1.1em; margin-right: .35em; vertical-align: -.22em; }
.dms-legend dt .dms-aic { width: 1.25em; height: 1.25em; }
.dms-legend dt:has(.dms-aic) { display: grid; place-items: center; width: 1.7em; height: 1.7em; min-width: 0; border-radius: 50%; background: color-mix(in srgb, var(--dms-accent) 11%, transparent); }
.dms-t-chalk .dms-aicon, .dms-t-chalk .dms-legend dt:has(.dms-aic) { background: rgba(255, 255, 255, .1); color: color-mix(in srgb, var(--dms-accent) 40%, #fff); }
.dms-cur { font-size: .85em; opacity: .8; }

/* ---------- Details: a tap on a dish ---------- */
.dms-tappable { cursor: pointer; border-radius: 8px; outline-offset: 4px; }
.dms-tappable:focus-visible { outline: 2px solid var(--dms-accent); }
.dms-tappable .dms-name::after { content: "\203A"; display: inline-block; margin-left: .35em; color: var(--dms-muted); font-weight: 400; opacity: .55; transition: transform .15s, opacity .15s; }
.dms-tappable:hover .dms-name::after { opacity: 1; transform: translateX(2px); }
.dms-more[hidden] { display: none; }
.dms-detail { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; overflow: hidden; }
.dms-detail[open] { display: grid; place-items: center; }
.dms-detail::backdrop { background: rgba(24, 18, 12, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dms-menu.dms-dt-card { position: relative; width: min(560px, 100%); max-width: none; max-height: calc(100dvh - 32px); margin: 0; padding: 0; overflow: auto; overscroll-behavior: contain; border-radius: 16px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); animation: dms-dt-in .22s ease-out; }
@keyframes dms-dt-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.dms-dt-close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #2b2420; font: 400 26px/1 var(--dms-sans); cursor: pointer; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .45); }
.dms-dt-grip { display: none; }
.dms-dt-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dms-dt-photos::-webkit-scrollbar { display: none; }
.dms-dt-photos img { flex: none; display: block; width: 100%; height: auto; max-width: none; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.dms-dt-photos.is-many img { width: 88%; }
.dms-dt-photos.is-many img + img { margin-left: 4px; }
.dms-dt-body { padding: 20px 24px 22px; }
.dms-dt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.dms-dt-tags .dms-badge { position: static; }
.dms-dt-name { margin: 0 2.2em .2em 0; color: var(--dms-accent); font-family: var(--dms-head); font-size: 1.75em; font-weight: 400; line-height: 1.15; }
.dms-dt-photos + .dms-dt-body .dms-dt-name { margin-right: 0; }
.dms-dt-body > .dms-text { margin: .1em 0 .7em; font-size: 1em; }
.dms-dt-body > .dms-price { display: block; margin: .2em 0 .4em; font-size: 1.25em; }
.dms-dt-body > .dms-extras, .dms-dt-body > .dms-deposit { margin: .3em 0; font-size: .85em; }
.dms-dt-codes { margin: 1.1em 0 0; padding-top: .9em; border-top: 1px solid var(--dms-line); font-family: var(--dms-sans); }
.dms-dt-codes h3 { margin: 0 0 .5em; color: var(--dms-muted); font-size: .7em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dms-dt-codes ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .35em 1.2em; margin: 0; padding: 0; list-style: none; font-size: .88em; }
.dms-dt-codes li { display: flex; align-items: center; gap: .55em; }
.dms-dt-code { display: inline-grid; place-items: center; flex: none; min-width: 1.9em; height: 1.9em; padding: 0 .3em; border-radius: 999px; background: color-mix(in srgb, var(--dms-accent) 10%, transparent); color: var(--dms-accent); font-weight: 700; font-size: .85em; }
.dms-dt-code svg { width: 1.2em; height: 1.2em; }
.dms-dt-nav { display: flex; justify-content: space-between; margin-top: 1.3em; }
.dms-dt-step { width: 40px; height: 40px; border: 1px solid var(--dms-line); border-radius: 50%; background: transparent; color: var(--dms-ink); font: 400 22px/1 var(--dms-sans); cursor: pointer; }
.dms-dt-step:disabled { opacity: .3; cursor: default; }
.dms-dt-step:not(:disabled):hover { border-color: var(--dms-accent); color: var(--dms-accent); }
/* On the phone: a sheet from below, to swipe away. */
@media (max-width: 600px) {
	.dms-detail { padding: 0; }
	.dms-detail[open] { place-items: end stretch; }
	.dms-menu.dms-dt-card { width: 100%; max-height: 90dvh; border-radius: 18px 18px 0 0; animation: dms-dt-up .26s ease-out; touch-action: pan-y; }
	@keyframes dms-dt-up { from { transform: translateY(40%); opacity: .4; } }
	.dms-dt-grip { display: block; position: absolute; z-index: 2; top: 7px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 3px; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
	.dms-dt-body { padding: 18px 18px 26px; }
}
@media (prefers-reduced-motion: reduce) { .dms-menu.dms-dt-card { animation: none; } }
@media print { .dms-tappable .dms-name::after { content: none; } }

/* Prices without their sign: the currency below the menu. */
.dms-price-note { margin: clamp(18px, 3vw, 28px) 0 0; color: var(--dms-muted); font-family: var(--dms-sans); font-size: .76em; text-align: center; }
.dms-legend + .dms-price-note { margin-top: .9em; }

/* Two columns only where the menu has room for them – also on a wide screen in a narrow column or sidebar. */
@container (max-width: 520px) {
	.dms-cols-2 .dms-sections { columns: 1; }
}
