/* La carta conserva su lista; las fotografías solo se abren al pedirlas. */
.dish-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 0; border: 0; background: none; color: inherit;
  text-align: left; cursor: pointer;
}
.dish-trigger > .menu-name { min-width: 0; }
.dish-trigger-cue { flex-shrink: 0; color: var(--secundario); font-size: 0.75rem; font-weight: normal; }
.dish-trigger-cue::after { content: ' ↗'; color: var(--rojo-claro); }
.dish-trigger:hover .menu-name { color: #eea4aa; }
.dish-trigger:hover .dish-trigger-cue { color: var(--texto); }
.dish-trigger:focus-visible, .dish-close:focus-visible,
.dish-hotspot:focus-visible, .dish-point-link:focus-visible, .dish-photo-choice:focus-visible {
  outline: 2px solid #f1858e; outline-offset: 4px; border-radius: 4px;
}
.dish-dialog {
  margin: auto; padding: 0; width: min(1060px, 94vw); max-height: 92dvh;
  color: var(--texto); background: var(--fondo-alterno);
  border: 1px solid #805057; border-radius: 12px; overscroll-behavior: contain;
}
.dish-dialog::backdrop { background: #080505e8; }
.dish-dialog-head {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 20px; padding: 22px 26px;
  background: var(--fondo-alterno); border-bottom: 1px solid #ffffff20;
}
.dish-category { color: var(--secundario); font-size: 0.75rem; margin-bottom: 6px; }
.dish-dialog h2 { font: normal clamp(24px, 3.5vw, 34px)/1.2 Georgia, serif; overflow-wrap: anywhere; }
.dish-close {
  flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #ffffff40;
  border-radius: 50%; background: transparent; color: var(--texto); font-size: 1.75rem; cursor: pointer;
}
.dish-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.dish-layout--text { grid-template-columns: minmax(0, 1fr); }
.dish-figure { min-width: 0; padding: 24px; margin: 0; background: #151313; }
.dish-photo-pane { display: flex; justify-content: center; align-items: center; min-height: 100px; }
.dish-photo-stage { position: relative; min-width: 0; max-width: 100%; }
.dish-photo {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 58dvh;
  border-radius: 6px;
}
.dish-photo-status { color: var(--secundario); font-size: 0.875rem; padding: 20px 0; }
.dish-photo-navigation { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.dish-photo-choice {
  min-height: 44px; padding: 8px 18px; border: 1px solid #a9535a; border-radius: 5px;
  color: var(--texto); background: transparent; cursor: pointer;
}
.dish-photo-choice[aria-pressed="true"] { background: var(--rojo); border-color: var(--rojo); }
.dish-hotspots { position: absolute; inset: 0; }
.dish-hotspot {
  position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px;
  display: grid; place-items: center; padding: 0; border: 0;
  background: transparent; color: white; cursor: pointer;
}
.dish-hotspot span {
  display: grid; place-items: center; width: 29px; height: 29px;
  background: #8c1722; border: 2px solid white; border-radius: 50%;
  box-shadow: 0 1px 9px #000b; font-size: 0.8125rem; font-weight: bold;
}
.dish-hotspot[aria-pressed="true"] span { background: #f5f1eb; color: #70121a; border-color: #8c1722; }
.dish-caption { min-height: 82px; padding-top: 18px; font-size: 0.875rem; color: var(--secundario); }
.dish-caption strong { display: block; margin-bottom: 4px; color: var(--texto); font-size: 1rem; }
.dish-details { min-width: 0; padding: 26px; }
.dish-details > p { color: var(--secundario); margin-bottom: 20px; }
.dish-details h3 { font: normal 25px Georgia, serif; margin-bottom: 10px; }
.dish-point-list { list-style: none; margin-bottom: 24px; }
.dish-point-link {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0;
  border: 0; border-bottom: 1px solid #ffffff20; background: transparent;
  color: var(--texto); text-align: left; cursor: pointer;
}
.dish-point-link > span:first-child {
  display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px;
  border: 1px solid #a9535a; border-radius: 50%; color: #f0b1b6; font-size: 0.8125rem;
}
.dish-point-link[aria-pressed="true"] { color: #f0b1b6; }
.dish-point-link[aria-pressed="true"] > span:first-child { background: var(--rojo); color: white; }
.dish-photo-note { padding: 18px; border: 1px dashed #805057; border-radius: 6px; }
.dish-allergen-info { margin-bottom: 24px; }
.dish-allergen-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.dish-allergen-list li { padding: 5px 10px; border: 1px solid #8b5056; border-radius: 5px; color: var(--texto); font-size: 0.875rem; overflow-wrap: anywhere; }
.dish-allergen-notes { padding-left: 19px; margin-top: 14px; color: var(--secundario); font-size: 0.875rem; }
.dish-allergen-notes li + li { margin-top: 9px; }
.dish-allergen-pending { color: var(--secundario); font-size: 0.875rem; }
.dish-allergens { padding: 12px 14px; margin-top: 16px; border-left: 3px solid var(--rojo-claro); background: #302124; color: var(--texto); font-size: 0.875rem; }
@media(max-width:700px) {
  .dish-dialog { width: 94vw; }
  .dish-dialog-head { padding: 18px; gap: 12px; }
  .dish-layout { grid-template-columns: minmax(0, 1fr); }
  .dish-figure { padding: 18px; }
  .dish-photo { max-height: 43dvh; }
  .dish-details { padding: 20px 18px; }
  .dish-trigger { gap: 12px; }
}
@media(forced-colors:active) {
  .dish-hotspot span, .dish-point-link > span:first-child { border: 2px solid ButtonText; }
}
