/* Almuerzo Odoo parity — layout Ordena tu almuerzo */
.lunch-odo { display: flex; flex-direction: column; gap: 0.75rem; min-height: 420px; }
.lunch-odo-toolbar {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  padding: 0.25rem 0 0.75rem; border-bottom: 1px solid var(--border-color, #e5e7eb);
}
.lunch-odo-toolbar-left { display: flex; align-items: center; gap: 0.35rem; min-width: 12rem; }
.lunch-odo-title { margin: 0; font-size: 1.15rem; font-weight: 600; }
.lunch-odo-gear { display: inline-flex; color: var(--text-muted, #6b7280); }
.lunch-odo-search {
  flex: 1 1 220px; display: flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--border-color, #d1d5db); border-radius: 6px;
  padding: 0.35rem 0.65rem; background: #fff; max-width: 420px; margin: 0 auto;
}
.lunch-odo-search-icon { width: 1rem; height: 1rem; opacity: 0.55; flex-shrink: 0; }
.lunch-odo-search-input {
  border: 0; outline: none; width: 100%; background: transparent; font: inherit;
}
.lunch-odo-view-switch { display: inline-flex; gap: 0.15rem; margin-left: auto; }
.lunch-odo-view-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 4px; color: var(--text-muted, #6b7280);
}
.lunch-odo-view-btn.is-active { background: var(--primary-soft, #e8f4fc); color: var(--primary, #017e84); }

.lunch-odo-layout {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) 16rem;
  gap: 0.75rem;
  align-items: stretch;
  min-height: 360px;
}
@media (max-width: 960px) {
  .lunch-odo-layout { grid-template-columns: 1fr; }
  .lunch-odo-cats { display: flex; flex-wrap: wrap; gap: 0.35rem; }
  .lunch-odo-order { border-left: 0; border-top: 1px solid var(--border-color, #e5e7eb); }
}

.lunch-odo-cats {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.25rem 0.25rem 0.25rem 0;
  border-right: 1px solid var(--border-color, #e5e7eb);
}
.lunch-odo-cat {
  display: block; padding: 0.4rem 0.55rem; border-radius: 4px;
  color: inherit; text-decoration: none; font-size: 0.9rem;
}
.lunch-odo-cat.is-active { background: var(--primary-soft, #e8f4fc); font-weight: 600; }

.lunch-odo-main { min-height: 280px; padding: 0.25rem; }
.lunch-odo-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1.5rem; color: var(--text-muted, #6b7280);
  min-height: 280px;
}
.lunch-odo-empty-icon { font-size: 3rem; margin-bottom: 0.75rem; opacity: 0.7; }
.lunch-odo-empty h3 { margin: 0 0 0.5rem; color: var(--text-color, #111827); font-size: 1.15rem; }
.lunch-odo-empty p { max-width: 28rem; margin: 0 0 1rem; line-height: 1.45; }
.lunch-odo-empty-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }

.lunch-odo-kanban {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem;
}
.lunch-odo-card {
  border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px;
  padding: 0.85rem; display: flex; flex-direction: column; gap: 0.4rem; background: #fff;
}
.lunch-odo-card-title { margin: 0; font-size: 0.95rem; }
.lunch-odo-card-desc { margin: 0; font-size: 0.8rem; color: var(--text-muted, #6b7280); }
.lunch-odo-card-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.lunch-odo-card-price { font-weight: 600; }

.lunch-odo-order {
  border-left: 1px solid var(--border-color, #e5e7eb);
  padding: 0.5rem 0 0.5rem 0.85rem;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.lunch-odo-user { display: flex; align-items: center; gap: 0.5rem; }
.lunch-odo-avatar {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--primary, #017e84); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600;
}
.lunch-odo-user-email { font-size: 0.85rem; word-break: break-all; }
.lunch-odo-field label { display: block; margin-bottom: 0.2rem; }
.lunch-odo-date { font-size: 0.9rem; color: var(--text-muted, #6b7280); }
.lunch-odo-balance {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.55rem; background: var(--surface-muted, #f9fafb);
  border-radius: 6px; font-size: 0.9rem;
}
.lunch-odo-order-title { margin: 0.25rem 0 0; font-size: 1rem; }
.lunch-odo-order-empty { margin: 0; color: var(--text-muted, #6b7280); font-size: 0.88rem; line-height: 1.4; }
.lunch-odo-cart-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.lunch-odo-cart-line { display: flex; justify-content: space-between; gap: 0.5rem; align-items: flex-start; }
.lunch-odo-cart-total {
  display: flex; justify-content: space-between; font-size: 0.95rem;
  padding-top: 0.35rem; border-top: 1px solid var(--border-color, #e5e7eb);
}
.lunch-odo-submit { width: 100%; margin-top: 0.25rem; }
.lunch-odo-stub { padding: 1rem 0; }
