/* momo · V3 · copia de momo.pe (Wix), medidas tomadas a 1920 px el 29-oct-2026.
   Fondo celeste, todo en Arial cursiva guinda; pie guinda con letra celeste. */
:root { --azul: #A9BCCF; --guinda: #822536; --ancho: 1218px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--azul); }
body { background: var(--azul); color: var(--guinda); font: italic 16px/1.4 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 16px; top: 16px; background: var(--guinda); color: var(--azul); padding: 8px 12px; z-index: 10; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--guinda); outline-offset: 3px; }

/* cabecera: logo a la izquierda, un enlace a la derecha */
.cab { width: min(var(--ancho), 100% - 32px); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; padding-top: 26px; height: 260px; }
.logo { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; }
.logo img { width: 72px; }
.logo-h1 { margin: 0; font-size: inherit; line-height: 0; }
.cab-link { margin-right: 43px; margin-top: 37px; text-decoration: underline; text-underline-offset: 2px; padding: 12px 0; margin-bottom: -12px; position: relative; top: -12px; }

/* home */
.hero { text-align: center; }
.hero img { width: 304px; aspect-ratio: 4 / 5; object-fit: cover; margin: 0 auto 29px; }
.hero p + p { margin-top: 22px; }
.hero a { text-decoration: underline; text-underline-offset: 2px; display: inline-block; padding: 11px 0; margin: -11px 0; }
.sobre { width: 579px; margin: 306px auto 0; position: relative; left: -4px; display: grid; grid-template-columns: 254px 224px; justify-content: space-between; align-items: start; }
.sobre-txt { margin-top: 145px; }
.sobre img { width: 224px; aspect-ratio: 224 / 276; object-fit: cover; }
.mas { margin-top: 65px; font-size: 14px; }
.mas a { display: inline-block; padding: 13px 0; margin: -13px 0; text-decoration: underline; }
.horario { text-align: center; margin: 288px auto 0; padding-bottom: 350px; }

/* páginas de texto: una columna centrada de 523 px */
.texto { width: min(523px, 100% - 32px); margin: 0 auto; padding-bottom: 260px; text-align: center; font-size: 12px; line-height: 1.4; }
.texto h1, .texto .h-bebidas { font: normal 700 13px/1.4 Arial, Helvetica, sans-serif; margin-bottom: 52px; }
.texto .h-bebidas { margin-top: 84px; }
.texto section h2, .texto section h3 { font: normal 700 12px/1.4 Arial, Helvetica, sans-serif; }
.texto section { margin-top: 39px; }
.texto ul { list-style: none; }
.texto li b { font-weight: 700; }
.indice { font-weight: 700; margin-bottom: 52px; }
.indice a { text-decoration: underline; }
#contenido.texto > p:not(.indice) { text-align: left; margin-bottom: 17px; }
.texto .firma { margin-top: 34px; }
.texto section p { margin-top: 4px; }
.pronto { opacity: .75; }
.texto section[id] { scroll-margin-top: 24px; }

/* pie guinda */
.pie { background: var(--guinda); color: var(--azul); height: 500px; position: relative; font-size: 15px; }
.pie a { color: var(--azul); }
.dir { position: absolute; top: 120px; left: max(16px, 50% - 482px); }
.dir a { text-decoration: underline; display: inline-block; padding: 12px 0; margin: -12px 0; }
.pie-nav { position: absolute; bottom: 41px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 14px; word-spacing: 2px; }
.pie-nav a { text-decoration: none; display: inline-block; padding: 13px 2px; }
.pie-nav a:hover, .dir a:hover { text-decoration: underline; }

/* móvil: misma página apilada.
   21-nov-2026 (Vincenzo: «igual que la de Wix» y 0,4 cm más de margen por lado): margen de 40 px
   (16 + ~24 px, que son 0,4 cm en la pantalla de un iPhone; Wix usa 41 px). Portada en el orden y los
   tamaños del móvil de Wix: foto 177 px, texto en columna estrecha a la izquierda y después la foto 2 a la
   derecha. La carta NO copia la letra de 7 px de Wix: se queda legible. */
