/* 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: .08em .5em; border-radius: 999px; background: rgba(0, 0, 0, .06); color: var(--dms-muted); font-family: var(--dms-sans); font-size: .6em; 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; }
/* The price comes first in the markup (for the narrow layout below); on a wide menu it ends the line, after the
   dotted leader. The recommendation's second price (its corner on a narrow menu) is not shown here. */
.dms-head > .dms-dots { order: 2; }
.dms-head > .dms-price { order: 3; }
.dms-price--corner { display: none; }
.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%); }
/* The part of a photo its dish shows: a frame of the photo's shape, the photo moved and enlarged inside it. --dms-fx
   and --dms-fy are the point of the photo that stays in place, --dms-fz how much it is enlarged. */
.dms-photo-clip { display: block; width: 100%; aspect-ratio: inherit; overflow: hidden; border-radius: inherit; }
.dms-photo-clip > .dms-photo-img { border-radius: 0; object-position: var(--dms-fx, 50%) var(--dms-fy, 50%); transform-origin: var(--dms-fx, 50%) var(--dms-fy, 50%); transform: scale(var(--dms-fz, 1)); }
.dms-photos-plate .dms-photo-clip { border-radius: 50%; }
.dms-photos-plate .dms-photo-clip > .dms-photo-img { border-radius: 0; }
.dms-photos-soft .dms-photo-clip { 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%); }
.dms-photos-soft .dms-photo-clip > .dms-photo-img { border-radius: 0; -webkit-mask-image: none; mask-image: none; }
/* Where the photo stands. "Below the name" and "At the right": the line with name and price runs across the whole
   width and the photo stands below it, so dishes with and without a photo start at the same edge. The body's
   children become cells of the dish's own grid (the photo stays where it is in the markup). */
