:root {
  --jg-bg: #070707;
  --jg-surface: #121212;
  --jg-card: #181818;
  --jg-card-2: #1f1f1f;
  --jg-border: #2a2a2a;
  --jg-orange: #ff6a00;
  --jg-orange-hot: #ff8a1f;
  --jg-orange-dim: rgba(255, 106, 0, 0.16);
  --jg-text: #f5f5f5;
  --jg-muted: #a3a3a3;
  --jg-ok: #22c55e;
  --jg-danger: #ef4444;
  --font-display: "Bebas Neue", Impact, system-ui, sans-serif;
  --font-script: "Caveat", cursive;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--jg-text);
  background: var(--jg-bg);
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: var(--font-display); letter-spacing: 0.04em; }
.font-script { font-family: var(--font-script); }
.btn-touch { min-height: 48px; }

.jg-input {
  width: 100%;
  border: 1.5px solid var(--jg-border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: #0d0d0d;
  color: var(--jg-text);
  font: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.jg-input::placeholder { color: #666; }
.jg-input:focus {
  border-color: var(--jg-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

.jg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: none;
  border-radius: 14px;
  padding: .85rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s, filter .15s, opacity .15s;
}
.jg-btn:active { transform: scale(0.98); }
.jg-btn-primary {
  background: linear-gradient(180deg, var(--jg-orange-hot) 0%, var(--jg-orange) 100%);
  color: #111;
  box-shadow: 0 0 24px rgba(255, 106, 0, 0.35);
}
.jg-btn-primary:hover { filter: brightness(1.08); }
.jg-btn-dark {
  background: #222;
  color: #fff;
  border: 1px solid var(--jg-border);
}
.jg-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--jg-border);
  color: var(--jg-text);
}
.jg-btn-ok { background: var(--jg-ok); color: #04150a; }
.jg-btn-danger-soft { background: rgba(239,68,68,.15); color: #fecaca; border: 1px solid rgba(239,68,68,.35); }

/* Carta pública */
.carta-bg {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255,106,0,.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(255,138,31,.12), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #070707 100%);
}

.carta-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,106,0,.25);
  background: #050505;
}
.carta-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: .42;
  filter: saturate(1.1) contrast(1.05);
}
.carta-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.82) 70%, #070707 100%);
}
.carta-hero-inner {
  position: relative;
  z-index: 2;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: .95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--jg-orange);
  font-weight: 700;
}
.brand-script {
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.1;
}

.cat-label {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  color: var(--jg-orange);
  text-transform: uppercase;
}
.cat-lines::before,
.cat-lines::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--jg-orange);
  vertical-align: middle;
  margin: 0 .55rem;
}

.product-row {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
  border: 1px solid var(--jg-border);
  border-radius: 18px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.product-row:hover {
  border-color: rgba(255,106,0,.45);
  box-shadow: 0 0 0 1px rgba(255,106,0,.12), 0 12px 30px rgba(0,0,0,.35);
  transform: translateY(-1px);
}

.product-emoji {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, #2a2a2a, #111);
  border: 1px solid #333;
}

.product-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #2a2a2a, #111);
  border: 1px solid #333;
  color: #fff;
  font-size: 1.6rem;
}
.product-thumb-sm { width: 48px; height: 48px; border-radius: 12px; font-size: 1.35rem; }
.product-thumb-md { width: 72px; height: 72px; }
.product-thumb-lg { width: 96px; height: 96px; border-radius: 16px; }
.product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tpv-cat-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jg-orange);
  margin-bottom: .75rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(255,106,0,.25);
}

.menu-opt {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem .9rem;
  border-radius: 14px;
  border: 1.5px solid #2a2a2a;
  background: #161616;
  cursor: pointer;
  color: #e5e5e5;
  font-size: .92rem;
  font-weight: 600;
}
.menu-opt:has(input:checked) {
  border-color: rgba(255,106,0,.65);
  background: rgba(255,106,0,.1);
}
.menu-opt-free {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--jg-orange-hot);
}

.price-pill {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 10px;
  background: var(--jg-orange);
  color: #111;
  font-weight: 800;
  font-size: .95rem;
}

.include-badge {
  display: inline-flex;
  margin-top: .45rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--jg-orange-dim);
  color: var(--jg-orange-hot);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Selección de carta (clic = carrito) */
.menu-select {
  display: flex;
  gap: .85rem;
  align-items: stretch;
  padding: 1rem 1.05rem;
  background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
  border: 1.5px solid #2a2a2a;
  border-radius: 18px;
  color: inherit;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .12s, background .15s;
}
.menu-select:hover {
  border-color: rgba(255,106,0,.55);
  box-shadow: 0 0 0 1px rgba(255,106,0,.15), 0 12px 28px rgba(0,0,0,.35);
}
.menu-select:active {
  transform: scale(0.985);
  background: #1a120c;
  border-color: var(--jg-orange);
}
.menu-select-star {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--jg-orange);
  color: #111;
  font-size: 1.25rem;
  font-weight: 900;
}
.menu-select-emoji {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #222;
  border: 1px solid #333;
  font-size: 1.4rem;
}
.menu-select-body { flex: 1; min-width: 0; }
.menu-select-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}
.menu-select-desc {
  margin-top: .35rem;
  font-size: .82rem;
  color: #a3a3a3;
  line-height: 1.35;
}
.menu-select-cta {
  display: inline-block;
  margin-top: .7rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--jg-orange-hot);
}
.menu-select-compact {
  flex-direction: column;
  align-items: flex-start;
  min-height: 118px;
}
.menu-select-compact .menu-select-name {
  font-size: 1.05rem;
}

.cart-fab {
  position: relative;
  background: linear-gradient(180deg, var(--jg-orange-hot), var(--jg-orange));
  color: #111;
  border: none;
  border-radius: 999px;
  padding: .75rem 1.15rem;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(255,106,0,.45);
  cursor: pointer;
}
.cart-badge {
  position: absolute;
  top: -7px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.drawer { transition: transform .28s cubic-bezier(.22,1,.36,1); }
.drawer-panel {
  background: #101010;
  border-left: 1px solid rgba(255,106,0,.25);
}

.oso-float {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(255,106,0,.55);
  box-shadow: 0 0 24px rgba(255,106,0,.35);
}

/* Panel */
.panel-body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(255,106,0,.12), transparent 50%),
    #0a0a0a;
}

