/* EvixaSoft 1.0 - navegación móvil con contraste garantizado.
   Aplicado DESPUÉS de style.css y kitchen.css, tanto si JS mueve nav al body
   como si el menú permanece temporalmente dentro de #app. */
@media screen and (max-width:850px) {
  html body #nav, html body #app #nav, html body #app:not([hidden]) > #nav {
    position:fixed !important; top:0 !important; left:0 !important; right:auto !important; bottom:0 !important;
    width:min(340px,86vw) !important; max-width:86vw !important; height:100dvh !important;
    z-index:1200 !important; display:flex !important; flex-direction:column !important;
    align-items:stretch !important; justify-content:flex-start !important;
    gap:6px !important; padding:calc(16px + env(safe-area-inset-top,0px)) 14px calc(24px + env(safe-area-inset-bottom,0px)) !important;
    overflow-x:hidden !important; overflow-y:auto !important;
    background-color:#ffffff !important; background-image:none !important;
    color:#20252b !important; -webkit-text-fill-color:#20252b !important;
    border:0 !important; border-right:1px solid #d7dce2 !important;
    box-shadow:8px 0 35px rgba(0,0,0,.25) !important;
    transform:translate3d(-110%,0,0) !important;
    visibility:hidden !important; pointer-events:none !important;
  }
  html body.mobile-nav-open #nav, html body.mobile-nav-open #app #nav, html body.mobile-nav-open #app:not([hidden]) > #nav {
    transform:translate3d(0,0,0) !important; visibility:visible !important; pointer-events:auto !important;
  }
  html body #nav .mobile-nav-head, html body #app #nav .mobile-nav-head {
    display:flex !important; align-items:center !important; justify-content:space-between !important;
    flex:0 0 auto !important; width:100% !important; padding:4px 0 14px !important;
    margin:0 0 6px !important; border-bottom:1px solid #d7dce2 !important;
    background:#fff !important; color:#20252b !important; -webkit-text-fill-color:#20252b !important;
  }
  html body #nav .mobile-nav-head strong, html body #app #nav .mobile-nav-head strong {
    color:#20252b !important; -webkit-text-fill-color:#20252b !important;
    font-size:1rem !important; opacity:1 !important;
  }
  html body #nav #mobile-nav-close, html body #app #nav #mobile-nav-close {
    background:#fff0e8 !important; color:#a6371e !important; -webkit-text-fill-color:#a6371e !important;
    border:1px solid #eabda9 !important; border-radius:10px !important;
    min-height:44px !important; padding:9px 12px !important; font-weight:800 !important; opacity:1 !important;
  }
  html body #nav button[data-tab], html body #app #nav button[data-tab] {
    display:block !important; flex:0 0 auto !important; width:100% !important;
    min-height:46px !important; padding:12px 14px !important;
    text-align:left !important; white-space:normal !important;
    border:1px solid transparent !important; border-radius:11px !important;
    background:#ffffff !important; background-image:none !important;
    color:#20252b !important; -webkit-text-fill-color:#20252b !important;
    font-size:1rem !important; font-weight:750 !important; line-height:1.3 !important;
    opacity:1 !important; filter:none !important; text-shadow:none !important;
    transform:none !important;
  }
  html body #nav button[data-tab].selected, html body #app #nav button[data-tab].selected {
    background:#d74424 !important; color:#ffffff !important; -webkit-text-fill-color:#ffffff !important;
  }
  html body #nav button[data-tab][hidden], html body #app #nav button[data-tab][hidden] {display:none !important}
  html body #nav button[data-tab]:not(.selected):hover {background:#fff0e8 !important}
  html body #mobile-nav-backdrop:not([hidden]) {display:block !important; background:rgba(10,15,20,.56) !important; z-index:1190 !important}
  html body #app > header {display:grid !important; grid-template-columns:minmax(0,1fr) auto !important; gap:8px !important; align-items:center !important; padding:12px !important}
  html body #app > header .identity {grid-column:1 !important; min-width:0 !important}
  html body #app > header #mobile-nav-toggle {grid-column:2 !important; grid-row:1 !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; min-width:46px !important; min-height:46px !important; padding:8px 12px !important; background:#d74424 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; border:0 !important; border-radius:12px !important}
  html body #app > header .top-right {grid-column:1/-1 !important; grid-row:2 !important; display:flex !important; justify-content:flex-end !important; width:100% !important}
}
@media screen and (max-width:480px) {html body #app > header #mobile-nav-toggle span{display:none !important}}
