:root {
  --mp-primary: #e63946;
  --mp-primary-dark: #c1121f;
  --mp-dark: #1d1d1d;
  --mp-orange: #f4a300;
  --mp-bg: #f7f7f9;
  --mp-radius: 14px;
}

body {
  background: var(--mp-bg);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- AUTH ---------- */
.auth-body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #2b2b2b, #0f0f0f);
}
.auth-card { width: 100%; max-width: 440px; border-radius: var(--mp-radius); }
.auth-card-lg { max-width: 640px; }
.brand-logo {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto;
  background: linear-gradient(135deg, var(--mp-primary), var(--mp-orange));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px;
}

/* ---------- SIDEBAR / LAYOUT PANEL ---------- */
.mp-layout { display: flex; min-height: 100vh; }
.mp-sidebar {
  width: 250px; background: var(--mp-dark); color: #fff; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.mp-sidebar .brand { padding: 22px 20px; font-weight: 700; font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.mp-sidebar a {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  color: #cfcfcf; text-decoration: none; font-size: .95rem;
}
.mp-sidebar a:hover, .mp-sidebar a.active { background: rgba(230,57,70,.15); color: #fff; border-right: 3px solid var(--mp-primary); }
.mp-content { flex: 1; padding: 24px; }
.mp-topbar {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; padding: 14px 20px; border-radius: var(--mp-radius);
  margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* ---------- Mobile bottom nav ---------- */
.mp-bottomnav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: #fff; border-top: 1px solid #eee;
  justify-content: space-around; padding: 6px 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}
.mp-bottomnav a { flex: 1; text-align: center; color: #888; font-size: .68rem; text-decoration: none; padding: 6px 0; }
.mp-bottomnav a i { display: block; font-size: 1.1rem; margin-bottom: 2px; }
.mp-bottomnav a.active { color: var(--mp-primary); }

@media (max-width: 768px) {
  .mp-sidebar { display: none; }
  .mp-bottomnav { display: flex; }
  .mp-content { padding: 14px; padding-bottom: 80px; }
}

/* ---------- Cards ---------- */
.mp-card { background: #fff; border-radius: var(--mp-radius); box-shadow: 0 2px 10px rgba(0,0,0,.05); border: none; }
.mp-stat { padding: 18px; }
.mp-stat .icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; }

/* ---------- Kanban ---------- */
.kanban-col { min-width: 260px; background: #eef0f3; border-radius: var(--mp-radius); padding: 10px; flex-shrink: 0; }
.kanban-col h6 { font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .5px; padding: 4px 8px; }
.kanban-board { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; }
.pedido-card { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); cursor: pointer; }
.pedido-card .num { font-weight: 700; font-size: .85rem; color: var(--mp-primary); }

/* ---------- Menu público ---------- */
.menu-cover { height: 200px; background-size: cover; background-position: center; position: relative; }
.menu-header { background: #fff; margin-top: -40px; border-radius: 20px 20px 0 0; position: relative; padding: 16px; }
.menu-logo { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; border: 4px solid #fff; margin-top: -60px; background: #fff; }
.cat-pill { white-space: nowrap; padding: 8px 16px; border-radius: 30px; background: #eee; margin-right: 8px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.cat-pill.active { background: var(--mp-primary); color: #fff; }
.producto-card { border-radius: var(--mp-radius); overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); margin-bottom: 14px; }
.producto-card img { width: 100%; height: 130px; object-fit: cover; }
.badge-agotado { position: absolute; top: 8px; left: 8px; }

.carrito-fab {
  position: fixed; bottom: 20px; right: 20px; left: 20px; z-index: 1050;
  background: var(--mp-primary); color: #fff; border-radius: 14px; padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  text-decoration: none; font-weight: 600;
}

/* ---------- Landing ---------- */
.landing-hero {
  background: linear-gradient(135deg, #111 0%, #1d1d1d 60%, var(--mp-primary-dark) 140%);
  color: #fff; padding: 90px 0 70px;
}
.landing-hero h1 { font-weight: 800; font-size: 2.6rem; }
.feature-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(230,57,70,.1); color: var(--mp-primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.pricing-card { border-radius: var(--mp-radius); border: 1px solid #eee; transition: transform .2s; }
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card.featured { border: 2px solid var(--mp-primary); position: relative; }

.empty-state { text-align: center; padding: 50px 20px; color: #999; }
.empty-state i { font-size: 2.6rem; margin-bottom: 10px; opacity: .5; }

.toast-container { z-index: 2000; }