.sidebar {
  width: 15.5rem;
  background: linear-gradient(180deg, #0d0d0d 0%, #111 50%, #0a0a0a 100%);
  color: #fff;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(255,106,0,.2);
  box-shadow: 8px 0 40px rgba(0,0,0,.45);
}
.sidebar-nav {
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.sidebar-footer {
  flex-shrink: 0;
  padding: .85rem .75rem calc(.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,.1);
  background: #0a0a0a;
}
.sidebar-footer > * + * { margin-top: .35rem; }
.nav-link-logout {
  color: #fb923c !important;
  background: rgba(255,106,0,.12);
  border: 1px solid rgba(255,106,0,.28);
  margin-top: .35rem;
  min-height: 2.75rem;
}
.nav-link-logout:hover {
  background: rgba(255,106,0,.22) !important;
  color: #fff !important;
}
.panel-topbar { display: none; }

.sidebar-brand { padding: 1.2rem 1.1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.sidebar-brand .name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: .06em;
  line-height: 1;
}
.sidebar-brand .tag {
  margin-top: .3rem;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--jg-orange);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .72rem .9rem;
  margin: 0 .55rem;
  border-radius: 12px;
  color: #cfcfcf;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav-link.active {
  background: linear-gradient(90deg, rgba(255,106,0,.28), rgba(255,106,0,.08));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,106,0,.28);
}
.nav-ico { width: 1.6rem; text-align: center; color: var(--jg-orange); }

.stat-card {
  background: var(--jg-card);
  border: 1px solid var(--jg-border);
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
}
.stat-card .label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--jg-muted);
}
.stat-card .value {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: .04em;
  margin-top: .15rem;
  line-height: 1.05;
  color: #fff;
}

.panel-card {
  background: var(--jg-card);
  border: 1px solid var(--jg-border);
  border-radius: 18px;
  padding: 1.2rem;
}
.panel-title {
  font-family: var(--font-display);
  letter-spacing: .05em;
  color: #fff;
  text-transform: uppercase;
}
.badge-estado {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--jg-orange-dim);
  color: var(--jg-orange-hot);
}
.pedido-urgente {
  border-color: rgba(239,68,68,.55) !important;
  box-shadow: 0 0 0 1px rgba(239,68,68,.15), 0 0 28px rgba(239,68,68,.12);
}
.popup-pulse { animation: pulseRing 1.4s ease-in-out infinite; }
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,0,.45); }
  50% { box-shadow: 0 0 0 14px rgba(255,106,0,0); }
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,106,0,.35), transparent 55%),
    #050505;
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(18,18,18,.96);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
  border: 1px solid rgba(255,106,0,.3);
}

.seguimiento-paso.activo span {
  background: var(--jg-orange) !important;
  color: #111 !important;
}
.seguimiento-paso.hecho span {
  background: rgba(34,197,94,.25) !important;
  color: #86efac !important;
}

@media (max-width: 1023px) {
  .sidebar {
    display: flex;
    transform: translateX(-105%);
    transition: transform .28s cubic-bezier(.22,1,.36,1);
    z-index: 55;
  }
  .sidebar.open { transform: translateX(0); }
  .panel-main {
    margin-left: 0 !important;
    padding-top: 4.75rem !important;
  }
  .panel-topbar {
    display: flex;
    align-items: center;
    gap: .75rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 3.75rem;
    padding: 0 .85rem 0 .75rem;
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(10,10,10,.96);
    border-bottom: 1px solid rgba(255,106,0,.28);
    backdrop-filter: blur(10px);
  }
  .panel-topbar-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: .06em;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .panel-logout-top {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: .45rem .85rem;
    border-radius: 12px;
    border: 1px solid rgba(255,106,0,.45);
    background: rgba(255,106,0,.14);
    color: #ff8a1f;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }
  .panel-logout-top:hover,
  .panel-logout-top:active {
    background: rgba(255,106,0,.28);
    color: #fff;
  }
  .menu-fab {
    display: inline-flex !important;
    position: static;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    box-shadow: none;
  }
}

@media (min-width: 1024px) {
  .menu-fab { display: none !important; }
  .panel-topbar { display: none !important; }
  .sidebar-overlay { display: none !important; }
}

.menu-fab {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,106,0,.45);
  background: rgba(18,18,18,.95);
  color: #ff8a1f;
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 40;
}
.sidebar-overlay.show { display: block; }
body.menu-abierto { overflow: hidden; }

