/* Menú rediseñado (encima de menu.css): fondo negro, títulos en serif, tarjetas con foto
   en arco y precios claros. Cambia solo el aspecto; el HTML y los scripts son los mismos. */
:root { --mx-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif; --mx-red: #E62026; --mx-cream: #EFE6D8; --mx-line: rgba(245, 243, 238, .16); --mx-ease: cubic-bezier(.22, .8, .2, 1); }

/* Portada */
.menu-hero { padding: clamp(40px, 6vw, 72px) 0 0; background: #0b0b0b; color: #F5F3EE; }
.menu-hero-media { background: linear-gradient(90deg, rgba(11, 11, 11, .97) 0%, rgba(11, 11, 11, .86) 45%, rgba(11, 11, 11, .45) 100%), url("/static/core/img/platillos/platillos.webp") right center / cover no-repeat; transform: none; filter: none; }
.menu-hero-inner { max-width: 1200px; }
.menu-hero-title { margin: 0 0 10px; font-family: var(--mx-serif); font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 700; letter-spacing: -.02em; line-height: .9; text-shadow: none; text-transform: none; }
.menu-hero-sub { display: block; max-width: 56ch; margin: 0 0 26px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; text-shadow: none; color: rgba(245, 243, 238, .78); font-size: 1rem; }

/* Pestañas (se quedan fijas debajo de la barra al bajar) */
.menu-tabs { gap: 8px; padding: 14px 0 16px; position: relative; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab { flex-shrink: 0; height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--mx-line); background: transparent; color: #F5F3EE; font-size: .78rem; font-weight: 700; letter-spacing: .1em; transition: background .25s var(--mx-ease), color .25s, border-color .25s; }
.menu-tab:hover { border-color: #F5F3EE; }
.menu-tab.is-active { background: #F5F3EE; color: #111; border-color: #F5F3EE; }

/* Página */
.menu-page { background: #E3D1BD; color: #221a14; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.menu-section-title { margin: 0; font-family: var(--mx-serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.01em; text-transform: none; color: #221a14; }
.menu-subsection-title { margin: clamp(28px, 4vw, 44px) 0 18px; padding: 0; border: 0; font-family: var(--mx-serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; font-style: italic; letter-spacing: 0; text-transform: none; color: #3a2d24; }
.menu-subsection-title::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--mx-red); }
.menu-main .menu-grid { gap: clamp(22px, 2.6vw, 34px) clamp(12px, 1.6vw, 22px); }

/* Tarjeta de producto */
.p-card { display: flex; flex-direction: column; border-radius: 0; background: transparent; }
.p-card:hover { transform: none; }
.p-photo { order: 1; aspect-ratio: 1 / 1; display: grid; place-items: center; border-radius: 32px; background: radial-gradient(circle at 50% 56%, rgba(255, 255, 255, .62) 0%, rgba(255, 255, 255, .34) 62%, rgba(255, 255, 255, .2) 100%); transition: border-radius .55s var(--mx-ease); }
.p-card:hover .p-photo { border-radius: 50% 50% 32px 32px / 38% 38% 32px 32px; }
.p-photo img { width: 94%; height: auto; max-height: 94%; filter: drop-shadow(0 18px 18px rgba(58, 38, 24, .38)); transition: transform .6s var(--mx-ease); }
.p-card:hover .p-photo img { transform: scale(1.06) rotate(-2deg); }
.p-name { order: 2; margin: 14px 0 0; padding: 0 2px; font-family: var(--mx-serif); font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.05; color: #221a14; }
.p-prices { order: 3; padding: 10px 0 0; gap: 6px; }
.p-card .p-price-row { padding: 0 2px; border: 0; background: transparent; border-radius: 0; gap: 10px; }
.p-card .p-label { color: rgba(34, 26, 20, .65); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; }
.p-card .p-price { color: #221a14; font-family: var(--mx-serif); font-size: 1.35rem; font-weight: 600; }
.p-card .p-2x1 { border: 0; background: transparent; }
.p-card .p-2x1 .p-label { color: #B9161B; }
.p-card .p-2x1 .p-price { color: #B9161B; }
.p-modal-hint { text-align: left; padding: 0 2px; color: rgba(34, 26, 20, .55); font-size: .66rem; }
.p-card:focus-visible { outline: 2px solid var(--mx-red); outline-offset: 6px; border-radius: 12px; }

/* Columna lateral */
.menu-search input { padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(34, 26, 20, .25); color: #221a14; }
.menu-search input::placeholder { color: rgba(34, 26, 20, .55); opacity: 1; }
.menu-search input:focus { outline: 0; border-color: var(--mx-red); box-shadow: 0 0 0 3px rgba(230, 32, 38, .22); }
.menu-search button { border-radius: 999px; background: var(--mx-red); }
.menu-side-block { border-radius: 20px; border: 1px solid rgba(34, 26, 20, .18); background: rgba(255, 255, 255, .4); box-shadow: none; }
.menu-side-title { font-family: var(--mx-serif); font-size: 1.3rem; letter-spacing: 0; text-transform: none; color: #221a14; }
.menu-side-links a { color: rgba(34, 26, 20, .75); transition: color .2s; }
.menu-side-links a:hover { color: #B9161B; }
.menu-empty-state { color: rgba(34, 26, 20, .75); border-color: rgba(34, 26, 20, .25); }

@media (max-width: 600px) {
  .menu-main .menu-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .p-photo { border-radius: 24px; }
  .p-name { font-size: 1.2rem; }
  .p-price { font-size: 1.15rem; }
  .p-modal-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .p-photo, .p-photo img, .menu-tab { transition: none; } }

/* Detalle del producto (modal oscuro): fondo más sólido y el 2x1 bien distinguible del precio normal */
.modal .modal-dialog { background: rgba(17, 17, 17, .95); border: 1px solid rgba(245, 243, 238, .18); }
.modal .modal-price-row { align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(245, 243, 238, .08); }
.modal .modal-price-row .p-label { color: rgba(245, 243, 238, .78); font-size: .78rem; letter-spacing: .12em; }
.modal .modal-price-row .p-price { color: #F5F3EE; font-family: var(--mx-serif); font-size: 1.6rem; font-weight: 600; }
.modal .modal-price-row.p-2x1 { background: #E62026; box-shadow: 0 8px 22px rgba(230, 32, 38, .35); }
.modal .modal-price-row.p-2x1 .p-label { color: #fff; font-weight: 800; }
.modal .modal-price-row.p-2x1 .p-price { color: #fff; font-size: 1.8rem; font-weight: 700; }