.dms-photopos-under .dms-item.has-photo, .dms-photopos-right .dms-item.has-photo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 .95em; }
.dms-photopos-right .dms-item.has-photo { grid-template-columns: minmax(0, 1fr) auto; }
.dms-photopos-under .has-photo > .dms-item-body, .dms-photopos-right .has-photo > .dms-item-body { display: contents; }
.dms-photopos-under .has-photo > .dms-item-body > *, .dms-photopos-right .has-photo > .dms-item-body > * { grid-column: 2; min-width: 0; }
.dms-photopos-right .has-photo > .dms-item-body > * { grid-column: 1; }
.dms-photopos-under .has-photo > .dms-item-body > .dms-head, .dms-photopos-right .has-photo > .dms-item-body > .dms-head { grid-column: 1 / -1; grid-row: 1; }
.dms-photopos-under .has-photo > .dms-photo, .dms-photopos-right .has-photo > .dms-photo { grid-column: 1; grid-row: 2 / span 8; align-self: start; margin-top: .45em; }
.dms-photopos-right .has-photo > .dms-photo { grid-column: 2; }
.dms-photopos-under .dms-item--featured.has-photo, .dms-photopos-right .dms-item--featured.has-photo { align-items: start; }
/* 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-inline-end: .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: #cbcec5; --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 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", "Dms Script", "Courier New", serif; --dms-body: var(--dms-sans); border-radius: 2px; }
/* Brown paper: long fibres, specks, lighter clouds, darker towards the edges. */
.dms-t-kraft { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='260'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05 .8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .23 0 0 0 0 .1 .45 0 0 0 -.17'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .19 0 0 0 0 .08 .6 0 0 0 -.22'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .96 0 0 0 0 .86 .7 0 0 0 -.26'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(150% 120% at 50% 45%, transparent 60%, rgba(96, 62, 24, .16)), 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-top); 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-top) + var(--dms-nav-h, 48px) + var(--dms-filter-h, 0px) + 16px); }
.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", "Dms Script", "Courier New", serif; --dms-body: Georgia, "Times New Roman", serif; }
.dms-f-typewriter { --dms-head: "American Typewriter", "Courier Prime", "Dms Script", "Courier New", Courier, monospace; --dms-body: "American Typewriter", "Courier Prime", "Dms Script", "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: .72; }
/* "Like the website" has no paper colour of its own (transparent): the note takes the theme's background instead. */
.dms-t-site .dms-soldout { color: var(--dms-site-paper, #fff); }
.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; inset-inline-start: 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: start; 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); }
/* On the dark board the accent in chalk: lighter, as the section titles. */
.dms-t-chalk .dms-course span, .dms-t-chalk .dms-set-price, .dms-t-chalk .dms-dt-name { color: color-mix(in srgb, var(--dms-accent) 45%, #fff); }

/* ---------- 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 ---------- */
/* Where the bar sticks (--dms-sticky-top: below a fixed header of the theme). */
.dms-menu { --dms-top: var(--dms-sticky-top, 0px); }
.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-inline-end: 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; }
/* Allergens not stated: the line shows only while a guest filters "without …" (the dish then still shows). */
.dms-unstated { display: none; margin: .25em 0 0; color: var(--dms-muted); font-family: var(--dms-sans); font-size: .74em; font-style: italic; }
.dms-menu.is-without .dms-item--unstated .dms-unstated, .dms-dt-body > .dms-unstated { display: block; }
.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, body:not(.dmp) .dms-t-chalk .dms-course span, body:not(.dmp) .dms-t-chalk .dms-set-price { 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; inset-inline-end: 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-menu { --dms-top: calc(32px + var(--dms-sticky-top, 0px)); }
@media (max-width: 782px) { .admin-bar .dms-menu { --dms-top: calc(46px + var(--dms-sticky-top, 0px)); } }
@media (max-width: 600px) { .admin-bar .dms-menu { --dms-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) {
	/* Narrow (a phone, a narrow column): the text flows around the photo and on below it. The price stands at the
	   right of the name's first line – only that line gives way to it, the name keeps the width. Icons and marks
	   run on after the name. Several sizes get a line of their own; the recommendation has its price in the
	   bottom right corner. */
	.dms-item { display: block; }
	.dms-item::after { content: ""; display: block; clear: both; }
	.dms-item > .dms-photo, .dms-photos-soft .dms-item > .dms-photo { float: inline-start; width: 70px; margin-block: .1em .35em; margin-inline: 0 .85em; }
	.dms-photopos-under .has-photo > .dms-photo, .dms-photopos-right .has-photo > .dms-photo { float: none; margin: .45em 0 0; }
	.dms-photos-soft .dms-item > .dms-photo { width: 84px; }
	.dms-head { display: block; }
	.dms-head > .dms-dots { display: none; }
	.dms-head > .dms-price { float: inline-end; margin-block: .05em .1em; margin-inline: .5em 0; }
	.dms-head > .dms-price--multi { float: none; display: block; margin: .25em 0 0; text-align: end; }
	.dms-head > .dms-name { display: inline; }
	.dms-head > .dms-codes { display: inline-flex; margin-inline-start: .3em; }
	.dms-head > .dms-mark, .dms-head > .dms-soldout { margin-inline-start: .25em; }
	.dms-text { margin-top: .3em; }
	.dms-item--featured { padding: 1.3em 1em .9em; }
	.dms-item--featured > .dms-photo, .dms-photos-soft .dms-item--featured > .dms-photo { width: 64px; }
	.dms-item--featured .dms-name { font-size: 1.02em; }
	.has-corner .dms-head > .dms-price { display: none; }
	.has-corner .dms-price--corner { display: inline; float: inline-end; margin: 0; margin-inline-start: .7em; color: var(--dms-ink); font-family: var(--dms-body, inherit); font-size: 1.1em; font-style: normal; font-weight: 400; }
	.has-corner .dms-extras { align-items: baseline; }
	.has-corner .dms-extras .dms-price--corner { float: none; margin-inline-start: auto; font-size: 1.31em; }
}

/* ---------- 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: .16em; font-size: 1em; vertical-align: -.04em; opacity: 1; }
.dms-aicon { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 50%; background: color-mix(in srgb, var(--dms-accent) 11%, transparent); color: var(--dms-accent); cursor: help; }
.dms-aic { width: .7em; height: .7em; display: block; }
/* With a mouse: the icon under it grows, so a small one is easy to make out (its name shows as the tooltip). On a
   phone a tap opens the dish with its allergens written out. */
@media (hover: hover) {
	.dms-aicon { position: relative; transition: transform .15s ease, box-shadow .15s ease; }
	.dms-aicon:hover { z-index: 2; transform: scale(1.7); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) { .dms-aicon { transition: none; } }
.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-inline-end: .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-inline-start: .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); }
/* Right to left: the browser mirrors the arrow itself; on hover it only moves the other way. */
[dir="rtl"] .dms-tappable:hover .dms-name::after { 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; inset-inline-end: 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-inline-start: 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 0 .2em; margin-inline-end: 2.2em; 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-inline-end: 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; }
}

/* ==========================================================================
   Tiles: the dishes of a section side by side, each with a large photo on top (Look → "Dishes shown as").
   For menus that live from their pictures. A set menu stays a list. The photo is a rectangle here, whatever the
   photo style says; the part of it a dish shows (--dms-fx …) applies as in the list. A dish without a photo is no
   tile: those follow below the tiles of their section, as the plain lines of a list.
   ========================================================================== */
.dms-layout-tiles .dms-section:not(.dms-set) > .dms-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1.7em 1.4em; align-items: start; }
.dms-layout-tiles .dms-section:not(.dms-set) .dms-item.has-photo { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .7em; min-width: 0; text-align: start; }
.dms-layout-tiles .dms-section:not(.dms-set) .dms-item.has-photo::after { content: none; }
.dms-layout-tiles .dms-section:not(.dms-set) .dms-item:not(.has-photo) { grid-column: 1 / -1; order: 1; margin-bottom: -.75em; }
.dms-layout-tiles .dms-section:not(.dms-set) .dms-item > .dms-photo { float: none; width: 100%; margin: 0; padding: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: none; box-shadow: 0 12px 22px -16px rgba(60, 40, 20, .55), 0 0 0 1px rgba(0, 0, 0, .05); }
.dms-layout-tiles .dms-section:not(.dms-set) .dms-photo-img { width: 100%; border-radius: 0; -webkit-mask-image: none; mask-image: none; }
.dms-layout-tiles .dms-section:not(.dms-set) .dms-photo-clip { height: 100%; border-radius: 0; -webkit-mask-image: none; mask-image: none; }
.dms-layout-tiles .dms-section:not(.dms-set) .has-photo > .dms-item-body { flex: none; }
/* Under a photo the text carries more weight than in a line of the list, and the price always stands in the same
   place: below the name. */
.dms-layout-tiles .dms-section:not(.dms-set) .has-photo .dms-head { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: .12em; }
.dms-layout-tiles .dms-section:not(.dms-set) .has-photo .dms-name { font-size: 1.24em; }
.dms-layout-tiles .dms-section:not(.dms-set) .has-photo .dms-head > .dms-dots { display: none; }
.dms-layout-tiles .dms-section:not(.dms-set) .has-photo .dms-head > .dms-price { font-size: 1.08em; font-weight: 600; white-space: normal; }
.dms-layout-tiles .dms-section:not(.dms-set) .has-photo .dms-text { margin-top: .35em; font-size: 1em; }
.dms-layout-tiles .dms-item--featured { margin: 0; }
@container (max-width: 560px) {
	/* On a phone two tiles fit side by side. */
	.dms-layout-tiles .dms-section:not(.dms-set) > .dms-items { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 1.3em .9em; }
	.dms-layout-tiles .dms-section:not(.dms-set) .has-photo .dms-name { font-size: 1.1em; }
	.dms-layout-tiles .dms-section:not(.dms-set) .has-photo .dms-text { font-size: .95em; }
}

/* Under a menu with example photos (studio: "Example photos"). */
.dms-sample-note { margin: 1.6em 0 0; color: var(--dms-muted); font-family: var(--dms-sans); font-size: .78em; text-align: center; }
/* On wide menus the filter stays in sight too, right below the bar, as one piece with it. */
@container (min-width: 561px) {
	.dms-nav:has(+ .dms-filter:not([hidden])) { margin-bottom: 0; border-bottom-color: transparent; }
	:where(.dms-nav) + .dms-filter { position: sticky; top: calc(var(--dms-top) + var(--dms-nav-h, 0px)); z-index: 3; margin: 0 calc(var(--dms-pad) * -1) clamp(18px, 3vw, 28px); padding: 2px var(--dms-pad) 10px; 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); }
}
/* Right to left: Arabic and Persian letters join; spacing between letters would tear the words apart. */
[dir="rtl"] .dms-menu, [dir="rtl"] .dms-menu * { letter-spacing: normal !important; }
/* Arabic, Persian and Hebrew letters in the typewriter and slab fonts: without this they would fall to
   Courier New, a typewriter font in which joined letters stand apart. Latin letters never use it. */
@font-face { font-family: "Dms Script"; src: local("Segoe UI"), local("Tahoma"), local("Geeza Pro"), local("Noto Naskh Arabic"), local("Noto Sans Arabic"), local("Arial"); unicode-range: U+0590-05FF, U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB1D-FB4F, U+FB50-FDFF, U+FE70-FEFF; }