/* Contabilidad subnav */
.contab-subnav { border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: .75rem; }
.contab-tab {
  display: inline-flex;
  align-items: center;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: #a3a3a3;
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
  transition: color .15s, background .15s, border-color .15s;
}
.contab-tab:hover { color: #f5f5f5; background: rgba(255,255,255,.04); }
.contab-tab.active {
  color: #111;
  background: linear-gradient(180deg, #ff8a1f, #ff6a00);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(255,106,0,.3);
}

/* Métodos de pago (carta checkout + espera-pago) */
.jg-pago-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
@media (min-width: 420px) {
  .jg-pago-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.jg-pago-option {
  display: block;
  cursor: pointer;
  margin: 0;
}
.jg-pago-radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.jg-pago-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 96px;
  padding: .75rem .55rem;
  border-radius: 16px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  text-align: center;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .12s;
}
.jg-pago-option:active .jg-pago-card { transform: scale(0.98); }
.jg-pago-radio:focus-visible + .jg-pago-card {
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.35);
}
.jg-pago-radio:checked + .jg-pago-card {
  border-color: rgba(255, 106, 0, 0.85);
  background: rgba(255, 106, 0, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.35), 0 0 22px rgba(255, 106, 0, 0.18);
}
.jg-pago-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.jg-pago-logo-sm {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.jg-pago-title {
  font-size: .9rem;
  font-weight: 800;
  color: #f5f5f5;
  line-height: 1.15;
}
.jg-pago-sub {
  font-size: .7rem;
  font-weight: 600;
  color: #a3a3a3;
  line-height: 1.2;
}
.jg-pago-radio:checked + .jg-pago-card .jg-pago-sub {
  color: #fdba74;
}
.jg-pago-hint {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.jg-pago-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  color: #f5f5f5;
}



/* Language switcher ES / EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,106,0,.35);
  background: rgba(0,0,0,.35);
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #a3a3a3;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .35rem .55rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}
.lang-btn.active,
.lang-btn:hover {
  background: rgba(255,106,0,.22);
  color: #fff;
}
.login-shell { position: relative; }

/* ── Carta pública (rediseño) ── */
.carta-pro {
  --carta-max: 42rem;
  --carta-chrome: rgba(8, 8, 8, 0.88);
}
.carta-pro.carta-bg {
  background:
    radial-gradient(ellipse 80% 42% at 50% -8%, rgba(255,106,0,.18), transparent 58%),
    linear-gradient(180deg, #090909 0%, #070707 100%);
}
.carta-chrome {
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: var(--carta-chrome);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.carta-chrome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  max-width: var(--carta-max);
  margin: 0 auto;
  padding: .7rem 1.1rem .55rem;
}
.carta-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255,106,0,.45);
  box-shadow: 0 4px 16px rgba(255,106,0,.22);
}
.carta-brand-kicker {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--jg-orange);
  line-height: 1;
}
.carta-brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: .08em;
  line-height: .95;
  margin: .12rem 0 0;
}
.carta-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .28rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #a3a3a3;
}
.carta-status-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  background: #737373;
}
.carta-status.is-open { color: #86efac; }
.carta-status.is-open .carta-status-dot {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,.7);
}
.carta-status.is-closed { color: #fca5a5; }
.carta-status.is-closed .carta-status-dot {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239,68,68,.55);
}
.carta-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.carta-icon-btn .cart-badge {
  top: -6px;
  right: -6px;
}
.carta-cats {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  max-width: var(--carta-max);
  margin: 0 auto;
  padding: .15rem 1.1rem .7rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carta-cats::-webkit-scrollbar { display: none; }
.carta-cat-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #d4d4d4;
  border-radius: 999px;
  padding: .4rem .85rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.carta-cat-chip.is-active,
.carta-cat-chip:hover {
  border-color: rgba(255,106,0,.55);
  background: rgba(255,106,0,.16);
  color: #fff;
}
.carta-wrap {
  max-width: var(--carta-max);
  margin: 0 auto;
  padding: 1.1rem 1rem 2rem;
}
.carta-alert {
  border-radius: 16px;
  padding: .95rem 1rem;
  margin-bottom: .85rem;
}
.carta-alert-closed {
  border: 1px solid rgba(239,68,68,.35);
  background: rgba(239,68,68,.1);
  text-align: center;
}
.carta-alert-open {
  border: 1px solid rgba(34,197,94,.22);
  background: rgba(34,197,94,.07);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  font-size: .82rem;
  color: #86efac;
}
.carta-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  padding: .9rem 1rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.4rem;
}
.carta-track:hover { border-color: rgba(255,106,0,.4); background: rgba(255,106,0,.06); }
.carta-track-title { font-size: .88rem; font-weight: 800; color: #fff; }
.carta-track-hint { font-size: .72rem; color: #a3a3a3; margin-top: .15rem; }
.carta-track-go {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--jg-orange-hot);
}
.carta-intro { margin-bottom: 1.5rem; }
.carta-intro h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: .06em;
  line-height: 1;
}
.carta-intro p { margin-top: .4rem; font-size: .85rem; color: #a3a3a3; }
.carta-intro a { color: var(--jg-orange-hot); font-weight: 700; text-decoration: none; }
.carta-section { margin-bottom: 2rem; scroll-margin-top: 8.5rem; }
.carta-section-head { margin-bottom: 1rem; }
.carta-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: .1em;
  color: #fff;
  text-transform: uppercase;
}
.carta-section-head p {
  margin-top: .25rem;
  font-size: .75rem;
  color: #a3a3a3;
  letter-spacing: .02em;
}
.carta-pro .menu-select {
  align-items: center;
  gap: 1rem;
  padding: .9rem;
  background: #121212;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.carta-pro .menu-select:hover {
  border-color: rgba(255,106,0,.4);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.carta-pro .product-thumb-md {
  width: 86px;
  height: 86px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
}
.carta-pro .menu-select-name {
  font-size: 1.22rem;
  letter-spacing: .05em;
}
.carta-pro .menu-select-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .8rem;
  color: #9a9a9a;
}
.carta-pro .price-pill {
  background: transparent;
  color: var(--jg-orange-hot);
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .04em;
}
.carta-pro .menu-select-cta {
  margin-top: .55rem;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(255,106,0,.12);
  font-size: .68rem;
}
.carta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
@media (min-width: 640px) {
  .carta-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.carta-pro .menu-select-compact {
  min-height: 0;
  padding: .85rem;
  align-items: stretch;
}
.carta-pro .product-thumb-sm {
  width: 100%;
  height: 72px;
  border-radius: 14px;
  margin-bottom: .55rem;
}
.carta-bar {
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));
}
.carta-bar-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border: 0;
  border-radius: 18px;
  padding: .95rem 1.15rem;
  background: linear-gradient(180deg, #ff8a1f, #ff6a00);
  color: #111;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 10px 32px rgba(255,106,0,.38);
  cursor: pointer;
}
.carta-bar-meta { font-size: .82rem; }
.carta-bar-total {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: .04em;
}
.carta-footer {
  text-align: center;
  padding: 1.5rem 0 .5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.carta-footer p { color: #737373; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.carta-footer a { color: #a3a3a3; text-decoration: none; font-size: .78rem; }
.carta-footer a:hover { color: var(--jg-orange-hot); }
.panel-topbar .lang-switch { margin-left: auto; }

/* ── Carta estilo app (McDonald's-inspired, La Jugosa) ── */
.carta-mcd {
  --carta-max: 36rem;
  --carta-chrome: rgba(6, 6, 6, 0.94);
}
.carta-mcd.carta-bg {
  background:
    radial-gradient(ellipse 90% 50% at 50% -12%, rgba(255,106,0,.14), transparent 62%),
    linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
}
.carta-mcd .carta-chrome-row.carta-mcd-top {
  padding: .65rem 1rem .45rem;
}
.carta-mcd .carta-brand-name {
  font-size: 1.35rem;
  letter-spacing: .1em;
}
.carta-mcd-tabs {
  gap: .35rem;
  padding: .1rem 1rem .65rem;
}
.carta-mcd-tabs .carta-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  border-radius: 14px;
  font-size: .7rem;
  letter-spacing: .04em;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.carta-mcd-tabs .carta-cat-chip.is-active {
  background: linear-gradient(180deg, rgba(255,138,31,.22), rgba(255,106,0,.14));
  border-color: rgba(255,106,0,.55);
  box-shadow: 0 4px 14px rgba(255,106,0,.18);
}
.carta-mcd-tab-ico {
  font-size: .95rem;
  line-height: 1;
}
.carta-mcd-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .85rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.22);
  font-size: .72rem;
  font-weight: 700;
  color: #86efac;
  letter-spacing: .03em;
}
.carta-mcd-status-dot {
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,.65);
}
.carta-mcd-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 1rem;
  padding: 1.15rem 1rem 1.15rem 1.15rem;
  background: linear-gradient(135deg, rgba(255,106,0,.22) 0%, rgba(255,106,0,.06) 48%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(255,106,0,.28);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.carta-mcd-hero-brand {
  background: linear-gradient(135deg, rgba(255,106,0,.16) 0%, rgba(18,18,18,.92) 55%);
}
.carta-mcd-hero-glow {
  pointer-events: none;
  position: absolute;
  inset: -20% auto auto -10%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(255,138,31,.28), transparent 68%);
}
.carta-mcd-hero-inner {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.carta-mcd-hero-kicker {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,180,120,.95);
}
.carta-mcd-hero-title {
  margin: .25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: .06em;
  line-height: 1.05;
  color: #fff;
}
.carta-mcd-hero-price {
  margin: .35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--jg-orange-hot);
  letter-spacing: .04em;
}
.carta-mcd-hero-desc {
  margin: .45rem 0 0;
  font-size: .78rem;
  line-height: 1.45;
  color: #c4c4c4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carta-mcd-hero-cta {
  margin-top: .75rem;
  border: 0;
  border-radius: 999px;
  padding: .55rem 1rem;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.carta-mcd-hero-cta:active { transform: scale(.98); }
.carta-mcd-hero-art {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255,106,0,.45);
  background: rgba(255,106,0,.12);
  box-shadow: 0 8px 24px rgba(255,106,0,.25);
}
.carta-mcd-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carta-mcd-track {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  padding: .85rem 1rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.25rem;
}
.carta-mcd-track:hover {
  border-color: rgba(255,106,0,.35);
  background: rgba(255,106,0,.05);
}
.carta-mcd-track-ico {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,106,0,.12);
  font-size: 1.1rem;
}
.carta-mcd-section-head {
  margin-bottom: .85rem;
}
.carta-mcd-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}
.carta-mcd-section-head p {
  margin-top: .2rem;
  font-size: .72rem;
  color: #8a8a8a;
}
.carta-mcd .carta-section {
  scroll-margin-top: 9rem;
  margin-bottom: 1.75rem;
}
.carta-mcd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
@media (min-width: 520px) {
  .carta-mcd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.carta-mcd-card {
  display: flex;
  flex-direction: column;
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #141414;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.carta-mcd-card:hover,
.carta-mcd-card:focus-visible {
  border-color: rgba(255,106,0,.42);
  box-shadow: 0 12px 28px rgba(0,0,0,.32), 0 0 0 1px rgba(255,106,0,.12);
  transform: translateY(-2px);
}
.carta-mcd-card:active { transform: scale(.985); }
.carta-mcd-card-media {
  position: relative;
  aspect-ratio: 1.15 / 1;
  background: linear-gradient(180deg, rgba(255,106,0,.08), rgba(0,0,0,.15));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.carta-mcd-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carta-mcd-card-emoji {
  font-size: 2.4rem;
  line-height: 1;
}
.carta-mcd-card-plus {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ff8a1f, #ff6a00);
  color: #111;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(255,106,0,.45);
  pointer-events: none;
}
.carta-mcd-card-body {
  padding: .65rem .7rem .75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.carta-mcd-card-name {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.25;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carta-mcd-card-desc {
  margin-top: .25rem;
  font-size: .68rem;
  line-height: 1.35;
  color: #8f8f8f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.carta-mcd-card-foot {
  margin-top: .45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.carta-mcd-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .03em;
  color: var(--jg-orange-hot);
}
.carta-mcd-card-sm .carta-mcd-card-media {
  aspect-ratio: 1 / 1;
}
.carta-mcd-card-sm .carta-mcd-card-name {
  font-size: .76rem;
  -webkit-line-clamp: 2;
}
.carta-mcd-card-sm .carta-mcd-card-body {
  padding: .55rem .6rem .65rem;
}
.carta-mcd-card-sm .carta-mcd-price {
  font-size: .95rem;
}
.carta-mcd-card-sm .carta-mcd-card-plus {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1.05rem;
}
.carta-mcd-bar {
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55) 28%, rgba(0,0,0,.88));
}
.carta-mcd-bar-btn {
  border-radius: 16px;
  padding: .85rem 1.1rem;
}
.carta-mcd-bar-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .35rem;
  margin-right: .15rem;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  font-size: .78rem;
}
.carta-mcd-toast {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: #111;
  border: 1px solid rgba(255,106,0,.45);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.carta-mcd-toast-ico {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--jg-orange-hot);
  color: #111;
  font-size: .72rem;
  font-weight: 900;
}

/* =========================================================
   Street kitchen redesign — TPV / Dashboard / Cocina / Delivery / Carta
   ========================================================= */

.panel-body {
  background:
    radial-gradient(ellipse 80% 45% at 0% -5%, rgba(255,106,0,.16), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(255,138,31,.06), transparent 50%),
    linear-gradient(180deg, #0c0c0c 0%, #070707 40%, #050505 100%);
}

.sidebar-brand .tag {
  color: var(--jg-orange-hot);
  letter-spacing: .14em;
}

.nav-link.active {
  background: linear-gradient(90deg, rgba(255,106,0,.32), rgba(255,106,0,.06));
  box-shadow: inset 3px 0 0 var(--jg-orange);
}

.panel-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #737373;
}

.panel-live {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 700;
  color: #d4d4d4;
}
.panel-live-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: var(--jg-orange);
  box-shadow: 0 0 0 0 rgba(255,106,0,.55);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,106,0,.5); }
  70% { box-shadow: 0 0 0 10px rgba(255,106,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,106,0,0); }
}