@media (max-width: 760px) {
  .cab { width: calc(100% - 80px); height: auto; padding-bottom: 72px; }
  .logo { width: auto; justify-content: flex-start; }
  .cab-link { margin-right: 0; }
  .hero img { width: min(177px, 100%); }
  .sobre { width: auto; margin: 120px 40px 0; left: 0; grid-template-columns: 1fr; gap: 80px; justify-items: start; }
  .sobre-txt { margin-top: 0; max-width: 228px; }
  .sobre img { width: 177px; justify-self: end; }
  .horario { margin-top: 120px; padding: 0 40px 160px; }
  .texto { width: calc(100% - 80px); padding-bottom: 160px; }
  .pie { height: 340px; }
  .dir { top: 64px; left: 40px; }
  .pie-nav { bottom: 56px; padding: 0 40px; text-wrap: balance; }
  .pie-legal { position: absolute; bottom: 18px; left: 40px; right: 40px; margin: 0; text-align: center; }
  .pie-legal a { display: inline-block; padding: 6px 2px; }
}
.cab + .texto { margin-top: -30px; }

/* artículos del blog: misma columna, texto a la izquierda para leer de corrido */
.texto section h2 a { text-decoration: none; }
.texto section h2 a:hover { text-decoration: underline; }
.post { text-align: left; font-size: 14px; line-height: 1.55; }
.post h1 { text-align: center; margin-bottom: 12px; }
.post .fecha { text-align: center; margin-bottom: 52px; }
.post h2 { font: normal 700 13px/1.4 Arial, Helvetica, sans-serif; margin: 40px 0 14px; }
.post p { margin-bottom: 14px; }
.post dl { margin-bottom: 14px; }
.post dt { font-weight: 700; margin-top: 10px; }
.post a { text-decoration: underline; }
.post table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.post th, .post td { text-align: left; padding: 6px 8px 6px 0; border-bottom: 1px solid rgb(130 37 54 / .35); vertical-align: top; }

/* carta un 15 % más grande (Vincenzo, 29-oct): 12 → 13,8 px y el título 13 → 15 px */
.carta { font-size: 13.8px; }
.carta h1, .carta .h-bebidas { font-size: 15px; }
.carta section h2, .carta section h3 { font-size: 13.8px; }

/* índices de la carta: lista con « / » entre secciones (el CMS genera las secciones; antes eran texto fijo) */
ul.indice { list-style: none; }
ul.indice li { display: inline; }
ul.indice li + li::before { content: " / "; font-weight: 700; }

/* LEYENDA de alérgenos (Vincenzo, 29-oct): escondida; al abrirla salen la lista y las marcas de cada plato */
.leyenda { margin: -30px 0 40px; }
.leyenda summary { display: inline-block; list-style: none; cursor: pointer; font-weight: 700; text-decoration: underline; padding: 13px 4px; }
.leyenda summary::-webkit-details-marker { display: none; }
.al-lista { list-style: none; counter-reset: al; margin-top: 4px; }
.al-lista li { counter-increment: al; display: inline-block; margin: 0 7px; white-space: nowrap; }
.al-lista li::before { content: counter(al) " "; font-weight: 700; }
.al-m { display: none; }
main:has(.leyenda[open]) .al-m { display: inline; }
.al-m::before { content: " · "; }
.al::before { font-weight: 700; }
.al:not(:last-child)::after { content: ","; }
.al-gluten::before { content: "1"; } .al-crustaceos::before { content: "2"; } .al-huevos::before { content: "3"; }
.al-pescado::before { content: "4"; } .al-cacahuetes::before { content: "5"; } .al-soja::before { content: "6"; }
.al-lacteos::before { content: "7"; } .al-frutos_cascara::before { content: "8"; } .al-apio::before { content: "9"; }
.al-mostaza::before { content: "10"; } .al-sesamo::before { content: "11"; } .al-sulfitos::before { content: "12"; }
.al-altramuces::before { content: "13"; } .al-moluscos::before { content: "14"; }

/* enlaces legales del pie: discretos, mismo color del pie (12-nov-2026) */
.pie-legal { font-size: 11px; opacity: .75; margin-top: 1.2em; }
.pie-legal a { color: inherit; }
