/* ═══════════════════════════════════════════
   ESTOQUE (INVENTORY) STYLES
   ═══════════════════════════════════════════ */

.estoque-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.estoque-stats {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.estoque-stat {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.estoque-stat .stat-num {
  font-weight: 700;
  font-family: var(--font-heading);
}

.estoque-stat.total .stat-num { color: var(--accent-light); }
.estoque-stat.low .stat-num { color: var(--warning); }
.estoque-stat.out .stat-num { color: var(--danger); }

/* ── Product Name Cell ── */
.product-name {
  font-weight: 500;
  color: var(--text-primary);
}

.product-name-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Stock Qty Styling ── */
.qty-cell {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.qty-adjust {
  display: flex;
  gap: 2px;
}

.qty-adjust button {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.qty-adjust button:hover {
  color: var(--text-primary);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.qty-value {
  font-weight: 700;
  font-family: var(--font-heading);
  min-width: 28px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .estoque-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .estoque-toolbar .search-bar {
    max-width: 100%;
  }

  .estoque-stats {
    justify-content: center;
  }
}