/* —— TPV caja rápida —— */
.tpv-shell {
  display: grid;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .tpv-shell {
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, .95fr);
    align-items: start;
    gap: 1.15rem;
  }
}

.tpv-tabs {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tpv-tabs::-webkit-scrollbar { display: none; }
.tpv-tab {
  flex: 0 0 auto;
  border: 1px solid transparent;
  background: transparent;
  color: #a3a3a3;
  font: inherit;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .7rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  min-height: 48px;
  transition: color .15s, background .15s, border-color .15s;
}
.tpv-tab:hover { color: #fff; background: rgba(255,255,255,.04); }
.tpv-tab.is-active {
  color: #fff;
  background: rgba(255,106,0,.14);
  border-color: rgba(255,106,0,.45);
  box-shadow: inset 0 -2px 0 var(--jg-orange);
}

.tpv-panel { display: none; }
.tpv-panel.is-active { display: block; animation: tpvFade .22s ease; }
@keyframes tpvFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.tpv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
@media (min-width: 1280px) {
  .tpv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.tpv-tile {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  overflow: hidden;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  color: inherit;
  cursor: pointer;
  transition: border-color .15s, transform .12s, background .15s;
  min-height: 0;
}
.tpv-tile:hover { border-color: rgba(255,106,0,.5); }
.tpv-tile:active { transform: scale(.985); background: #1a120c; }
.tpv-tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0d0d0d;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tpv-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tpv-tile-emoji {
  font-size: 2.4rem;
  line-height: 1;
}
.tpv-tile-body {
  padding: .85rem .9rem 1rem;
}
.tpv-tile-name {
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}
.tpv-tile-price {
  margin-top: .35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .04em;
  color: var(--jg-orange-hot);
  line-height: 1;
}

.tpv-ticket {
  display: flex;
  flex-direction: column;
  height: min(82vh, 860px);
  position: sticky;
  top: 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, #161616 0%, #101010 100%);
  border: 1px solid rgba(255,106,0,.28);
  border-radius: 18px;
  padding: 1.1rem 1.05rem;
}
.tpv-ticket-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .85rem;
}
.tpv-ticket-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .1em;
  color: var(--jg-orange);
}
.tpv-pay-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
}
.tpv-pay-chip {
  border: 1.5px solid #2a2a2a;
  background: #0d0d0d;
  color: #e5e5e5;
  border-radius: 12px;
  padding: .7rem .5rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 48px;
  transition: border-color .15s, background .15s, color .15s;
}
.tpv-pay-chip.is-active {
  border-color: rgba(255,106,0,.7);
  background: rgba(255,106,0,.14);
  color: #fff;
}
.tpv-cobrar {
  width: 100%;
  min-height: 58px;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* —— Dashboard kanban —— */
.ops-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  align-items: baseline;
  margin-bottom: 1.25rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ops-strip-item {
  display: flex;
  align-items: baseline;
  gap: .45rem;
}
.ops-strip-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #737373;
}
.ops-strip-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: .04em;
  color: #fff;
  line-height: 1;
}

