/* Decimo – Menu giorno (shortcode [menu_giorno]). Colori e misure personalizzabili con le variabili. */
.dmp-menu {
	--dmp-accent: #a3221b;
	--dmp-text: inherit;
	--dmp-muted: #6b6b6b;
	--dmp-line: #e3cfcc;
	--dmp-soft: #f6efe9;
	max-width: 46rem;
	margin-inline: auto;
	color: var(--dmp-text);
	text-align: center;
	font-size: 1.0625rem;
	line-height: 1.6;
}
.dmp-menu *, .dmp-menu *::before, .dmp-menu *::after { box-sizing: border-box; }
.dmp-menu :where(p, ul, ol, li) { margin: 0; padding: 0; }

/* marchio */
.dmp-menu__brand { margin-bottom: .6rem; font-size: .9375rem; font-weight: 800; letter-spacing: .2em; line-height: 1.4; }
.dmp-menu__brand--logo { margin-bottom: 1rem; line-height: 0; }
.dmp-menu__brand--logo a, .dmp-menu__brand--logo a:hover { display: inline-block; border-bottom: 0; }
/* Selettore rinforzato: il CSS di Elementor/tema (".elementor img { height: auto }") non deve vincere. */
.dmp-menu .dmp-menu__brand.dmp-menu__brand--logo img {
	display: block; width: auto; height: auto;
	max-height: var(--dmp-logo-h, 44px); max-width: 100%; /* riduzione proporzionale su schermi stretti */
}
.dmp-menu__brand a { color: var(--dmp-accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.dmp-menu__brand a:hover { border-bottom-color: currentColor; }
.dmp-menu__brand a:focus-visible { outline: 2px solid var(--dmp-accent); outline-offset: 3px; border-radius: 2px; }

/* intestazione */
.dmp-menu__head { margin-bottom: 2rem; }
.dmp-menu__title {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: .35rem .9rem; margin: 0;
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); line-height: 1.1;
	text-transform: uppercase;
}
.dmp-menu__price {
	display: inline-block; padding: .2em .75em;
	background: var(--dmp-accent); color: #fff; border-radius: 999px;
	font-size: .62em; line-height: 1.2; white-space: nowrap; letter-spacing: .01em;
}
.dmp-menu__date { margin-top: .5rem; font-size: 1.1875rem; font-weight: 600; }
.dmp-menu__notice {
	margin-top: 1.25rem; padding: .7rem 1rem;
	border-block: 2px solid currentColor;
	font-size: .9375rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}

/* capitoli */
.dmp-menu__chapter { margin-top: 1.75rem; }
.dmp-menu__chapter-title,
.dmp-menu__allergens-title {
	display: flex; align-items: center; gap: 1rem;
	margin: 0 0 .6rem;
	font-size: 1.125rem; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase;
	color: var(--dmp-accent);
}
.dmp-menu__chapter-title::before, .dmp-menu__chapter-title::after,
.dmp-menu__allergens-title::before, .dmp-menu__allergens-title::after {
	content: ""; flex: 1; height: 1px; background: var(--dmp-line);
}
.dmp-menu__list { list-style: none; }
.dmp-menu__list li { padding: .2rem 0; }
.dmp-menu--upper .dmp-menu__dish { text-transform: uppercase; letter-spacing: .03em; }
/* "comprensivo di contorno": riga attaccata al piatto, più piccola e in corsivo */
.dmp-menu__side { display: block; margin-top: -.15rem; font-size: .9375rem; font-style: italic; line-height: 1.35; color: var(--dmp-muted); }
.dmp-menu--upper .dmp-menu__side { text-transform: uppercase; letter-spacing: .03em; }
.dmp-menu__alg { margin-left: .25rem; font-size: .875rem; color: var(--dmp-muted); white-space: nowrap; }
.dmp-menu__item-price { margin-left: .35rem; font-weight: 700; white-space: nowrap; }

/* chiusura */
.dmp-menu__special {
	margin-top: 2.25rem; padding: .8rem 1.2rem; border-radius: .6rem;
	background: var(--dmp-soft); font-weight: 700; font-style: italic;
}
.dmp-menu__note { margin-top: 1rem; font-size: .9375rem; color: var(--dmp-muted); }

/* legenda allergeni */
.dmp-menu__allergens { margin-top: 2.25rem; text-align: left; }
.dmp-menu__allergens-title { font-size: 1rem; }
.dmp-menu__allergens ol {
	list-style: none; columns: 2; column-gap: 2rem;
	font-size: .875rem; line-height: 1.45; color: var(--dmp-muted);
}
.dmp-menu__allergens li { display: grid; grid-template-columns: 1.9rem 1fr; break-inside: avoid; padding: .15rem 0; }
.dmp-menu__allergens b { color: var(--dmp-accent); }

.dmp-menu--empty p { padding: 1.5rem; border-radius: .6rem; background: var(--dmp-soft); font-weight: 600; }

.dmp-menu .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

@media (max-width: 600px) {
	.dmp-menu__allergens ol { columns: 1; }
	.dmp-menu__chapter-title, .dmp-menu__allergens-title { gap: .6rem; letter-spacing: .12em; }
}