/* Objetivo mensual + gráfica productos */
.goal-bar { padding: 1rem 1.15rem; }
.goal-bar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .65rem 1rem;
  margin-bottom: .7rem;
}
.goal-bar-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a3a3a3;
}
.goal-bar-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: .03em;
  margin-top: .15rem;
}
.goal-bar-amounts {
  font-size: .92rem;
  font-weight: 700;
  color: #d4d4d4;
  display: flex;
  align-items: baseline;
  gap: .2rem;
  flex-wrap: wrap;
}
.goal-bar-pct {
  margin-left: .55rem;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(255,106,0,.15);
  color: #fb923c;
  font-size: .75rem;
  font-weight: 800;
}
.goal-bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.goal-bar-fill {
  height: 100%;
  min-width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #22c55e);
  transition: width .4s ease;
}
.goal-bar-hint {
  margin-top: .55rem;
  font-size: .72rem;
  color: #737373;
}

.prod-chart-row.is-top .prod-chart-name { color: #fb923c; }
.prod-chart-meta {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: baseline;
  margin-bottom: .3rem;
}
.prod-chart-name {
  font-size: .9rem;
  font-weight: 700;
  color: #e5e5e5;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prod-chart-qty {
  font-size: .75rem;
  font-weight: 700;
  color: #a3a3a3;
  flex: 0 0 auto;
  tabular-nums: true;
  font-variant-numeric: tabular-nums;
}
.prod-chart-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.prod-chart-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ea580c, #fbbf24);
  min-width: 2px;
}

.kanban {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .kanban { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.kanban-col {
  min-width: 0;
  background: rgba(18,18,18,.72);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  border-top: 3px solid #525252;
  padding: .7rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 220px;
}
.kanban-col.is-pago { border-top-color: #f59e0b; }
.kanban-col.is-aceptar { border-top-color: var(--jg-orange); }
.kanban-col.is-cocina { border-top-color: #ef4444; }
.kanban-col.is-listo { border-top-color: #22c55e; }
.kanban-col.is-ruta { border-top-color: #38bdf8; }
.kanban-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .15rem .2rem .35rem;
}
.kanban-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e5e5e5;
}
.kanban-col-count {
  font-size: .72rem;
  font-weight: 800;
  color: #a3a3a3;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: .2rem .45rem;
}
.kanban-empty {
  color: #737373;
  font-size: .82rem;
  text-align: center;
  padding: 1.5rem .5rem;
}
.flow-row {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: .75rem .8rem;
  background: #121212;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  border-left: 3px solid var(--jg-orange);
  transition: border-color .15s, background .15s;
}
.flow-row.is-amber { border-left-color: #f59e0b; }
.flow-row.is-red { border-left-color: #ef4444; }
.flow-row.is-green { border-left-color: #22c55e; }
.flow-row.is-sky { border-left-color: #38bdf8; }
.flow-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem;
  font-weight: 800;
  color: var(--jg-orange-hot);
}
.flow-name {
  font-weight: 800;
  font-size: .95rem;
  color: #fff;
  line-height: 1.2;
}
.flow-meta {
  font-size: .78rem;
  color: #a3a3a3;
}
.flow-total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .04em;
  color: #fff;
}
.flow-actions {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: .15rem;
}
.flow-actions .jg-btn { width: 100%; min-height: 44px; font-size: .85rem; }

/* —— Cocina KDS —— */
body.kds-mode .sidebar,
body.kds-mode .panel-topbar,
body.kds-mode .sidebar-overlay { display: none !important; }
body.kds-mode .panel-main {
  margin-left: 0 !important;
  padding: 0 !important;
  max-width: none;
}
.kds-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(255,106,0,.14), transparent 50%),
    #050505;
}
.kds-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid rgba(255,106,0,.22);
  background: rgba(8,8,8,.92);
  position: sticky;
  top: 0;
  z-index: 20;
}
.kds-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}
.kds-back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  min-height: 44px;
  padding: .45rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(255,106,0,.45);
  background: rgba(255,106,0,.14);
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.kds-back:hover,
.kds-back:focus-visible {
  background: rgba(255,106,0,.28);
  border-color: var(--jg-orange);
  outline: none;
}
.kds-back-arrow {
  font-size: 1.1rem;
  line-height: 1;
}
.kds-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255,106,0,.45);
}
.kds-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: .08em;
  line-height: 1;
  color: #fff;
}
.kds-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.kds-clock {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .06em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.kds-badge {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #111;
  background: var(--jg-orange);
  border-radius: 10px;
  padding: .4rem .7rem;
}
.kds-exit {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid #404040;
  background: #171717;
  border-radius: 12px;
  padding: .45rem .9rem;
}
.kds-exit:hover { color: #fff; border-color: #737373; background: #262626; }
@media (max-width: 640px) {
  .kds-back-label { display: none; }
  .kds-back {
    padding: .45rem .7rem;
    min-width: 44px;
    justify-content: center;
  }
  .kds-exit { display: none; }
}
.kds-grid {
  flex: 1;
  display: grid;
  gap: .85rem;
  padding: .9rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-content: start;
}
.kds-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #737373;
  font-size: 1.1rem;
  padding: 4rem 1rem;
}
.kds-ticket {
  display: flex;
  flex-direction: column;
  background: #121212;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  border-left: 5px solid #22c55e;
  padding: 1rem 1rem 1.05rem;
  min-height: 280px;
  animation: kdsIn .28s ease;
}
.kds-ticket.is-aging { border-left-color: var(--jg-orange); }
.kds-ticket.is-urgent {
  border-left-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239,68,68,.25);
}
.kds-ticket.is-new {
  animation: kdsPulse 1.5s ease-in-out 2;
}
@keyframes kdsIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes kdsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,0,.35); }
  50% { box-shadow: 0 0 0 10px rgba(255,106,0,0); }
}
.kds-ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}
.kds-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--jg-orange-hot);
  line-height: 1;
}
.kds-timer {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: .04em;
  color: #fdba74;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kds-tipo {
  margin-top: .45rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a3a3a3;
}
.kds-client {
  margin-top: .35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.kds-items {
  list-style: none;
  margin: .9rem 0 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.kds-item {
  display: flex;
  gap: .55rem;
  align-items: baseline;
}
.kds-qty {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--jg-orange);
  line-height: 1;
  flex-shrink: 0;
}
.kds-item-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.kds-note {
  margin-top: .25rem;
  font-size: .82rem;
  font-weight: 600;
  color: #fde68a;
}
.kds-actions {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}
.kds-actions .jg-btn {
  flex: 1;
  min-height: 52px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* —— Delivery / Repartos —— */
.delivery-shell {
  display: grid;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .delivery-shell {
    grid-template-columns: minmax(340px, 1.15fr) minmax(0, 1fr);
    align-items: start;
  }
}
.delivery-map {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 0;
}
.delivery-map-real-wrap {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 0;
}
.delivery-map-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
}
.delivery-map-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e5e5e5;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  padding: .35rem .75rem;
}
.delivery-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  font-size: .68rem;
  font-weight: 700;
  color: #a3a3a3;
  background: rgba(0,0,0,.4);
  border-radius: 999px;
  padding: .3rem .65rem;
  border: 1px solid rgba(255,255,255,.06);
}
.delivery-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.lg-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
  background: #737373;
}
.lg-dot.is-listo { background: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,.2); }
.lg-dot.is-ruta { background: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,.2); }
.lg-dot.is-local { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.lg-dot.is-rider { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }

.delivery-map-leaflet {
  position: relative;
  min-height: 380px;
  height: clamp(360px, 58vh, 560px);
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,106,0,.28);
  background: #d4d4d4;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 18px 40px rgba(0,0,0,.35);
  z-index: 1;
}
.delivery-map-leaflet .leaflet-container {
  width: 100%;
  height: 100%;
  font: inherit;
  background: #e5e5e5;
}
.delivery-map-leaflet .leaflet-control-attribution {
  background: rgba(0,0,0,.55);
  color: #a3a3a3;
  font-size: .62rem;
}
.delivery-map-leaflet .leaflet-control-attribution a { color: #d4d4d4; }
.delivery-map-foot {
  font-size: .75rem;
  color: #737373;
  padding-left: .15rem;
}

/* Pins Leaflet (divIcon) */
.lm-wrap {
  background: transparent !important;
  border: none !important;
}
.lm-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  pointer-events: auto;
}
.lm-pin .lm-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px 999px 999px 3px;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.45);
}
.lm-pin.is-listo .lm-dot {
  background: #f97316;
  box-shadow: 0 0 0 5px rgba(249,115,22,.22), 0 6px 14px rgba(0,0,0,.45);
}
.lm-pin.is-ruta .lm-dot {
  background: #38bdf8;
  box-shadow: 0 0 0 5px rgba(56,189,248,.25), 0 6px 14px rgba(0,0,0,.45);
}
.lm-pin.is-local .lm-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  transform: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 8px 18px rgba(0,0,0,.45);
}
.lm-pin.is-rider .lm-moto {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #22c55e;
  color: #052e16;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .02em;
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(34,197,94,.35), 0 8px 18px rgba(0,0,0,.5);
  animation: riderPulse 1.8s ease-out infinite;
}
@keyframes riderPulse {
  0% { box-shadow: 0 0 0 4px rgba(34,197,94,.4), 0 8px 18px rgba(0,0,0,.5); }
  100% { box-shadow: 0 0 0 14px rgba(34,197,94,0), 0 8px 18px rgba(0,0,0,.5); }
}
.lm-lbl {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: rgba(0,0,0,.78);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: .18rem .4rem;
  white-space: nowrap;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.delivery-tabs {
  display: flex;
  gap: .35rem;
  margin-bottom: .85rem;
  overflow-x: auto;
}
.delivery-tab {
  flex: 0 0 auto;
  border: 1px solid #2a2a2a;
  background: #121212;
  color: #a3a3a3;
  border-radius: 999px;
  padding: .55rem .95rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 42px;
}
.delivery-tab.is-active {
  color: #111;
  background: var(--jg-orange);
  border-color: var(--jg-orange);
}
.delivery-list { display: flex; flex-direction: column; gap: .65rem; }
.delivery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .85rem;
  padding: 1rem 1.05rem;
  background: #121212;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  border-left: 4px solid var(--jg-orange);
}
.delivery-row.is-ruta { border-left-color: #38bdf8; }
.delivery-row.is-listo { border-left-color: #22c55e; }
.delivery-row[hidden] { display: none !important; }
.delivery-actions {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 160px;
  width: 100%;
}
@media (min-width: 640px) {
  .delivery-actions { width: auto; }
}
@media (max-width: 640px) {
  .delivery-map-leaflet { min-height: 300px; height: 52vh; }
  .lm-lbl { font-size: .58rem; }
}


.delivery-cola-title {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: .55rem;
}

/* —— Vista repartidor (entrega activa) —— */
body.reparto-focus .sidebar,
body.reparto-focus .panel-topbar,
body.reparto-focus .sidebar-overlay,
body.reparto-focus .menu-fab { display: none !important; }
.reparto-focus-shell {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: .95rem;
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, rgba(255,106,0,.18), transparent 55%),
    #070707;
}
.reparto-focus-top {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.reparto-focus-back {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #333;
  background: #141414;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
}
.reparto-focus-status {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.reparto-focus-badge {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  color: #fb923c;
}
.reparto-focus-timer {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fb923c;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}
.reparto-focus-code {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 12vw, 3.4rem);
  letter-spacing: .04em;
  line-height: .95;
  color: #fff;
}
.reparto-focus-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: #121212;
  padding: 1rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .95rem;
}
.reparto-focus-client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.reparto-focus-kicker {
  font-size: .68rem;
  color: #737373;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.reparto-focus-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.reparto-focus-call {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--jg-orange);
  color: #111;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.reparto-focus-addr {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
}
.reparto-focus-pin { font-size: 1.1rem; line-height: 1.4; }
.reparto-focus-addr-main {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.reparto-focus-addr-meta {
  margin-top: .2rem;
  font-size: .8rem;
  color: #a3a3a3;
}
.reparto-focus-track {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  border: 1px solid rgba(34,197,94,.28);
  background: rgba(34,197,94,.08);
  color: #d4d4d4;
  font-size: .82rem;
  font-weight: 700;
}
.reparto-focus-track.is-ok {
  border-color: rgba(34,197,94,.45);
  color: #bbf7d0;
}
.reparto-focus-track.is-err {
  border-color: rgba(251,191,36,.4);
  background: rgba(251,191,36,.08);
  color: #fde68a;
}
.reparto-focus-track-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.25);
  flex: 0 0 auto;
  animation: riderPulse 1.8s ease-out infinite;
}
.reparto-focus-track.is-err .reparto-focus-track-dot {
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251,191,36,.2);
  animation: none;
}
.reparto-focus-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  font-size: .88rem;
  font-weight: 700;
  color: #d4d4d4;
}
.reparto-focus-pay { color: #fb923c; }
.reparto-focus-actions {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: auto;
}
.reparto-focus-gps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid #3a3a3a;
  background: #171717;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: .95rem;
}
.reparto-focus-gps span { color: var(--jg-orange); }
.reparto-focus-gps:hover { border-color: #666; }
.reparto-focus-nogps {
  text-align: center;
  color: #fbbf24;
  font-size: .85rem;
  font-weight: 600;
}
.reparto-focus-done {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: var(--jg-orange);
  color: #111;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.reparto-focus-foot {
  text-align: center;
  font-size: .75rem;
  color: #737373;
}

/* —— Carta hero editorial —— */
.carta-street .carta-chrome {
  background: rgba(6,6,6,.88);
  backdrop-filter: blur(12px);
}
.carta-street-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: none;
  margin: 0;
  width: 100%;
}
.carta-street-hero-media {
  position: absolute;
  inset: 0;
  background: #0a0a0a;
}
.carta-street-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 40%, rgba(5,5,5,.92) 78%, #050505 100%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255,106,0,.18), transparent 60%);
}
.carta-street-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: .88;
  filter: saturate(1.12) contrast(1.06);
}
/* Hero con logo de marca (Santo Totiao): grande, centrado, sin recorte tipo foto */
.carta-street-hero-media.is-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(255, 180, 60, .22), transparent 62%),
    linear-gradient(165deg, #1a1208 0%, #0a0a0a 45%, #050505 100%);
}
.carta-street-hero-media.is-logo::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 55%, rgba(5,5,5,.94) 88%, #050505 100%);
}
.carta-street-hero-media.is-logo img {
  width: min(78vw, 420px);
  height: auto;
  max-height: min(58vh, 480px);
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
  border-radius: 1.35rem;
  box-shadow:
    0 24px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,180,60,.18);
  transform: translateY(-6vh);
  animation: cartaHeroIn .75s ease both;
}
@media (min-width: 640px) {
  .carta-street-hero-media.is-logo img {
    width: min(52vw, 480px);
    max-height: min(62vh, 520px);
  }
}
.carta-street-hero.is-logo-hero .carta-street-brand {
  font-size: clamp(2.6rem, 11vw, 4.2rem);
}
.carta-street-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.15rem calc(2.8rem + env(safe-area-inset-bottom, 0px));
}
.carta-street-brand {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 16vw, 5.8rem);
  letter-spacing: .03em;
  line-height: .88;
  color: #fff;
  text-shadow: 0 10px 48px rgba(0,0,0,.65);
  animation: cartaHeroIn .7s ease both;
}
.carta-street-sub {
  margin-top: .9rem;
  font-size: 1.08rem;
  color: #e5e5e5;
  max-width: 22rem;
  animation: cartaHeroIn .7s ease .08s both;
}
.carta-street-status {
  margin-top: .75rem;
  font-size: .82rem;
  font-weight: 700;
  color: #a3a3a3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  animation: cartaHeroIn .7s ease .12s both;
}
.carta-street-status.is-open { color: #86efac; }
.carta-street-status.is-closed { color: #fca5a5; }
.carta-street-cta {
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: .9rem 1.55rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--jg-orange-hot), var(--jg-orange));
  color: #111;
  font: inherit;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 32px rgba(255,106,0,.4);
  animation: cartaHeroIn .7s ease .16s both;
}
.carta-street-cta:active { transform: scale(.98); }
@keyframes cartaHeroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}



.carta-street .carta-wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: .85rem .85rem 2.5rem;
}
.carta-street .carta-section { margin: 0 0 1.1rem; padding: 0; }

.carta-ed-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.carta-ed-row {
  position: relative;
  display: block;
  width: 100%;
  min-height: 148px;
  text-align: left;
  padding: 0;
  overflow: hidden;
  background: #121212;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  color: inherit;
  cursor: pointer;
}
.carta-ed-row-sm { min-height: 108px; }
.carta-ed-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 50%, rgba(255,106,0,.16), transparent 55%),
    linear-gradient(135deg, #1a1a1a, #0d0d0d);
}
.carta-ed-media.is-ph {
  background:
    radial-gradient(ellipse 55% 70% at 80% 45%, rgba(255,106,0,.2), transparent 60%),
    #141414;
}
.carta-ed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: .92;
  filter: saturate(1.05) contrast(1.02);
}
.carta-ed-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.72) 38%, rgba(8,8,8,.2) 68%, rgba(8,8,8,.45) 100%);
}
.carta-ed-media.is-ph::after {
  background: linear-gradient(90deg, rgba(8,8,8,.55) 0%, transparent 55%);
}
.carta-ed-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  min-height: inherit;
  padding: 1.05rem 1.1rem;
}
.carta-ed-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
.carta-ed-desc {
  margin-top: .35rem;
  font-size: .8rem;
  color: #b5b5b5;
  line-height: 1.35;
  max-width: 15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carta-ed-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: .35rem;
  flex-shrink: 0;
  min-width: 5.5rem;
}
.carta-ed-price {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.8vw, 1.55rem);
  letter-spacing: .04em;
  color: var(--jg-orange-hot);
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
}
.carta-ed-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
}
.carta-ed-emoji {
  position: static;
  font-size: 2.35rem;
  line-height: 1;
  opacity: .95;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.4));
}
.carta-ed-plus {
  position: absolute;
  right: -.15rem;
  bottom: -.1rem;
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: none;
  background: var(--jg-orange);
  color: #111;
  font-weight: 900;
  font-size: .95rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.carta-ed-row:active { transform: scale(.99); }
.carta-ed-row:active .carta-ed-plus { filter: brightness(1.08); }
/* Si hay foto real, el + queda solo (sin emoji) alineado a la derecha */
.carta-ed-thumb:not(:has(.carta-ed-emoji)) {
  width: 1.7rem;
  height: 1.7rem;
}
.carta-ed-thumb:not(:has(.carta-ed-emoji)) .carta-ed-plus {
  position: static;
}

.carta-street .carta-mcd-tabs {
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: .1rem;
  padding: 0 .35rem;
  justify-content: flex-start;
}
.carta-street .carta-mcd-tabs .carta-cat-chip {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #a3a3a3;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85rem .75rem .7rem;
  box-shadow: none !important;
}
.carta-street .carta-mcd-tabs .carta-cat-chip.is-active,
.carta-street .carta-mcd-tabs .carta-cat-chip:hover {
  color: var(--jg-orange) !important;
  background: transparent !important;
  box-shadow: inset 0 -3px 0 var(--jg-orange) !important;
}

.carta-street .carta-mcd-bar {
  padding: .8rem .95rem calc(.8rem + env(safe-area-inset-bottom, 0px));
  background: #000;
  border-top: 1px solid rgba(255,255,255,.06);
}
.carta-street .carta-mcd-bar.is-empty { display: none; }
.carta-street .carta-mcd-bar-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: #fff;
  min-height: 0;
}
.carta-street .carta-bar-meta {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
}
.carta-street .carta-mcd-bar-count {
  display: inline !important;
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  min-width: 0 !important;
  height: auto !important;
  border-radius: 0 !important;
  width: auto !important;
}
.carta-street .carta-bar-total {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border-radius: 12px;
  background: var(--jg-orange);
  color: #111 !important;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

